Skip to content

openshift ex validate node-config fails #9840

Closed

Description

@bparees
Running hack/test-cmd.sh:232: executing 'openshift ex validate node-config /tmp/openshift/test-cmd//openshift.local.config/node-172.18.13.130/node-config.yaml' expecting success and text 'SUCCESS'...
FAILURE after 0.612s: hack/test-cmd.sh:232: executing 'openshift ex validate node-config /tmp/openshift/test-cmd//openshift.local.config/node-172.18.13.130/node-config.yaml' expecting success and text 'SUCCESS': the output content test failed
Standard output from the command:
SUCCESS: Validation succeded for file: /tmp/openshift/test-cmd//openshift.local.config/node-172.18.13.130/node-config.yaml

Standard error from the command:
Command "node-config" is deprecated, This command is deprecated and will be removed. Use 'oadm diagnostics NodeConfigCheck --node-config=path/to/config.yaml' instead.
[ERROR] PID 16383: hack/lib/cmd.sh:230: `return "${return_code}"` exited with status 1.
[INFO]      Stack Trace: 
[INFO]        1: hack/lib/cmd.sh:230: `return "${return_code}"`
[INFO]        2: hack/test-cmd.sh:232: os::cmd::expect_success_and_text
[INFO]   Exiting with code 1.
[INFO] Stacked plot for log subset "iops" written to /tmp/openshift/test-cmd//logs/iops.pdf
[INFO] Stacked plot for log subset "paging" written to /tmp/openshift/test-cmd//logs/paging.pdf
[INFO] Stacked plot for log subset "cpu" written to /tmp/openshift/test-cmd//logs/cpu.pdf
[INFO] Stacked plot for log subset "queue" written to /tmp/openshift/test-cmd//logs/queue.pdf
[INFO] Stacked plot for log subset "memory" written to /tmp/openshift/test-cmd//logs/memory.pdf
[INFO] Dumping etcd contents to /tmp/openshift/test-cmd//artifacts/etcd_dump.json

seems like we're getting the string we expected but maybe a bad return code because of the deprecation warning? certainly doesn't seem like something that should be a flake though... @stevekuznetsov any ideas?

Activity

  1. added
    kind/test-flake
    on Jul 14, 2016
  2. bparees commented on Jul 14, 2016

    @bparees
    ContributorAuthor

    actually the message implies the output content test failed which is even weirder since the output looks to contain SUCCESS.

  3. stevekuznetsov commented on Jul 14, 2016

    @stevekuznetsov
    Contributor

    I think this is a dupe of #9371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/test-flakepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions