-
Notifications
You must be signed in to change notification settings - Fork 4.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
extended tests: use leaner repo for contextdir test #20090
extended tests: use leaner repo for contextdir test #20090
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.
/lgtm, though I wonder if the warning is due to the input being "binary"
nice! /lgtm |
/approve |
/hold |
that is not an expected warning and I don't see it when doing a binary build myself w/ --from-repo so we should definitely understand why you're getting it. here's my output:
and my buildconfig:
|
@adambkaplan @bparees, the warning appears only if very small git repository is used here it creates a tar archive from the freshly checked out repo in path origin/pkg/oc/cli/cmd/startbuild.go Lines 659 to 673 in e004e65
which is later verified for being any type of known and understood archive here origin/pkg/oc/cli/cmd/startbuild.go Lines 704 to 727 in e004e65
The tar archive made from the small git repo appears to contain only 213 bytes so the peek returns an error - https://golang.org/pkg/bufio/#Reader.Peek. The small tar archive has a prefix Despite the warning, it works well and build gets successfully created but the |
or we should not do the check when --as-repo is passed since we know it's an archive then. either way, doesn't need to be fixed here, but if you want to submit a separate PR to clean up startbuild.go, that'd be great. Thanks for looking into it. /hold cancel |
/refresh |
/retest |
/retest |
/retest flake |
/retest |
3 similar comments
/retest |
/retest |
/retest |
41d4db5
to
f12e0fc
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, wozniakjan 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 |
/retest failing unrelated tests |
1 similar comment
/retest failing unrelated tests |
/retest failing (different) unrelated tests |
/refresh |
/retest |
@wozniakjan: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
speed up from 166s to 17s
ptal @openshift/sig-developer-experience , I would like to note that it issues a warning with
--from-repo
, is that expected warning? Using--from-file
feels misleading given we would like to pass a repo