Pull request #49 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at 025748471a1121a914633fcbecc3eb79c80c4329 rather than 7f1a58f5cde2fb51cc0d1c55958330eb452139cf Obtained Jenkinsfile from 025748471a1121a914633fcbecc3eb79c80c4329 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-ssh4464038138778335355.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh15950439059880584062.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-49/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-49/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1090130467090334609.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-49/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7400507792940423166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13288525019772656877.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-49/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-49/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7063507863418937841.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20657 in /w/workspace/edgexfoundry_device-gpio_PR-49 [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-49 # 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 Merging remotes/origin/main commit 025748471a1121a914633fcbecc3eb79c80c4329 into PR head commit 7f1a58f5cde2fb51cc0d1c55958330eb452139cf Merge succeeded, producing 7f1a58f5cde2fb51cc0d1c55958330eb452139cf Checking out Revision 7f1a58f5cde2fb51cc0d1c55958330eb452139cf (PR-49) > 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/49/head:refs/remotes/origin/PR-49 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f1a58f5cde2fb51cc0d1c55958330eb452139cf # 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 025748471a1121a914633fcbecc3eb79c80c4329 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f1a58f5cde2fb51cc0d1c55958330eb452139cf # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade " First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-21T07:54:10.797Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T07:54:10.980Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T07:54:11.095Z] ========================================================= [2022-07-21T07:54:11.096Z] EdgeX Global Pipelines Version Info [2022-07-21T07:54:11.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:54:11.898Z] ------------------- [2022-07-21T07:54:11.898Z] stable info: [2022-07-21T07:54:11.898Z] ------------------- [2022-07-21T07:54:11.898Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T07:54:11.898Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T07:54:11.898Z] Message: update stable to v1.0.238 [2022-07-21T07:54:12.483Z] ------------------- [2022-07-21T07:54:12.483Z] experimental info: [2022-07-21T07:54:12.483Z] ------------------- [2022-07-21T07:54:12.483Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T07:54:12.483Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T07:54:12.483Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T07:54:12.816Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-07-21T07:54:12.853Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-07-21T07:54:12.889Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T07:54:12.926Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T07:54:12.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T07:54:12.997Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-21T07:54:13.035Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-21T07:54:13.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-21T07:54:13.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-21T07:54:13.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T07:54:13.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T07:54:13.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-07-21T07:54:13.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T07:54:13.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T07:54:13.337Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T07:54:13.375Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T07:54:13.412Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T07:54:13.451Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T07:54:13.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T07:54:13.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T07:54:13.573Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-21T07:54:13.617Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-21T07:54:13.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-21T07:54:13.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-21T07:54:13.744Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-21T07:54:13.785Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T07:54:13.827Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-21T07:54:13.868Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-49 [Pipeline] echo [2022-07-21T07:54:13.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-49 [Pipeline] echo [2022-07-21T07:54:13.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-49 [Pipeline] echo [2022-07-21T07:54:13.999Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f1a58f5cde2fb51cc0d1c55958330eb452139cf [Pipeline] echo [2022-07-21T07:54:14.040Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f1a58f [Pipeline] echo [2022-07-21T07:54:14.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T07:54:14.197Z] provisioning config files... [2022-07-21T07:54:14.216Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-49@tmp/config2070192275980467825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:54:14.565Z] ---> docker-login.sh [2022-07-21T07:54:14.565Z] nexus3.edgexfoundry.org:10001 [2022-07-21T07:54:14.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:15.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:15.090Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:15.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:15.090Z] [2022-07-21T07:54:15.090Z] Login Succeeded [2022-07-21T07:54:15.090Z] nexus3.edgexfoundry.org:10002 [2022-07-21T07:54:15.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:15.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:15.352Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:15.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:15.352Z] [2022-07-21T07:54:15.352Z] Login Succeeded [2022-07-21T07:54:15.352Z] nexus3.edgexfoundry.org:10003 [2022-07-21T07:54:15.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:15.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:15.352Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:15.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:15.352Z] [2022-07-21T07:54:15.352Z] Login Succeeded [2022-07-21T07:54:15.352Z] nexus3.edgexfoundry.org:10004 [2022-07-21T07:54:15.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:15.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:15.613Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:15.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:15.613Z] [2022-07-21T07:54:15.613Z] Login Succeeded [2022-07-21T07:54:15.613Z] docker.io [2022-07-21T07:54:15.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:16.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:16.190Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:16.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:16.190Z] [2022-07-21T07:54:16.190Z] Login Succeeded [2022-07-21T07:54:16.190Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T07:54:16.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-21T07:54:16.866Z] + git rev-list -1 --merges 7f1a58f5cde2fb51cc0d1c55958330eb452139cf~1..7f1a58f5cde2fb51cc0d1c55958330eb452139cf [Pipeline] echo [2022-07-21T07:54:16.924Z] -----------> git rev-list -1 --merges 7f1a58f5cde2fb51cc0d1c55958330eb452139cf~1..7f1a58f5cde2fb51cc0d1c55958330eb452139cf 7f1a58f5cde2fb51cc0d1c55958330eb452139cf [false] [Pipeline] sh [2022-07-21T07:54:17.239Z] + git log --format=format:%s -1 7f1a58f5cde2fb51cc0d1c55958330eb452139cf [Pipeline] echo [2022-07-21T07:54:17.280Z] ========================================================= [2022-07-21T07:54:17.280Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T07:54:17.280Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T07:54:17.731Z] + git log --format=format:%s -1 7f1a58f5cde2fb51cc0d1c55958330eb452139cf [Pipeline] echo [2022-07-21T07:54:17.764Z] [semverPrep] GIT_COMMIT: 7f1a58f5cde2fb51cc0d1c55958330eb452139cf, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo [2022-07-21T07:54:17.796Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-21T07:54:18.193Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T07:54:18.193Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T07:54:18.193Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T07:54:18.193Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T07:54:18.193Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T07:54:18.193Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T07:54:18.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:54:18.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T07:54:18.693Z] [2022-07-21T07:54:18.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:54:19.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T07:54:19.076Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T07:54:19.076Z] b85a868b505f: Pulling fs layer [2022-07-21T07:54:19.076Z] e2be974225ed: Pulling fs layer [2022-07-21T07:54:19.076Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T07:54:19.076Z] 988bab9f4d93: Pulling fs layer [2022-07-21T07:54:19.076Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T07:54:19.076Z] eaf3925da568: Pulling fs layer [2022-07-21T07:54:19.076Z] bab4dde63d76: Pulling fs layer [2022-07-21T07:54:19.076Z] bde34c3a00c8: Pulling fs layer [2022-07-21T07:54:19.076Z] b352a97aabf1: Pulling fs layer [2022-07-21T07:54:19.076Z] 4872d77fe225: Pulling fs layer [2022-07-21T07:54:19.076Z] 5851b861e8e6: Pulling fs layer [2022-07-21T07:54:19.076Z] bab4dde63d76: Waiting [2022-07-21T07:54:19.076Z] bde34c3a00c8: Waiting [2022-07-21T07:54:19.076Z] 988bab9f4d93: Waiting [2022-07-21T07:54:19.076Z] 1469e6f7b9e6: Waiting [2022-07-21T07:54:19.076Z] eaf3925da568: Waiting [2022-07-21T07:54:19.076Z] b352a97aabf1: Waiting [2022-07-21T07:54:19.076Z] 4872d77fe225: Waiting [2022-07-21T07:54:19.076Z] 5851b861e8e6: Waiting [2022-07-21T07:54:19.076Z] e2be974225ed: Download complete [2022-07-21T07:54:19.076Z] 988bab9f4d93: Verifying Checksum [2022-07-21T07:54:19.076Z] 988bab9f4d93: Download complete [2022-07-21T07:54:19.338Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T07:54:19.338Z] 1469e6f7b9e6: Download complete [2022-07-21T07:54:19.338Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T07:54:19.338Z] 339a4e72a1f5: Download complete [2022-07-21T07:54:19.338Z] eaf3925da568: Verifying Checksum [2022-07-21T07:54:19.338Z] eaf3925da568: Download complete [2022-07-21T07:54:19.338Z] bde34c3a00c8: Verifying Checksum [2022-07-21T07:54:19.338Z] bde34c3a00c8: Download complete [2022-07-21T07:54:19.338Z] b352a97aabf1: Verifying Checksum [2022-07-21T07:54:19.338Z] 4872d77fe225: Download complete [2022-07-21T07:54:19.338Z] 5851b861e8e6: Verifying Checksum [2022-07-21T07:54:19.338Z] 5851b861e8e6: Download complete [2022-07-21T07:54:19.338Z] b85a868b505f: Verifying Checksum [2022-07-21T07:54:19.338Z] b85a868b505f: Download complete [2022-07-21T07:54:19.599Z] bab4dde63d76: Verifying Checksum [2022-07-21T07:54:19.599Z] bab4dde63d76: Download complete [2022-07-21T07:54:20.985Z] b85a868b505f: Pull complete [2022-07-21T07:54:20.985Z] e2be974225ed: Pull complete [2022-07-21T07:54:21.556Z] 339a4e72a1f5: Pull complete [2022-07-21T07:54:21.556Z] 988bab9f4d93: Pull complete [2022-07-21T07:54:21.818Z] 1469e6f7b9e6: Pull complete [2022-07-21T07:54:22.082Z] eaf3925da568: Pull complete [2022-07-21T07:54:24.007Z] bab4dde63d76: Pull complete [2022-07-21T07:54:24.270Z] bde34c3a00c8: Pull complete [2022-07-21T07:54:24.270Z] b352a97aabf1: Pull complete [2022-07-21T07:54:24.532Z] 4872d77fe225: Pull complete [2022-07-21T07:54:24.532Z] 5851b861e8e6: Pull complete [2022-07-21T07:54:24.532Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T07:54:24.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T07:54:24.532Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:54:24.781Z] prd-ubuntu20.04-docker-8c-8g-20657 does not seem to be running inside a container [2022-07-21T07:54:24.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-49 -v /w/workspace/edgexfoundry_device-gpio_PR-49:/w/workspace/edgexfoundry_device-gpio_PR-49:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-49@tmp:/w/workspace/edgexfoundry_device-gpio_PR-49@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 [2022-07-21T07:54:26.250Z] $ docker top 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 -eo pid,comm [2022-07-21T07:54:26.325Z] 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). [2022-07-21T07:54:26.325Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T07:54:26.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T07:54:26.444Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T07:54:26.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T07:54:26.592Z] $ docker exec 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 ssh-agent [2022-07-21T07:54:26.730Z] SSH_AUTH_SOCK=/tmp/ssh-4TaMfGXimj4f/agent.32 [2022-07-21T07:54:26.730Z] SSH_AGENT_PID=38 [2022-07-21T07:54:26.738Z] Running ssh-add (command line suppressed) [2022-07-21T07:54:26.864Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-49@tmp/private_key_4282471608148689135.key (/w/workspace/edgexfoundry_device-gpio_PR-49@tmp/private_key_4282471608148689135.key) [2022-07-21T07:54:26.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T07:54:27.218Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T07:54:27.248Z] $ docker exec --env ******** --env ******** 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 ssh-agent -k [2022-07-21T07:54:27.361Z] unset SSH_AUTH_SOCK; [2022-07-21T07:54:27.362Z] unset SSH_AGENT_PID; [2022-07-21T07:54:27.362Z] echo Agent pid 38 killed; [2022-07-21T07:54:27.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T07:54:27.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T07:54:27.470Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T07:54:27.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T07:54:27.615Z] $ docker exec 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 ssh-agent [2022-07-21T07:54:27.760Z] SSH_AUTH_SOCK=/tmp/ssh-hQWNAhW2mIJt/agent.71 [2022-07-21T07:54:27.760Z] SSH_AGENT_PID=78 [2022-07-21T07:54:27.766Z] Running ssh-add (command line suppressed) [2022-07-21T07:54:27.892Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-49@tmp/private_key_1860849132171547058.key (/w/workspace/edgexfoundry_device-gpio_PR-49@tmp/private_key_1860849132171547058.key) [2022-07-21T07:54:27.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T07:54:28.245Z] + git semver init [2022-07-21T07:54:28.509Z] 2022-07-21 07:54:28,464 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T07:54:28.509Z] 2022-07-21 07:54:28,465 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-49/.semver [2022-07-21T07:54:28.509Z] 2022-07-21 07:54:28,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-49/.semver [2022-07-21T07:54:28.509Z] 2022-07-21 07:54:28,466 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-49/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-49, universal_newlines=False, shell=None, istream=None) [2022-07-21T07:54:29.458Z] 2022-07-21 07:54:29,318 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-49/.git/info/exclude [2022-07-21T07:54:29.458Z] 2022-07-21 07:54:29,318 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-49/.semver/PR-49 with force:False [2022-07-21T07:54:29.458Z] 2022-07-21 07:54:29,318 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-49/.semver/PR-49 [2022-07-21T07:54:29.458Z] 2022-07-21 07:54:29,323 [execute] INFO git cat-file --batch-check [2022-07-21T07:54:29.459Z] 2022-07-21 07:54:29,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-49/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T07:54:29.459Z] 2022-07-21 07:54:29,330 [execute] INFO git cat-file --batch [2022-07-21T07:54:29.459Z] 2022-07-21 07:54:29,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-49/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T07:54:29.459Z] 2022-07-21 07:54:29,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-49/.semver/PR-49 [2022-07-21T07:54:29.459Z] 0.0.0 [Pipeline] } [2022-07-21T07:54:29.488Z] $ docker exec --env ******** --env ******** 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 ssh-agent -k [2022-07-21T07:54:29.604Z] unset SSH_AUTH_SOCK; [2022-07-21T07:54:29.605Z] unset SSH_AGENT_PID; [2022-07-21T07:54:29.605Z] echo Agent pid 78 killed; [2022-07-21T07:54:29.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T07:54:30.062Z] + git semver [Pipeline] } [2022-07-21T07:54:30.349Z] $ docker stop --time=1 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 [2022-07-21T07:54:31.718Z] $ docker rm -f 614af0c8d874622b11cded13597929e14759590418c0ca6ba52abb3e199f9a09 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T07:54:32.134Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T07:54:32.459Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T07:54:32.477Z] [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 [2022-07-21T07:54:33.062Z] provisioning config files... [2022-07-21T07:54:33.073Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-49@tmp/config2759002810067335881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:54:33.417Z] ---> docker-login.sh [2022-07-21T07:54:33.417Z] nexus3.edgexfoundry.org:10001 [2022-07-21T07:54:33.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:33.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:33.417Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:33.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:33.417Z] [2022-07-21T07:54:33.417Z] Login Succeeded [2022-07-21T07:54:33.417Z] nexus3.edgexfoundry.org:10002 [2022-07-21T07:54:33.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:33.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:33.677Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:33.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:33.677Z] [2022-07-21T07:54:33.677Z] Login Succeeded [2022-07-21T07:54:33.677Z] nexus3.edgexfoundry.org:10003 [2022-07-21T07:54:33.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:33.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:33.677Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:33.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:33.677Z] [2022-07-21T07:54:33.677Z] Login Succeeded [2022-07-21T07:54:33.677Z] nexus3.edgexfoundry.org:10004 [2022-07-21T07:54:33.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:33.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:33.939Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:33.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:33.939Z] [2022-07-21T07:54:33.939Z] Login Succeeded [2022-07-21T07:54:33.939Z] docker.io [2022-07-21T07:54:33.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:54:34.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:54:34.199Z] Configure a credential helper to remove this warning. See [2022-07-21T07:54:34.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:54:34.199Z] [2022-07-21T07:54:34.199Z] Login Succeeded [2022-07-21T07:54:34.199Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T07:54:34.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T07:54:34.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T07:54:34.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T07:54:34.501Z] ========================================================= [2022-07-21T07:54:34.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-21T07:54:34.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:54:34.983Z] + 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 . [2022-07-21T07:54:34.983Z] Sending build context to Docker daemon 15.8MB [2022-07-21T07:54:34.983Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T07:54:34.983Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-21T07:54:35.245Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-21T07:54:35.245Z] 2408cc74d12b: Pulling fs layer [2022-07-21T07:54:35.245Z] ea60b727a1ce: Pulling fs layer [2022-07-21T07:54:35.245Z] 30c4a7721957: Pulling fs layer [2022-07-21T07:54:35.245Z] 370296b7ddb6: Pulling fs layer [2022-07-21T07:54:35.245Z] 7c6cee850709: Pulling fs layer [2022-07-21T07:54:35.245Z] 39a5fcdaea64: Pulling fs layer [2022-07-21T07:54:35.245Z] d94ebbe4e438: Pulling fs layer [2022-07-21T07:54:35.245Z] bcfd1f05c69d: Pulling fs layer [2022-07-21T07:54:35.245Z] 59ccb84bbe0f: Pulling fs layer [2022-07-21T07:54:35.245Z] 39a5fcdaea64: Waiting [2022-07-21T07:54:35.245Z] d94ebbe4e438: Waiting [2022-07-21T07:54:35.245Z] bcfd1f05c69d: Waiting [2022-07-21T07:54:35.245Z] 59ccb84bbe0f: Waiting [2022-07-21T07:54:35.245Z] 7c6cee850709: Waiting [2022-07-21T07:54:35.245Z] 370296b7ddb6: Waiting [2022-07-21T07:54:35.245Z] 30c4a7721957: Verifying Checksum [2022-07-21T07:54:35.245Z] 30c4a7721957: Download complete [2022-07-21T07:54:35.245Z] ea60b727a1ce: Verifying Checksum [2022-07-21T07:54:35.245Z] 7c6cee850709: Verifying Checksum [2022-07-21T07:54:35.245Z] 7c6cee850709: Download complete [2022-07-21T07:54:35.245Z] 39a5fcdaea64: Verifying Checksum [2022-07-21T07:54:35.245Z] 39a5fcdaea64: Download complete [2022-07-21T07:54:35.245Z] 2408cc74d12b: Download complete [2022-07-21T07:54:35.245Z] d94ebbe4e438: Download complete [2022-07-21T07:54:35.245Z] 2408cc74d12b: Pull complete [2022-07-21T07:54:35.510Z] ea60b727a1ce: Pull complete [2022-07-21T07:54:35.510Z] 30c4a7721957: Pull complete [2022-07-21T07:54:35.774Z] 59ccb84bbe0f: Verifying Checksum [2022-07-21T07:54:35.774Z] 59ccb84bbe0f: Download complete [2022-07-21T07:54:35.774Z] bcfd1f05c69d: Verifying Checksum [2022-07-21T07:54:35.774Z] bcfd1f05c69d: Download complete [2022-07-21T07:54:36.034Z] 370296b7ddb6: Verifying Checksum [2022-07-21T07:54:36.034Z] 370296b7ddb6: Download complete [2022-07-21T07:54:41.321Z] 370296b7ddb6: Pull complete [2022-07-21T07:54:41.321Z] 7c6cee850709: Pull complete [2022-07-21T07:54:41.321Z] 39a5fcdaea64: Pull complete [2022-07-21T07:54:41.321Z] d94ebbe4e438: Pull complete [2022-07-21T07:54:43.235Z] bcfd1f05c69d: Pull complete [2022-07-21T07:54:43.806Z] 59ccb84bbe0f: Pull complete [2022-07-21T07:54:43.806Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-21T07:54:43.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-21T07:54:43.806Z] ---> a4fb48ad2a94 [2022-07-21T07:54:43.806Z] Step 3/12 : ARG MAKE="make build" [2022-07-21T07:54:45.726Z] ---> Running in 2848c885cdc6 [2022-07-21T07:54:45.726Z] Removing intermediate container 2848c885cdc6 [2022-07-21T07:54:45.726Z] ---> f7a9bcfb3486 [2022-07-21T07:54:45.726Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T07:54:45.726Z] ---> Running in 5d9000369f3d [2022-07-21T07:54:45.987Z] Removing intermediate container 5d9000369f3d [2022-07-21T07:54:45.987Z] ---> 4c26ff6d873b [2022-07-21T07:54:45.987Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T07:54:45.987Z] ---> Running in d2193f94e3ba [2022-07-21T07:54:45.987Z] Removing intermediate container d2193f94e3ba [2022-07-21T07:54:45.987Z] ---> ab39f9654f0c [2022-07-21T07:54:45.987Z] Step 6/12 : WORKDIR /device-gpio [2022-07-21T07:54:45.987Z] ---> Running in 8a66b0ec4c04 [2022-07-21T07:54:46.247Z] Removing intermediate container 8a66b0ec4c04 [2022-07-21T07:54:46.247Z] ---> 366300d55a2b [2022-07-21T07:54:46.247Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T07:54:46.247Z] ---> Running in 39b57f0a31b5 [2022-07-21T07:54:46.822Z] Removing intermediate container 39b57f0a31b5 [2022-07-21T07:54:46.822Z] ---> 7a8a8dafd603 [2022-07-21T07:54:46.822Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T07:54:46.822Z] ---> Running in 1cbad18d6d90 [2022-07-21T07:54:47.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T07:54:47.886Z] Still waiting to schedule task [2022-07-21T07:54:47.886Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-21T07:54:48.029Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T07:54:48.606Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-21T07:54:48.606Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-21T07:54:48.606Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-21T07:54:48.869Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-21T07:54:48.869Z] Executing busybox-1.35.0-r13.trigger [2022-07-21T07:54:48.869Z] OK: 216 MiB in 55 packages [2022-07-21T07:54:49.442Z] Removing intermediate container 1cbad18d6d90 [2022-07-21T07:54:49.442Z] ---> 3f7331bf939b [2022-07-21T07:54:49.442Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-21T07:54:49.442Z] ---> ef7fae94ab13 [2022-07-21T07:54:49.442Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T07:54:49.442Z] ---> Running in f6ef7ff044c0 [2022-07-21T07:55:07.565Z] Removing intermediate container f6ef7ff044c0 [2022-07-21T07:55:07.565Z] ---> 6a876abd6c32 [2022-07-21T07:55:07.565Z] Step 11/12 : COPY . . [2022-07-21T07:55:07.565Z] ---> b15fd553eccd [2022-07-21T07:55:07.565Z] Step 12/12 : RUN ${MAKE} [2022-07-21T07:55:07.565Z] ---> Running in 9050459fde53 [2022-07-21T07:55:07.565Z] noop [2022-07-21T07:55:07.565Z] Removing intermediate container 9050459fde53 [2022-07-21T07:55:07.565Z] ---> ffad078c3c95 [2022-07-21T07:55:07.565Z] Successfully built ffad078c3c95 [2022-07-21T07:55:07.565Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:55:08.017Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T07:55:08.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:55:08.186Z] prd-ubuntu20.04-docker-8c-8g-20657 does not seem to be running inside a container [2022-07-21T07:55:08.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-49 -v /w/workspace/edgexfoundry_device-gpio_PR-49:/w/workspace/edgexfoundry_device-gpio_PR-49:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-49@tmp:/w/workspace/edgexfoundry_device-gpio_PR-49@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 [2022-07-21T07:55:08.670Z] $ docker top 571e4639424622441aa3d0c3d52d9d5ee344eb4c316acaf2a66c37942687df9c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T07:55:09.084Z] + go version [2022-07-21T07:55:09.084Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-21T07:55:09.116Z] $ docker stop --time=1 571e4639424622441aa3d0c3d52d9d5ee344eb4c316acaf2a66c37942687df9c [2022-07-21T07:55:10.443Z] $ docker rm -f 571e4639424622441aa3d0c3d52d9d5ee344eb4c316acaf2a66c37942687df9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:55:11.163Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T07:55:11.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:55:11.364Z] prd-ubuntu20.04-docker-8c-8g-20657 does not seem to be running inside a container [2022-07-21T07:55:11.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-49 -v /w/workspace/edgexfoundry_device-gpio_PR-49:/w/workspace/edgexfoundry_device-gpio_PR-49:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-49@tmp:/w/workspace/edgexfoundry_device-gpio_PR-49@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 [2022-07-21T07:55:11.838Z] $ docker top 31393cca9b2124c1ad771e451f3e1ace9a3726c7177072a857132045c63da356 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T07:55:12.265Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-49 [Pipeline] fileExists [Pipeline] sh [2022-07-21T07:55:12.622Z] + make test [2022-07-21T07:55:12.622Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T07:55:12.882Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-21T07:55:22.880Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-21T07:55:22.880Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-21T07:55:29.454Z] 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." [2022-07-21T07:55:29.454Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T07:55:33.661Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T07:55:33.661Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T07:55:33.661Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T07:55:33.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T07:55:33.727Z] $ docker stop --time=1 31393cca9b2124c1ad771e451f3e1ace9a3726c7177072a857132045c63da356 [2022-07-21T07:55:35.607Z] $ docker rm -f 31393cca9b2124c1ad771e451f3e1ace9a3726c7177072a857132045c63da356 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T07:55:36.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T07:55:36.199Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-21T07:55:36.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T07:55:37.206Z] + ls -al . [2022-07-21T07:55:37.206Z] total 160 [2022-07-21T07:55:37.206Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 07:55 . [2022-07-21T07:55:37.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:54 .. [2022-07-21T07:55:37.206Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 21 07:54 .dockerignore [2022-07-21T07:55:37.206Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 07:55 .git [2022-07-21T07:55:37.206Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:54 .github [2022-07-21T07:55:37.206Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 21 07:54 .gitignore [2022-07-21T07:55:37.206Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 07:54 .golangci.yml [2022-07-21T07:55:37.206Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 07:54 .semver [2022-07-21T07:55:37.206Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 21 07:54 Attribution.txt [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 21 07:54 CHANGELOG.md [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 21 07:54 Dockerfile [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 07:54 GOVERNANCE.md [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 21 07:54 Jenkinsfile [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 21 07:54 LICENSE [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 21 07:54 Makefile [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 21 07:54 OWNERS.md [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 21 07:54 README.md [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 07:54 VERSION [2022-07-21T07:55:37.207Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 07:54 bin [2022-07-21T07:55:37.207Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:54 cmd [2022-07-21T07:55:37.207Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 21 07:55 coverage.out [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 3288 Jul 21 07:54 go.mod [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 35450 Jul 21 07:54 go.sum [2022-07-21T07:55:37.207Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:54 internal [2022-07-21T07:55:37.207Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:54 snap [2022-07-21T07:55:37.207Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 21 07:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:55:37.606Z] + 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=7f1a58f5cde2fb51cc0d1c55958330eb452139cf --label arch=amd64 --label version=0.0.0 . [2022-07-21T07:55:37.607Z] Sending build context to Docker daemon 15.8MB [2022-07-21T07:55:37.607Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T07:55:37.607Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T07:55:37.607Z] ---> ffad078c3c95 [2022-07-21T07:55:37.607Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T07:55:37.868Z] ---> Running in c218ec2fbb91 [2022-07-21T07:55:37.868Z] Removing intermediate container c218ec2fbb91 [2022-07-21T07:55:37.868Z] ---> 6f5a12563ada [2022-07-21T07:55:37.868Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T07:55:37.868Z] ---> Running in fc8c898558e7 [2022-07-21T07:55:38.133Z] Removing intermediate container fc8c898558e7 [2022-07-21T07:55:38.133Z] ---> dc94ed08b691 [2022-07-21T07:55:38.133Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T07:55:38.133Z] ---> Running in 5060b8789c1c [2022-07-21T07:55:38.133Z] Removing intermediate container 5060b8789c1c [2022-07-21T07:55:38.133Z] ---> 94427d043840 [2022-07-21T07:55:38.133Z] Step 6/26 : WORKDIR /device-gpio [2022-07-21T07:55:38.133Z] ---> Running in cac12c5185d2 [2022-07-21T07:55:38.394Z] Removing intermediate container cac12c5185d2 [2022-07-21T07:55:38.394Z] ---> 8a103f709fa5 [2022-07-21T07:55:38.394Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T07:55:38.394Z] ---> Running in 735973718d70 [2022-07-21T07:55:38.965Z] Removing intermediate container 735973718d70 [2022-07-21T07:55:38.965Z] ---> 90080d77a4d2 [2022-07-21T07:55:38.965Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T07:55:38.965Z] ---> Running in c059e3fc9843 [2022-07-21T07:55:39.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T07:55:40.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T07:55:40.611Z] OK: 216 MiB in 55 packages [2022-07-21T07:55:41.184Z] Removing intermediate container c059e3fc9843 [2022-07-21T07:55:41.184Z] ---> 30c7aa88ae0c [2022-07-21T07:55:41.184Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-21T07:55:41.184Z] ---> f355a3bbe4b9 [2022-07-21T07:55:41.184Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T07:55:41.184Z] ---> Running in 03f5a0bab718 [2022-07-21T07:55:42.127Z] Removing intermediate container 03f5a0bab718 [2022-07-21T07:55:42.127Z] ---> e8262e2570ae [2022-07-21T07:55:42.127Z] Step 11/26 : COPY . . [2022-07-21T07:55:42.388Z] ---> 09a186075dee [2022-07-21T07:55:42.388Z] Step 12/26 : RUN ${MAKE} [2022-07-21T07:55:42.388Z] ---> Running in f2c4d859cdfb [2022-07-21T07:55:42.650Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-21T07:56:04.613Z] Removing intermediate container f2c4d859cdfb [2022-07-21T07:56:04.614Z] ---> db08bc554333 [2022-07-21T07:56:04.614Z] Step 13/26 : FROM alpine:3.16 [2022-07-21T07:56:04.614Z] 3.16: Pulling from library/alpine [2022-07-21T07:56:04.614Z] 530afca65e2e: Pulling fs layer [2022-07-21T07:56:04.614Z] 530afca65e2e: Verifying Checksum [2022-07-21T07:56:04.614Z] 530afca65e2e: Download complete [2022-07-21T07:56:04.874Z] 530afca65e2e: Pull complete [2022-07-21T07:56:04.874Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-21T07:56:04.874Z] Status: Downloaded newer image for alpine:3.16 [2022-07-21T07:56:04.874Z] ---> d7d3d98c851f [2022-07-21T07:56:04.874Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-21T07:56:04.874Z] ---> Running in f36c1ed69271 [2022-07-21T07:56:05.133Z] Removing intermediate container f36c1ed69271 [2022-07-21T07:56:05.133Z] ---> 914e9f857cfe [2022-07-21T07:56:05.133Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T07:56:05.134Z] ---> Running in 91d5d13875b0 [2022-07-21T07:56:05.705Z] Removing intermediate container 91d5d13875b0 [2022-07-21T07:56:05.705Z] ---> 0b8e080e9724 [2022-07-21T07:56:05.705Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-21T07:56:05.705Z] ---> Running in cc38d137405a [2022-07-21T07:56:05.967Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T07:56:07.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T07:56:07.353Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-21T07:56:07.614Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-21T07:56:07.614Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-21T07:56:07.874Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-21T07:56:07.874Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-21T07:56:08.134Z] Executing busybox-1.35.0-r15.trigger [2022-07-21T07:56:08.134Z] OK: 8 MiB in 19 packages [2022-07-21T07:56:08.395Z] Removing intermediate container cc38d137405a [2022-07-21T07:56:08.395Z] ---> 7a0e54dfc2bc [2022-07-21T07:56:08.395Z] Step 17/26 : WORKDIR / [2022-07-21T07:56:08.395Z] ---> Running in 92deb214fc80 [2022-07-21T07:56:08.655Z] Removing intermediate container 92deb214fc80 [2022-07-21T07:56:08.655Z] ---> b78a32b0d49c [2022-07-21T07:56:08.655Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-21T07:56:08.655Z] ---> cc49666ae979 [2022-07-21T07:56:08.655Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-21T07:56:08.917Z] ---> 45ed660c46ec [2022-07-21T07:56:08.917Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-21T07:56:09.494Z] ---> 3b7394552645 [2022-07-21T07:56:09.494Z] Step 21/26 : EXPOSE 59910 [2022-07-21T07:56:09.494Z] ---> Running in 37ef9f8f1229 [2022-07-21T07:56:09.494Z] Removing intermediate container 37ef9f8f1229 [2022-07-21T07:56:09.494Z] ---> a8ca89040ebf [2022-07-21T07:56:09.494Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-21T07:56:09.757Z] ---> Running in 8829c3a76f0e [2022-07-21T07:56:09.757Z] Removing intermediate container 8829c3a76f0e [2022-07-21T07:56:09.757Z] ---> 74bbedd2357c [2022-07-21T07:56:09.757Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T07:56:09.757Z] ---> Running in 96bac2960f2d [2022-07-21T07:56:10.022Z] Removing intermediate container 96bac2960f2d [2022-07-21T07:56:10.022Z] ---> af52a755a77c [2022-07-21T07:56:10.022Z] Step 24/26 : LABEL arch=amd64 [2022-07-21T07:56:10.022Z] ---> Running in 9ba209f49a56 [2022-07-21T07:56:10.022Z] Removing intermediate container 9ba209f49a56 [2022-07-21T07:56:10.022Z] ---> 13cfb7eec5f4 [2022-07-21T07:56:10.022Z] Step 25/26 : LABEL git_sha=7f1a58f5cde2fb51cc0d1c55958330eb452139cf [2022-07-21T07:56:10.022Z] ---> Running in 5841ec85c6c6 [2022-07-21T07:56:10.282Z] Removing intermediate container 5841ec85c6c6 [2022-07-21T07:56:10.282Z] ---> bc6e7b602bde [2022-07-21T07:56:10.282Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T07:56:10.282Z] ---> Running in 444ce5a88247 [2022-07-21T07:56:10.282Z] Removing intermediate container 444ce5a88247 [2022-07-21T07:56:10.282Z] ---> 6f3535fd462b [2022-07-21T07:56:10.282Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T07:56:10.282Z] Successfully built 6f3535fd462b [2022-07-21T07:56:10.282Z] 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 [2022-07-21T07:56:11.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T07:56:11.120Z] [2022-07-21T07:56:11.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:56:11.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T07:56:11.488Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T07:56:11.488Z] 5eb5b503b376: Pulling fs layer [2022-07-21T07:56:11.488Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T07:56:11.488Z] ec43610c2a17: Pulling fs layer [2022-07-21T07:56:11.488Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T07:56:11.488Z] 33b1e0a273af: Pulling fs layer [2022-07-21T07:56:11.489Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T07:56:11.489Z] 2f39f015ded8: Pulling fs layer [2022-07-21T07:56:11.489Z] 33b1e0a273af: Waiting [2022-07-21T07:56:11.489Z] 3a2ae6a8a46f: Waiting [2022-07-21T07:56:11.489Z] 5d3b04190fa2: Waiting [2022-07-21T07:56:11.489Z] 2f39f015ded8: Waiting [2022-07-21T07:56:11.489Z] 5c69ac0246d0: Download complete [2022-07-21T07:56:11.489Z] 3a2ae6a8a46f: Download complete [2022-07-21T07:56:11.489Z] 33b1e0a273af: Download complete [2022-07-21T07:56:11.489Z] 5d3b04190fa2: Download complete [2022-07-21T07:56:11.489Z] ec43610c2a17: Verifying Checksum [2022-07-21T07:56:11.489Z] ec43610c2a17: Download complete [2022-07-21T07:56:11.749Z] 5eb5b503b376: Download complete [2022-07-21T07:56:12.317Z] 2f39f015ded8: Download complete [2022-07-21T07:56:13.257Z] 5eb5b503b376: Pull complete [2022-07-21T07:56:13.257Z] 5c69ac0246d0: Pull complete [2022-07-21T07:56:13.826Z] ec43610c2a17: Pull complete [2022-07-21T07:56:13.826Z] 3a2ae6a8a46f: Pull complete [2022-07-21T07:56:14.087Z] 33b1e0a273af: Pull complete [2022-07-21T07:56:14.087Z] 5d3b04190fa2: Pull complete [2022-07-21T07:56:19.503Z] 2f39f015ded8: Pull complete [2022-07-21T07:56:19.503Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T07:56:19.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T07:56:19.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:56:19.740Z] prd-ubuntu20.04-docker-8c-8g-20657 does not seem to be running inside a container [2022-07-21T07:56:20.378Z] $ 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-49 -v /w/workspace/edgexfoundry_device-gpio_PR-49:/w/workspace/edgexfoundry_device-gpio_PR-49:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-49@tmp:/w/workspace/edgexfoundry_device-gpio_PR-49@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 [2022-07-21T07:56:22.386Z] $ docker top 750c4f8f57a55af5601d1eed67c3f1fa193c8538fe298fa139e098e7a47d0cad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:56:22.857Z] ---> job-cost.sh [2022-07-21T07:56:22.857Z] lf-activate-venv: SKIPPING [2022-07-21T07:56:22.857Z] INFO: No Stack... [2022-07-21T07:56:23.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T07:56:23.688Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T07:56:24.008Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-49/archives/cost.csv [2022-07-21T07:56:24.008Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T07:56:24.046Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] [2022-07-21T07:56:24.051Z] Resource [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] did not exist. Created. [2022-07-21T07:56:24.051Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T07:56:24.444Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T07:56:24.492Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T07:56:24.519Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T07:56:24.592Z] $ docker stop --time=1 750c4f8f57a55af5601d1eed67c3f1fa193c8538fe298fa139e098e7a47d0cad [2022-07-21T07:56:25.787Z] $ docker rm -f 750c4f8f57a55af5601d1eed67c3f1fa193c8538fe298fa139e098e7a47d0cad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T07:56:28.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20658 in /w/workspace/edgexfoundry_device-gpio_PR-49 [Pipeline] { [Pipeline] ws [2022-07-21T07:56:28.725Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-07-21T07:56:28.807Z] The recommended git tool is: git [2022-07-21T07:56:35.957Z] using credential edgex-jenkins-ssh [2022-07-21T07:56:35.979Z] Cloning the remote Git repository [2022-07-21T07:56:36.046Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-07-21T07:56:36.129Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-07-21T07:56:36.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-07-21T07:56:36.242Z] > git --version # timeout=10 [2022-07-21T07:56:36.269Z] > git --version # 'git version 2.25.1' [2022-07-21T07:56:36.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T07:56:36.361Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T07:56:38.510Z] Merging remotes/origin/main commit 025748471a1121a914633fcbecc3eb79c80c4329 into PR head commit 7f1a58f5cde2fb51cc0d1c55958330eb452139cf [2022-07-21T07:56:38.740Z] Merge succeeded, producing 7f1a58f5cde2fb51cc0d1c55958330eb452139cf [2022-07-21T07:56:38.741Z] Checking out Revision 7f1a58f5cde2fb51cc0d1c55958330eb452139cf (PR-49) [2022-07-21T07:56:37.932Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-07-21T07:56:37.954Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T07:56:37.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-07-21T07:56:38.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-07-21T07:56:38.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T07:56:38.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-21T07:56:38.531Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T07:56:38.555Z] > git checkout -f 7f1a58f5cde2fb51cc0d1c55958330eb452139cf # timeout=10 [2022-07-21T07:56:38.642Z] > git remote # timeout=10 [2022-07-21T07:56:38.660Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T07:56:38.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T07:56:38.691Z] > git merge 025748471a1121a914633fcbecc3eb79c80c4329 # timeout=10 [2022-07-21T07:56:38.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T07:56:38.751Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T07:56:38.765Z] > git checkout -f 7f1a58f5cde2fb51cc0d1c55958330eb452139cf # timeout=10 [2022-07-21T07:56:42.883Z] Commit message: "refactor(snap): edgex-snap-hooks related upgrade " [2022-07-21T07:56:42.950Z] > git --version # timeout=10 [2022-07-21T07:56:42.963Z] > git --version # 'git version 2.25.1' [2022-07-21T07:56:42.975Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T07:56:44.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T07:56:44.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T07:56:44.123Z] Dload Upload Total Spent Left Speed [2022-07-21T07:56:44.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 66659 0 --:--:-- --:--:-- --:--:-- 67021 [Pipeline] sh [2022-07-21T07:56:44.838Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T07:56:45.192Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-21T07:56:45.192Z] + sudo tee /etc/docker/daemon.new [2022-07-21T07:56:45.192Z] { [2022-07-21T07:56:45.192Z] "registry-mirrors": [ [2022-07-21T07:56:45.192Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T07:56:45.192Z] ], [2022-07-21T07:56:45.192Z] "bip": "10.250.0.254/24", [2022-07-21T07:56:45.192Z] "hosts": [ [2022-07-21T07:56:45.192Z] "tcp://0.0.0.0:5555", [2022-07-21T07:56:45.192Z] "unix:///var/run/docker.sock" [2022-07-21T07:56:45.192Z] ], [2022-07-21T07:56:45.192Z] "mtu": 1458, [2022-07-21T07:56:45.192Z] "selinux-enabled": true, [2022-07-21T07:56:45.192Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T07:56:45.192Z] } [Pipeline] sh [2022-07-21T07:56:45.549Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T07:56:45.907Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T07:57:04.461Z] provisioning config files... [2022-07-21T07:57:04.486Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2910556611730914968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:57:04.882Z] ---> docker-login.sh [2022-07-21T07:57:04.882Z] nexus3.edgexfoundry.org:10001 [2022-07-21T07:57:05.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:57:05.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:57:05.755Z] Configure a credential helper to remove this warning. See [2022-07-21T07:57:05.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:57:05.755Z] [2022-07-21T07:57:05.755Z] Login Succeeded [2022-07-21T07:57:05.755Z] nexus3.edgexfoundry.org:10002 [2022-07-21T07:57:06.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:57:06.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:57:06.031Z] Configure a credential helper to remove this warning. See [2022-07-21T07:57:06.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:57:06.031Z] [2022-07-21T07:57:06.031Z] Login Succeeded [2022-07-21T07:57:06.031Z] nexus3.edgexfoundry.org:10003 [2022-07-21T07:57:06.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:57:06.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:57:06.633Z] Configure a credential helper to remove this warning. See [2022-07-21T07:57:06.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:57:06.633Z] [2022-07-21T07:57:06.633Z] Login Succeeded [2022-07-21T07:57:06.633Z] nexus3.edgexfoundry.org:10004 [2022-07-21T07:57:06.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:57:07.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:57:07.180Z] Configure a credential helper to remove this warning. See [2022-07-21T07:57:07.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:57:07.180Z] [2022-07-21T07:57:07.180Z] Login Succeeded [2022-07-21T07:57:07.180Z] docker.io [2022-07-21T07:57:07.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T07:57:07.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T07:57:07.723Z] Configure a credential helper to remove this warning. See [2022-07-21T07:57:07.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T07:57:07.723Z] [2022-07-21T07:57:07.723Z] Login Succeeded [2022-07-21T07:57:07.723Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T07:57:07.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T07:57:08.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T07:57:08.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T07:57:08.200Z] ========================================================= [2022-07-21T07:57:08.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-21T07:57:08.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:57:08.696Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-21T07:57:08.972Z] Sending build context to Docker daemon 7.976MB [2022-07-21T07:57:09.251Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T07:57:09.251Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-21T07:57:09.251Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-21T07:57:09.251Z] b3c136eddcbf: Pulling fs layer [2022-07-21T07:57:09.251Z] c0a3192eca97: Pulling fs layer [2022-07-21T07:57:09.251Z] a050256f5b6f: Pulling fs layer [2022-07-21T07:57:09.251Z] 656be50a0ddc: Pulling fs layer [2022-07-21T07:57:09.251Z] 2bbca73fdf42: Pulling fs layer [2022-07-21T07:57:09.251Z] 46d945488cbd: Pulling fs layer [2022-07-21T07:57:09.251Z] 8a5474983e97: Pulling fs layer [2022-07-21T07:57:09.251Z] 329c88fbcd65: Pulling fs layer [2022-07-21T07:57:09.251Z] 656be50a0ddc: Waiting [2022-07-21T07:57:09.251Z] 2bbca73fdf42: Waiting [2022-07-21T07:57:09.251Z] 8a5474983e97: Waiting [2022-07-21T07:57:09.251Z] 46d945488cbd: Waiting [2022-07-21T07:57:09.251Z] a050256f5b6f: Verifying Checksum [2022-07-21T07:57:09.251Z] a050256f5b6f: Download complete [2022-07-21T07:57:09.251Z] c0a3192eca97: Verifying Checksum [2022-07-21T07:57:09.251Z] c0a3192eca97: Download complete [2022-07-21T07:57:09.251Z] 2bbca73fdf42: Verifying Checksum [2022-07-21T07:57:09.251Z] 2bbca73fdf42: Download complete [2022-07-21T07:57:09.251Z] 46d945488cbd: Download complete [2022-07-21T07:57:09.251Z] b3c136eddcbf: Verifying Checksum [2022-07-21T07:57:09.251Z] b3c136eddcbf: Download complete [2022-07-21T07:57:10.246Z] b3c136eddcbf: Pull complete [2022-07-21T07:57:10.246Z] 329c88fbcd65: Verifying Checksum [2022-07-21T07:57:10.246Z] 329c88fbcd65: Download complete [2022-07-21T07:57:10.848Z] c0a3192eca97: Pull complete [2022-07-21T07:57:11.125Z] a050256f5b6f: Pull complete [2022-07-21T07:57:11.726Z] 8a5474983e97: Verifying Checksum [2022-07-21T07:57:11.726Z] 8a5474983e97: Download complete [2022-07-21T07:57:12.325Z] 656be50a0ddc: Verifying Checksum [2022-07-21T07:57:12.325Z] 656be50a0ddc: Download complete [2022-07-21T07:57:24.730Z] 656be50a0ddc: Pull complete [2022-07-21T07:57:25.003Z] 2bbca73fdf42: Pull complete [2022-07-21T07:57:25.279Z] 46d945488cbd: Pull complete [2022-07-21T07:57:32.023Z] 8a5474983e97: Pull complete [2022-07-21T07:57:33.468Z] 329c88fbcd65: Pull complete [2022-07-21T07:57:33.746Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-21T07:57:33.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-21T07:57:33.746Z] ---> ff4287adb874 [2022-07-21T07:57:33.746Z] Step 3/12 : ARG MAKE="make build" [2022-07-21T07:57:35.730Z] ---> Running in 9e3b619f8be0 [2022-07-21T07:57:35.730Z] Removing intermediate container 9e3b619f8be0 [2022-07-21T07:57:35.730Z] ---> 6161058db248 [2022-07-21T07:57:35.730Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T07:57:35.730Z] ---> Running in 88425b13bbe5 [2022-07-21T07:57:36.009Z] Removing intermediate container 88425b13bbe5 [2022-07-21T07:57:36.009Z] ---> 73826212c805 [2022-07-21T07:57:36.009Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T07:57:36.009Z] ---> Running in 9b8a19aee7a9 [2022-07-21T07:57:36.612Z] Removing intermediate container 9b8a19aee7a9 [2022-07-21T07:57:36.612Z] ---> f870fa8ff5fd [2022-07-21T07:57:36.612Z] Step 6/12 : WORKDIR /device-gpio [2022-07-21T07:57:36.612Z] ---> Running in 6ad6afe6d006 [2022-07-21T07:57:36.888Z] Removing intermediate container 6ad6afe6d006 [2022-07-21T07:57:36.888Z] ---> dbdfd8c04397 [2022-07-21T07:57:36.888Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T07:57:36.888Z] ---> Running in 1038f979b1f3 [2022-07-21T07:57:39.520Z] Removing intermediate container 1038f979b1f3 [2022-07-21T07:57:39.520Z] ---> 1f5c2d368e08 [2022-07-21T07:57:39.520Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T07:57:39.520Z] ---> Running in 3ca330a72eeb [2022-07-21T07:57:40.503Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T07:57:41.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T07:57:42.077Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-21T07:57:42.357Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-21T07:57:42.357Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-21T07:57:42.635Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-21T07:57:42.636Z] Executing busybox-1.35.0-r13.trigger [2022-07-21T07:57:42.636Z] OK: 226 MiB in 55 packages [2022-07-21T07:57:43.627Z] Removing intermediate container 3ca330a72eeb [2022-07-21T07:57:43.627Z] ---> 9421e47154f4 [2022-07-21T07:57:43.627Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-21T07:57:44.231Z] ---> 0fa9e69bcfac [2022-07-21T07:57:44.231Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T07:57:44.231Z] ---> Running in c8108c86f4f3 [2022-07-21T07:58:31.225Z] Removing intermediate container c8108c86f4f3 [2022-07-21T07:58:31.225Z] ---> 48d1dfe66306 [2022-07-21T07:58:31.225Z] Step 11/12 : COPY . . [2022-07-21T07:58:31.225Z] ---> cb71bbb44a5a [2022-07-21T07:58:31.225Z] Step 12/12 : RUN ${MAKE} [2022-07-21T07:58:31.225Z] ---> Running in c1eb5ba3ba09 [2022-07-21T07:58:31.225Z] noop [2022-07-21T07:58:31.225Z] Removing intermediate container c1eb5ba3ba09 [2022-07-21T07:58:31.225Z] ---> e4b9097071f4 [2022-07-21T07:58:31.225Z] Successfully built e4b9097071f4 [2022-07-21T07:58:31.225Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:58:31.701Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T07:58:31.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:58:32.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-20658 does not seem to be running inside a container [2022-07-21T07:58:32.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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-arm64 cat [2022-07-21T07:58:33.375Z] $ docker top 5df3fd94a14b6ce6c68828c66cceba099730c4ee434c15f0f6c1f6ef7ae15538 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T07:58:34.330Z] + go version [2022-07-21T07:58:34.331Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-21T07:58:34.366Z] $ docker stop --time=1 5df3fd94a14b6ce6c68828c66cceba099730c4ee434c15f0f6c1f6ef7ae15538 [2022-07-21T07:58:35.978Z] $ docker rm -f 5df3fd94a14b6ce6c68828c66cceba099730c4ee434c15f0f6c1f6ef7ae15538 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:58:36.865Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T07:58:36.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:58:37.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-20658 does not seem to be running inside a container [2022-07-21T07:58:37.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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-arm64 cat [2022-07-21T07:58:38.527Z] $ docker top 879922c88f80670f80dc0c784206f4fc0a85ec1e66f62949bf9bad87f4c3cc7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T07:58:39.481Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-07-21T07:58:40.205Z] + make test [2022-07-21T07:58:40.205Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T07:58:41.650Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-21T08:00:03.505Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-21T08:00:03.505Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-21T08:00:03.505Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-21T08:00:03.505Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T08:00:13.691Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T08:00:13.691Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T08:00:13.691Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T08:00:14.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T08:00:14.033Z] $ docker stop --time=1 879922c88f80670f80dc0c784206f4fc0a85ec1e66f62949bf9bad87f4c3cc7f [2022-07-21T08:00:15.767Z] $ docker rm -f 879922c88f80670f80dc0c784206f4fc0a85ec1e66f62949bf9bad87f4c3cc7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T08:00:16.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T08:00:16.824Z] Warning: overwriting stash ‘coverage-report’ [2022-07-21T08:00:17.425Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T08:00:18.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T08:00:18.456Z] + ls -al . [2022-07-21T08:00:18.456Z] total 156 [2022-07-21T08:00:18.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 07:58 . [2022-07-21T08:00:18.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:56 .. [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 21 07:56 .dockerignore [2022-07-21T08:00:18.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 07:56 .git [2022-07-21T08:00:18.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:56 .github [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 21 07:56 .gitignore [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 07:56 .golangci.yml [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 21 07:56 Attribution.txt [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 21 07:56 CHANGELOG.md [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 21 07:56 Dockerfile [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 07:56 GOVERNANCE.md [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 21 07:56 Jenkinsfile [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 21 07:56 LICENSE [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 21 07:56 Makefile [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 21 07:56 OWNERS.md [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 21 07:56 README.md [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 07:54 VERSION [2022-07-21T08:00:18.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 07:56 bin [2022-07-21T08:00:18.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:56 cmd [2022-07-21T08:00:18.456Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 21 07:58 coverage.out [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 3288 Jul 21 07:56 go.mod [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 35450 Jul 21 07:56 go.sum [2022-07-21T08:00:18.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:56 internal [2022-07-21T08:00:18.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:56 snap [2022-07-21T08:00:18.456Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 21 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T08:00:18.958Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7f1a58f5cde2fb51cc0d1c55958330eb452139cf --label arch=arm64 --label version=0.0.0 . [2022-07-21T08:00:19.564Z] Sending build context to Docker daemon 7.977MB [2022-07-21T08:00:19.565Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T08:00:19.565Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T08:00:19.565Z] ---> e4b9097071f4 [2022-07-21T08:00:19.565Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T08:00:19.565Z] ---> Running in 9c135d52cc96 [2022-07-21T08:00:19.843Z] Removing intermediate container 9c135d52cc96 [2022-07-21T08:00:19.843Z] ---> 285b4416442f [2022-07-21T08:00:19.843Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T08:00:19.843Z] ---> Running in 9c753dc8eca3 [2022-07-21T08:00:20.443Z] Removing intermediate container 9c753dc8eca3 [2022-07-21T08:00:20.443Z] ---> 9cc03358c0eb [2022-07-21T08:00:20.443Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T08:00:20.443Z] ---> Running in 163fc58bfc41 [2022-07-21T08:00:20.721Z] Removing intermediate container 163fc58bfc41 [2022-07-21T08:00:20.721Z] ---> 470edea47850 [2022-07-21T08:00:20.721Z] Step 6/26 : WORKDIR /device-gpio [2022-07-21T08:00:20.721Z] ---> Running in bcd1bf88c34f [2022-07-21T08:00:21.002Z] Removing intermediate container bcd1bf88c34f [2022-07-21T08:00:21.002Z] ---> 00adee1713dd [2022-07-21T08:00:21.002Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T08:00:21.002Z] ---> Running in 45d03712ab79 [2022-07-21T08:00:22.985Z] Removing intermediate container 45d03712ab79 [2022-07-21T08:00:22.985Z] ---> 638eb6f89db0 [2022-07-21T08:00:22.985Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T08:00:22.985Z] ---> Running in a7151201cb7f [2022-07-21T08:00:23.965Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T08:00:24.560Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T08:00:25.535Z] OK: 226 MiB in 55 packages [2022-07-21T08:00:26.517Z] Removing intermediate container a7151201cb7f [2022-07-21T08:00:26.517Z] ---> e7efa299d8bd [2022-07-21T08:00:26.517Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-21T08:00:27.118Z] ---> dd805b70e4d1 [2022-07-21T08:00:27.118Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T08:00:27.118Z] ---> Running in 5a24cbcd66c9 [2022-07-21T08:00:29.103Z] Removing intermediate container 5a24cbcd66c9 [2022-07-21T08:00:29.103Z] ---> 741abae365ac [2022-07-21T08:00:29.103Z] Step 11/26 : COPY . . [2022-07-21T08:00:30.082Z] ---> 9a63543e333a [2022-07-21T08:00:30.082Z] Step 12/26 : RUN ${MAKE} [2022-07-21T08:00:30.082Z] ---> Running in 0b0a6c1125d8 [2022-07-21T08:00:31.059Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-21T08:02:37.944Z] Removing intermediate container 0b0a6c1125d8 [2022-07-21T08:02:37.944Z] ---> 67ca4629e0eb [2022-07-21T08:02:37.944Z] Step 13/26 : FROM alpine:3.16 [2022-07-21T08:02:37.944Z] 3.16: Pulling from library/alpine [2022-07-21T08:02:37.944Z] f97344484467: Pulling fs layer [2022-07-21T08:02:37.944Z] f97344484467: Verifying Checksum [2022-07-21T08:02:37.944Z] f97344484467: Download complete [2022-07-21T08:02:37.944Z] f97344484467: Pull complete [2022-07-21T08:02:37.944Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-21T08:02:37.944Z] Status: Downloaded newer image for alpine:3.16 [2022-07-21T08:02:37.944Z] ---> 3d81c46cd875 [2022-07-21T08:02:37.944Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-21T08:02:37.944Z] ---> Running in b34c076af600 [2022-07-21T08:02:37.944Z] Removing intermediate container b34c076af600 [2022-07-21T08:02:37.944Z] ---> c0202ef598ad [2022-07-21T08:02:37.944Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T08:02:37.944Z] ---> Running in db7f5b74f7b4 [2022-07-21T08:02:37.944Z] Removing intermediate container db7f5b74f7b4 [2022-07-21T08:02:37.944Z] ---> 31c849682035 [2022-07-21T08:02:37.944Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-21T08:02:37.944Z] ---> Running in 039bd524fdbe [2022-07-21T08:02:37.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T08:02:37.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T08:02:37.944Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-21T08:02:37.944Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-21T08:02:37.944Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-21T08:02:37.944Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-21T08:02:37.944Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-21T08:02:37.944Z] Executing busybox-1.35.0-r15.trigger [2022-07-21T08:02:37.944Z] OK: 8 MiB in 19 packages [2022-07-21T08:02:38.541Z] Removing intermediate container 039bd524fdbe [2022-07-21T08:02:38.541Z] ---> 2bbafa02b318 [2022-07-21T08:02:38.541Z] Step 17/26 : WORKDIR / [2022-07-21T08:02:38.541Z] ---> Running in 80a50c52044d [2022-07-21T08:02:38.820Z] Removing intermediate container 80a50c52044d [2022-07-21T08:02:38.820Z] ---> 255e687dc441 [2022-07-21T08:02:38.820Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-21T08:02:39.415Z] ---> bc4951966db0 [2022-07-21T08:02:39.415Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-21T08:02:40.010Z] ---> 588a8af64a09 [2022-07-21T08:02:40.010Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-21T08:02:41.454Z] ---> 273ec487fef3 [2022-07-21T08:02:41.454Z] Step 21/26 : EXPOSE 59910 [2022-07-21T08:02:41.454Z] ---> Running in 28f52e61e845 [2022-07-21T08:02:41.728Z] Removing intermediate container 28f52e61e845 [2022-07-21T08:02:41.728Z] ---> 08274ab8cd00 [2022-07-21T08:02:41.728Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-21T08:02:41.728Z] ---> Running in 53f3df48b8b2 [2022-07-21T08:02:42.002Z] Removing intermediate container 53f3df48b8b2 [2022-07-21T08:02:42.002Z] ---> 0c2e159ff998 [2022-07-21T08:02:42.002Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T08:02:42.002Z] ---> Running in 1e998938a1f2 [2022-07-21T08:02:42.278Z] Removing intermediate container 1e998938a1f2 [2022-07-21T08:02:42.278Z] ---> 4a06519b9c10 [2022-07-21T08:02:42.278Z] Step 24/26 : LABEL arch=arm64 [2022-07-21T08:02:42.551Z] ---> Running in 58350c21b9ea [2022-07-21T08:02:42.826Z] Removing intermediate container 58350c21b9ea [2022-07-21T08:02:42.826Z] ---> 9b4428a26487 [2022-07-21T08:02:42.826Z] Step 25/26 : LABEL git_sha=7f1a58f5cde2fb51cc0d1c55958330eb452139cf [2022-07-21T08:02:42.826Z] ---> Running in 2d121f4efc93 [2022-07-21T08:02:43.098Z] Removing intermediate container 2d121f4efc93 [2022-07-21T08:02:43.098Z] ---> e1442b83b0d4 [2022-07-21T08:02:43.098Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T08:02:43.098Z] ---> Running in c13eccb67d29 [2022-07-21T08:02:43.373Z] Removing intermediate container c13eccb67d29 [2022-07-21T08:02:43.373Z] ---> 5fcf438b45a8 [2022-07-21T08:02:43.373Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T08:02:43.646Z] Successfully built 5fcf438b45a8 [2022-07-21T08:02:43.646Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T08:02:44.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T08:02:44.453Z] [2022-07-21T08:02:44.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T08:02:44.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T08:02:45.144Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T08:02:45.144Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T08:02:45.144Z] 04944245beec: Pulling fs layer [2022-07-21T08:02:45.144Z] 699f458cf7ca: Pulling fs layer [2022-07-21T08:02:45.144Z] 765212b225bb: Pulling fs layer [2022-07-21T08:02:45.144Z] f23df028b6ca: Pulling fs layer [2022-07-21T08:02:45.144Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T08:02:45.144Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T08:02:45.144Z] f23df028b6ca: Waiting [2022-07-21T08:02:45.144Z] 765212b225bb: Waiting [2022-07-21T08:02:45.144Z] d65c8cfc05b1: Waiting [2022-07-21T08:02:45.144Z] 2437ff75d9bd: Waiting [2022-07-21T08:02:45.144Z] 04944245beec: Verifying Checksum [2022-07-21T08:02:45.144Z] 04944245beec: Download complete [2022-07-21T08:02:45.144Z] 765212b225bb: Verifying Checksum [2022-07-21T08:02:45.144Z] 765212b225bb: Download complete [2022-07-21T08:02:45.144Z] f23df028b6ca: Verifying Checksum [2022-07-21T08:02:45.144Z] f23df028b6ca: Download complete [2022-07-21T08:02:45.144Z] d65c8cfc05b1: Verifying Checksum [2022-07-21T08:02:45.144Z] d65c8cfc05b1: Download complete [2022-07-21T08:02:45.420Z] 699f458cf7ca: Verifying Checksum [2022-07-21T08:02:45.420Z] 699f458cf7ca: Download complete [2022-07-21T08:02:45.697Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T08:02:45.697Z] 8998bd30e6a1: Download complete [2022-07-21T08:02:48.328Z] 2437ff75d9bd: Verifying Checksum [2022-07-21T08:02:48.328Z] 2437ff75d9bd: Download complete [2022-07-21T08:02:50.307Z] 8998bd30e6a1: Pull complete [2022-07-21T08:02:50.582Z] 04944245beec: Pull complete [2022-07-21T08:02:52.023Z] 699f458cf7ca: Pull complete [2022-07-21T08:02:52.305Z] 765212b225bb: Pull complete [2022-07-21T08:02:53.289Z] f23df028b6ca: Pull complete [2022-07-21T08:02:53.289Z] d65c8cfc05b1: Pull complete [2022-07-21T08:03:08.378Z] 2437ff75d9bd: Pull complete [2022-07-21T08:03:08.378Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T08:03:08.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T08:03:08.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T08:03:08.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-20658 does not seem to be running inside a container [2022-07-21T08:03:08.853Z] $ 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/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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:arm64 cat [2022-07-21T08:03:11.328Z] $ docker top 7da219c8a73ed410cae380baa9ceb82f24caf88004032e95a323aadd94ca2eb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:12.295Z] ---> job-cost.sh [2022-07-21T08:03:12.295Z] lf-activate-venv: SKIPPING [2022-07-21T08:03:12.295Z] INFO: No Stack... [2022-07-21T08:03:12.903Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T08:03:13.524Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T08:03:14.243Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-07-21T08:03:14.243Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T08:03:14.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] [2022-07-21T08:03:14.335Z] Resource [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] did not exist. Created. [2022-07-21T08:03:14.335Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T08:03:15.066Z] /w/workspace/device-gpio/1@tmp/durable-751f000f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T08:03:15.753Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T08:03:15.789Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T08:03:15.829Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T08:03:15.845Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-49-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T08:03:15.922Z] $ docker stop --time=1 7da219c8a73ed410cae380baa9ceb82f24caf88004032e95a323aadd94ca2eb9 [2022-07-21T08:03:17.405Z] $ docker rm -f 7da219c8a73ed410cae380baa9ceb82f24caf88004032e95a323aadd94ca2eb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-21T08:03:18.443Z] provisioning config files... [2022-07-21T08:03:18.454Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-49@tmp/config166842494895734496tmp [Pipeline] { [Pipeline] sh [2022-07-21T08:03:18.787Z] + set +x [2022-07-21T08:03:18.787Z] + curl -s https://codecov.io/bash [2022-07-21T08:03:18.787Z] + bash -s -- [2022-07-21T08:03:18.787Z] [2022-07-21T08:03:18.787Z] _____ _ [2022-07-21T08:03:18.787Z] / ____| | | [2022-07-21T08:03:18.787Z] | | ___ __| | ___ ___ _____ __ [2022-07-21T08:03:18.787Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-21T08:03:18.787Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-21T08:03:18.787Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-21T08:03:18.787Z] Bash-1.0.6 [2022-07-21T08:03:18.787Z] [2022-07-21T08:03:18.787Z] [2022-07-21T08:03:18.787Z] ==> git version 2.25.1 found [2022-07-21T08:03:18.787Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-21T08:03:18.787Z] Release-Date: 2020-01-08 [2022-07-21T08:03:18.787Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-21T08:03:18.787Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-21T08:03:18.787Z] ==> Jenkins CI detected. [2022-07-21T08:03:18.787Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-49 [2022-07-21T08:03:18.787Z] project root: . [2022-07-21T08:03:18.787Z] --> token set from env [2022-07-21T08:03:18.787Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-21T08:03:18.787Z] ==> Running gcov in . (disable via -X gcov) [2022-07-21T08:03:18.787Z] ==> Python coveragepy not found [2022-07-21T08:03:18.787Z] ==> Searching for coverage reports in: [2022-07-21T08:03:18.787Z] + . [2022-07-21T08:03:18.787Z] -> Found 1 reports [2022-07-21T08:03:18.787Z] ==> Detecting git/mercurial file structure [2022-07-21T08:03:18.787Z] ==> Reading reports [2022-07-21T08:03:18.787Z] + ./coverage.out bytes=10 [2022-07-21T08:03:19.050Z] ==> Appending adjustments [2022-07-21T08:03:19.050Z] https://docs.codecov.io/docs/fixing-reports [2022-07-21T08:03:19.050Z] + Found adjustments [2022-07-21T08:03:19.050Z] ==> Gzipping contents [2022-07-21T08:03:19.050Z] 4.0K /tmp/codecov.4RgTxS.gz [2022-07-21T08:03:19.050Z] ==> Uploading reports [2022-07-21T08:03:19.050Z] url: https://codecov.io [2022-07-21T08:03:19.050Z] query: branch=PR-49&commit=7f1a58f5cde2fb51cc0d1c55958330eb452139cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-49%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=49&job=&cmd_args= [2022-07-21T08:03:19.050Z] -> Pinging Codecov [2022-07-21T08:03:19.050Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-49&commit=7f1a58f5cde2fb51cc0d1c55958330eb452139cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-49%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=49&job=&cmd_args= [2022-07-21T08:03:19.312Z] -> Uploading to [2022-07-21T08:03:19.312Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-21/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7f1a58f5cde2fb51cc0d1c55958330eb452139cf/ee5c2a78-a789-4691-bd22-d10397d038db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T080319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b33ae13e861f92367f5f3b61b1eb74575f1e3fa8859c6afef94b9e43a90b380 [2022-07-21T08:03:19.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T08:03:19.312Z] Dload Upload Total Spent Left Speed [2022-07-21T08:03:19.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3603 --:--:-- --:--:-- --:--:-- 3603 [2022-07-21T08:03:19.573Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/7f1a58f5cde2fb51cc0d1c55958330eb452139cf [Pipeline] } [2022-07-21T08:03:19.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-21T08:03:21.326Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-49/archives ] [2022-07-21T08:03:21.326Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-49/archives [2022-07-21T08:03:21.326Z] total 16 [2022-07-21T08:03:21.326Z] drwxr-xr-x 3 root root 4096 Jul 21 07:56 . [2022-07-21T08:03:21.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 07:56 .. [2022-07-21T08:03:21.326Z] drwxr-xr-x 2 root root 4096 Jul 21 07:56 cost [2022-07-21T08:03:21.326Z] -rw-r--r-- 1 root root 81 Jul 21 07:56 cost.csv [2022-07-21T08:03:21.326Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-49/archives [2022-07-21T08:03:21.326Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-49/archives [2022-07-21T08:03:21.326Z] total 16 [2022-07-21T08:03:21.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 07:56 . [2022-07-21T08:03:21.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 07:56 .. [2022-07-21T08:03:21.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 07:56 cost [2022-07-21T08:03:21.326Z] -rw-r--r-- 1 jenkins jenkins 81 Jul 21 07:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:21.652Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:22.542Z] ---> package-listing.sh [2022-07-21T08:03:22.542Z] ++ facter osfamily [2022-07-21T08:03:22.542Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T08:03:22.805Z] + OS_FAMILY=debian [2022-07-21T08:03:22.805Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-49 [2022-07-21T08:03:22.805Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T08:03:22.805Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T08:03:22.805Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T08:03:22.805Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T08:03:22.805Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-49 ']' [2022-07-21T08:03:22.805Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T08:03:22.805Z] + case "${OS_FAMILY}" in [2022-07-21T08:03:22.805Z] + dpkg -l [2022-07-21T08:03:22.805Z] + grep '^ii' [2022-07-21T08:03:22.805Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T08:03:22.805Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T08:03:22.805Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T08:03:22.805Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-49 ']' [2022-07-21T08:03:22.805Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-49/archives/ [2022-07-21T08:03:22.805Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-49/archives/ [Pipeline] echo [2022-07-21T08:03:22.838Z] 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-49/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-21T08:03:23.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T08:03:23.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T08:03:23.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T08:03:23.923Z] prd-ubuntu20.04-docker-8c-8g-20657 does not seem to be running inside a container [2022-07-21T08:03:23.958Z] $ 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-49/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-49 -v /w/workspace/edgexfoundry_device-gpio_PR-49:/w/workspace/edgexfoundry_device-gpio_PR-49:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-49@tmp:/w/workspace/edgexfoundry_device-gpio_PR-49@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 [2022-07-21T08:03:24.233Z] $ docker top c6c996ddcbea79306b28b1a19e5967c0d05f879666c1fd835d6df8dd6c6ffcf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T08:03:24.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T08:03:24.962Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T08:03:25.285Z] + ls /var/log/sa-host [2022-07-21T08:03:25.286Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T08:03:25.478Z] provisioning config files... [2022-07-21T08:03:25.488Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-49@tmp/config8645132710627729458tmp [Pipeline] { [Pipeline] echo [2022-07-21T08:03:25.532Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:25.844Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T08:03:25.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:26.278Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T08:03:26.307Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:26.627Z] ---> sudo-logs.sh [2022-07-21T08:03:26.627Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T08:03:26.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:27.019Z] ---> job-cost.sh [2022-07-21T08:03:27.019Z] lf-activate-venv: SKIPPING [2022-07-21T08:03:27.019Z] DEBUG: total: 0.2199999988079071 [2022-07-21T08:03:27.019Z] INFO: Retrieving Stack Cost... [2022-07-21T08:03:27.280Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T08:03:27.853Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T08:03:27.887Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T08:03:28.199Z] ---> logs-deploy.sh [2022-07-21T08:03:28.199Z] lf-activate-venv: SKIPPING [2022-07-21T08:03:28.199Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-49/1 [2022-07-21T08:03:28.199Z] INFO: archiving workspace using pattern(s): [2022-07-21T08:03:29.138Z] Archives upload complete. [2022-07-21T08:03:29.399Z] INFO: archiving logs to Nexus