Skip to content

disable stack tracing for curl operations in e2e - #9676

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
bparees:e2e
Jul 3, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
bparees:e2e

Conversation

@bparees

@bparees bparees commented Jul 1, 2016 •

Copy link
Copy Markdown
Contributor

fixes #9512

@bparees

bparees commented Jul 1, 2016

Copy link
Copy Markdown
Contributor Author

[test]

@bparees bparees changed the title run e2e with shell debugging [DO_NOT_MERGE] run e2e with shell debugging Jul 1, 2016
@bparees
bparees force-pushed the e2e branch 2 times, most recently from 7dc1e88 to 31af1e7 Compare July 2, 2016 15:42
@bparees bparees changed the title [DO_NOT_MERGE] run e2e with shell debugging disable stack tracing for curl operations in e2e Jul 2, 2016
@bparees

bparees commented Jul 2, 2016

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov @liggitt ptal.

summary of the issue this is working around is here:
#9685

@stevekuznetsov

Copy link
Copy Markdown
Contributor

I would definitely NACK this to either:

Since it doesn't seem like the merge queue is going to make any of these options quicker than any other, and since all of them are fairly similar in size.

@bparees

bparees commented Jul 2, 2016

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov we can't have the stack trace code causing side effects and expect that everyone who works in the shell scripts will understand the potential side effects and code idiomatically. the stack trace logic needs to be fixed (and imho, disabled until it is fixed).

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@bparees fair enough

Comment thread test/end-to-end/core.sh
set -x
OLD=$OS_USE_STACK_TRACE
OS_USE_STACK_TRACE=""
wait_for_command '[[ "$(curl -s -X POST http://${FRONTEND_IP}:5432/keys/foo -d value=1337)" = "Key created" ]]'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In an orthogonal direction, @deads2k do you remember why you argued these should not be refactored into os::cmd::try_until_text ?

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 387a24d

@bparees

bparees commented Jul 2, 2016

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov i'm inclined to merge this for now to address the flakes(#9512), we can revert the workaround as part of the correct fix for #9685 (and as a bonus, keep the fixed up indenting).

@openshift-bot

Copy link
Copy Markdown
Contributor

@bparees

bparees commented Jul 2, 2016

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

openshift-bot commented Jul 2, 2016 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5745/) (Image: devenv-rhel7_4514)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 387a24d

@bparees

bparees commented Jul 2, 2016

Copy link
Copy Markdown
Contributor Author

(sorry for the self merge but...this 4th of july we declare our independence...of flakes. 🎆 )

@openshift-bot
openshift-bot merged commit 3031513 into openshift:master Jul 3, 2016
@stevekuznetsov

Copy link
Copy Markdown
Contributor

Sounds good, I'll get that fixed up ASAP when I'm back in.

@bparees
bparees deleted the e2e branch July 5, 2016 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants