Started by user Jenkins Admin Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in C:\Program Files (x86)\Jenkins\workspace\pmdemo2 [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of %AuthorizationToken% [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Install Python Dependencies) [Pipeline] echo Create Artifacts Folder [Pipeline] powershell Directory: C:\Program Files (x86)\Jenkins\workspace\pmdemo2 Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 3/5/2020 9:39 AM Artifacts [Pipeline] echo Install Python Virtual environments [Pipeline] powershell powershell.exe : WARNING: The script virtualenv.exe is installed in 'C:\windows\system32\config\systemprofile\AppData\Roaming\Python\Python38\Scripts' which is not on PATH. At C:\Program Files (x86)\Jenkins\workspace\pmdemo2@tmp\durable-54754acd\powershellWrapper.ps1:3 char:1 + & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command '& ''C: ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( WARNING: The ...is not on PATH. :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. [Pipeline] withPythonEnv [Pipeline] { [Pipeline] echo Install Python requirements [Pipeline] powershell Requirement already up-to-date: outsystems-pipeline in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (0.3.0) Requirement already satisfied, skipping upgrade: python-dateutil==2.7.5 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from outsystems-pipeline) (2.7.5) Requirement already satisfied, skipping upgrade: requests==2.20.1 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from outsystems-pipeline) (2.20.1) Requirement already satisfied, skipping upgrade: unittest-xml-reporting==2.2.1 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from outsystems-pipeline) (2.2.1) Requirement already satisfied, skipping upgrade: xunitparser==1.3.3 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from outsystems-pipeline) (1.3.3) Requirement already satisfied, skipping upgrade: pytest==4.3.0 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from outsystems-pipeline) (4.3.0) Requirement already satisfied, skipping upgrade: six>=1.5 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from python-dateutil==2.7.5->outsystems-pipeline) (1.14.0) Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from requests==2.20.1->outsystems-pipeline) (1.24.3) Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from requests==2.20.1->outsystems-pipeline) (2.7) Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from requests==2.20.1->outsystems-pipeline) (3.0.4) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from requests==2.20.1->outsystems-pipeline) (2019.11.28) Requirement already satisfied, skipping upgrade: colorama; sys_platform == "win32" in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (0.4.3) Requirement already satisfied, skipping upgrade: more-itertools>=4.0.0; python_version > "2.7" in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (8.2.0) Requirement already satisfied, skipping upgrade: atomicwrites>=1.0 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (1.3.0) Requirement already satisfied, skipping upgrade: setuptools in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (41.2.0) Requirement already satisfied, skipping upgrade: pluggy>=0.7 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (0.13.1) Requirement already satisfied, skipping upgrade: py>=1.5.0 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (1.8.1) Requirement already satisfied, skipping upgrade: attrs>=17.4.0 in c:\program files (x86)\jenkins\workspace\pmdemo2\.pyenv-python\lib\site-packages (from pytest==4.3.0->outsystems-pipeline) (19.3.0) powershell.exe : WARNING: You are using pip version 19.2.3, however version 20.0.2 is available. At C:\Program Files (x86)\Jenkins\workspace\pmdemo2@tmp\durable-de92808f\powershellWrapper.ps1:3 char:1 + & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command '& ''C: ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (WARNING: You ar...2 is available. :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError You should consider upgrading via the 'python -m pip install --upgrade pip' command. [Pipeline] } [Pipeline] // withPythonEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Get and Deploy Latest Tags) [Pipeline] withPythonEnv [Pipeline] { [Pipeline] echo Pipeline run triggered remotely by 'António Barros' for the following applications (including tests): 'Cases,Cases_Tests' [Pipeline] echo Retrieving latest application tags from Development environment... [Pipeline] powershell OS Environments data retrieved successfully. OS Applications data retrieved successfully. [Pipeline] echo Deploying latest application tags to Regression... [Pipeline] powershell Adding application Cases with version 1.3, to be deployed in Beta Testing environment. Skipping application Cases_Tests with version 1.3, since it's already deployed in Beta Testing environment. Reason: VersionKey is equal. Creating deployment plan from Development to Beta Testing including applications: ['Cases'] ([{'Name': 'Cases', 'Key': 'ca9533b0-97ef-418c-88cd-bc1e07dbdccd', 'Version': '1.3', 'VersionKey': '70c4ce33-fb49-4347-b7e9-87f61ed063c8'}]). Deployment plan 3fd4d8c1-4782-4b85-91fd-2f1f63b1e99e created successfully. Deployment plan 3fd4d8c1-4782-4b85-91fd-2f1f63b1e99e started being executed. 20 secs have passed since the deployment started... 40 secs have passed since the deployment started... 60 secs have passed since the deployment started... 80 secs have passed since the deployment started... 100 secs have passed since the deployment started... 120 secs have passed since the deployment started... 140 secs have passed since the deployment started... Deployment plan finished with status finished_successful. [Pipeline] } [Pipeline] // withPythonEnv Post stage [Pipeline] dir Running in C:\Program Files (x86)\Jenkins\workspace\pmdemo2\Artifacts [Pipeline] { [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Run Regression) [Pipeline] withPythonEnv [Pipeline] { [Pipeline] echo Generating URLs for BDD testing... [Pipeline] powershell 1 BDD module(s) found. 1 BDD endpoint(s) scanned successfully. Tests to run:['Case_CRUD'] [Pipeline] echo Testing the URLs and generating the JUnit results XML... [Pipeline] powershell powershell.exe : At C:\Program Files (x86)\Jenkins\workspace\pmdemo2@tmp\durable-e1f7e9f3\powershellWrapper.ps1:3 char:1 + & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command '& ''C: ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Running tests... ---------------------------------------------------------------------- . ---------------------------------------------------------------------- Ran 1 test in 9.448s OK Generating XML reports... [Pipeline] } [Pipeline] // withPythonEnv Post stage [Pipeline] withPythonEnv [Pipeline] { [Pipeline] echo Publishing JUnit test results... [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // withPythonEnv [Pipeline] dir Running in C:\Program Files (x86)\Jenkins\workspace\pmdemo2\Artifacts [Pipeline] { [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Upload GitHub) [Pipeline] withPythonEnv [Pipeline] { [Pipeline] echo Calling TriggerPipeline API to request upload of OAPs if pipeline is configured to do so. [Pipeline] powershell [Pipeline] } [Pipeline] // withPythonEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy Production) [Pipeline] timeout Timeout set to expire in 1 day 0 hr [Pipeline] { [Pipeline] input Accept changes and deploy to Production? Proceed or Abort [Pipeline] } [Pipeline] // timeout Post stage [Pipeline] dir Running in C:\Program Files (x86)\Jenkins\workspace\pmdemo2\Artifacts [Pipeline] { [Pipeline] archiveArtifacts Skipped archiving because build is not successful [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] echo Deleting artifacts folder content... [Pipeline] dir Running in C:\Program Files (x86)\Jenkins\workspace\pmdemo2\Artifacts [Pipeline] { [Pipeline] deleteDir [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Rejected by Jenkins Admin Finished: ABORTED