-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
integration/*: make e2e run without failure #36594
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not fully reviewed the changes, but just some quick things I noticed 😅
integration/build/build_test.go
Outdated
"io" | ||
"io/ioutil" | ||
"strings" | ||
"testing" | ||
|
||
"github.com/gotestyourself/gotestyourself/skip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you group this with other imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙇♂️
@@ -5,6 +5,8 @@ import ( | |||
"fmt" | |||
"testing" | |||
|
|||
"github.com/gotestyourself/gotestyourself/skip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you group this with other imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙇♂️
@@ -13,8 +13,8 @@ export DOCKER_ENGINE_GOARCH=${DOCKER_ENGINE_GOARCH:-${ARCH}} | |||
: ${TESTDEBUG:=} | |||
|
|||
integration_api_dirs=${TEST_INTEGRATION_DIR:-"$( | |||
find ./integration -type d | | |||
grep -vE '(^./integration($|/internal)|/testdata)')"} | |||
find /tests/integration -type d | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit confused by this one; this forces the directory to be at the root?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah that's how the e2e
image is set-up.. I could change that though 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think it should be flexible, and not rely on a fixed path (ideally), perhaps either an env-var, or relative to where the script is run from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a blocker for now (this is only used for the e2e tests)
@@ -12,6 +12,8 @@ import ( | |||
"strings" | |||
"testing" | |||
|
|||
"github.com/gotestyourself/gotestyourself/skip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you group this with other imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙇♂️
f283e9d
to
68c5f36
Compare
Codecov Report
@@ Coverage Diff @@
## master #36594 +/- ##
==========================================
- Coverage 34.85% 34.81% -0.04%
==========================================
Files 612 612
Lines 45445 45720 +275
==========================================
+ Hits 15838 15917 +79
- Misses 27537 27700 +163
- Partials 2070 2103 +33 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
… mainly by skipping if daemon is remote. Signed-off-by: Vincent Demeester <[email protected]>
68c5f36
to
6016e79
Compare
odd one on experimental https://jenkins.dockerproject.org/job/Docker-PRs-experimental/39863/console
|
In the Docker for Desktop CI, we have the same issue as @thaJeztah mentioned.
This error appeared just after merging 18.04-ce-dev (84547b2). We saw it already 5 times on different machines, different OSX version. |
… mainly by skipping if daemon is remote.
🦁
Next is the integration-cli runs: currently it's
1017 passed, 570 skipped, 38 FAILED
.cc @chris-crone
Signed-off-by: Vincent Demeester [email protected]