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
Change release builder process to lock versions #9278
Change release builder process to lock versions #9278
Conversation
afad484
to
69a50c6
Compare
[test] |
8c0a676
to
35211f1
Compare
@runcom I'm consistently seeing:
with these changes. Are you aware of anything with
|
@smarterclayton that sounds like a panic - do you have daemon logs? |
Added something to dump the docker journal - next run should show it here. |
[test] |
Yes, looks like a panic from
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/1875/console
|
@smarterclayton is that all of the output from the panic? 😕 |
That's whatever the default window is from the journal - how much do you On Jun 13, 2016, at 7:15 PM, Antonio Murdaca notifications@github.com @smarterclayton https://github.com/smarterclayton is that all of the — |
@smarterclayton I'd say the full docker journal |
ed46ebe
to
84ca4c8
Compare
Now with all docker logs https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/1879/console |
This is really weird, the stack trace does not seem tied to docker but to golang (if I'm reading it correctly). Could you guys try and update the docker version from 25 to at least 40? (build number). I'll see if there are fixer to docker cp upstream which didn't make 1.10 and may cause this |
@stevekuznetsov let's chat about this tomorrow. |
[test] now that we're on 40 |
84ca4c8
to
35211f1
Compare
docker cp $(cat ${context}/cid):/go/src/github.com/openshift/origin/_output/local/releases "${OS_OUTPUT}" | ||
docker create -e "OS_ONLY_BUILD_PLATFORMS=${OS_ONLY_BUILD_PLATFORMS-}" --cidfile="${context}/cid" "${release_image}" > /dev/null | ||
container=$(cat ${context}/cid) | ||
cat "${context}/archive.tar.gz" | docker cp - $container:$(docker inspect -f '{{ index . "Config" "WorkingDir" }}' $container) |
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.
"${container}:$( docker inspect ... )"
4ac87bb
to
258c105
Compare
Depends on #9335 to get at make in the container. |
38917d1
to
a90d9e7
Compare
# and OS_RELEASE_DOCKER_ARGS can be used to customize the container. The docker socket | ||
# is mounted by default and the output of the command is the container id. | ||
os::build::environment::create() { |
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.
function namespaced::function::name() {
^^^^^^^^
@smarterclayton looks nice doesn't play nice when you don't have OSE image locally:
|
Hrm - yeah, that is ugly, i think that's the local screening the exit On Wed, Jun 15, 2016 at 2:04 PM, Steve Kuznetsov notifications@github.com
|
1d7a7a7
to
8437cd9
Compare
Updated On Wed, Jun 15, 2016 at 2:11 PM, Clayton Coleman ccoleman@redhat.com
|
# is mounted by default and the output of the command is the container id. | ||
function os::build::environment::create() { | ||
set -o errexit |
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.
this is surprising
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.
Without that it would fail to warn me.
On Wed, Jun 15, 2016 at 2:54 PM, Steve Kuznetsov notifications@github.com
wrote:
In hack/common.sh
#9278 (comment):\ No newline at end of file
+readonly -f os::build::find-binary
+
+# os::build::environment::create creates a docker container with the default variables.
+# arguments are passed directly to the container, OS_BUILD_ENV_GOLANG, OS_BUILD_ENV_IMAGE,
+# and OS_RELEASE_DOCKER_ARGS can be used to customize the container. The docker socket
+# is mounted by default and the output of the command is the container id.
+function os::build::environment::create() {
- set -o errexit
this is surprising
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/origin/pull/9278/files/8437cd96443c7aee0b866981c9a57910926e0646#r67223630,
or mute the thread
https://github.com/notifications/unsubscribe/ABG_p8tLhbDD6m6lS-eqTEZPjCl39kn_ks5qMEp9gaJpZM4IzMty
.
8437cd9
to
717e5e2
Compare
Evaluated for origin test up to 717e5e2 |
Reorganize to make more friendly for docker build behavior. Note that after this change openshift/origin-release:latest can no longer be used with hack/build-release.sh. Add a new hack/env stub that makes it easy to run containerized if necessary.
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/4935/) |
Stack trace installed. set -o errtrace makes no difference when i tested. On Wed, Jun 15, 2016 at 5:04 PM, OpenShift Bot notifications@github.com
|
[merge] so I can experiment with other parts |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5085/) (Image: devenv-rhel7_4407) |
Evaluated for origin merge up to 717e5e2 |
[test]