[OpenStack-Infra] npm Zuul jobs - need help

Paul Belanger pabelanger at redhat.com
Mon Nov 13 18:47:56 UTC 2017


On Mon, Nov 13, 2017 at 07:39:08PM +0100, Andreas Jaeger wrote:
> Hi team,
> 
> let me summarize the current status and my request for help here.
> 
> Note: with npm I mean the javascript node tests.
> 
> I fixed last week the npm test, lint, and docs jobs and converted them
> to native Zuul v3.
> 
> But then we noticed the problem that horizon expects chromium and xvfb
> installed and xvfb started for their tests.
> 
Do you have an example log of the failure?  Can't we use the test-setup role
and add this into tools/test-setup.sh for now?

> This let to a reversal (change https://review.openstack.org/#/c/518881/
> ) so that we continue to use the legacy npm-test job. Now the question
> is how to fix this properly.
> 
> Akihiro Motoki and myself proposed
> https://review.openstack.org/#/c/518879/ and tested that it works in
> horizon (https://review.openstack.org/518880). Is this the right
> approach? Or is that so OpenStack specific that we need to move it to
> openstack-zuul-jobs? I'm also not happy about some changes in there, so
> would really appreciate if somebody could take this over and do it the
> right way.
> 
> A second problem is that the npm-docs automatic conversion was bogus. It
> converted everything to use the sphinx build jobs. I fixed this with
> https://review.openstack.org/#/c/518883 for the npm-docs template. Now
> the missing piece is the publishing part of it - and then we need to
> design templates for the publishing and review the usage of
> publish-openstack-sphinx-docs for npm jobs. Have a look at
> eslint-config-openstack in project-config/zuul.de/projects.yaml, it uses
> the publish-openstack-sphinx-docs template which adds sphinx building
> and publishing - we need instead a docs publishing one. I didn't check
> how many repos have this broken set up.
> 
> Could anybody tackle these two problems and take over, please? I'm happy
> to review and learn - but don't have the energy this week to fix it myself,
> 
> Andreas
> -- 
>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
>   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>    GF: Felix Imendörffer, Jane Smithard, Graham Norton,
>        HRB 21284 (AG Nürnberg)
>     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
> 
> 
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra



More information about the OpenStack-Infra mailing list