fuel-web docs download plantumuml from sourceforge

Bug #1475714 reported by Aleksandra Fedorova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Alexander Kislitsky

Bug Description

sourceforge is known to community for providing files which contain advertisement or other sorts of injections into source code of an open project (GIMP is an example).

Let's remove automatic downloads for this file and use system-wide installed plantuml

Tags: fuel-ci
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :
Download full text (5.4 KiB)

Set to critical, as it causes fails for build-feul-web-docs Jenkins job

+ make clean html pdf
rm -rf _build/*
wget http://downloads.sourceforge.net/project/plantuml/plantuml.jar -O plantuml.jar
--2015-07-17 15:40:52-- http://downloads.sourceforge.net/project/plantuml/plantuml.jar
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 54.192.69.238, 54.230.69.116, 54.230.70.141, ...
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|54.192.69.238|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.sourceforge.net/#!/project/plantuml/plantuml.jar [following]
--2015-07-17 15:40:53-- http://downloads.sourceforge.net/
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 639 [text/html]
Saving to: 'plantuml.jar'

     0K 100% 120M=0s

2015-07-17 15:40:53 (120 MB/s) - 'plantuml.jar' saved [639/639]

sphinx-build -b html -W -d _build/doctrees . _build/html
Making output directory...
Running Sphinx v1.2
2015-07-17 15:40:53.842 DEBUG [2ab86d5a6a80] (settings) Looking for settings.yaml package config using old style __file__
[DEBUG] settings.py:27 Looking for settings.yaml package config using old style __file__
2015-07-17 15:40:53.842 ERROR [2ab86d5a6a80] (settings) 'version.yaml' config file is not found
[ERROR] settings.py:42 'version.yaml' config file is not found
2015-07-17 15:40:53.842 DEBUG [2ab86d5a6a80] (settings) Trying to read config file /home/jenkins/workspace/build-fuel-web-docs/docs/../nailgun/nailgun/settings.yaml
[DEBUG] settings.py:51 Trying to read config file /home/jenkins/workspace/build-fuel-web-docs/docs/../nailgun/nailgun/settings.yaml
2015-07-17 15:40:53.958 DEBUG [2ab86d5a6a80] (settings) Trying to read config file /etc/nailgun/settings.yaml
[DEBUG] settings.py:51 Trying to read config file /etc/nailgun/settings.yaml
2015-07-17 15:40:53.959 ERROR [2ab86d5a6a80] (settings) Error while reading config file /etc/nailgun/settings.yaml: [Errno 2] No such file or directory: '/etc/nailgun/settings.yaml'
[ERROR] settings.py:55 Error while reading config file /etc/nailgun/settings.yaml: [Errno 2] No such file or directory: '/etc/nailgun/settings.yaml'
2015-07-17 15:40:53.959 INFO [2ab86d5a6a80] (settings) DEVELOPMENT MODE ON:
[INFO] settings.py:58 DEVELOPMENT MODE ON:
2015-07-17 15:40:53.959 INFO [2ab86d5a6a80] (settings) Static dir is /home/jenkins/workspace/build-fuel-web-docs/nailgun/static
[INFO] settings.py:66 Static dir is /home/jenkins/workspace/build-fuel-web-docs/nailgun/static
2015-07-17 15:40:53.959 INFO [2ab86d5a6a80] (settings) Template dir is /home/jenkins/workspace/build-fuel-web-docs/nailgun/static
[INFO] settings.py:67 Template dir is /home/jenkins/workspace/build-fuel-web-docs/nailgun/static
loading translations [en]... done
loading pickled environment... not yet created
building [html]: targets for 39 source files that are out of date
updating environment: 39 added, 0 changed, 0 removed
reading sources... [ 2%] buildsystem
reading sources... [ 5%] ci/overview
reading sources... [ 7%] ci/third_party
reading source...

Read more...

Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/203671

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/203671
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=b40706925b4f43239d1a9ab2cd9384ea6af45a52
Submitter: Jenkins
Branch: master

commit b40706925b4f43239d1a9ab2cd9384ea6af45a52
Author: Alexander Kislitsky <email address hidden>
Date: Mon Jul 20 17:18:47 2015 +0300

    Download plantuml.jar only if plantuml is not installed

    We download plantuml.jar from sourceforge only if plantuml is not installed.
    If plantuml is installed it provides file /usr/share/plantuml/plantuml.jar.
    We create link on provided plantuml.jar durring building target 'html'.

    Change-Id: I87af76b3d747a7a9a7b86afdbc28cd10ccc4fec6
    Closes-Bug: #1475714

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexander Arzhanov (aarzhanov) wrote :

Works fine, log from CI :
...
+ cd docs/
+ make clean html pdf
rm -rf _build/*
Have installed plantuml. Creating link plantuml.jar on /usr/share/plantuml/plantuml.jar.
sphinx-build -b html -W -d _build/doctrees . _build/html
Making output directory...
Running Sphinx v1.2
...

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.