Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestRouterPathSpecificity #9845

Closed
0xmichalis opened this issue Jul 14, 2016 · 11 comments
Closed

TestRouterPathSpecificity #9845

0xmichalis opened this issue Jul 14, 2016 · 11 comments
Assignees
Labels
area/tests component/routing kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/P1

Comments

@0xmichalis
Copy link
Contributor

--- FAIL: TestRouterPathSpecificity (3.19s)
    router_test.go:478: unexpected response with protocol http (port 80): "Get http://0.0.0.0/test: dial tcp 0.0.0.0:80: getsockopt: connection reset by peer"
FAIL

https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/3343/consoleFull

@knobunc
Copy link
Contributor

knobunc commented Jul 14, 2016

@weliang1 Can you please take a look at this and try to reproduce it. I have no idea why the test would be trying the URL http://0.0.0.0:80/. Where are we getting the address for that test from? Thanks.

@knobunc knobunc closed this as completed Jul 14, 2016
@weliang1
Copy link

@knobunc TestRouterPathSpecificity test case failed on:
--- FAIL: TestRouterPathSpecificity (3.19s)
router_test.go:478: unexpected response with protocol http (port 80): "Get http://0.0.0.0/test: dial tcp 0.0.0.0:80: getsockopt: connection reset by peer"

Could you tell me how to just run TestRouterPathSpecificity test case from router_test.go and skip any other test cases?

@0xmichalis
Copy link
Contributor Author

0xmichalis commented Jul 14, 2016

@weliang1 ./hack/test-integration.sh TestRouterPathSpecificity

@weliang1
Copy link

Try run both ./hack/test-integration.sh TestRouterPathSpecificity and
./hack/test-integration.sh
three times, both test passed, can not easily reproduce it

++ /home/fedora/go/src/
github.com/openshift/origin/_output/testbin/test/integration/integration.test
-test.timeout=4m '-test.run=^TestRouterPathSpecificity$'

  • out='I0714 19:41:26.067134 16547 plugins.go:46] Registered cloud
    provider "aws"
    I0714 19:41:26.067291 16547 plugins.go:46] Registered cloud provider "gce"
    I0714 19:41:26.067426 16547 plugins.go:46] Registered cloud provider
    "mesos"
    I0714 19:41:26.067479 16547 plugins.go:46] Registered cloud provider
    "openstack"
    I0714 19:41:26.067490 16547 plugins.go:46] Registered cloud provider
    "ovirt"
    I0714 19:41:26.067501 16547 plugins.go:46] Registered cloud provider
    "rackspace"
    I0714 19:41:26.069967 16547 plugins.go:46] Registered cloud provider
    "vsphere"
    I0714 19:41:26.071349 16547 plugins.go:41] Registered credential provider
    "google-jwt-key"
    I0714 19:41:26.071366 16547 plugins.go:41] Registered credential provider
    "google-dockercfg"
    I0714 19:41:26.071372 16547 plugins.go:41] Registered credential provider
    "google-dockercfg-url"
    I0714 19:41:26.071376 16547 plugins.go:41] Registered credential provider
    "google-container-registry"
    I0714 19:41:26.072272 16547 plugins.go:74] Registered admission plugin
    "BuildDefaults"
    I0714 19:41:26.072296 16547 plugins.go:74] Registered admission plugin
    "JenkinsBootstrapper"
    I0714 19:41:26.072308 16547 plugins.go:74] Registered admission plugin
    "BuildOverrides"
    I0714 19:41:26.072321 16547 plugins.go:74] Registered admission plugin
    "BuildByStrategy"
    I0714 19:41:26.072335 16547 plugins.go:74] Registered admission plugin
    "LimitRanger"
    I0714 19:41:26.072343 16547 plugins.go:74] Registered admission plugin
    "ImageLimitRange"
    I0714 19:41:26.072361 16547 plugins.go:74] Registered admission plugin
    "OriginNamespaceLifecycle"
    I0714 19:41:26.072370 16547 plugins.go:74] Registered admission plugin
    "OriginPodNodeEnvironment"
    I0714 19:41:26.072378 16547 plugins.go:74] Registered admission plugin
    "ProjectRequestLimit"
    I0714 19:41:26.072391 16547 plugins.go:74] Registered admission plugin
    "ClusterResourceOverride"
    I0714 19:41:26.072403 16547 plugins.go:74] Registered admission plugin
    "ResourceQuota"
    I0714 19:41:26.072411 16547 plugins.go:74] Registered admission plugin
    "ClusterResourceQuota"
    I0714 19:41:26.072419 16547 plugins.go:74] Registered admission plugin
    "OriginResourceQuota"
    I0714 19:41:26.072427 16547 plugins.go:74] Registered admission plugin
    "RunOnceDuration"
    I0714 19:41:26.072457 16547 plugins.go:74] Registered admission plugin
    "PodNodeConstraints"
    I0714 19:41:26.072472 16547 plugins.go:74] Registered admission plugin
    "SecurityContextConstraint"
    I0714 19:41:26.072480 16547 plugins.go:74] Registered admission plugin
    "SCCExecRestrictions"
    I0714 19:41:26.072488 16547 plugins.go:74] Registered admission plugin
    "AlwaysAdmit"
    I0714 19:41:26.072498 16547 plugins.go:74] Registered admission plugin
    "AlwaysPullImages"
    I0714 19:41:26.072506 16547 plugins.go:74] Registered admission plugin
    "DenyEscalatingExec"
    I0714 19:41:26.072513 16547 plugins.go:74] Registered admission plugin
    "DenyExecOnPrivileged"
    I0714 19:41:26.072521 16547 plugins.go:74] Registered admission plugin
    "NamespaceExists"
    I0714 19:41:26.072531 16547 plugins.go:74] Registered admission plugin
    "NamespaceLifecycle"
    I0714 19:41:26.072539 16547 plugins.go:74] Registered admission plugin
    "ServiceAccount"
    I0714 19:41:26.072549 16547 plugins.go:74] Registered admission plugin
    "LimitPodHardAntiAffinityTopology"
    I0714 19:41:26.072557 16547 plugins.go:74] Registered admission plugin
    "AlwaysDeny"
    I0714 19:41:26.072836 16547 plugins.go:74] Registered admission plugin
    "InitialResources"
    I0714 19:41:26.072855 16547 plugins.go:74] Registered admission plugin
    "NamespaceAutoProvision"
    I0714 19:41:26.072866 16547 plugins.go:74] Registered admission plugin
    "PersistentVolumeLabel"
    I0714 19:41:26.072877 16547 plugins.go:74] Registered admission plugin
    "PodSecurityPolicy"
    I0714 19:41:26.072884 16547 plugins.go:74] Registered admission plugin
    "SecurityContextDeny"
    I0714 19:41:26.079766 16547 plugins.go:74] Registered admission plugin
    "RestrictedEndpointsAdmission"
    I0714 19:41:26.079784 16547 plugins.go:74] Registered admission plugin
    "ExternalIPRanger"
    I0714 19:41:26.082580 16547 router_http_server.go:265] Started, serving
    at 172.18.13.242:8080
    I0714 19:41:26.082659 16547 router_http_server.go:265] Started, serving
    at 172.18.13.242:8888
    I0714 19:41:26.082691 16547 router_http_server.go:265] Started, serving
    at 172.18.13.242:8889
    I0714 19:41:26.083211 16547 router_http_server.go:297] Started, serving
    TLS at 172.18.13.242:8443
    I0714 19:41:35.282230 16547 router_http_server.go:174] Stopping listener
    at 172.18.13.242:8080
    I0714 19:41:35.282252 16547 router_http_server.go:174] Stopping listener
    at 172.18.13.242:8888
    I0714 19:41:35.282256 16547 router_http_server.go:174] Stopping listener
    at 172.18.13.242:8889
    I0714 19:41:35.282260 16547 router_http_server.go:174] Stopping listener
    at 172.18.13.242:8443
    PASS'

On Thu, Jul 14, 2016 at 11:25 AM, Michail Kargakis <notifications@github.com

wrote:

@weliang1 https://github.com/weliang1 ./hack/test-integration
TestRouterPathSpecificity


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#9845 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AQsROLqhEHmGrr21TRNEecMJxT4i15elks5qVlUCgaJpZM4JMUPH
.

@0xmichalis
Copy link
Contributor Author

@smarterclayton
Copy link
Contributor

Worried that more router issues are cropping up.

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 9, 2018
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Mar 13, 2018
@openshift-ci-robot openshift-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 13, 2018
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@knobunc
Copy link
Contributor

knobunc commented Apr 12, 2018

I don't see this happening on http://snowstorm-dev.app.mfojtik.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tests component/routing kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/P1
Projects
None yet
Development

No branches or pull requests

8 participants