PRpeterfeifanchen: Omit property in testcase if empty
ResultFAILURE
Tests 1 failed / 261 succeeded
Started2020-08-06 01:58
Elapsed1m16s
Version
Refs 2339

Test Failures


tools/coverage/testgrid TestXMLProduction 0.18s

go run hack/e2e.go -v --test --test_args='--ginkgo.focus=tools\/coverage\/testgrid\sTestXMLProduction$'
=== RUN   TestXMLProduction
2020/08/06 01:59:03 artsDir='/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestXMLProduction_566789115'
2020/08/06 01:59:03 Temp arts dir created: /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestXMLProduction_566789115
2020/08/06 01:59:03 LinkInputArts(artsDir='/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestXMLProduction_566789115', artNames...='[cov-profile.txt stdout.txt]') called 
2020/08/06 01:59:03 isPresubmit=false
2020/08/06 01:59:03 concerned Files=map[]
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/newlyAddedFile.go:3.20,24.2 20 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/newlyAddedFile.go:26.20,35.2 7 0
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/onlySrcChange.go:5.20,8.2 2 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/onlySrcChange.go:10.20,12.2 1 0
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/onlyTestChange.go:5.18,8.2 2 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/onlyTestChange.go:10.18,12.2 1 0
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/common.go:3.19,5.2 0 35
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/cov-excl.go:3.26,14.2 10 0
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/cov-excl.go:16.26,21.2 4 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/ling-gen.go:3.26,11.2 7 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/ling-gen.go:13.26,22.2 8 0
--- FAIL: TestXMLProduction (0.18s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8704d7]

goroutine 21 [running]:
testing.tRunner.func1.1(0x8b7140, 0xc29a50)
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:988 +0x452
testing.tRunner.func1(0xc0000fa5a0)
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:991 +0x600
panic(0x8b7140, 0xc29a50)
	/root/.gvm/gos/go1.14.6/src/runtime/panic.go:975 +0x3e3
knative.dev/test-infra/pkg/junit.(*TestCase).AddProperty(...)
	/home/prow/go/src/knative.dev/test-infra/pkg/junit/junit.go:95
knative.dev/test-infra/tools/coverage/testgrid.NewTestCase(...)
	/home/prow/go/src/knative.dev/test-infra/tools/coverage/testgrid/testsuiteXmlWriter.go:44
knative.dev/test-infra/tools/coverage/testgrid.toTestsuite(0xc0000b4ea0, 0xc0000701e0, 0x1, 0x1, 0xc000010120)
	/home/prow/go/src/knative.dev/test-infra/tools/coverage/testgrid/testsuiteXmlWriter.go:57 +0x1c7
knative.dev/test-infra/tools/coverage/testgrid.ProfileToTestsuiteXML(0xc0000a0940, 0x32)
	/home/prow/go/src/knative.dev/test-infra/tools/coverage/testgrid/testsuiteXmlWriter.go:104 +0x32e
knative.dev/test-infra/tools/coverage/testgrid.TestXMLProduction(0xc0000fa5a0)
	/home/prow/go/src/knative.dev/test-infra/tools/coverage/testgrid/testsuiteXmlWriter_test.go:33 +0x137
testing.tRunner(0xc0000fa5a0, 0x933380)
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:1039 +0x1ec
created by testing.(*T).Run
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:1090 +0x701

				from junit_ct0v7aZu.xml

Filter through log files


Show 261 Passed Tests

Error lines from build-log.txt

... skipping 332 lines ...
summarized ratio: [localSummary]	56.5% (35 of 62 stmts) covered
--- PASS: TestCovList (0.14s)
PASS
ok  	knative.dev/test-infra/tools/coverage/calc/calcTestExports	0.199s
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/ling-gen.go:3.26,11.2 7 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/ling-gen.go:13.26,22.2 8 0
--- FAIL: TestXMLProduction (0.18s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8704d7]

goroutine 21 [running]:
testing.tRunner.func1.1(0x8b7140, 0xc29a50)
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:988 +0x452
testing.tRunner.func1(0xc0000fa5a0)
... skipping 11 lines ...
knative.dev/test-infra/tools/coverage/testgrid.TestXMLProduction(0xc0000fa5a0)
	/home/prow/go/src/knative.dev/test-infra/tools/coverage/testgrid/testsuiteXmlWriter_test.go:33 +0x137
testing.tRunner(0xc0000fa5a0, 0x933380)
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:1039 +0x1ec
created by testing.(*T).Run
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:1090 +0x701
FAIL	knative.dev/test-infra/tools/coverage/testgrid	0.208s
=== RUN   TestEnsureCustomJob
--- PASS: TestEnsureCustomJob (0.09s)
=== RUN   TestJobDetailMap
    types_test.go:16: Entry 0 matched
    types_test.go:16: Entry 1 matched
--- PASS: TestJobDetailMap (0.00s)
... skipping 1245 lines ...
2020/08/06 01:59:18 artsDir='/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419'
2020/08/06 01:59:18 Temp arts dir created: /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419
2020/08/06 01:59:18 Running command 'go tool cover -html=/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/key-cov-profile-dne.txt -o /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/line-cov.html'
2020/08/06 01:59:18 Creating cluster "r--test-benchmark1" under project "p" with config {us-west1 4 e2-standard-8 istio}
2020/08/06 01:59:18 Finished running 'go tool cover -html=/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/key-cov-profile-dne.txt -o /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/line-cov.html'
2020/08/06 01:59:18 cmd.Args=[go tool cover -html=/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/key-cov-profile-dne.txt -o /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/line-cov.html]
2020/08/06 01:59:18 Error executing cmd: exit status 1; combinedOutput=cover: open /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestCreateLineCovFileFailure_199874419/key-cov-profile-dne.txt: no such file or directory
--- PASS: TestCreateLineCovFileFailure (0.02s)
2020/08/06 01:59:18 Cluster creation completed
PASS
=== RUN   TestAcquire/cluster_creation_succeeded_without_defined_cluster_name
2020/08/06 01:59:18 Identified project b for cluster creation
2020/08/06 01:59:18 Creating cluster "predefined-cluster-name" in region "us-central1" zone "" with:
... skipping 148 lines ...
 ForceSendFields: ([]string) <nil>,
 NullFields: ([]string) <nil>
})
ok  	knative.dev/test-infra/tools/coverage/line	0.396s
=== RUN   TestCreateIssue
2020/08/06 01:59:18 flaky rate above threshold, creating a single issue
2020/08/06 01:59:18 Creating issue '2.96% tests failed in repo fakerepo on 1970-01-01 00:00:00 +0000 UTC' in repo 'fakerepo'
2020/08/06 01:59:18 creating issue
2020/08/06 01:59:18 adding comment
2020/08/06 01:59:18 adding flaky label
2020/08/06 01:59:18 Creating issue 'testflaky_0' in repo 'fakerepo'
2020/08/06 01:59:18 creating issue
2020/08/06 01:59:18 adding comment
... skipping 229 lines ...
2020/08/06 01:59:18 github file #1: testTarget/presubmit/common.go, concerned=true
=== RUN   TestGetOldComment
--- PASS: TestGetOldComment (0.00s)
=== RUN   TestParseEntries
--- PASS: TestParseEntries (0.00s)
=== RUN   TestBuildNewComment
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: all failed tests are flaky, triggering retry
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: expended all 3 retries
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: 4 failed tests are not flaky, cannot retry
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: 10 failed tests are not flaky, cannot retry
--- PASS: TestBuildNewComment (0.00s)
=== RUN   TestAppendComment
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: all failed tests are flaky, triggering retry
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: all failed tests are flaky, triggering retry
2020/08/06 01:59:18 Skipping as file is coverage-excluded:  testTarget/presubmit/cov-excl.go
2020/08/06 01:59:18 fakerepo/pull/127: fakejob0/: all failed tests are flaky, triggering retry
2020/08/06 01:59:18 github file #2: testTarget/presubmit/cov-excl.go, concerned=false
--- PASS: TestAppendComment (0.00s)
PASS
2020/08/06 01:59:18 Skipping as file is linguist-generated:  testTarget/presubmit/ling-gen.go
2020/08/06 01:59:18 github file #3: testTarget/presubmit/ling-gen.go, concerned=false
2020/08/06 01:59:18 github file #4: testTarget/presubmit/newlyAddedFile.go, concerned=true
... skipping 105 lines ...
ok  	knative.dev/test-infra/tools/coverage	1.885s
2020/08/06 01:59:19 WARNING: cannot parse the config file "testdir/test-benchmark2/cluster.yaml", default config will be used
2020/08/06 01:59:19 Deleting cluster "r--test-benchmark1" under project "p"
2020/08/06 01:59:19 Deleting cluster "r--test-benchmark2" under project "p"
2020/08/06 01:59:19 Creating cluster "r--test-benchmark3" under project "p" with config {us-central1 1 e2-standard-4 istio}
2020/08/06 01:59:19 Creating cluster "r--test-benchmark4" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:19 Error during cluster creation: 'timed out waiting'. 
2020/08/06 01:59:19 Creating cluster "predefined-cluster-name" in region "us-west1" zone "" with:
(*container.CreateClusterRequest)(0xc0001447e0)({
 Cluster: (*container.Cluster)(0xc000483800)({
  AddonsConfig: (*container.AddonsConfig)(0xc00014e700)({
   CloudRunConfig: (*container.CloudRunConfig)(<nil>),
   ConfigConnectorConfig: (*container.ConfigConnectorConfig)(<nil>),
... skipping 307 lines ...
2020/08/06 01:59:20 WARNING: cannot parse the config file "testdir/test-benchmark2/cluster.yaml", default config will be used
2020/08/06 01:59:20 Creating cluster "r--test-benchmark1" under project "p" with config {us-west1 4 e2-standard-8 istio}
2020/08/06 01:59:20 Creating cluster "r--test-benchmark2" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:20 Creating cluster "r--test-benchmark4" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:20 Creating cluster "r--test-benchmark3" under project "p" with config {us-central1 1 e2-standard-4 istio}
<nil>
2020/08/06 01:59:21 Error during cluster creation: 'timed out waiting'. 
2020/08/06 01:59:21 Creating cluster "predefined-cluster-name" in region "us-west1" zone "" with:
(*container.CreateClusterRequest)(0xc0003fc620)({
 Cluster: (*container.Cluster)(0xc00043d500)({
  AddonsConfig: (*container.AddonsConfig)(0xc0001f8f80)({
   CloudRunConfig: (*container.CloudRunConfig)(<nil>),
   ConfigConnectorConfig: (*container.ConfigConnectorConfig)(<nil>),
... skipping 146 lines ...
2020/08/06 01:59:21 WARNING: cannot parse the config file "testdir/test-benchmark2/cluster.yaml", default config will be used
2020/08/06 01:59:21 Creating cluster "r--test-benchmark4" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:21 Creating cluster "r--test-benchmark1" under project "p" with config {us-west1 4 e2-standard-8 istio}
2020/08/06 01:59:21 Creating cluster "r--test-benchmark2" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:21 Creating cluster "r--test-benchmark3" under project "p" with config {us-central1 1 e2-standard-4 istio}
<nil>
2020/08/06 01:59:22 Error during cluster creation: 'timed out waiting'. 
2020/08/06 01:59:22 Creating cluster "predefined-cluster-name" in region "us-east1" zone "" with:
(*container.CreateClusterRequest)(0xc0003fc620)({
 Cluster: (*container.Cluster)(0xc00043d500)({
  AddonsConfig: (*container.AddonsConfig)(0xc0001f8f80)({
   CloudRunConfig: (*container.CloudRunConfig)(<nil>),
   ConfigConnectorConfig: (*container.ConfigConnectorConfig)(<nil>),
... skipping 147 lines ...
2020/08/06 01:59:22 Deleting cluster "r--random-cluster" under project "p"
2020/08/06 01:59:22 Creating cluster "r--test-benchmark2" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:22 Creating cluster "r--test-benchmark3" under project "p" with config {us-central1 1 e2-standard-4 istio}
2020/08/06 01:59:22 Creating cluster "r--test-benchmark4" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:22 Creating cluster "r--test-benchmark1" under project "p" with config {us-west1 4 e2-standard-8 istio}
<nil>
2020/08/06 01:59:23 Error during cluster creation: 'timed out waiting'. 
=== RUN   TestAcquire/cluster_creation_went_bad_state
2020/08/06 01:59:23 Identified project b for cluster creation
2020/08/06 01:59:23 Creating cluster "predefined-cluster-name" in region "us-central1" zone "" with:
(*container.CreateClusterRequest)(0xc0001f2150)({
 Cluster: (*container.Cluster)(0xc000409800)({
  AddonsConfig: (*container.AddonsConfig)(0xc0001f8000)({
... skipping 156 lines ...
?   	knative.dev/test-infra/pkg/clustermanager/e2e-tests/boskos/fake	[no test files]
2020/08/06 01:59:23 WARNING: cannot parse the config file "testdir/test-benchmark2/cluster.yaml", default config will be used
2020/08/06 01:59:23 Deleting cluster "r--test-benchmark1" under project "p"
2020/08/06 01:59:23 Creating cluster "r--test-benchmark4" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:23 Creating cluster "r--test-benchmark3" under project "p" with config {us-central1 1 e2-standard-4 istio}
2020/08/06 01:59:23 Creating cluster "r--test-benchmark2" under project "p" with config {us-central1 1 e2-standard-4 }
2020/08/06 01:59:23 Error during cluster creation: 'unexpected operation status: "BAD"'. 
2020/08/06 01:59:23 Creating cluster "predefined-cluster-name" in region "us-west1" zone "" with:
(*container.CreateClusterRequest)(0xc0001f2150)({
 Cluster: (*container.Cluster)(0xc000409800)({
  AddonsConfig: (*container.AddonsConfig)(0xc0001f8000)({
   CloudRunConfig: (*container.CloudRunConfig)(<nil>),
   ConfigConnectorConfig: (*container.ConfigConnectorConfig)(<nil>),
... skipping 141 lines ...
 ProjectId: (string) "",
 Zone: (string) "",
 ForceSendFields: ([]string) <nil>,
 NullFields: ([]string) <nil>
})
2020/08/06 01:59:24 Creating cluster "r--test-benchmark1" under project "p" with config {us-west1 4 e2-standard-8 istio}
2020/08/06 01:59:24 Error during cluster creation: 'unexpected operation status: "BAD"'. 
2020/08/06 01:59:24 Creating cluster "predefined-cluster-name" in region "us-east1" zone "" with:
(*container.CreateClusterRequest)(0xc0001f2150)({
 Cluster: (*container.Cluster)(0xc000409800)({
  AddonsConfig: (*container.AddonsConfig)(0xc0001f8000)({
   CloudRunConfig: (*container.CloudRunConfig)(<nil>),
   ConfigConnectorConfig: (*container.ConfigConnectorConfig)(<nil>),
... skipping 141 lines ...
 ProjectId: (string) "",
 Zone: (string) "",
 ForceSendFields: ([]string) <nil>,
 NullFields: ([]string) <nil>
})
<nil>
2020/08/06 01:59:24 Error during cluster creation: 'unexpected operation status: "BAD"'. 
=== RUN   TestAcquire/bad_addon,_should_get_a_panic
2020/08/06 01:59:24 Identified project b for cluster creation
--- PASS: TestAcquire (9.09s)
    --- PASS: TestAcquire/cluster_not_exist,_running_in_Prow_and_boskos_not_available (0.00s)
    --- PASS: TestAcquire/cluster_not_exist,_running_in_Prow_and_boskos_available (0.51s)
    --- PASS: TestAcquire/cluster_not_exist,_project_not_set,_running_in_Prow_and_boskos_not_available (0.00s)
... skipping 117 lines ...
?   	knative.dev/test-infra/tools/flaky-test-reporter/jsonreport	[no test files]
?   	knative.dev/test-infra/tools/flaky-test-reporter/jsonreport/fakejsonreport	[no test files]
?   	knative.dev/test-infra/tools/flaky-test-retryer/prowapi	[no test files]
?   	knative.dev/test-infra/tools/githubhelper	[no test files]
?   	knative.dev/test-infra/tools/prow-jobs-syncer	[no test files]

=== Failed
=== FAIL: tools/coverage/testgrid TestXMLProduction (0.18s)
2020/08/06 01:59:03 artsDir='/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestXMLProduction_566789115'
2020/08/06 01:59:03 Temp arts dir created: /home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestXMLProduction_566789115
2020/08/06 01:59:03 LinkInputArts(artsDir='/home/prow/go/src/knative.dev/test-infra/tools/coverage/test_output/tmp_artifacts/TestXMLProduction_566789115', artNames...='[cov-profile.txt stdout.txt]') called 
2020/08/06 01:59:03 isPresubmit=false
2020/08/06 01:59:03 concerned Files=map[]
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/newlyAddedFile.go:3.20,24.2 20 1
... skipping 4 lines ...
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/onlyTestChange.go:10.18,12.2 1 0
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/common.go:3.19,5.2 0 35
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/cov-excl.go:3.26,14.2 10 0
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/cov-excl.go:16.26,21.2 4 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/ling-gen.go:3.26,11.2 7 1
2020/08/06 01:59:03 concerned line: knative.dev/test-infra/tools/coverage/testTarget/presubmit/ling-gen.go:13.26,22.2 8 0
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8704d7]

goroutine 21 [running]:
testing.tRunner.func1.1(0x8b7140, 0xc29a50)
	/root/.gvm/gos/go1.14.6/src/testing/testing.go:988 +0x452
testing.tRunner.func1(0xc0000fa5a0)
... skipping 18 lines ...

DONE 261 tests, 1 failure in 57.259s
Finished run, return code is 1
XML report written to /logs/artifacts/junit_ct0v7aZu.xml
JUnit file /logs/artifacts/junit_ls86r5AX.xml is created for reporting the test result
2020/08/06 01:59:42 Getting artifacts dir from prow
Step failed: default_unit_test_runner
===========================
==== UNIT TESTS FAILED ====
===========================
==== Wed Aug  5 18:59:42 PDT 2020
===========================
Step failed: run_unit_tests
+ EXIT_VALUE=1
+ set +o xtrace