See <https://builds.apache.org/job/beam_Dependency_Check/161/display/redirect>

------------------------------------------
[...truncated 289.52 KB...]
mkdir -p $WORKSPACE/src/build/dependencyUpdates
rm -f $WORKSPACE/src/build/dependencyUpdates/python_dependency_report.txt

# List all outdated dependencies and write results in pythonDependencyReport
echo "The following dependencies have later release versions:" > 
$WORKSPACE/src/build/dependencyUpdates/python_dependency_report.txt
pip list --outdated | sed -n '1,2!p' | while IFS= read -r line
do
  echo $line | while IFS=' ' read dep curr_ver new_ver type
  do
    echo $line
    echo " - $dep [$curr_ver -> $new_ver]" >> 
$WORKSPACE/src/build/dependencyUpdates/python_dependency_report.txt
  done
done
future 0.16.0 0.17.0 sdist
google-apitools 0.5.20 0.5.24 wheel
google-cloud-pubsub 0.35.4 0.38.0 wheel
pytz 2018.4 2018.7 wheel
:beam-sdks-python:dependencyUpdates (Thread[Task worker for ':',5,main]) 
completed. Took 29.984 secs.
:runBeamDependencyCheck (Thread[Task worker for ':',5,main]) started.

> Task :runBeamDependencyCheck
Skipping task ':runBeamDependencyCheck' as it has no actions.
:runBeamDependencyCheck (Thread[Task worker for ':',5,main]) completed. Took 
0.0 secs.

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See 
https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 58s
2 actionable tasks: 2 executed

Publishing build scan...
https://gradle.com/s/3vexmifbg3ufo

Closing Git repo: 
<https://builds.apache.org/job/beam_Dependency_Check/ws/src/.git>
Build step 'Invoke Gradle script' changed build result to SUCCESS
[beam_Dependency_Check] $ /bin/bash -xe /tmp/jenkins1352287919356287405.sh
+ cd src
+ bash .test-infra/jenkins/dependency_check/generate_report.sh

REPORT_DESCRIPTION="
<h4> A dependency update is high priority if it satisfies one of following 
criteria: </h4>
<ul>
<li> It has major versions update available, e.g. org.assertj:assertj-core 
2.5.0 -> 3.10.0; </li>
</ul>
<ul>
<li> It is over 3 minor versions behind the latest version, e.g. org.tukaani:xz 
1.5 -> 1.8; </li>
</ul>
<ul>
<li> The current version is behind the later version for over 180 days, e.g. 
com.google.auto.service:auto-service 2014-10-24 -> 2017-12-11. </li>
</ul>
<h4> In Beam, we make a best-effort attempt at keeping all dependencies 
up-to-date.
     In the future, issues will be filed and tracked for these automatically,
     but in the meantime you can search for existing issues or open a new one.
</h4>
<h4> For more information: <a 
href=\"https://beam.apache.org/contribute/dependencies/\";> Beam Dependency 
Guide </a></h4>"


# Virtualenv for the rest of the script to run setup
/usr/bin/virtualenv dependency/check
New python executable in 
<https://builds.apache.org/job/beam_Dependency_Check/ws/src/dependency/check/bin/python2>
Also creating executable in 
<https://builds.apache.org/job/beam_Dependency_Check/ws/src/dependency/check/bin/python>
Installing setuptools, pkg_resources, pip, wheel...done.
Running virtualenv with interpreter /usr/bin/python2
. dependency/check/bin/activate
# This file must be used with "source bin/activate" *from bash*
# you cannot run it directly

