Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Upgrade beautifulsoup4 lib #47

Merged
merged 1 commit into from
Jul 22, 2016

Conversation

stephendonner
Copy link
Contributor

Passes just fine with local and ad-hoc: http://webqa-ci-staging1.qa.scl3.mozilla.com:8080/job/snippets.adhoc/13/console

Started by user Stephen Donner
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/snippets.adhoc/workspace
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/stephendonner/snippets-tests.git

/usr/local/git/bin/git init /var/lib/jenkins/jobs/snippets.adhoc/workspace # timeout=10
Fetching upstream changes from https://github.com/stephendonner/snippets-tests.git
/usr/local/git/bin/git --version # timeout=10
Setting http proxy: proxy.dmz.scl3.mozilla.com:3128
/usr/local/git/bin/git -c core.askpass=true fetch --tags --progress https://github.com/stephendonner/snippets-tests.git +refs/heads/:refs/remotes/origin/
/usr/local/git/bin/git config remote.origin.url https://github.com/stephendonner/snippets-tests.git # timeout=10
/usr/local/git/bin/git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
/usr/local/git/bin/git config remote.origin.url https://github.com/stephendonner/snippets-tests.git # timeout=10
Fetching upstream changes from https://github.com/stephendonner/snippets-tests.git
Setting http proxy: proxy.dmz.scl3.mozilla.com:3128
/usr/local/git/bin/git -c core.askpass=true fetch --tags --progress https://github.com/stephendonner/snippets-tests.git +refs/heads/:refs/remotes/origin/
/usr/local/git/bin/git rev-parse origin/update-beautiful-soup^{commit} # timeout=10
Checking out Revision 3c1b0c0 (origin/update-beautiful-soup)
/usr/local/git/bin/git config core.sparsecheckout # timeout=10
/usr/local/git/bin/git checkout -f 3c1b0c0
/usr/local/git/bin/git rev-list 3c1b0c0 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content
PATH=${WORKSPACE}/.venv/bin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin

[EnvInject] - Variables injected successfully.
executing script 'Create virtual environment'
[workspace] $ /bin/bash -ex /tmp/build_step_template8326736840909042580.sh

  • virtualenv .venv
    New python executable in /var/lib/jenkins/jobs/snippets.adhoc/workspace/.venv/bin/python2.7
    Also creating executable in /var/lib/jenkins/jobs/snippets.adhoc/workspace/.venv/bin/python
    Installing setuptools, pip, wheel...done.
    executing script 'Install infrastructure requirements'
    [workspace] $ /bin/bash -ex /tmp/build_step_template4103136802224021713.sh
  • pip install pytest-rerunfailures==1.0.1
    Collecting pytest-rerunfailures==1.0.1
    Collecting pytest>=2.7.3 (from pytest-rerunfailures==1.0.1)
    Using cached pytest-2.9.2-py2.py3-none-any.whl
    Collecting py>=1.4.29 (from pytest>=2.7.3->pytest-rerunfailures==1.0.1)
    Using cached py-1.4.31-py2.py3-none-any.whl
    Installing collected packages: py, pytest, pytest-rerunfailures
    Successfully installed py-1.4.31 pytest-2.9.2 pytest-rerunfailures-1.0.1
  • pip install pytest-xdist==1.8
    Collecting pytest-xdist==1.8
    Collecting execnet>=1.0.8 (from pytest-xdist==1.8)
    Using cached execnet-1.4.1-py2.py3-none-any.whl
    Requirement already satisfied (use --upgrade to upgrade): pytest>=2.2.1 in ./.venv/lib/python2.7/site-packages (from pytest-xdist==1.8)
    Collecting apipkg>=1.4 (from execnet>=1.0.8->pytest-xdist==1.8)
    Using cached apipkg-1.4-py2.py3-none-any.whl
    Requirement already satisfied (use --upgrade to upgrade): py>=1.4.29 in ./.venv/lib/python2.7/site-packages (from pytest>=2.2.1->pytest-xdist==1.8)
    Installing collected packages: apipkg, execnet, pytest-xdist
    Successfully installed apipkg-1.4 execnet-1.4.1 pytest-xdist-1.8
    [workspace] $ /bin/sh -xe /tmp/hudson8782240091322427957.sh
  • pip install -Ur requirements.txt
    Collecting beautifulsoup4==4.5.0 (from -r requirements.txt (line 1))
    Using cached beautifulsoup4-4.5.0-py2-none-any.whl
    Requirement already up-to-date: pytest==2.9.2 in ./.venv/lib/python2.7/site-packages (from -r requirements.txt (line 2))
    Collecting pytest-base-url (from -r requirements.txt (line 3))
    Using cached pytest_base_url-1.1.0-py2.py3-none-any.whl
    Collecting pytest-xdist==1.14 (from -r requirements.txt (line 4))
    Using cached pytest_xdist-1.14-py2.py3-none-any.whl
    Collecting requests==2.10.0 (from -r requirements.txt (line 5))
    Using cached requests-2.10.0-py2.py3-none-any.whl
    Requirement already up-to-date: py>=1.4.29 in ./.venv/lib/python2.7/site-packages (from pytest==2.9.2->-r requirements.txt (line 2))
    Requirement already up-to-date: execnet>=1.1 in ./.venv/lib/python2.7/site-packages (from pytest-xdist==1.14->-r requirements.txt (line 4))
    Requirement already up-to-date: apipkg>=1.4 in ./.venv/lib/python2.7/site-packages (from execnet>=1.1->pytest-xdist==1.14->-r requirements.txt (line 4))
    Installing collected packages: beautifulsoup4, requests, pytest-base-url, pytest-xdist
    Found existing installation: pytest-xdist 1.8
    Uninstalling pytest-xdist-1.8:
    Successfully uninstalled pytest-xdist-1.8
    Successfully installed beautifulsoup4-4.5.0 pytest-base-url-1.1.0 pytest-xdist-1.14 requests-2.10.0
  • py.test --base-url https://snippets.mozilla.com --junitxml results/junit.xml
    ============================= test session starts ==============================
    platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /var/lib/jenkins/jobs/snippets.adhoc/workspace/.venv/bin/python2.7
    cachedir: .cache
    baseurl: https://snippets.mozilla.com
    rootdir: /var/lib/jenkins/jobs/snippets.adhoc/workspace, inifile: setup.cfg
    plugins: base-url-1.1.0, xdist-1.14, rerunfailures-1.0.1
    collecting ... collected 9 items

tests/test_snippets.py::TestSnippets::test_snippet_set_present[/3/Firefox/default/default/default/en-US/release/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_snippet_set_present[/3/Firefox/default/default/default/en-US/aurora/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_snippet_set_present[/3/Firefox/default/default/default/en-US/beta/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_all_links[/3/Firefox/default/default/default/en-US/release/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_all_links[/3/Firefox/default/default/default/en-US/aurora/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_all_links[/3/Firefox/default/default/default/en-US/beta/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_that_snippets_are_well_formed_xml[/3/Firefox/default/default/default/en-US/release/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_that_snippets_are_well_formed_xml[/3/Firefox/default/default/default/en-US/aurora/default/default/default/] PASSED
tests/test_snippets.py::TestSnippets::test_that_snippets_are_well_formed_xml[/3/Firefox/default/default/default/en-US/beta/default/default/default/] PASSED

generated xml file: /var/lib/jenkins/jobs/snippets.adhoc/workspace/results/junit.xml
=========================== 9 passed in 1.57 seconds ===========================
Archiving artifacts
Recording test results
Found 10 test results
Finished: SUCCESS

@stephendonner
Copy link
Contributor Author

@davehunt and/or @glogiotatidis - r?

@davehunt
Copy link
Member

lgtm r+

@stephendonner stephendonner merged commit 1174585 into mozilla:master Jul 22, 2016
@stephendonner stephendonner deleted the update-beautiful-soup branch July 22, 2016 23:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants