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

Revert "Add runtime-validate command" #355

Merged
merged 2 commits into from
Mar 31, 2017

Conversation

wking
Copy link
Contributor

@wking wking commented Mar 30, 2017

This reverts commit da62d5b (#326).

The installable approach to runtime validation has been obsoleted by the go test … approach from #336. This pull-request drops the installable tests so we don't have to maintain both. Also obsoletes #352.

This reverts commit da62d5b.

The installable approach to runtime validation has been obsoleted by
the 'go test ...' approach from 24ca87f (Add tests for runtime
validation, 2017-03-06, opencontainers#336).  This commit drops the installable
tests so we don't have to maintain both.

Signed-off-by: W. Trevor King <wking@tremily.us>
Now that that is the only remaining runtime-validation approach.  I
ran the tests with runC 1.0.0-rc2, because using 1.0.0-rc3 raised:

  $ sudo make RUNTIME=~wking/bin/runc-1.0.0-rc3 localvalidation
  RUNTIME=/home/wking/bin/runc-1.0.0-rc3 go test -tags ""  -v github.com/opencontainers/runtime-tools/validation
  === RUN   TestValidateBasic
  json: cannot unmarshal array into Go value of type specs.LinuxCapabilities
  --- FAIL: TestValidateBasic (0.03s)
          validation_test.go:87: /home/wking/bin/runc-1.0.0-rc3 failed validation: exit status 1
  === RUN   TestValidateSysctls
  json: cannot unmarshal array into Go value of type specs.LinuxCapabilities
  --- FAIL: TestValidateSysctls (0.03s)
          validation_test.go:96: /home/wking/bin/runc-1.0.0-rc3 failed validation: exit status 1
  FAIL
  exit status 1
  FAIL    github.com/opencontainers/runtime-tools/validation      0.055s
  make: *** [Makefile:40: localvalidation] Error 1

because runtime-tools hasn't adjusted to the new seccomp config yet.

Signed-off-by: W. Trevor King <wking@tremily.us>
@mrunalp
Copy link
Contributor

mrunalp commented Mar 30, 2017

LGTM

Approved with PullApprove

1 similar comment
@Mashimiao
Copy link

Mashimiao commented Mar 31, 2017

LGTM

Approved with PullApprove

@Mashimiao Mashimiao merged commit 133b953 into opencontainers:master Mar 31, 2017
@wking wking deleted the revert-runtime_validate branch June 2, 2017 03:24
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.

3 participants