deactivate () {
    unset -f pydoc >/dev/null 2>&1

    # reset old environment variables
    # ! [ -z ${VAR+_} ] returns true if VAR is declared at all
    if ! [ -z "${_OLD_VIRTUAL_PATH+_}" ] ; then
        PATH="$_OLD_VIRTUAL_PATH"
        export PATH
        unset _OLD_VIRTUAL_PATH
    fi
    if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
        PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
        export PYTHONHOME
        unset _OLD_VIRTUAL_PYTHONHOME
    fi

    # This should detect bash and zsh, which have a hash command that must
    # be called to get it to forget past commands.  Without forgetting
    # past commands the $PATH changes we made may not be respected
    if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
        hash -r 2>/dev/null
    fi

    if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
        PS1="$_OLD_VIRTUAL_PS1"
        export PS1
        unset _OLD_VIRTUAL_PS1
    fi

    unset VIRTUAL_ENV
    if [ ! "${1-}" = "nondestructive" ] ; then
    # Self destruct!
        unset -f deactivate
    fi
}

# unset irrelevant variables
deactivate nondestructive

VIRTUAL_ENV="<https://builds.apache.org/job/beam_Dependency_Check/ws/src/dependency/check";>
export VIRTUAL_ENV

_OLD_VIRTUAL_PATH="$PATH"
PATH="$VIRTUAL_ENV/bin:$PATH"
export PATH

# unset PYTHONHOME if set
if ! [ -z "${PYTHONHOME+_}" ] ; then
    _OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
    unset PYTHONHOME
fi

if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
    _OLD_VIRTUAL_PS1="$PS1"
    if [ "x" != x ] ; then
        PS1="$PS1"
    else
        PS1="(`basename \"$VIRTUAL_ENV\"`) $PS1"
    fi
    export PS1
fi
basename "$VIRTUAL_ENV"

# Make sure to unalias pydoc if it's already there
alias pydoc 2>/dev/null >/dev/null && unalias pydoc

pydoc () {
    python -m pydoc "$@"
}

# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands.  Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
    hash -r 2>/dev/null
fi
pip install --upgrade google-cloud-bigquery
Collecting google-cloud-bigquery
  Using cached 
