Okay, so I did find something just now.

First,

> However, the ARA check jobs get a permission denied when running tox
> (?),

Lack of caffeine -- it's a file not found error (I knew that).
It turns out that the "zuul-git-prep-upper-constraints" uses $ZUUL_PROJECT in
the clone map [1].

$ZUUL_PROJECT in this context resolves to openstack/ara, not
openstack/openstack-ansible-tests.
The upper constraints file is likely not being put in the expected place:
===
invocation failed (errno 2), args:
['/home/jenkins/workspace/gate-ara-integration-openstack-ansible-func-centos-7-nv/openstack-ansible-tests/.tox/functional/bin/pip',
'install', 
'-c/home/jenkins/workspace/gate-ara-integration-openstack-ansible-func-centos-7-nv/openstack-ansible-tests/upper-constraints.txt'
===

I'll try to straigthen things out and see what happens.

[1]: 
https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/macros.yaml#L40-L71

David Moreau Simard
Senior Software Engineer | Openstack RDO

dmsimard = [irc, github, twitter]


On Mon, Apr 24, 2017 at 5:45 PM, Paul Belanger <pabelan...@redhat.com> wrote:
> On Mon, Apr 24, 2017 at 05:25:26PM -0400, David Moreau Simard wrote:
>> Hi!
>>
>> I'm trying to run the openstack-ansible-tests func jobs in the ARA
>> check gate but it's not working.
>> I'm probably missing something obvious and someone can hopefully point it 
>> out !
>>
>> This review [1] landed today so I figured I would give it another shot
>> but it didn't fix the problem I had -- here's a test review in the ARA
>> gate [2].
>> So, let's compare.
>>
>> As I understand, openstack-ansible-tests uses this template [3] to run the 
>> job.
>> I've re-implemented this as an ARA job [4] with the subtle difference
>> that we zuul-clone osa-tests first.. it's otherwise the same.
>>
>> However, the ARA check jobs get a permission denied when running tox
>> (?), example here [5].
>> For comparison, you can see the same block from an osa-tests review here [6].
>>
>> Anyone know what could be the problem ?
>>
> You need a testenv:functional in your tox.ini file. The job is running:
>
>   tox -efunctional
>
> and failing.
>
>> Thanks !
>>
>> [1]: https://review.openstack.org/#/c/453298/
>> [2]: https://review.openstack.org/#/c/436098/
>> [3]: 
>> https://github.com/openstack-infra/project-config/blob/45d26f75d150febc121b91ebd5aa0435ecba7315/jenkins/jobs/ansible-role-jobs.yaml#L66-L102
>> [4]: 
>> https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ara.yaml#L21-L72
>> [5]: 
>> http://logs.openstack.org/98/436098/7/check/gate-ara-integration-openstack-ansible-func-centos-7-nv/6445cfb/console.html#_2017-04-24_21_20_58_603926
>> [6]: 
>> http://logs.openstack.org/98/453298/21/check/gate-openstack-ansible-tests-ansible-func-centos-7/235e59a/console.html#_2017-04-24_18_29_31_510532
>>
>> David Moreau Simard
>> Senior Software Engineer | Openstack RDO
>>
>> dmsimard = [irc, github, twitter]
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to