Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hack/test-cmd.sh running inside of the hack/env #11516

Merged

Conversation

smarterclayton
Copy link
Contributor

[test]

Needs to be debugged in the container environment
Should not call NewFactory() anywhere outside of the command
initialization, causes hangs when stdin is not open because it goes into
the PromptingLoader path.  See openshift#11513
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 853ccbe

templocation=$( mktemp )
chmod uga-w "${templocation}"
os::cmd::expect_failure_and_text "oc login '${KUBERNETES_MASTER}' -u test -p test '--config=${templocation}' --insecure-skip-tls-verify" 'KUBECONFIG is set to a file that cannot be created or modified'
# Does not work inside of a container, determine why and reenable
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juanvallejo this test doesn't work inside of a container - since this blocks us making some changes to the build system I'm going to disable the test. Can you open a follow up to restore it and make a test that works even if the user is root?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smarterclayton will do

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10541/) (Base Commit: 4d9c078)

@smarterclayton
Copy link
Contributor Author

[merge]

@fabianofranz
Copy link
Member

@smarterclayton need to remove the last paragraph of resources_long.

@smarterclayton
Copy link
Contributor Author

Can you rebase your change on this after it merges?

@openshift-bot
Copy link
Contributor

openshift-bot commented Oct 24, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10541/) (Image: devenv-rhel7_5236)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 853ccbe

@fabianofranz
Copy link
Member

@smarterclayton ok, will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants