[tor-bugs] #30435 [Internal Services/Service - jenkins]: Lektor builds in jenkins sometimes fail with templates problems (was: Lektor builds in jenkins sometimes fail but new rebuild works)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 8 10:35:06 UTC 2019
#30435: Lektor builds in jenkins sometimes fail with templates problems
-------------------------------------------------+------------------------
Reporter: emmapeel | Owner: weasel
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Internal Services/Service - jenkins | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+------------------------
Description changed by emmapeel:
Old description:
> Some builds of lektor in jenkins fail with:
>
> jinja2.exceptions.UndefinedError: '_' is undefined
>
> But if you click on build now they usually build.
>
> It seems like if some machines had the software needed to compile, and
> some not. As in many other languages, _ is the shortened expression for
> i18n, so it could be that the lektor-i18n plugin is missing? It looks
> like it installs, though, even if there is an error about 'wheels':
>
> 09:16:52 Updating packages in
> /home/jenkins/.cache/lektor/packages/1b7e03f6dbb11eed7da0c1e12dd75608 for
> project
> 09:16:52 Obtaining file:///srv/jenkins-workspace/workspace/lektor-
> website-tpo-translation/website/packages/i18n
> 09:16:53 Installing collected packages: lektor-i18n
> 09:16:53 Running setup.py develop for lektor-i18n
> 09:16:53 Successfully installed lektor-i18n
> 09:16:53 /usr/lib/python3/dist-
> packages/pip/_internal/commands/install.py:222: UserWarning: Disabling
> all use of wheels due to the use of --build-options / --global-options /
> --install-options.
>
> Example: https://jenkins.torproject.org/job/lektor-website-tpo-
> translation/448/consoleFull or most of failed builds at
> https://jenkins.torproject.org/job/lektor-website-tpo-translation
New description:
Some builds of lektor in jenkins fail with:
jinja2.exceptions.UndefinedError: '_' is undefined
But if you click on 'build now' on the jenkins web interface, they usually
build.
It seems like if some machines had the software needed to compile, and
some not. As in many other languages, _ is the shortened expression for
i18n, so it could be that the lektor-i18n plugin is missing? It looks like
it installs, though, even if there is an error about 'wheels':
09:16:52 Updating packages in
/home/jenkins/.cache/lektor/packages/1b7e03f6dbb11eed7da0c1e12dd75608 for
project
09:16:52 Obtaining file:///srv/jenkins-workspace/workspace/lektor-website-
tpo-translation/website/packages/i18n
09:16:53 Installing collected packages: lektor-i18n
09:16:53 Running setup.py develop for lektor-i18n
09:16:53 Successfully installed lektor-i18n
09:16:53 /usr/lib/python3/dist-
packages/pip/_internal/commands/install.py:222: UserWarning: Disabling all
use of wheels due to the use of --build-options / --global-options /
--install-options.
Example: https://jenkins.torproject.org/job/lektor-website-tpo-
translation/448/consoleFull or most of failed builds at
https://jenkins.torproject.org/job/lektor-website-tpo-translation
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30435#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list