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

Allow completion tests to pass on github #60

Merged
merged 1 commit into from Nov 22, 2019

Conversation

marckhouzam
Copy link
Member

Signed-off-by: Marc Khouzam marc.khouzam@montreal.ca

@marckhouzam marckhouzam force-pushed the test/ciFailures branch 5 times, most recently from fe4c860 to cc3b27e Compare November 18, 2019 04:59
@helm-bot helm-bot added size/S and removed size/XS labels Nov 18, 2019
@marckhouzam marckhouzam force-pushed the test/ciFailures branch 2 times, most recently from bf5e1ad to 8528bc8 Compare November 18, 2019 11:19
@marckhouzam
Copy link
Member Author

Note sure what is happening but the docker image is not able to run helm. In the last build we can see:

++ ls -l /home/runner/work/acceptance-testing/acceptance-testing/acceptance-testing-reports/89d11d133db7f71612d38a268de704041dc1e3ae/helm-acceptance-completion.ioHSQi/bin/helm
-rwxr-xr-x    1 1001     115       41290544 Nov 18 11:21 /home/runner/work/acceptance-testing/acceptance-testing/acceptance-testing-reports/89d11d133db7f71612d38a268de704041dc1e3ae/helm-acceptance-completion.ioHSQi/bin/helm
++ cd /home/runner/work/acceptance-testing/acceptance-testing/acceptance-testing-reports/89d11d133db7f71612d38a268de704041dc1e3ae/helm-acceptance-completion.ioHSQi/bin
++ ./helm version
/home/runner/work/acceptance-testing/acceptance-testing/acceptance-testing-reports/89d11d133db7f71612d38a268de704041dc1e3ae/helm-acceptance-completion.ioHSQi/completionTests.sh: line 28: ./helm: No such file or directory
++ cksum ./helm
724964226 41290544 ./helm

Note that everything works fine for completion outside of docker, but when we mount helm in docker, it give a No such file or directory error even though the file is there.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
@helm-bot helm-bot added size/XS and removed size/S labels Nov 19, 2019
@marckhouzam marckhouzam changed the title Debugging Allow completion tests to pass on github Nov 19, 2019
@marckhouzam
Copy link
Member Author

The tests pass!!!
It turns out the build of helm is not the right build for docker images. So this fix uses make build-cross for the tests runnings in docker.

Copy link
Collaborator

@jdolitsky jdolitsky left a comment

Choose a reason for hiding this comment

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

nice @marckhouzam !

@jdolitsky jdolitsky merged commit 7319ea4 into helm:master Nov 22, 2019
@marckhouzam marckhouzam deleted the test/ciFailures branch November 23, 2019 00:02
akashshinde added a commit to akashshinde/acceptance-testing that referenced this pull request Apr 8, 2020
* 'master' of github.com:helm/acceptance-testing: (41 commits)
  New helm global flags --kube-token and --kube-apiserver
  Add completion tests for release names
  Add completion tests for plugin completion
  Test kube-context completion without assuming kubectl
  Group related tests together
  Don't use a plugin named 'template' for completion
  Revert "Support if the help is either stdout or stderr (helm#64)"
  Update namespace flag tests for zsh
  Some fixes in preparation for plugin completion
  Make completion tests work with completion in Go
  Add completion test on centos
  Fix helm repo update not working
  Fix some of the KFAILs
  Fix the ZFAIL cases
  Support if the help is either stdout or stderr (helm#64)
  Print ERROR instead of FAIL
  Use linux image for docker (helm#60)
  fix: Helm 3 now supports the -c flag
  helm plugin 'remove' is now 'uninstall'
  maint: build helm 3 from master
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants