[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

3.6.1 test failures



I built 3.6.1 on s390x and am passing the vast majority of tests except for the following. A couple look trivial but the others look like I need to do some work. Advice most welcome.

- Not sure what’s happening here:

--- FAIL: TestStop (0.00s)

        reaper_test.go:217: long name builds: unexpected action: {{default delete {  builds} } build-0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a-3}, expected {{default delete {  builds} } build-0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a-2}

        reaper_test.go:217: long name builds: unexpected action: {{default delete {  builds} } build-0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a-2}, expected {{default delete {  builds} } build-0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a-3}

FAIL

coverage: 75.9% of statements

FAIL    github.com/openshift/origin/pkg/build/cmd       0.124s


- It appears there are more ciphers supported in this level of go (1.8.1 - defined in /usr/lib/golang/src/crypto/tls/cipher_suites.go) than openshift is prepared to use. I assume updating pkg/cmd/server/crypto/crypto.go with these additional ciphers would be required (among other places):

--- FAIL: TestConstantMaps (0.02s)

        crypto_test.go:35: discovered cipher tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 not in ciphers map

        crypto_test.go:35: discovered cipher tls.TLS_RSA_WITH_AES_128_CBC_SHA256 not in ciphers map

        crypto_test.go:35: discovered cipher tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 not in ciphers map

        crypto_test.go:35: discovered cipher tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 not in ciphers map

        crypto_test.go:35: discovered cipher tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 not in ciphers map

Building CA...

Building intermediate 1...

Building intermediate 2...

Building server...

Building client...

FAIL

coverage: 12.7% of statements

FAIL    github.com/openshift/origin/pkg/cmd/server/crypto       1.857s


- This test hardcodes the expected architecture. Just need to build the string it is expecting dynamically:

--- FAIL: TestKubeletDefaults (0.00s)

        node_config_test.go:142: expected defaults, actual defaults:


                object.KubeletConfiguration.PodInfraContainerImage:

                  a: "gcr.io/google_containers/pause-amd64:3.0"

                  b: "gcr.io/google_containers/pause-s390x:3.0"

        node_config_test.go:143: Got different defaults than expected, adjust in BuildKubernetesNodeConfig and update expectedDefaults

FAIL

coverage: 3.1% of statements

FAIL    github.com/openshift/origin/pkg/cmd/server/kubernetes/node      0.134s


- Actual SEGV:

--- FAIL: TestParseRepository (0.14s)

        git_test.go:101: ParseRepository returned err: parse git github com:user/repo.git: first path segment in URL cannot contain colon

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=0x26ea90]


goroutine 21 [running]:

testing.tRunner.func1(0xc42006f1e0)

        /usr/lib/golang/src/testing/testing.go:622 +0x2e0

panic(0x2c6400, 0x479ce0)

        /usr/lib/golang/src/runtime/panic.go:489 +0x2d8

github.com/openshift/origin/pkg/generate/git.TestParseRepository(0xc42006f1e0)

        /root/origin-3.6.1/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/generate/git/git_test.go:108 +0xd00

testing.tRunner(0xc42006f1e0, 0x329670)

        /usr/lib/golang/src/testing/testing.go:657 +0xa6

created by testing.(*T).Run

        /usr/lib/golang/src/testing/testing.go:697 +0x2e4

FAIL    github.com/openshift/origin/pkg/generate/git    0.150s


- This test complains about invalid certificates and nothing much happens except retrying forever…

Server [https://localhost:8443]: 

Authentication required for https://localhost:8443 (openshift)

Username: system:admin

Password: 

error: username system:admin is invalid for basic auth

[INFO] [CLEANUP] Dumping etcd contents to _output/scripts/test-integration/artifacts/etcd

Syslog output:

Oct 30 13:59:57 docker-test journal: 2017-10-30 17:59:57.568414 I | etcdserver/api/v3rpc: Failed to dial [::]:4001: connection error: desc = "transport: remote error: tls: bad certificate"; please retry.

I assume I need to do some extra setup of the openshift system that’s running to support this test. I.e. I need to extract the certs and make them available to the server.

Neale







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]