Skip to content

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.

wking added 2 commits March 30, 2017 09:30
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 <[email protected]>
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 <[email protected]>
@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