public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Benjamin Drung
	<benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>,
	Nicolas Morey-Chaisemartin
	<nmoreychaisemartin-l3A5Bk7waGM@public.gmane.org>,
	Alaa Hleihel <alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-core 3/5] travis: Add RedHat and SuSE rpmbuild support
Date: Thu, 2 Nov 2017 11:31:23 -0600	[thread overview]
Message-ID: <20171102173123.GQ18874@ziepe.ca> (raw)
In-Reply-To: <20171102165556.22105-4-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

On Thu, Nov 02, 2017 at 06:55:54PM +0200, Leon Romanovsky wrote:
> From: Alaa Hleihel <alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> 
> Provide a new script for testing rpmbuild under RedHat and SuSE
> environments which validates both of the suse/rdma-core.spec and
> redhat/rdma-core.spec specfiles.
> 
> The script performs the RPM package build test by utilizing the existing
> cbuild tool.

This breaks cbuild pkg travis - we should not attempt to build using
docker when run outside travis:

$ buildlib/cbuild pkg travis
[..]
+ for OS in centos7 opensuse-42.2 artful
+ echo
+ echo 'Checking package build for centos7 ....'
+ echo
+ buildlib/cbuild build-images centos7

Checking package build for centos7 ....

Traceback (most recent call last):
  File "buildlib/cbuild", line 54, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "buildlib/cbuild", line 802, in <module>
    args.func(args);
  File "buildlib/cbuild", line 631, in cmd_pkg
    run_travis_build(args,env);
  File "buildlib/cbuild", line 621, in run_travis_build
    docker_cmd(args,*opts);
  File "buildlib/cbuild", line 371, in docker_cmd
    return subprocess.check_call(["sudo","docker"] + cmd);
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', 'docker', 'run', '--read-only', '--rm=true', '-v', '/tmp/tmpxhYvXb:/home/travis/build', '-v', '/home/jgg/work/plumbing/.git:/home/travis/build/src/.git:ro', '-w', '/home/travis/build/src', '-u', '2009', '-e', 'TRAVIS_COMMIT_RANGE=41e755a28d97c1965f03b1c6ce6dd7b63def424d..HEAD', '-e', 'TRAVIS_BRANCH=41e755a28d97c1965f03b1c6ce6dd7b63def424d', '-e', 'TRAVIS_EVENT_TYPE=pull_request', '-e', 'HOME=/home/travis', '-e', 'TMPDIR=/home/travis/build/tmp', 'build-rdma-core/travis', '/bin/bash', '/home/travis/build/go.sh']' returned non-zero exit status 1

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-11-02 17:31 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 16:55 [PATCH rdma-core 0/5] Perform package tests in Travis CI Leon Romanovsky
     [not found] ` <20171102165556.22105-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 16:55   ` [PATCH rdma-core 1/5] cbuild: Add udev dependency to package list of SuSE Leap Leon Romanovsky
     [not found]     ` <20171102165556.22105-2-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:30       ` Nicolas Morey-Chaisemartin
2017-11-02 17:32       ` Nicolas Morey-Chaisemartin
     [not found]         ` <3a06c93f-aa0f-93fa-1b74-af6388051f89-l3A5Bk7waGM@public.gmane.org>
2017-11-02 17:42           ` Leon Romanovsky
     [not found]             ` <20171102174220.GD16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-02 18:04               ` Nicolas Morey-Chaisemartin
     [not found]                 ` <b2493da4-396e-5d24-ffa5-2fcccb9ee85c-l3A5Bk7waGM@public.gmane.org>
2017-11-02 18:32                   ` Leon Romanovsky
     [not found]                     ` <20171102183257.GI16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-05  8:13                       ` Alaa Hleihel
     [not found]                         ` <76d45899-f1ec-bbd1-e0dd-799e1fa4a400-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06  2:05                           ` Jason Gunthorpe
     [not found]                             ` <20171106020518.GC12187-uk2M96/98Pc@public.gmane.org>
2017-11-06  7:58                               ` Alaa Hleihel
     [not found]                                 ` <aae35c17-8135-9e4b-8ff8-f92558316f95-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06  9:15                                   ` Nicolas Morey-Chaisemartin
     [not found]                                     ` <c9ecd165-c670-c58b-6d7b-006140fc15af-l3A5Bk7waGM@public.gmane.org>
2017-11-06 16:57                                       ` Jason Gunthorpe
2017-11-02 16:55   ` [PATCH rdma-core 2/5] cbuild: Properly create tarball for SuSE Leon Romanovsky
     [not found]     ` <20171102165556.22105-3-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:17       ` Jason Gunthorpe
     [not found]         ` <20171102171738.GP18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 17:32           ` Nicolas Morey-Chaisemartin
2017-11-02 17:57           ` Leon Romanovsky
     [not found]             ` <20171102175735.GE16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-02 18:12               ` Jason Gunthorpe
     [not found]                 ` <20171102181217.GS18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 18:25                   ` Leon Romanovsky
     [not found]                     ` <20171102182526.GG16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-05  8:19                       ` Alaa Hleihel
2017-11-02 16:55   ` [PATCH rdma-core 3/5] travis: Add RedHat and SuSE rpmbuild support Leon Romanovsky
     [not found]     ` <20171102165556.22105-4-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:31       ` Jason Gunthorpe [this message]
     [not found]         ` <20171102173123.GQ18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 17:34           ` Nicolas Morey-Chaisemartin
     [not found]             ` <8a65f42d-01d4-6c4a-1bed-b1989cdb9e70-l3A5Bk7waGM@public.gmane.org>
2017-11-02 19:44               ` Jason Gunthorpe
     [not found]                 ` <20171102194420.GT18874-uk2M96/98Pc@public.gmane.org>
2017-11-05  9:19                   ` Alaa Hleihel
2017-11-02 16:55   ` [PATCH rdma-core 4/5] buildlib/cbuild: Add Ubuntu artful Leon Romanovsky
2017-11-02 16:55   ` [PATCH rdma-core 5/5] travis: Test Debian packaging under Artful container Leon Romanovsky
     [not found]     ` <20171102165556.22105-6-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:05       ` Jason Gunthorpe
     [not found]         ` <20171102170554.GO18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 17:18           ` Leon Romanovsky
2017-11-02 17:32           ` Leon Romanovsky
     [not found]             ` <20171102173255.GC16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-02 17:55               ` Jason Gunthorpe
     [not found]                 ` <20171102175522.GR18874-uk2M96/98Pc@public.gmane.org>
2017-11-05 10:00                   ` Alaa Hleihel
     [not found]                     ` <2e2d65c2-845e-13ad-1022-a859b2fef6a7-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-05 13:30                       ` Alaa Hleihel
     [not found]                         ` <f6a250cd-dd4f-5dbe-4b1d-53f2b1f87b32-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06  2:14                           ` Jason Gunthorpe
2017-11-02 21:18   ` [PATCH rdma-core 0/5] Perform package tests in Travis CI Jason Gunthorpe
     [not found]     ` <20171102211851.GV18874-uk2M96/98Pc@public.gmane.org>
2017-11-05  7:17       ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171102173123.GQ18874@ziepe.ca \
    --to=jgg-uk2m96/98pc@public.gmane.org \
    --cc=alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nmoreychaisemartin-l3A5Bk7waGM@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox