Pull request #1305 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1a9ebcc6844b56d2773f4ff5b1969067d54b68ac+a57f3f565e436a58f8d2a88e19976967ca27a63d (d0efc5c91ea8dffc663b61482797a24bda9aad88) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5124707353960212928.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11039603204463951791.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5906298913385348599.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12243584810112004448.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1908703110432830687.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5948 in /w/workspace/dry_app-functions-sdk-go_PR-1305 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout [Pipeline] } [Pipeline] // stage [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:19 ========================================================= 00:41:19 EdgeX Global Pipelines Version Info 00:41:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:41:20 ------------------- 00:41:20 stable info: 00:41:20 ------------------- 00:41:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:41:20 Message: update stable to v1.0.244 00:41:21 ------------------- 00:41:21 experimental info: 00:41:21 ------------------- 00:41:21 Commited By: **** collab-it+edgex@linuxfoundation.org 00:41:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:41:21 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) Stage "arm64" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 00:41:21 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 00:41:21 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Build Check" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:41:22 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1305/archives ] [Pipeline] libraryResource [Pipeline] sh 00:41:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:41:23 ---> package-listing.sh 00:41:23 ++ facter osfamily 00:41:23 ++ tr '[:upper:]' '[:lower:]' 00:41:24 + OS_FAMILY=debian 00:41:24 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1305 00:41:24 + START_PACKAGES=/tmp/packages_start.txt 00:41:24 + END_PACKAGES=/tmp/packages_end.txt 00:41:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:41:24 + PACKAGES=/tmp/packages_start.txt 00:41:24 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1305 ']' 00:41:24 + PACKAGES=/tmp/packages_end.txt 00:41:24 + case "${OS_FAMILY}" in 00:41:24 + dpkg -l 00:41:24 + grep '^ii' 00:41:24 + '[' -f /tmp/packages_start.txt ']' 00:41:24 + '[' -f /tmp/packages_end.txt ']' 00:41:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:41:24 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1305 ']' 00:41:24 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1305/archives/ 00:41:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1305/archives/ [Pipeline] echo 00:41:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:41:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:41:25 00:41:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:41:25 latest: Pulling from edgex-lftools-log-publisher 00:41:25 5eb5b503b376: Pulling fs layer 00:41:25 5c69ac0246d0: Pulling fs layer 00:41:25 ec43610c2a17: Pulling fs layer 00:41:25 3a2ae6a8a46f: Pulling fs layer 00:41:25 33b1e0a273af: Pulling fs layer 00:41:25 5d3b04190fa2: Pulling fs layer 00:41:25 2f39f015ded8: Pulling fs layer 00:41:25 5d3b04190fa2: Waiting 00:41:25 33b1e0a273af: Waiting 00:41:25 3a2ae6a8a46f: Waiting 00:41:25 2f39f015ded8: Waiting 00:41:25 5c69ac0246d0: Verifying Checksum 00:41:25 5c69ac0246d0: Download complete 00:41:25 3a2ae6a8a46f: Download complete 00:41:25 33b1e0a273af: Verifying Checksum 00:41:25 33b1e0a273af: Download complete 00:41:25 5d3b04190fa2: Download complete 00:41:25 ec43610c2a17: Verifying Checksum 00:41:25 ec43610c2a17: Download complete 00:41:25 5eb5b503b376: Verifying Checksum 00:41:25 5eb5b503b376: Download complete 00:41:26 2f39f015ded8: Verifying Checksum 00:41:26 2f39f015ded8: Download complete 00:41:27 5eb5b503b376: Pull complete 00:41:27 5c69ac0246d0: Pull complete 00:41:27 ec43610c2a17: Pull complete 00:41:27 3a2ae6a8a46f: Pull complete 00:41:28 33b1e0a273af: Pull complete 00:41:28 5d3b04190fa2: Pull complete 00:41:32 2f39f015ded8: Pull complete 00:41:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:41:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:41:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:32 prd-ubuntu20.04-docker-8c-8g-5948 does not seem to be running inside a container 00:41:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1305 -v /w/workspace/dry_app-functions-sdk-go_PR-1305:/w/workspace/dry_app-functions-sdk-go_PR-1305:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1305@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:41:34 $ docker top feaf22dd9d409741fe2553554c04e863d6ff9bb71fdc495d539256da6b791e94 -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:34 + touch /tmp/pre-build-complete [Pipeline] sh 00:41:34 + mkdir -p /var/log/sysstat [Pipeline] sh 00:41:35 + ls /var/log/sa-host 00:41:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:35 provisioning config files... 00:41:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1305@tmp/config10974879001304710330tmp [Pipeline] { [Pipeline] echo 00:41:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:41:35 ---> create-netrc.sh [Pipeline] } 00:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:41:35 ---> python-tools-install.sh [Pipeline] echo 00:41:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:41:36 ---> sudo-logs.sh 00:41:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:41:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:41:36 ---> job-cost.sh 00:41:36 lf-activate-venv: SKIPPING 00:41:36 INFO: No Stack... 00:41:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:41:36 INFO: Archiving Costs [Pipeline] echo 00:41:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:41:37 ---> logs-deploy.sh 00:41:37 lf-activate-venv: SKIPPING 00:41:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1305/2 00:41:37 INFO: archiving workspace using pattern(s): 00:41:38 Archives upload complete. 00:41:38 INFO: archiving logs to Nexus