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

[DO_NOT_MERGE] origin e2e debug 3.11 #21029

Closed
wants to merge 1 commit into from

Conversation

bparees
Copy link
Contributor

@bparees bparees commented Sep 18, 2018

No description provided.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 18, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2018
@bparees bparees force-pushed the debug branch 2 times, most recently from cb2db2b to 0e6c084 Compare September 19, 2018 01:16
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 19, 2018
set +e
oc get pods -n default -o yaml
oc get pods -n default | grep registry
oc get pods -n default | grep registry | awk '{print $1}' | xargs -n 1 oc logs -n default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are more than one registyry pods, this will lead to the mess of logs.

oc get pods -n default -l docker-registry=default -o name |
   xargs -ri sh -c 'echo === {} ====; oc logs -n default {}; echo'

echo "ATTEMPTING LOGIN"
docker login -u e2e-user -p ${e2e_user_token} ${DOCKER_REGISTRY}

oc get pods -n default | grep registry | awk '{print $1}' | xargs -n 1 oc logs -n default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you want to show all logs from all registry pods twice ?

@bparees
Copy link
Contributor Author

bparees commented Sep 19, 2018

@legionus this is a debug PR so i can run the tests and see logs, it is not going to be merged.

@bparees bparees changed the title debug [DO_NOT_MERGE] debug Sep 19, 2018
@bparees
Copy link
Contributor Author

bparees commented Sep 19, 2018

/retest

@bparees bparees changed the title [DO_NOT_MERGE] debug [DO_NOT_MERGE] origin e2e debug Sep 19, 2018
@bparees bparees changed the title [DO_NOT_MERGE] origin e2e debug [DO_NOT_MERGE] origin e2e debug 3.11 Sep 19, 2018
@bparees
Copy link
Contributor Author

bparees commented Sep 19, 2018

/retest

@bparees
Copy link
Contributor Author

bparees commented Sep 19, 2018

this ran with time="2018-09-19T16:44:06.026309314Z" level=info msg="start registry" distribution_version=v2.6.2+unknown go.version=go1.9.2 instance.id=8802e831-69b4-4fc6-ba66-ea06fc98e2b6 openshift_version=v3.11.0-alpha.0+0d49798-58-dirty

which is the correct latest commit in the image-registry 3.11 branch.

@bparees bparees closed this Sep 19, 2018
@bparees bparees deleted the debug branch September 19, 2018 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants