Pull request #71 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 89da2b6747a2ce889049fc29c1f3f3c863b45daf+d2ab44b8cbb16e2983b1bff117f9b859b4657c3d (f9f4bb9df142f3dc8567b9243c10424e859a00e2) 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-ssh10939521296369959773.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-ssh5141900499338597307.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/device-gpio/branches/PR-71/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/device-gpio/branches/PR-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17475104721528201515.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-ssh15451363550158351585.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/device-gpio/branches/PR-71/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/device-gpio/branches/PR-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8953817215298217626.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:device-gpio] ========================================================= [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: device-gpio-settings PROJECT: device-gpio 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: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true 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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1956’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1958 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-71 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d2ab44b8cbb16e2983b1bff117f9b859b4657c3d into PR head commit 89da2b6747a2ce889049fc29c1f3f3c863b45daf Merge succeeded, producing 97066bc7dee5c7cd2bbbad38cde0d66364558b33 Checking out Revision 97066bc7dee5c7cd2bbbad38cde0d66364558b33 (PR-71) > git config core.sparsecheckout # timeout=10 > git checkout -f 89da2b6747a2ce889049fc29c1f3f3c863b45daf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d2ab44b8cbb16e2983b1bff117f9b859b4657c3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97066bc7dee5c7cd2bbbad38cde0d66364558b33 # timeout=10 Commit message: "Merge commit 'd2ab44b8cbb16e2983b1bff117f9b859b4657c3d' into HEAD" > git rev-list --no-walk 89da2b6747a2ce889049fc29c1f3f3c863b45daf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:50:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:50:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:50:58 ========================================================= 21:50:58 EdgeX Global Pipelines Version Info 21:50:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:50:59 ------------------- 21:50:59 stable info: 21:50:59 ------------------- 21:50:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:50:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:50:59 Message: update stable to v1.0.244 21:50:59 ------------------- 21:50:59 experimental info: 21:50:59 ------------------- 21:50:59 Commited By: **** collab-it+edgex@linuxfoundation.org 21:50:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:50:59 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:50:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97066bc7dee5c7cd2bbbad38cde0d66364558b33 [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97066bc [Pipeline] echo 21:51:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:00 provisioning config files... 21:51:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config13764819317742658165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:00 ---> docker-login.sh 21:51:00 nexus3.edgexfoundry.org:10001 21:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:01 Configure a credential helper to remove this warning. See 21:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:01 21:51:01 Login Succeeded 21:51:01 nexus3.edgexfoundry.org:10002 21:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:01 Configure a credential helper to remove this warning. See 21:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:01 21:51:01 Login Succeeded 21:51:01 nexus3.edgexfoundry.org:10003 21:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:01 Configure a credential helper to remove this warning. See 21:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:01 21:51:01 Login Succeeded 21:51:01 nexus3.edgexfoundry.org:10004 21:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:01 Configure a credential helper to remove this warning. See 21:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:01 21:51:01 Login Succeeded 21:51:01 docker.io 21:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:01 Configure a credential helper to remove this warning. See 21:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:01 21:51:01 Login Succeeded 21:51:01 ---> docker-login.sh ends [Pipeline] } 21:51:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:51:01 + git rev-list -1 --merges 97066bc7dee5c7cd2bbbad38cde0d66364558b33~1..97066bc7dee5c7cd2bbbad38cde0d66364558b33 [Pipeline] echo 21:51:01 -----------> git rev-list -1 --merges 97066bc7dee5c7cd2bbbad38cde0d66364558b33~1..97066bc7dee5c7cd2bbbad38cde0d66364558b33 97066bc7dee5c7cd2bbbad38cde0d66364558b33 21:51:01 97066bc7dee5c7cd2bbbad38cde0d66364558b33 [false] [Pipeline] sh 21:51:02 + git log --format=format:%s -1 97066bc7dee5c7cd2bbbad38cde0d66364558b33 [Pipeline] echo 21:51:02 ========================================================= 21:51:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:51:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:02 + git log --format=format:%s -1 97066bc7dee5c7cd2bbbad38cde0d66364558b33 [Pipeline] echo 21:51:02 [semverPrep] GIT_COMMIT: 97066bc7dee5c7cd2bbbad38cde0d66364558b33, Commit Message: Merge commit 'd2ab44b8cbb16e2983b1bff117f9b859b4657c3d' into HEAD [Pipeline] echo 21:51:02 [semverPrep] This is not a build commit. [Pipeline] sh 21:51:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:02 + grep -v github /etc/ssh/ssh_known_hosts 21:51:02 + [ -e /tmp/ssh_known_hosts ] 21:51:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:51:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:51:02 + sudo tee -a /etc/ssh/ssh_known_hosts 21:51:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:03 21:51:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:03 0.1.4: Pulling from edgex-devops/py-git-semver 21:51:03 b85a868b505f: Pulling fs layer 21:51:03 e2be974225ed: Pulling fs layer 21:51:03 339a4e72a1f5: Pulling fs layer 21:51:03 988bab9f4d93: Pulling fs layer 21:51:03 988bab9f4d93: Waiting 21:51:03 1469e6f7b9e6: Pulling fs layer 21:51:03 eaf3925da568: Pulling fs layer 21:51:03 bab4dde63d76: Pulling fs layer 21:51:03 bde34c3a00c8: Pulling fs layer 21:51:03 b352a97aabf1: Pulling fs layer 21:51:03 bde34c3a00c8: Waiting 21:51:03 1469e6f7b9e6: Waiting 21:51:03 eaf3925da568: Waiting 21:51:03 4872d77fe225: Pulling fs layer 21:51:03 b352a97aabf1: Waiting 21:51:03 5851b861e8e6: Pulling fs layer 21:51:03 4872d77fe225: Waiting 21:51:03 5851b861e8e6: Waiting 21:51:03 bab4dde63d76: Waiting 21:51:03 e2be974225ed: Download complete 21:51:03 988bab9f4d93: Verifying Checksum 21:51:03 988bab9f4d93: Download complete 21:51:03 1469e6f7b9e6: Verifying Checksum 21:51:03 1469e6f7b9e6: Download complete 21:51:03 339a4e72a1f5: Verifying Checksum 21:51:03 339a4e72a1f5: Download complete 21:51:03 eaf3925da568: Verifying Checksum 21:51:03 eaf3925da568: Download complete 21:51:03 bde34c3a00c8: Download complete 21:51:03 b352a97aabf1: Download complete 21:51:03 4872d77fe225: Download complete 21:51:03 5851b861e8e6: Download complete 21:51:03 b85a868b505f: Verifying Checksum 21:51:03 b85a868b505f: Download complete 21:51:04 bab4dde63d76: Verifying Checksum 21:51:04 bab4dde63d76: Download complete 21:51:05 b85a868b505f: Pull complete 21:51:05 e2be974225ed: Pull complete 21:51:05 339a4e72a1f5: Pull complete 21:51:05 988bab9f4d93: Pull complete 21:51:05 1469e6f7b9e6: Pull complete 21:51:06 eaf3925da568: Pull complete 21:51:07 bab4dde63d76: Pull complete 21:51:07 bde34c3a00c8: Pull complete 21:51:07 b352a97aabf1: Pull complete 21:51:07 4872d77fe225: Pull complete 21:51:08 5851b861e8e6: Pull complete 21:51:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:51:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:08 prd-ubuntu20.04-docker-8c-8g-1958 does not seem to be running inside a container 21:51:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** -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-devops/py-git-semver:0.1.4 cat 21:51:09 $ docker top 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc -eo pid,comm 21:51:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:51:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:09 [ssh-agent] Looking for ssh-agent implementation... 21:51:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:09 $ docker exec 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc ssh-agent 21:51:09 SSH_AUTH_SOCK=/tmp/ssh-ohLYnmWzHVwU/agent.33 21:51:09 SSH_AGENT_PID=39 21:51:09 Running ssh-add (command line suppressed) 21:51:09 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_15719169859936098524.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_15719169859936098524.key) 21:51:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:10 + git tag --points-at HEAD [Pipeline] } 21:51:10 $ docker exec --env ******** --env ******** 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc ssh-agent -k 21:51:10 unset SSH_AUTH_SOCK; 21:51:10 unset SSH_AGENT_PID; 21:51:10 echo Agent pid 39 killed; 21:51:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:51:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:10 [ssh-agent] Looking for ssh-agent implementation... 21:51:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:10 $ docker exec 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc ssh-agent 21:51:10 SSH_AUTH_SOCK=/tmp/ssh-DfAxLsKJHAnI/agent.71 21:51:10 SSH_AGENT_PID=77 21:51:10 Running ssh-add (command line suppressed) 21:51:10 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_6173686673603861256.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_6173686673603861256.key) 21:51:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:11 + git semver init 21:51:11 2023-01-11 21:51:11,274 [run_init] DEBUG init version:0.0.0 force:False 21:51:11 2023-01-11 21:51:11,274 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver 21:51:11 2023-01-11 21:51:11,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver 21:51:11 2023-01-11 21:51:11,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) 21:51:12 2023-01-11 21:51:12,207 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude 21:51:12 2023-01-11 21:51:12,207 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False 21:51:12 2023-01-11 21:51:12,207 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 21:51:12 2023-01-11 21:51:12,212 [execute] INFO git cat-file --batch-check 21:51:12 2023-01-11 21:51:12,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 21:51:12 2023-01-11 21:51:12,220 [execute] INFO git cat-file --batch 21:51:12 2023-01-11 21:51:12,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 21:51:12 2023-01-11 21:51:12,225 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 21:51:12 0.0.0 [Pipeline] } 21:51:12 $ docker exec --env ******** --env ******** 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc ssh-agent -k 21:51:12 unset SSH_AUTH_SOCK; 21:51:12 unset SSH_AGENT_PID; 21:51:12 echo Agent pid 77 killed; 21:51:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:12 + git semver [Pipeline] } 21:51:12 $ docker stop --time=1 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc 21:51:14 $ docker rm -f --volumes 3f385d1a411f5e7d2be08f904d2b882d5c78627999ebe86955db63c6421011fc [Pipeline] // withDockerContainer [Pipeline] sh 21:51:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:51:14 Stashed 1 file(s) [Pipeline] echo 21:51:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:15 provisioning config files... 21:51:15 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config2040503691473178780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:15 ---> docker-login.sh 21:51:15 nexus3.edgexfoundry.org:10001 21:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:15 Configure a credential helper to remove this warning. See 21:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:15 21:51:15 Login Succeeded 21:51:15 nexus3.edgexfoundry.org:10002 21:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:15 Configure a credential helper to remove this warning. See 21:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:15 21:51:15 Login Succeeded 21:51:15 nexus3.edgexfoundry.org:10003 21:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:15 Configure a credential helper to remove this warning. See 21:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:15 21:51:15 Login Succeeded 21:51:15 nexus3.edgexfoundry.org:10004 21:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:15 Configure a credential helper to remove this warning. See 21:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:15 21:51:15 Login Succeeded 21:51:15 docker.io 21:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:15 Configure a credential helper to remove this warning. See 21:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:15 21:51:15 Login Succeeded 21:51:15 ---> docker-login.sh ends [Pipeline] } 21:51:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:16 ========================================================= 21:51:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:51:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:51:16 Sending build context to Docker daemon 16.02MB 21:51:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:51:16 Step 2/12 : FROM ${BASE} AS builder 21:51:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:51:16 213ec9aee27d: Pulling fs layer 21:51:16 4583459ba037: Pulling fs layer 21:51:16 93c1e223e6f2: Pulling fs layer 21:51:16 53926ce57604: Pulling fs layer 21:51:16 21b2b0c7a3f4: Pulling fs layer 21:51:16 22ff95d597cd: Pulling fs layer 21:51:16 12d6caf4c0d1: Pulling fs layer 21:51:16 96b7cbca73a9: Pulling fs layer 21:51:16 a7acece74701: Pulling fs layer 21:51:16 96b7cbca73a9: Waiting 21:51:16 12d6caf4c0d1: Waiting 21:51:16 53926ce57604: Waiting 21:51:16 22ff95d597cd: Waiting 21:51:16 21b2b0c7a3f4: Waiting 21:51:16 a7acece74701: Waiting 21:51:16 93c1e223e6f2: Verifying Checksum 21:51:16 93c1e223e6f2: Download complete 21:51:16 21b2b0c7a3f4: Verifying Checksum 21:51:16 21b2b0c7a3f4: Download complete 21:51:16 22ff95d597cd: Verifying Checksum 21:51:16 22ff95d597cd: Download complete 21:51:16 213ec9aee27d: Verifying Checksum 21:51:16 213ec9aee27d: Download complete 21:51:16 12d6caf4c0d1: Verifying Checksum 21:51:16 12d6caf4c0d1: Download complete 21:51:16 213ec9aee27d: Pull complete 21:51:16 4583459ba037: Pull complete 21:51:16 a7acece74701: Verifying Checksum 21:51:16 a7acece74701: Download complete 21:51:16 93c1e223e6f2: Pull complete 21:51:17 53926ce57604: Verifying Checksum 21:51:17 53926ce57604: Download complete 21:51:17 96b7cbca73a9: Verifying Checksum 21:51:17 96b7cbca73a9: Download complete 21:51:21 53926ce57604: Pull complete 21:51:21 21b2b0c7a3f4: Pull complete 21:51:21 22ff95d597cd: Pull complete 21:51:21 12d6caf4c0d1: Pull complete 21:51:22 96b7cbca73a9: Pull complete 21:51:23 a7acece74701: Pull complete 21:51:23 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:51:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:51:23 ---> db6d94c90886 21:51:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:51:25 ---> Running in 3da17af523f8 21:51:25 Removing intermediate container 3da17af523f8 21:51:25 ---> c0666237bf88 21:51:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:25 ---> Running in 3967b77cc308 21:51:25 Removing intermediate container 3967b77cc308 21:51:25 ---> 242e26320a05 21:51:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:51:25 ---> Running in 81744761931a 21:51:25 Removing intermediate container 81744761931a 21:51:25 ---> baf112a566c5 21:51:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:51:25 ---> Running in 357da9475f7f 21:51:25 Removing intermediate container 357da9475f7f 21:51:25 ---> ebd0cda55ee2 21:51:25 Step 7/12 : WORKDIR /device-gpio 21:51:25 ---> Running in 8ef3f60cadef 21:51:26 Removing intermediate container 8ef3f60cadef 21:51:26 ---> 8b6b6377a4f5 21:51:26 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:26 ---> Running in b0d46df6b291 21:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:51:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:51:26 (2/4) Installing libedit (20210910.3.1-r0) 21:51:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:51:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:51:26 Executing busybox-1.35.0-r17.trigger 21:51:26 OK: 216 MiB in 55 packages 21:51:26 Removing intermediate container b0d46df6b291 21:51:26 ---> 6aa430194636 21:51:26 Step 9/12 : COPY go.mod vendor* ./ 21:51:27 ---> 0f607c2f861e 21:51:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:27 ---> Running in 3b282b93952d 21:51:30 Still waiting to schedule task 21:51:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1954’ is offline 21:51:45 Removing intermediate container 3b282b93952d 21:51:45 ---> ee96f6bbd25c 21:51:45 Step 11/12 : COPY . . 21:51:45 ---> 3eb11ade156b 21:51:45 Step 12/12 : RUN ${MAKE} 21:51:45 ---> Running in b4cd3b848e54 21:51:45 noop 21:51:45 Removing intermediate container b4cd3b848e54 21:51:45 ---> 7a3f68c8175f 21:51:45 Successfully built 7a3f68c8175f 21:51:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:45 + docker inspect -f . ci-base-image-x86_64 21:51:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:45 prd-ubuntu20.04-docker-8c-8g-1958 does not seem to be running inside a container 21:51:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** -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 ******** ci-base-image-x86_64 cat 21:51:46 $ docker top d7a6c199980914672c5a380af33daa403ae4b870485bae33f6707e3316bb197d -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:46 + go version 21:51:46 go version go1.18.7 linux/amd64 [Pipeline] } 21:51:46 $ docker stop --time=1 d7a6c199980914672c5a380af33daa403ae4b870485bae33f6707e3316bb197d 21:51:47 $ docker rm -f --volumes d7a6c199980914672c5a380af33daa403ae4b870485bae33f6707e3316bb197d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:48 + docker inspect -f . ci-base-image-x86_64 21:51:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:48 prd-ubuntu20.04-docker-8c-8g-1958 does not seem to be running inside a container 21:51:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** -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 ******** ci-base-image-x86_64 cat 21:51:48 $ docker top 5c35bc090117d67f02052051472ba1b640f557e7440ce78bd7884954a5a6e396 -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh 21:51:49 + make test 21:51:49 go test ./... -coverprofile=coverage.out ./... 21:51:49 ? github.com/edgexfoundry/device-gpio [no test files] 21:51:57 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:51:57 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:52:04 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:52:04 go vet ./... 21:52:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:52:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:52:06 ./bin/test-attribution-txt.sh [Pipeline] echo 21:52:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:52:06 $ docker stop --time=1 5c35bc090117d67f02052051472ba1b640f557e7440ce78bd7884954a5a6e396 21:52:08 $ docker rm -f --volumes 5c35bc090117d67f02052051472ba1b640f557e7440ce78bd7884954a5a6e396 [Pipeline] // withDockerContainer [Pipeline] sh 21:52:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:52:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:52:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:52:09 + ls -al . 21:52:09 total 168 21:52:09 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 21:51 . 21:52:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:50 .. 21:52:09 -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 21:50 .dockerignore 21:52:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:51 .git 21:52:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 .github 21:52:09 -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 21:50 .gitignore 21:52:09 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:50 .golangci.yml 21:52:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:51 .semver 21:52:09 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 21:50 Attribution.txt 21:52:09 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 21:50 CHANGELOG.md 21:52:09 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 21:50 Dockerfile 21:52:09 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:50 GOVERNANCE.md 21:52:09 -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 21:50 Jenkinsfile 21:52:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:50 LICENSE 21:52:09 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 21:50 Makefile 21:52:09 -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 21:50 OWNERS.md 21:52:09 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 21:50 README.md 21:52:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:51 VERSION 21:52:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:50 bin 21:52:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 cmd 21:52:09 -rw-r--r-- 1 jenkins jenkins 10 Jan 11 21:51 coverage.out 21:52:09 -rw-rw-r-- 1 jenkins jenkins 3372 Jan 11 21:50 go.mod 21:52:09 -rw-rw-r-- 1 jenkins jenkins 44860 Jan 11 21:50 go.sum 21:52:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 internal 21:52:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:50 snap 21:52:09 -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:09 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=97066bc7dee5c7cd2bbbad38cde0d66364558b33 --label arch=amd64 --label version=0.0.0 . 21:52:09 Sending build context to Docker daemon 16.02MB 21:52:09 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:52:09 Step 2/25 : FROM ${BASE} AS builder 21:52:09 ---> 7a3f68c8175f 21:52:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:52:10 ---> Running in 81a1ff15d3d5 21:52:10 Removing intermediate container 81a1ff15d3d5 21:52:10 ---> 5d8b3d1e5938 21:52:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:10 ---> Running in df9c34cde12a 21:52:10 Removing intermediate container df9c34cde12a 21:52:10 ---> 0d547cea03a5 21:52:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:52:10 ---> Running in 44cb957a1706 21:52:10 Removing intermediate container 44cb957a1706 21:52:10 ---> 4f48038fad62 21:52:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:52:10 ---> Running in df4cd3106809 21:52:10 Removing intermediate container df4cd3106809 21:52:10 ---> d5202a8f574e 21:52:10 Step 7/25 : WORKDIR /device-gpio 21:52:10 ---> Running in ccb8e1679644 21:52:10 Removing intermediate container ccb8e1679644 21:52:10 ---> 4eec1f0d2f74 21:52:10 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:10 ---> Running in db5a04fa336f 21:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:52:11 OK: 216 MiB in 55 packages 21:52:11 Removing intermediate container db5a04fa336f 21:52:11 ---> b67b4b824179 21:52:11 Step 9/25 : COPY go.mod vendor* ./ 21:52:12 ---> fac2325a727c 21:52:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:12 ---> Running in 69b120de2e85 21:52:12 Removing intermediate container 69b120de2e85 21:52:12 ---> e3a8be8bc346 21:52:12 Step 11/25 : COPY . . 21:52:13 ---> b7089ea90376 21:52:13 Step 12/25 : RUN ${MAKE} 21:52:13 ---> Running in 861e4a6413c7 21:52:13 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 21:52:25 Removing intermediate container 861e4a6413c7 21:52:25 ---> 1aa534a42a12 21:52:25 Step 13/25 : FROM alpine:3.16 21:52:25 3.16: Pulling from library/alpine 21:52:25 ca7dd9ec2225: Pulling fs layer 21:52:25 ca7dd9ec2225: Verifying Checksum 21:52:25 ca7dd9ec2225: Download complete 21:52:25 ca7dd9ec2225: Pull complete 21:52:25 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:52:25 Status: Downloaded newer image for alpine:3.16 21:52:25 ---> bfe296a52501 21:52:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:52:25 ---> Running in 01c5d57311e0 21:52:25 Removing intermediate container 01c5d57311e0 21:52:25 ---> 4c5a779cf230 21:52:25 Step 15/25 : RUN apk add --update --no-cache 21:52:25 ---> Running in deabd256c8cc 21:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:52:26 OK: 6 MiB in 14 packages 21:52:26 Removing intermediate container deabd256c8cc 21:52:26 ---> 8693379dd0b0 21:52:26 Step 16/25 : WORKDIR / 21:52:26 ---> Running in bb62dfca3dfc 21:52:27 Removing intermediate container bb62dfca3dfc 21:52:27 ---> 30071496de7d 21:52:27 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:52:27 ---> 3147c01b3b52 21:52:27 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:52:27 ---> 28d32fe44daf 21:52:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:52:28 ---> 3912e103c133 21:52:28 Step 20/25 : EXPOSE 59910 21:52:28 ---> Running in d9d929156f90 21:52:28 Removing intermediate container d9d929156f90 21:52:28 ---> cc3cbd39ba95 21:52:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:52:28 ---> Running in 31c5d80ef482 21:52:28 Removing intermediate container 31c5d80ef482 21:52:28 ---> 30be359992ff 21:52:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:52:28 ---> Running in 0b9401e300fb 21:52:28 Removing intermediate container 0b9401e300fb 21:52:28 ---> 53eb1207c16d 21:52:28 Step 23/25 : LABEL arch=amd64 21:52:28 ---> Running in 4dc4372eebde 21:52:28 Removing intermediate container 4dc4372eebde 21:52:28 ---> 5f7a6427a1a2 21:52:28 Step 24/25 : LABEL git_sha=97066bc7dee5c7cd2bbbad38cde0d66364558b33 21:52:28 ---> Running in e96aae7eab99 21:52:28 Removing intermediate container e96aae7eab99 21:52:28 ---> aef27cddd814 21:52:28 Step 25/25 : LABEL version=0.0.0 21:52:28 ---> Running in ce4ca493fa02 21:52:28 Removing intermediate container ce4ca493fa02 21:52:28 ---> 1d6853009d3e 21:52:28 [Warning] One or more build-args [ARCH] were not consumed 21:52:28 Successfully built 1d6853009d3e 21:52:28 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:29 21:52:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:29 latest: Pulling from edgex-lftools-log-publisher 21:52:29 5eb5b503b376: Pulling fs layer 21:52:29 5c69ac0246d0: Pulling fs layer 21:52:29 ec43610c2a17: Pulling fs layer 21:52:29 3a2ae6a8a46f: Pulling fs layer 21:52:29 33b1e0a273af: Pulling fs layer 21:52:29 5d3b04190fa2: Pulling fs layer 21:52:29 2f39f015ded8: Pulling fs layer 21:52:29 3a2ae6a8a46f: Waiting 21:52:29 2f39f015ded8: Waiting 21:52:29 33b1e0a273af: Waiting 21:52:29 5d3b04190fa2: Waiting 21:52:29 5c69ac0246d0: Verifying Checksum 21:52:29 5c69ac0246d0: Download complete 21:52:29 3a2ae6a8a46f: Verifying Checksum 21:52:29 3a2ae6a8a46f: Download complete 21:52:29 ec43610c2a17: Verifying Checksum 21:52:29 ec43610c2a17: Download complete 21:52:29 33b1e0a273af: Verifying Checksum 21:52:29 33b1e0a273af: Download complete 21:52:29 5d3b04190fa2: Verifying Checksum 21:52:29 5d3b04190fa2: Download complete 21:52:29 5eb5b503b376: Verifying Checksum 21:52:29 5eb5b503b376: Download complete 21:52:30 2f39f015ded8: Download complete 21:52:30 5eb5b503b376: Pull complete 21:52:30 5c69ac0246d0: Pull complete 21:52:31 ec43610c2a17: Pull complete 21:52:31 3a2ae6a8a46f: Pull complete 21:52:31 33b1e0a273af: Pull complete 21:52:31 5d3b04190fa2: Pull complete 21:52:35 2f39f015ded8: Pull complete 21:52:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:36 prd-ubuntu20.04-docker-8c-8g-1958 does not seem to be running inside a container 21:52:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** -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 21:52:37 $ docker top f0d6a617efc5f07bfcdf277de3f6a9ac25b42114f9ba83b28d3df5fff256baea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:38 ---> job-cost.sh 21:52:38 lf-activate-venv: SKIPPING 21:52:38 INFO: No Stack... 21:52:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:52:38 INFO: Archiving Costs [Pipeline] sh 21:52:39 + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv 21:52:39 + cut -d, -f6 [Pipeline] lock 21:52:39 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-7-stack-cost] 21:52:39 Resource [jenkins-edgexfoundry-device-gpio-PR-71-7-stack-cost] did not exist. Created. 21:52:39 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:52:39 + echo total: 0.2199999988079071 [Pipeline] stash 21:52:39 Stashed 1 file(s) [Pipeline] } 21:52:39 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-7-stack-cost] [Pipeline] // lock [Pipeline] } 21:52:39 $ docker stop --time=1 f0d6a617efc5f07bfcdf277de3f6a9ac25b42114f9ba83b28d3df5fff256baea 21:52:40 $ docker rm -f --volumes f0d6a617efc5f07bfcdf277de3f6a9ac25b42114f9ba83b28d3df5fff256baea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1967 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] ws 21:54:31 Running in /w/workspace/device-gpio/7 [Pipeline] { [Pipeline] checkout 21:54:31 The recommended git tool is: git 21:54:38 using credential edgex-jenkins-ssh 21:54:38 Cloning the remote Git repository 21:54:38 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:54:38 > git init /w/workspace/device-gpio/7 # timeout=10 21:54:38 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:54:38 > git --version # timeout=10 21:54:38 > git --version # 'git version 2.25.1' 21:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:40 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:54:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:41 Merging remotes/origin/main commit d2ab44b8cbb16e2983b1bff117f9b859b4657c3d into PR head commit 89da2b6747a2ce889049fc29c1f3f3c863b45daf 21:54:41 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:54:41 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:54:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:54:41 > git config core.sparsecheckout # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:42 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 21:54:42 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] 21:54:42 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 21:54:42 total 16 21:54:42 drwxr-xr-x 3 root root 4096 Jan 11 21:52 . 21:54:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:52 .. 21:54:42 drwxr-xr-x 2 root root 4096 Jan 11 21:52 cost 21:54:42 -rw-r--r-- 1 root root 82 Jan 11 21:52 cost.csv 21:54:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives 21:54:42 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 21:54:42 total 16 21:54:42 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:52 . 21:54:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:52 .. 21:54:42 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 21:52 cost 21:54:42 -rw-r--r-- 1 jenkins jenkins 82 Jan 11 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:54:43 ---> sysstat.sh 21:54:41 > git checkout -f 89da2b6747a2ce889049fc29c1f3f3c863b45daf # timeout=10 [Pipeline] libraryResource [Pipeline] sh 21:54:43 ---> package-listing.sh 21:54:43 ++ facter osfamily 21:54:43 ++ tr '[:upper:]' '[:lower:]' 21:54:44 + OS_FAMILY=debian 21:54:44 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 21:54:44 + START_PACKAGES=/tmp/packages_start.txt 21:54:44 + END_PACKAGES=/tmp/packages_end.txt 21:54:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:44 + PACKAGES=/tmp/packages_start.txt 21:54:44 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 21:54:44 + PACKAGES=/tmp/packages_end.txt 21:54:44 + case "${OS_FAMILY}" in 21:54:44 + dpkg -l 21:54:44 + grep '^ii' 21:54:44 + '[' -f /tmp/packages_start.txt ']' 21:54:44 + '[' -f /tmp/packages_end.txt ']' 21:54:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:54:44 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 21:54:44 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ 21:54:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo 21:54:44 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/edgexfoundry_device-gpio_PR-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:54:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:45 prd-ubuntu20.04-docker-8c-8g-1958 does not seem to be running inside a container 21:54:45 $ 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/edgexfoundry_device-gpio_PR-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** -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 21:54:45 $ docker top 3b0f392a019211f6c6bda219b811a0d450ef661fc2bfe1aa093aac14e6036a36 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:54:46 + mkdir -p /var/log/sysstat [Pipeline] sh 21:54:46 + ls /var/log/sa-host 21:54:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:46 provisioning config files... 21:54:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config5534702682136398486tmp [Pipeline] { [Pipeline] echo 21:54:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:54:46 ---> create-netrc.sh [Pipeline] } 21:54:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:54:47 ---> python-tools-install.sh [Pipeline] echo 21:54:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:54:47 ---> sudo-logs.sh 21:54:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:54:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:54:47 ---> job-cost.sh 21:54:47 lf-activate-venv: SKIPPING 21:54:47 DEBUG: total: 0.2199999988079071 21:54:47 INFO: Retrieving Stack Cost... 21:54:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:48 INFO: Archiving Costs [Pipeline] echo 21:54:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:54:48 ---> logs-deploy.sh 21:54:48 lf-activate-venv: SKIPPING 21:54:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/7 21:54:48 INFO: archiving workspace using pattern(s): 21:54:49 Archives upload complete. 21:54:49 INFO: archiving logs to Nexus