oomichi / try-kubernetes

12 stars 5 forks source link

Checkout the same e2e version for target k8s cluster on conformance program #74

Closed oomichi closed 5 years ago

oomichi commented 5 years ago

既存のConformance programの手順では最新masterブランチのe2eが走ってしまうという情報あり。 必要な修正を行う。

oomichi commented 5 years ago

既存conformance programの実行方法を確認する

https://github.com/cncf/k8s-conformance/blob/master/instructions.md

$ go get -u -v github.com/heptio/sonobuoy
$ $GOPATH/bin/sonobuoy run
$ $GOPATH/bin/sonobuoy status
PLUGIN          STATUS          COUNT
e2e             running         1
systemd_logs    complete        3

Sonobuoy is still running. Runs can take up to 60 minutes.
$
...
$ $GOPATH/bin/sonobuoy retrieve
$ tar -zxvf 201902090202_sonobuoy_b62b16f1-c42e-4308-9661-0f0cfaa88bd5.tar.gz
$ cd plugins/e2e/results
$ ls
e2e.log  junit_01.xml
$ tail e2e.log
------------------------------
SSSSSSSSSSSSSSSSSSSSFeb  9 04:16:34.054: INFO: Running AfterSuite actions on all nodes
Feb  9 04:16:34.054: INFO: Running AfterSuite actions on node 1
Feb  9 04:16:34.054: INFO: Skipping dumping logs from cluster

Ran 200 of 1946 Specs in 7965.569 seconds
SUCCESS! -- 200 Passed | 0 Failed | 0 Pending | 1746 Skipped PASS

Ginkgo ran 1 suite in 2h12m46.515993118s
Test Suite Passed
$

失敗すると想定していたけど、通った。。

oomichi commented 5 years ago

k/kubernetes/pull/73476 とりあえず、再現できなかったことを報告。