Skip to content

[Conformance][templates] templateservicebroker security test #15912

Closed

Description

@sdodson

From https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible_extended_conformance_install_update/945/consoleFull#198825387156cbb9a5e4b02b88ae8c2f77

May be happening on every job not certain yet.

[Conformance][templates] templateservicebroker security test

[AfterEach] [Conformance][templates] templateservicebroker security test
  /go/src/github.com/openshift/origin/test/extended/templates/templateservicebroker_security.go:89


• Failure [52.669 seconds]
[Conformance][templates] templateservicebroker security test
/go/src/github.com/openshift/origin/test/extended/templates/templateservicebroker_security.go:199
  should pass security tests [It]
  /go/src/github.com/openshift/origin/test/extended/templates/templateservicebroker_security.go:197

  Expected error:
      <*url.Error | 0xc421973500>: {
          Op: "Get",
          URL: "https://localhost:45126/brokers/template.openshift.io/v2/catalog",
          Err: {
              Op: "dial",
              Net: "tcp",
              Source: nil,
              Addr: {
                  IP: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
                  Port: 45126,
                  Zone: "",
              },
              Err: {
                  Syscall: "getsockopt",
                  Err: 0x6f,
              },
          },
      }
      Get https://localhost:45126/brokers/template.openshift.io/v2/catalog: dial tcp [::1]:45126: getsockopt: connection refused
  not to have occurred

  /go/src/github.com/openshift/origin/test/extended/templates/templateservicebroker_security.go:94

Activity

  1. added
    kind/test-flake
    on Aug 22, 2017
  2. smarterclayton commented on Aug 23, 2017

    @smarterclayton
    Contributor
  3. bparees commented on Aug 23, 2017

    @bparees
    Contributor

    /cc @deads2k since i think this was one of the reworked tests intended to stand up its own TSB and then port-forward itself to access the TSB.

  4. deads2k commented on Aug 23, 2017

    @deads2k
    Contributor

    Did this get fixed by something? I'm not seeing the errors in prow.

  5. deads2k commented on Aug 23, 2017

    @deads2k
    Contributor

    @deads2k just happened in #15930. https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_templates/814/

    Ok, looks like

    Expected error:
        <*url.Error | 0xc42130bd10>: {
            Op: "Get",
            URL: "https://localhost:42916/brokers/template.openshift.io/v2/catalog",
            Err: {
                Op: "dial",
                Net: "tcp",
                Source: nil,
                Addr: {
                    IP: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
                    Port: 42916,
                    Zone: "",
                },
                Err: {
                    Syscall: "getsockopt",
                    Err: 0x6f,
                },
            },
        }
        Get https://localhost:42916/brokers/template.openshift.io/v2/catalog: dial tcp [::1]:42916: getsockopt: connection refused
    not to have occurred
    

    on the port forward. Guess I'll add some logging/health checking on it.

  6. added a commit that references this issue on Aug 23, 2017
  7. mfojtik commented on Aug 25, 2017

    @mfojtik
    Contributor

    raising to P0 as almost every PR fails with this right now

  8. bparees commented on Aug 25, 2017

    @bparees
    Contributor

    I backed this test out of conformance last night: #15976

    but we absolutely need to get to the bottom of why this is failing and get that test back in. Somehow something merged that consistently broke a conformance test (but only in the install+upgrade scenario), so that's really bad.

  9. jim-minter commented on Aug 26, 2017

    @jim-minter
    Contributor

    I think there's a good chance this is down to a race trying to use the port-forward socket before oc port-forward had actually started. If so, #15966 should fix this along with a number of other races in EnsureTSB().

  10. added a commit that references this issue on Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/test-flakepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions