[JIRA] (OVIRT-1179) build-artifacts failure for ovirt-engine-nodejs

Barak Korren (oVirt JIRA) jira at ovirt-jira.atlassian.net
Wed Feb 22 08:26:12 UTC 2017


    [ https://ovirt-jira.atlassian.net/browse/OVIRT-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27601#comment-27601 ] 

Barak Korren commented on OVIRT-1179:
-------------------------------------

Unfortunately this is not something we can fix easily for now. The job names have to be verbose because we have many of them.

You are running inside an isolated mock environment, so theoretically we could set $PWD to anything. But there are some scenarios where things inside mock interact with things outside of it (e.g. Lago/libvirt), and hence the paths inside mock need to match those outside.

Given that you are in mock you can {{makdir}} and {{cd}} anywhere to work around this. This essentially what [~jhernand at redhat.com] did. 

There is one thing I'd change with Juan`s patch to future-proof it, and also enable using the {{check-patch.sh}} script locally without {{mock_runner.sh}}. That is using {{mktemp}} to get a work directory under {{/tmp}} instead of hard-coding {{/b}}. That will make it work even if you don`t get root permissions.

> build-artifacts failure for ovirt-engine-nodejs
> -----------------------------------------------
>
>                 Key: OVIRT-1179
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1179
>             Project: oVirt - virtualization made easy
>          Issue Type: By-EMAIL
>            Reporter: Greg Sheremeta
>            Assignee: infra
>
> Hey,
> It builds fine locally in mock_runner, and works in koji (brew).
> http://jenkins.ovirt.org/job/ovirt-engine-nodejs_master_build-artifacts-fc25-x86_64/2/
> 15:44:23 make[1]: execvp: printf: Argument list too long
> 15:44:23 deps/openssl/openssl.target.mk:860: recipe for target
> '/home/jenkins/workspace/ovirt-engine-nodejs_master_build-artifacts-fc25-x86_64/ovirt-engine-nodejs/rpmbuild/BUILD/node-v6.9.4/out/Release/obj.target/deps/openssl/libopenssl.a'
> failed
> https://gerrit.ovirt.org/#/c/72375/ -- Juan tried messing with the ulimit,
> but it didn't seem to help. The comments in the patch might help.
> It also failed for the on-demand job.
> Thanks,
> Greg
> -- 
> Greg Sheremeta, MBA
> Red Hat, Inc.
> Sr. Software Engineer
> gshereme at redhat.com



--
This message was sent by Atlassian JIRA
(v1000.773.3#100032)


More information about the Infra mailing list