https://files.pythonhosted.org/packages/72/e1/1ae3f8024e1d011bc567d54ec81e8c9afd08d107a326bd109e578475415d/google_cloud_bigquery-1.6.0-py2.py3-none-any.whl
Collecting google-api-core<2.0.0dev,>=1.0.0 (from google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/e4/3a/f9a5746a4d1c03e4ae6d4fdea0b4275cd80320dde7b2a44439cf9e913e33/google_api_core-1.5.0-py2.py3-none-any.whl
Collecting google-cloud-core<0.29dev,>=0.28.0 (from google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/0f/41/ae2418b4003a14cf21c1c46d61d1b044bf02cf0f8f91598af572b9216515/google_cloud_core-0.28.1-py2.py3-none-any.whl
Collecting google-resumable-media>=0.2.1 (from google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/77/95/2e4020a54366423ddba715f89fb7ca456c8f048b15cada6cd6a54cf10e8c/google_resumable_media-0.3.1-py2.py3-none-any.whl
Collecting protobuf>=3.4.0 (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/b8/c2/b7f587c0aaf8bf2201405e8162323037fe8d17aa21d3c7dda811b8d01469/protobuf-3.6.1-cp27-cp27mu-manylinux1_x86_64.whl
Requirement already satisfied, skipping upgrade: setuptools>=34.0.0 in 
./dependency/check/lib/python2.7/site-packages (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery) (40.5.0)
Collecting six>=1.10.0 (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting google-auth<2.0.0dev,>=0.4.0 (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/58/cb/96dbb4e50e7a9d856e89cc9c8e36ab1055f9774f7d85f37e2156c1d79d9f/google_auth-1.5.1-py2.py3-none-any.whl
Collecting futures>=3.2.0; python_version < "3.2" (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Collecting pytz (from google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/f8/0e/2365ddc010afb3d79147f1dd544e5ee24bf4ece58ab99b16fbb465ce6dc0/pytz-2018.7-py2.py3-none-any.whl
Collecting googleapis-common-protos<2.0dev,>=1.5.3 (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
Collecting requests<3.0.0dev,>=2.18.0 (from 
google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl
Collecting rsa>=3.1.4 (from 
google-auth<2.0.0dev,>=0.4.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting cachetools>=2.0.0 (from 
google-auth<2.0.0dev,>=0.4.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/0a/58/cbee863250b31d80f47401d04f34038db6766f95dea1cc909ea099c7e571/cachetools-2.1.0-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from 
google-auth<2.0.0dev,>=0.4.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/19/02/fa63f7ba30a0d7b925ca29d034510fc1ffde53264b71b4155022ddf3ab5d/pyasn1_modules-0.2.2-py2.py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1 (from 
requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/8c/4b/5cbc4cb46095f369117dcb751821e1bef9dd86a07c968d8757e9204c324c/urllib3-1.24-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from 
requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from 
requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from 
requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl
Collecting pyasn1>=0.1.3 (from 
rsa>=3.1.4->google-auth<2.0.0dev,>=0.4.0->google-api-core<2.0.0dev,>=1.0.0->google-cloud-bigquery)
  Using cached 
https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl
Installing collected packages: six, protobuf, pyasn1, rsa, cachetools, 
pyasn1-modules, google-auth, futures, pytz, googleapis-common-protos, urllib3, 
chardet, idna, certifi, requests, google-api-core, google-cloud-core, 
google-resumable-media, google-cloud-bigquery
Successfully installed cachetools-2.1.0 certifi-2018.10.15 chardet-3.0.4 
futures-3.2.0 google-api-core-1.5.0 google-auth-1.5.1 
google-cloud-bigquery-1.6.0 google-cloud-core-0.28.1 
google-resumable-media-0.3.1 googleapis-common-protos-1.5.3 idna-2.7 
protobuf-3.6.1 pyasn1-0.4.4 pyasn1-modules-0.2.2 pytz-2018.7 requests-2.20.0 
rsa-4.0 six-1.11.0 urllib3-1.24
rm -f build/dependencyUpdates/beam-dependency-check-report.txt

# Insall packages and run the unit tests of the report generator and the jira 
manager
pip install mock jira pyyaml
Collecting mock
  Using cached 
https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl
Collecting jira
  Using cached 
https://files.pythonhosted.org/packages/cb/c2/4203b6cad72d115b0ad62ae7028567b538c8933745f665d0eee5082baf67/jira-2.0.0-py2.py3-none-any.whl
Collecting pyyaml
Collecting pbr>=0.11 (from mock)
  Using cached 
https://files.pythonhosted.org/packages/76/0c/304d968fe010ba7c2ecc1d57e28741ddd3a305439dcf1cdb3b6f896a3c00/pbr-5.1.0-py2.py3-none-any.whl
Collecting funcsigs>=1; python_version < "3.3" (from mock)
  Using cached 
https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Requirement already satisfied: six>=1.9 in 
./dependency/check/lib/python2.7/site-packages (from mock) (1.11.0)
Requirement already satisfied: requests>=2.10.0 in 
./dependency/check/lib/python2.7/site-packages (from jira) (2.20.0)
Collecting oauthlib[signedtoken]>=1.0.0 (from jira)
  Using cached 
https://files.pythonhosted.org/packages/e6/d1/ddd9cfea3e736399b97ded5c2dd62d1322adef4a72d816f1ed1049d6a179/oauthlib-2.1.0-py2.py3-none-any.whl
Collecting defusedxml (from jira)
  Using cached 
https://files.pythonhosted.org/packages/87/1c/17f3e3935a913dfe2a5ca85fa5ccbef366bfd82eb318b1f75dadbf0affca/defusedxml-0.5.0-py2.py3-none-any.whl
Collecting requests-toolbelt (from jira)
  Using cached 
https://files.pythonhosted.org/packages/97/8a/d710f792d6f6ecc089c5e55b66e66c3f2f35516a1ede5a8f54c13350ffb0/requests_toolbelt-0.8.0-py2.py3-none-any.whl
Collecting requests-oauthlib>=0.6.1 (from jira)
  Using cached 
https://files.pythonhosted.org/packages/94/e7/c250d122992e1561690d9c0f7856dadb79d61fd4bdd0e598087dce607f6c/requests_oauthlib-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=20.10.1 in 
./dependency/check/lib/python2.7/site-packages (from jira) (40.5.0)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in 
./dependency/check/lib/python2.7/site-packages (from requests>=2.10.0->jira) 
(1.24)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in 
./dependency/check/lib/python2.7/site-packages (from requests>=2.10.0->jira) 
(3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in 
./dependency/check/lib/python2.7/site-packages (from requests>=2.10.0->jira) 
(2.7)
Requirement already satisfied: certifi>=2017.4.17 in 
./dependency/check/lib/python2.7/site-packages (from requests>=2.10.0->jira) 
(2018.10.15)
Collecting cryptography; extra == "signedtoken" (from 
oauthlib[signedtoken]>=1.0.0->jira)
  Using cached 
https://files.pythonhosted.org/packages/87/e6/915a482dbfef98bbdce6be1e31825f591fc67038d4ee09864c1d2c3db371/cryptography-2.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pyjwt>=1.0.0; extra == "signedtoken" (from 
oauthlib[signedtoken]>=1.0.0->jira)
  Using cached 
https://files.pythonhosted.org/packages/93/d1/3378cc8184a6524dc92993090ee8b4c03847c567e298305d6cf86987e005/PyJWT-1.6.4-py2.py3-none-any.whl
Collecting enum34; python_version < "3" (from cryptography; extra == 
"signedtoken"->oauthlib[signedtoken]>=1.0.0->jira)
  Using cached 
https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography; extra == 
"signedtoken"->oauthlib[signedtoken]>=1.0.0->jira)
  Using cached 
https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.7 (from cryptography; extra == 
"signedtoken"->oauthlib[signedtoken]>=1.0.0->jira)
  Using cached 
https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting ipaddress; python_version < "3" (from cryptography; extra == 
"signedtoken"->oauthlib[signedtoken]>=1.0.0->jira)
  Using cached 
https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.7->cryptography; extra == 
"signedtoken"->oauthlib[signedtoken]>=1.0.0->jira)
Installing collected packages: pbr, funcsigs, mock, enum34, asn1crypto, 
pycparser, cffi, ipaddress, cryptography, pyjwt, oauthlib, defusedxml, 
requests-toolbelt, requests-oauthlib, jira, pyyaml
Successfully installed asn1crypto-0.24.0 cffi-1.11.5 cryptography-2.3.1 
defusedxml-0.5.0 enum34-1.1.6 funcsigs-1.0.2 ipaddress-1.0.22 jira-2.0.0 
mock-2.0.0 oauthlib-2.1.0 pbr-5.1.0 pycparser-2.19 pyjwt-1.6.4 pyyaml-3.13 
requests-oauthlib-1.0.0 requests-toolbelt-0.8.0
cd $WORKSPACE/src/.test-infra/jenkins
python -m dependency_check.dependency_check_report_generator_test
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"<https://builds.apache.org/job/beam_Dependency_Check/ws/src/.test-infra/jenkins/dependency_check/dependency_check_report_generator_test.py";,>
 line 26, in <module>
    from dependency_check_report_generator import prioritize_dependencies
  File "dependency_check/dependency_check_report_generator.py", line 19, in 
<module>
    import dependency_check.version_comparer as version_comparer
  File "dependency_check/version_comparer.py", line 19, in <module>
    from dependency_check.report_generator_config import ReportGeneratorConfig
  File "dependency_check/report_generator_config.py", line 21, in <module>
    class ReportGeneratorConfig:
  File "dependency_check/report_generator_config.py", line 41, in 
ReportGeneratorConfig
    BEAM_JIRA_BOT_USRENAME= os.environ['BEAM_JIRA_BOT_USERNAME']
  File 
"<https://builds.apache.org/job/beam_Dependency_Check/ws/src/dependency/check/lib/python2.7/UserDict.py";,>
 line 40, in __getitem__
    raise KeyError(key)
KeyError: 'BEAM_JIRA_BOT_USERNAME'
Build step 'Execute shell' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscr...@beam.apache.org
For additional commands, e-mail: builds-h...@beam.apache.org

Reply via email to