Pull request #131 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 Obtained Jenkinsfile from 72cf00a3281a6f04879662c30a4eb2b18b0ede7c+58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (b8030d52d10e77ebc6a4fa3e009edde7b34cbb2b) 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-ssh1930637397755714968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh92882315274943882.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-131/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-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh433589737311692539.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-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5046461352022079906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh124079544408191662.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-131/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-131/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11089435819440536140.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-1980 in /w/workspace/edgexfoundry_device-gpio_PR-131 [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-131 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit 72cf00a3281a6f04879662c30a4eb2b18b0ede7c Merge succeeded, producing 72cf00a3281a6f04879662c30a4eb2b18b0ede7c Checking out Revision 72cf00a3281a6f04879662c30a4eb2b18b0ede7c (PR-131) > 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/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72cf00a3281a6f04879662c30a4eb2b18b0ede7c # 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 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72cf00a3281a6f04879662c30a4eb2b18b0ede7c # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:53:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:53:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:53:37 ========================================================= 16:53:37 EdgeX Global Pipelines Version Info 16:53:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:53:38 ------------------- 16:53:38 stable info: 16:53:38 ------------------- 16:53:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:53:38 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:53:38 Message: update stable to v1.0.245 16:53:39 ------------------- 16:53:39 experimental info: 16:53:39 ------------------- 16:53:39 Commited By: **** collab-it+edgex@linuxfoundation.org 16:53:39 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:53:39 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72cf00a3281a6f04879662c30a4eb2b18b0ede7c [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72cf00a [Pipeline] echo 16:53:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:53:40 provisioning config files... 16:53:40 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-131@tmp/config10447340539118038401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:41 ---> docker-login.sh 16:53:41 nexus3.edgexfoundry.org:10001 16:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:41 Configure a credential helper to remove this warning. See 16:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:41 16:53:41 Login Succeeded 16:53:41 nexus3.edgexfoundry.org:10002 16:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:41 Configure a credential helper to remove this warning. See 16:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:41 16:53:41 Login Succeeded 16:53:41 nexus3.edgexfoundry.org:10003 16:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:41 Configure a credential helper to remove this warning. See 16:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:41 16:53:41 Login Succeeded 16:53:41 nexus3.edgexfoundry.org:10004 16:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:41 Configure a credential helper to remove this warning. See 16:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:41 16:53:41 Login Succeeded 16:53:41 docker.io 16:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:41 Configure a credential helper to remove this warning. See 16:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:41 16:53:41 Login Succeeded 16:53:41 ---> docker-login.sh ends [Pipeline] } 16:53:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:53:42 + git rev-list -1 --merges 72cf00a3281a6f04879662c30a4eb2b18b0ede7c~1..72cf00a3281a6f04879662c30a4eb2b18b0ede7c [Pipeline] echo 16:53:42 -----------> git rev-list -1 --merges 72cf00a3281a6f04879662c30a4eb2b18b0ede7c~1..72cf00a3281a6f04879662c30a4eb2b18b0ede7c 72cf00a3281a6f04879662c30a4eb2b18b0ede7c [false] [Pipeline] sh 16:53:42 + git log --format=format:%s -1 72cf00a3281a6f04879662c30a4eb2b18b0ede7c [Pipeline] echo 16:53:42 ========================================================= 16:53:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:53:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:53:43 + git log --format=format:%s -1 72cf00a3281a6f04879662c30a4eb2b18b0ede7c [Pipeline] echo 16:53:43 [semverPrep] GIT_COMMIT: 72cf00a3281a6f04879662c30a4eb2b18b0ede7c, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo 16:53:43 [semverPrep] This is not a build commit. [Pipeline] sh 16:53:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:53:43 + grep -v github /etc/ssh/ssh_known_hosts 16:53:43 + [ -e /tmp/ssh_known_hosts ] 16:53:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:53:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:53:43 + sudo tee -a /etc/ssh/ssh_known_hosts 16:53:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:44 16:53:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:44 0.1.4: Pulling from edgex-devops/py-git-semver 16:53:44 b85a868b505f: Pulling fs layer 16:53:44 e2be974225ed: Pulling fs layer 16:53:44 339a4e72a1f5: Pulling fs layer 16:53:44 988bab9f4d93: Pulling fs layer 16:53:44 1469e6f7b9e6: Pulling fs layer 16:53:44 eaf3925da568: Pulling fs layer 16:53:44 bab4dde63d76: Pulling fs layer 16:53:44 bde34c3a00c8: Pulling fs layer 16:53:44 b352a97aabf1: Pulling fs layer 16:53:44 4872d77fe225: Pulling fs layer 16:53:44 5851b861e8e6: Pulling fs layer 16:53:44 bab4dde63d76: Waiting 16:53:44 bde34c3a00c8: Waiting 16:53:44 b352a97aabf1: Waiting 16:53:44 5851b861e8e6: Waiting 16:53:44 4872d77fe225: Waiting 16:53:44 988bab9f4d93: Waiting 16:53:44 1469e6f7b9e6: Waiting 16:53:44 eaf3925da568: Waiting 16:53:44 e2be974225ed: Verifying Checksum 16:53:44 e2be974225ed: Download complete 16:53:44 988bab9f4d93: Download complete 16:53:44 1469e6f7b9e6: Verifying Checksum 16:53:44 1469e6f7b9e6: Download complete 16:53:44 eaf3925da568: Verifying Checksum 16:53:44 eaf3925da568: Download complete 16:53:44 339a4e72a1f5: Verifying Checksum 16:53:44 339a4e72a1f5: Download complete 16:53:44 bde34c3a00c8: Download complete 16:53:44 b352a97aabf1: Verifying Checksum 16:53:44 b352a97aabf1: Download complete 16:53:44 4872d77fe225: Verifying Checksum 16:53:44 4872d77fe225: Download complete 16:53:44 5851b861e8e6: Download complete 16:53:44 b85a868b505f: Verifying Checksum 16:53:44 b85a868b505f: Download complete 16:53:45 bab4dde63d76: Verifying Checksum 16:53:45 bab4dde63d76: Download complete 16:53:46 b85a868b505f: Pull complete 16:53:46 e2be974225ed: Pull complete 16:53:46 339a4e72a1f5: Pull complete 16:53:46 988bab9f4d93: Pull complete 16:53:46 1469e6f7b9e6: Pull complete 16:53:47 eaf3925da568: Pull complete 16:53:48 bab4dde63d76: Pull complete 16:53:48 bde34c3a00c8: Pull complete 16:53:48 b352a97aabf1: Pull complete 16:53:48 4872d77fe225: Pull complete 16:53:49 5851b861e8e6: Pull complete 16:53:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:53:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:49 prd-ubuntu20.04-docker-8c-8g-1980 does not seem to be running inside a container 16:53:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-131 -v /w/workspace/edgexfoundry_device-gpio_PR-131:/w/workspace/edgexfoundry_device-gpio_PR-131:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-131@tmp:/w/workspace/edgexfoundry_device-gpio_PR-131@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:53:51 $ docker top d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 -eo pid,comm 16:53:51 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). 16:53:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:51 [ssh-agent] Looking for ssh-agent implementation... 16:53:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:51 $ docker exec d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 ssh-agent 16:53:52 SSH_AUTH_SOCK=/tmp/ssh-FTXzgCYiV0CG/agent.32 16:53:52 SSH_AGENT_PID=38 16:53:52 Running ssh-add (command line suppressed) 16:53:52 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-131@tmp/private_key_6087987074238228367.key (/w/workspace/edgexfoundry_device-gpio_PR-131@tmp/private_key_6087987074238228367.key) 16:53:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:52 + git tag --points-at HEAD [Pipeline] } 16:53:52 $ docker exec --env ******** --env ******** d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 ssh-agent -k 16:53:52 unset SSH_AUTH_SOCK; 16:53:52 unset SSH_AGENT_PID; 16:53:52 echo Agent pid 38 killed; 16:53:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:53:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:52 [ssh-agent] Looking for ssh-agent implementation... 16:53:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:52 $ docker exec d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 ssh-agent 16:53:53 SSH_AUTH_SOCK=/tmp/ssh-yCgvuOzUUYR8/agent.70 16:53:53 SSH_AGENT_PID=76 16:53:53 Running ssh-add (command line suppressed) 16:53:53 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-131@tmp/private_key_11669780777701773612.key (/w/workspace/edgexfoundry_device-gpio_PR-131@tmp/private_key_11669780777701773612.key) 16:53:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:53 + git semver init 16:53:53 2023-03-15 16:53:53,687 [run_init] DEBUG init version:0.0.0 force:False 16:53:53 2023-03-15 16:53:53,688 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-131/.semver 16:53:53 2023-03-15 16:53:53,689 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-131/.semver 16:53:53 2023-03-15 16:53:53,689 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-131/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-131, universal_newlines=False, shell=None, istream=None) 16:53:54 2023-03-15 16:53:54,591 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-131/.git/info/exclude 16:53:54 2023-03-15 16:53:54,591 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-131/.semver/PR-131 with force:False 16:53:54 2023-03-15 16:53:54,592 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-131/.semver/PR-131 16:53:54 2023-03-15 16:53:54,596 [execute] INFO git cat-file --batch-check 16:53:54 2023-03-15 16:53:54,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-131/.semver, universal_newlines=False, shell=None, istream=) 16:53:54 2023-03-15 16:53:54,602 [execute] INFO git cat-file --batch 16:53:54 2023-03-15 16:53:54,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-131/.semver, universal_newlines=False, shell=None, istream=) 16:53:54 2023-03-15 16:53:54,608 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-131/.semver/PR-131 16:53:54 0.0.0 [Pipeline] } 16:53:54 $ docker exec --env ******** --env ******** d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 ssh-agent -k 16:53:54 unset SSH_AUTH_SOCK; 16:53:54 unset SSH_AGENT_PID; 16:53:54 echo Agent pid 76 killed; 16:53:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:55 + git semver [Pipeline] } 16:53:55 $ docker stop --time=1 d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 16:53:56 $ docker rm -f --volumes d80dce20ff29a164d042980be2ab25efd4f6763fbc9a6a06711d56b28d7e7143 [Pipeline] // withDockerContainer [Pipeline] sh 16:53:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:53:57 Stashed 1 file(s) [Pipeline] echo 16:53:57 [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 16:53:58 provisioning config files... 16:53:58 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-131@tmp/config11826939544315371036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:58 ---> docker-login.sh 16:53:58 nexus3.edgexfoundry.org:10001 16:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:58 Configure a credential helper to remove this warning. See 16:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:58 16:53:58 Login Succeeded 16:53:58 nexus3.edgexfoundry.org:10002 16:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:58 Configure a credential helper to remove this warning. See 16:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:58 16:53:58 Login Succeeded 16:53:58 nexus3.edgexfoundry.org:10003 16:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:58 Configure a credential helper to remove this warning. See 16:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:58 16:53:58 Login Succeeded 16:53:58 nexus3.edgexfoundry.org:10004 16:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:58 Configure a credential helper to remove this warning. See 16:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:58 16:53:58 Login Succeeded 16:53:58 docker.io 16:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:59 Configure a credential helper to remove this warning. See 16:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:59 16:53:59 Login Succeeded 16:53:59 ---> docker-login.sh ends [Pipeline] } 16:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:53:59 ========================================================= 16:53:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:53:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:54:00 Sending build context to Docker daemon 16.02MB 16:54:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:54:00 Step 2/12 : FROM ${BASE} AS builder 16:54:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:54:00 63b65145d645: Pulling fs layer 16:54:00 a2d21d5440eb: Pulling fs layer 16:54:00 935e6c44a52c: Pulling fs layer 16:54:00 94cc34f8dd06: Pulling fs layer 16:54:00 30dea6a524f1: Pulling fs layer 16:54:00 a2aff8979fd8: Pulling fs layer 16:54:00 6808be2612f2: Pulling fs layer 16:54:00 f25807f1079a: Pulling fs layer 16:54:00 30dea6a524f1: Waiting 16:54:00 a2aff8979fd8: Waiting 16:54:00 6808be2612f2: Waiting 16:54:00 f25807f1079a: Waiting 16:54:00 94cc34f8dd06: Waiting 16:54:00 a2d21d5440eb: Verifying Checksum 16:54:00 a2d21d5440eb: Download complete 16:54:00 94cc34f8dd06: Verifying Checksum 16:54:00 94cc34f8dd06: Download complete 16:54:00 30dea6a524f1: Verifying Checksum 16:54:00 30dea6a524f1: Download complete 16:54:00 63b65145d645: Verifying Checksum 16:54:00 63b65145d645: Download complete 16:54:00 a2aff8979fd8: Verifying Checksum 16:54:00 a2aff8979fd8: Download complete 16:54:00 f25807f1079a: Verifying Checksum 16:54:00 f25807f1079a: Download complete 16:54:00 63b65145d645: Pull complete 16:54:00 935e6c44a52c: Verifying Checksum 16:54:00 935e6c44a52c: Download complete 16:54:01 a2d21d5440eb: Pull complete 16:54:02 6808be2612f2: Verifying Checksum 16:54:02 6808be2612f2: Download complete 16:54:05 935e6c44a52c: Pull complete 16:54:05 94cc34f8dd06: Pull complete 16:54:05 30dea6a524f1: Pull complete 16:54:05 a2aff8979fd8: Pull complete 16:54:08 6808be2612f2: Pull complete 16:54:09 f25807f1079a: Pull complete 16:54:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:54:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:54:09 ---> 3b553350e43f 16:54:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:54:12 ---> Running in 7b3a2c2ee2b4 16:54:12 Removing intermediate container 7b3a2c2ee2b4 16:54:12 ---> d4d5a8b22c89 16:54:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:54:12 ---> Running in 3cc08b15999d 16:54:12 Removing intermediate container 3cc08b15999d 16:54:12 ---> e08544be64c6 16:54:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 16:54:12 ---> Running in 2a8b9b3a8d3c 16:54:12 Removing intermediate container 2a8b9b3a8d3c 16:54:12 ---> 8012ebafb97f 16:54:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:54:12 ---> Running in c94b9471f007 16:54:12 Removing intermediate container c94b9471f007 16:54:12 ---> f8740da7d0ff 16:54:12 Step 7/12 : WORKDIR /device-gpio 16:54:12 ---> Running in 2887c643038d 16:54:12 Removing intermediate container 2887c643038d 16:54:12 ---> 5d68ea2588ce 16:54:12 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:12 ---> Running in 1b6047932373 16:54:12 Still waiting to schedule task 16:54:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:54:13 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:54:13 (2/4) Installing libedit (20221030.3.1-r0) 16:54:13 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:54:13 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:54:13 Executing busybox-1.35.0-r29.trigger 16:54:13 OK: 269 MiB in 57 packages 16:54:14 Removing intermediate container 1b6047932373 16:54:14 ---> 4cc58acee92b 16:54:14 Step 9/12 : COPY go.mod vendor* ./ 16:54:14 ---> 7f43441d84e5 16:54:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:14 ---> Running in 2d4f01036aee 16:54:40 Removing intermediate container 2d4f01036aee 16:54:40 ---> bef2bb324e11 16:54:40 Step 11/12 : COPY . . 16:54:41 ---> 8b43907b10c4 16:54:41 Step 12/12 : RUN ${MAKE} 16:54:41 ---> Running in 91f9c0147c5e 16:54:41 noop 16:54:41 Removing intermediate container 91f9c0147c5e 16:54:41 ---> 19cf56fcacbe 16:54:41 Successfully built 19cf56fcacbe 16:54:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:42 + docker inspect -f . ci-base-image-x86_64 16:54:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:42 prd-ubuntu20.04-docker-8c-8g-1980 does not seem to be running inside a container 16:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-131 -v /w/workspace/edgexfoundry_device-gpio_PR-131:/w/workspace/edgexfoundry_device-gpio_PR-131:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-131@tmp:/w/workspace/edgexfoundry_device-gpio_PR-131@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 ******** ci-base-image-x86_64 cat 16:54:42 $ docker top 7174b6b6e7917bc72481c6ff761e5f36e78eaf3b1dcb12b75189ce2375924235 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:43 + go version 16:54:43 go version go1.20.2 linux/amd64 [Pipeline] } 16:54:43 $ docker stop --time=1 7174b6b6e7917bc72481c6ff761e5f36e78eaf3b1dcb12b75189ce2375924235 16:54:44 $ docker rm -f --volumes 7174b6b6e7917bc72481c6ff761e5f36e78eaf3b1dcb12b75189ce2375924235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:45 + docker inspect -f . ci-base-image-x86_64 16:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:45 prd-ubuntu20.04-docker-8c-8g-1980 does not seem to be running inside a container 16:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-131 -v /w/workspace/edgexfoundry_device-gpio_PR-131:/w/workspace/edgexfoundry_device-gpio_PR-131:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-131@tmp:/w/workspace/edgexfoundry_device-gpio_PR-131@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 ******** ci-base-image-x86_64 cat 16:54:45 $ docker top 3cca5d8a155aced4d2f86366c2cb1338c78f0419cecf1e3e9a2cc2d2a0d34fd5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-131 [Pipeline] fileExists [Pipeline] sh 16:54:46 + make test 16:54:46 go test ./... -coverprofile=coverage.out ./... 16:54:51 ? github.com/edgexfoundry/device-gpio [no test files] 16:55:01 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:55:01 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:55:06 go vet ./... 16:55:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:55:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:55:09 ./bin/test-attribution-txt.sh [Pipeline] echo 16:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:55:09 $ docker stop --time=1 3cca5d8a155aced4d2f86366c2cb1338c78f0419cecf1e3e9a2cc2d2a0d34fd5 16:55:11 $ docker rm -f --volumes 3cca5d8a155aced4d2f86366c2cb1338c78f0419cecf1e3e9a2cc2d2a0d34fd5 [Pipeline] // withDockerContainer [Pipeline] sh 16:55:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:55:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:55:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:55:13 + ls -al . 16:55:13 total 160 16:55:13 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:54 . 16:55:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:53 .. 16:55:13 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 16:53 .dockerignore 16:55:13 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:53 .git 16:55:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:53 .github 16:55:13 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 16:53 .gitignore 16:55:13 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:53 .golangci.yml 16:55:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:53 .semver 16:55:13 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 16:53 Attribution.txt 16:55:13 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 16:53 CHANGELOG.md 16:55:13 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 16:53 Dockerfile 16:55:13 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:53 GOVERNANCE.md 16:55:13 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 16:53 Jenkinsfile 16:55:13 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:53 LICENSE 16:55:13 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 16:53 Makefile 16:55:13 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 16:53 OWNERS.md 16:55:13 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 16:53 README.md 16:55:13 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:53 VERSION 16:55:13 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:53 bin 16:55:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:53 cmd 16:55:13 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 16:54 coverage.out 16:55:13 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 16:53 go.mod 16:55:13 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 15 16:53 go.sum 16:55:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:53 internal 16:55:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:53 snap 16:55:13 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 16:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:13 + 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=72cf00a3281a6f04879662c30a4eb2b18b0ede7c --label arch=amd64 --label version=0.0.0 . 16:55:13 Sending build context to Docker daemon 16.02MB 16:55:13 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:55:13 Step 2/25 : FROM ${BASE} AS builder 16:55:13 ---> 19cf56fcacbe 16:55:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:55:14 ---> Running in d2cb332bb4a4 16:55:14 Removing intermediate container d2cb332bb4a4 16:55:14 ---> 7ea094e3034e 16:55:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:55:14 ---> Running in 30f41c0378b1 16:55:14 Removing intermediate container 30f41c0378b1 16:55:14 ---> eb91721bf6ba 16:55:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 16:55:14 ---> Running in cf17f5264270 16:55:14 Removing intermediate container cf17f5264270 16:55:14 ---> ba664696b8f2 16:55:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:55:14 ---> Running in c9ee11f40c53 16:55:14 Removing intermediate container c9ee11f40c53 16:55:14 ---> 5a85f5ce7bf5 16:55:14 Step 7/25 : WORKDIR /device-gpio 16:55:14 ---> Running in 6a17e68d2991 16:55:14 Removing intermediate container 6a17e68d2991 16:55:14 ---> 10a31f057b31 16:55:14 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:14 ---> Running in e36ccb3f4263 16:55:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:55:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:55:15 OK: 269 MiB in 57 packages 16:55:15 Removing intermediate container e36ccb3f4263 16:55:15 ---> c80068e451f2 16:55:15 Step 9/25 : COPY go.mod vendor* ./ 16:55:15 ---> 156bc2a38080 16:55:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:15 ---> Running in 28d315a60bb9 16:55:16 Removing intermediate container 28d315a60bb9 16:55:16 ---> d87ac060af79 16:55:16 Step 11/25 : COPY . . 16:55:16 ---> b3ea80e21571 16:55:16 Step 12/25 : RUN ${MAKE} 16:55:16 ---> Running in 400088f4a1f5 16:55:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 16:55:35 Removing intermediate container 400088f4a1f5 16:55:35 ---> 38873808c6e2 16:55:35 Step 13/25 : FROM alpine:3.17 16:55:35 3.17: Pulling from library/alpine 16:55:35 63b65145d645: Already exists 16:55:35 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:55:35 Status: Downloaded newer image for alpine:3.17 16:55:35 ---> b2aa39c304c2 16:55:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:55:35 ---> Running in 6fed6af6751f 16:55:35 Removing intermediate container 6fed6af6751f 16:55:35 ---> 56847d60f018 16:55:35 Step 15/25 : RUN apk add --update --no-cache 16:55:35 ---> Running in 9194618a3722 16:55:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:55:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:55:36 OK: 7 MiB in 15 packages 16:55:37 Removing intermediate container 9194618a3722 16:55:37 ---> 73b7c08a0cae 16:55:37 Step 16/25 : WORKDIR / 16:55:37 ---> Running in 3609c00ba0f3 16:55:37 Removing intermediate container 3609c00ba0f3 16:55:37 ---> 6c95ba778476 16:55:37 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:55:37 ---> 1f647f939621 16:55:37 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:55:37 ---> c0cc1e8cb025 16:55:37 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:55:37 ---> 384741b08740 16:55:37 Step 20/25 : EXPOSE 59910 16:55:37 ---> Running in b11aee8c1299 16:55:38 Removing intermediate container b11aee8c1299 16:55:38 ---> 31cc3e9ed789 16:55:38 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:55:38 ---> Running in bc7eb2c0096f 16:55:38 Removing intermediate container bc7eb2c0096f 16:55:38 ---> 937a99793fdf 16:55:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:55:38 ---> Running in d6b32bf4ede3 16:55:38 Removing intermediate container d6b32bf4ede3 16:55:38 ---> ed0254aebc3c 16:55:38 Step 23/25 : LABEL arch=amd64 16:55:38 ---> Running in 36dce164b5a4 16:55:38 Removing intermediate container 36dce164b5a4 16:55:38 ---> c9a4e00dd812 16:55:38 Step 24/25 : LABEL git_sha=72cf00a3281a6f04879662c30a4eb2b18b0ede7c 16:55:38 ---> Running in 5a255f8c8175 16:55:38 Removing intermediate container 5a255f8c8175 16:55:38 ---> 1eff5a383ee1 16:55:38 Step 25/25 : LABEL version=0.0.0 16:55:38 ---> Running in 6e60d38ff220 16:55:38 Removing intermediate container 6e60d38ff220 16:55:38 ---> 4e9cc9ee3eac 16:55:38 [Warning] One or more build-args [ARCH] were not consumed 16:55:38 Successfully built 4e9cc9ee3eac 16:55:38 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 16:55:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:39 16:55:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:39 latest: Pulling from edgex-lftools-log-publisher 16:55:39 5eb5b503b376: Pulling fs layer 16:55:39 5c69ac0246d0: Pulling fs layer 16:55:39 ec43610c2a17: Pulling fs layer 16:55:39 3a2ae6a8a46f: Pulling fs layer 16:55:39 33b1e0a273af: Pulling fs layer 16:55:39 5d3b04190fa2: Pulling fs layer 16:55:39 2f39f015ded8: Pulling fs layer 16:55:39 3a2ae6a8a46f: Waiting 16:55:39 33b1e0a273af: Waiting 16:55:39 5d3b04190fa2: Waiting 16:55:39 2f39f015ded8: Waiting 16:55:39 5c69ac0246d0: Verifying Checksum 16:55:39 5c69ac0246d0: Download complete 16:55:39 3a2ae6a8a46f: Verifying Checksum 16:55:39 3a2ae6a8a46f: Download complete 16:55:39 33b1e0a273af: Verifying Checksum 16:55:39 33b1e0a273af: Download complete 16:55:39 5d3b04190fa2: Verifying Checksum 16:55:39 5d3b04190fa2: Download complete 16:55:39 ec43610c2a17: Verifying Checksum 16:55:39 ec43610c2a17: Download complete 16:55:39 5eb5b503b376: Verifying Checksum 16:55:39 5eb5b503b376: Download complete 16:55:40 2f39f015ded8: Download complete 16:55:41 5eb5b503b376: Pull complete 16:55:41 5c69ac0246d0: Pull complete 16:55:41 ec43610c2a17: Pull complete 16:55:41 3a2ae6a8a46f: Pull complete 16:55:41 33b1e0a273af: Pull complete 16:55:41 5d3b04190fa2: Pull complete 16:55:45 2f39f015ded8: Pull complete 16:55:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:46 prd-ubuntu20.04-docker-8c-8g-1980 does not seem to be running inside a container 16:55:46 $ 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-131 -v /w/workspace/edgexfoundry_device-gpio_PR-131:/w/workspace/edgexfoundry_device-gpio_PR-131:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-131@tmp:/w/workspace/edgexfoundry_device-gpio_PR-131@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:55:48 $ docker top 1c4f7b81a61059a85054882eb38efad144684de57234caec6a34c909200d3d75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:49 ---> job-cost.sh 16:55:49 lf-activate-venv: SKIPPING 16:55:49 INFO: No Stack... 16:55:49 INFO: Retrieving Pricing Info for: v3-standard-8 16:55:49 INFO: Archiving Costs [Pipeline] sh 16:55:50 + cat /w/workspace/edgexfoundry_device-gpio_PR-131/archives/cost.csv 16:55:50 + cut -d, -f6 [Pipeline] lock 16:55:50 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] 16:55:50 Resource [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] did not exist. Created. 16:55:50 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:55:50 + echo total: 0.2199999988079071 [Pipeline] stash 16:55:50 Stashed 1 file(s) [Pipeline] } 16:55:50 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:55:50 $ docker stop --time=1 1c4f7b81a61059a85054882eb38efad144684de57234caec6a34c909200d3d75 16:55:51 $ docker rm -f --volumes 1c4f7b81a61059a85054882eb38efad144684de57234caec6a34c909200d3d75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:07:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2239 in /w/workspace/edgexfoundry_device-gpio_PR-131 [Pipeline] { [Pipeline] ws 17:07:27 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 17:07:27 The recommended git tool is: git 17:07:32 using credential edgex-jenkins-ssh 17:07:32 Cloning the remote Git repository 17:07:32 Cloning repository git@github.com:edgexfoundry/device-gpio.git 17:07:32 > git init /w/workspace/device-gpio/1 # timeout=10 17:07:32 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:07:32 > git --version # timeout=10 17:07:32 > git --version # 'git version 2.25.1' 17:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:07:34 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:07:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:07:35 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit 72cf00a3281a6f04879662c30a4eb2b18b0ede7c 17:07:35 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:07:35 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:07:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:07:35 > git config core.sparsecheckout # timeout=10 17:07:36 > git checkout -f 72cf00a3281a6f04879662c30a4eb2b18b0ede7c # timeout=10 17:07:36 > git remote # timeout=10 17:07:36 > git config --get remote.origin.url # timeout=10 17:07:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:36 > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 17:07:36 Merge succeeded, producing 72cf00a3281a6f04879662c30a4eb2b18b0ede7c 17:07:36 Checking out Revision 72cf00a3281a6f04879662c30a4eb2b18b0ede7c (PR-131) 17:07:36 > git rev-parse HEAD^{commit} # timeout=10 17:07:36 > git config core.sparsecheckout # timeout=10 17:07:36 > git checkout -f 72cf00a3281a6f04879662c30a4eb2b18b0ede7c # timeout=10 17:07:39 Commit message: "refactor(snap): Update command and metadata sourcing" 17:07:39 > git --version # timeout=10 17:07:39 > git --version # 'git version 2.25.1' 17:07:39 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:07:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:07:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:07:40 Dload Upload Total Spent Left Speed 17:07:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 17:07:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:07:41 + sudo tee /etc/docker/daemon.new 17:07:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:07:41 { 17:07:41 "registry-mirrors": [ 17:07:41 "https://nexus3.edgexfoundry.org:10001" 17:07:41 ], 17:07:41 "bip": "10.250.0.254/24", 17:07:41 "hosts": [ 17:07:41 "tcp://0.0.0.0:5555", 17:07:41 "unix:///var/run/docker.sock" 17:07:41 ], 17:07:41 "mtu": 1458, 17:07:41 "selinux-enabled": true, 17:07:41 "seccomp-profile": "/etc/docker/seccomp.json" 17:07:41 } [Pipeline] sh 17:07:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:07:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:00 provisioning config files... 17:08:00 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config16336685725552029911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:08:01 ---> docker-login.sh 17:08:01 nexus3.edgexfoundry.org:10001 17:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:02 Configure a credential helper to remove this warning. See 17:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:02 17:08:02 Login Succeeded 17:08:02 nexus3.edgexfoundry.org:10002 17:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:02 Configure a credential helper to remove this warning. See 17:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:02 17:08:02 Login Succeeded 17:08:02 nexus3.edgexfoundry.org:10003 17:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:02 Configure a credential helper to remove this warning. See 17:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:02 17:08:02 Login Succeeded 17:08:02 nexus3.edgexfoundry.org:10004 17:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:03 Configure a credential helper to remove this warning. See 17:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:03 17:08:03 Login Succeeded 17:08:03 docker.io 17:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:03 Configure a credential helper to remove this warning. See 17:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:03 17:08:03 Login Succeeded 17:08:03 ---> docker-login.sh ends [Pipeline] } 17:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:08:04 ========================================================= 17:08:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:08:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:08:06 Sending build context to Docker daemon 8.091MB 17:08:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:08:06 Step 2/12 : FROM ${BASE} AS builder 17:08:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:08:07 af6eaf76a39c: Pulling fs layer 17:08:07 55522c791124: Pulling fs layer 17:08:07 ce5c4a1c91eb: Pulling fs layer 17:08:07 169dfbe0d373: Pulling fs layer 17:08:07 e1ff8fa3b103: Pulling fs layer 17:08:07 52ebb69f0ebf: Pulling fs layer 17:08:07 5abe8eddf0d5: Pulling fs layer 17:08:07 169dfbe0d373: Waiting 17:08:07 e1ff8fa3b103: Waiting 17:08:07 52ebb69f0ebf: Waiting 17:08:07 5abe8eddf0d5: Waiting 17:08:07 55522c791124: Verifying Checksum 17:08:07 55522c791124: Download complete 17:08:07 169dfbe0d373: Verifying Checksum 17:08:07 169dfbe0d373: Download complete 17:08:07 e1ff8fa3b103: Verifying Checksum 17:08:07 e1ff8fa3b103: Download complete 17:08:07 af6eaf76a39c: Download complete 17:08:08 af6eaf76a39c: Pull complete 17:08:08 5abe8eddf0d5: Verifying Checksum 17:08:08 5abe8eddf0d5: Download complete 17:08:08 55522c791124: Pull complete 17:08:09 ce5c4a1c91eb: Verifying Checksum 17:08:09 ce5c4a1c91eb: Download complete 17:08:09 52ebb69f0ebf: Verifying Checksum 17:08:09 52ebb69f0ebf: Download complete 17:08:20 ce5c4a1c91eb: Pull complete 17:08:20 169dfbe0d373: Pull complete 17:08:20 e1ff8fa3b103: Pull complete 17:08:27 52ebb69f0ebf: Pull complete 17:08:29 5abe8eddf0d5: Pull complete 17:08:29 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:08:29 ---> 6cb57ee374ae 17:08:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:08:31 ---> Running in f8db33bd12ee 17:08:31 Removing intermediate container f8db33bd12ee 17:08:31 ---> 94697aacc7ea 17:08:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:08:31 ---> Running in 527bdf2f37c2 17:08:31 Removing intermediate container 527bdf2f37c2 17:08:31 ---> 6ed9e2d59ad5 17:08:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:08:31 ---> Running in c14871452d4b 17:08:31 Removing intermediate container c14871452d4b 17:08:31 ---> 6c4fe0c9b229 17:08:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:08:32 ---> Running in 3b598ebf1cf1 17:08:32 Removing intermediate container 3b598ebf1cf1 17:08:32 ---> 6074621abb9a 17:08:32 Step 7/12 : WORKDIR /device-gpio 17:08:32 ---> Running in 2b09def8317b 17:08:32 Removing intermediate container 2b09def8317b 17:08:32 ---> 27c210e5f2cf 17:08:32 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:08:32 ---> Running in 05b62144fafa 17:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:08:35 (1/4) Installing openssh-keygen (9.1_p1-r2) 17:08:35 (2/4) Installing libedit (20221030.3.1-r0) 17:08:35 (3/4) Installing openssh-client-common (9.1_p1-r2) 17:08:35 (4/4) Installing openssh-client-default (9.1_p1-r2) 17:08:35 Executing busybox-1.35.0-r29.trigger 17:08:35 OK: 268 MiB in 57 packages 17:08:36 Removing intermediate container 05b62144fafa 17:08:36 ---> 8ef4eea76746 17:08:36 Step 9/12 : COPY go.mod vendor* ./ 17:08:37 ---> d016394234d2 17:08:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:08:37 ---> Running in 7ef39eac9381 17:09:58 Removing intermediate container 7ef39eac9381 17:09:58 ---> 7c459c95995c 17:09:58 Step 11/12 : COPY . . 17:09:58 ---> 0b720073b378 17:09:58 Step 12/12 : RUN ${MAKE} 17:09:58 ---> Running in 1a1108282189 17:09:58 noop 17:09:58 Removing intermediate container 1a1108282189 17:09:58 ---> ae1788f8fe3c 17:09:58 Successfully built ae1788f8fe3c 17:09:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:59 + docker inspect -f . ci-base-image-arm64 17:09:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:09:59 prd-ubuntu20.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container 17:09:59 $ 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 ******** ci-base-image-arm64 cat 17:10:00 $ docker top 214e53dfe51aac482e5234029a6a75dc66800457dbd7498e5f04e30ca414d068 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:01 + go version 17:10:01 go version go1.20.2 linux/arm64 [Pipeline] } 17:10:01 $ docker stop --time=1 214e53dfe51aac482e5234029a6a75dc66800457dbd7498e5f04e30ca414d068 17:10:04 $ docker rm -f --volumes 214e53dfe51aac482e5234029a6a75dc66800457dbd7498e5f04e30ca414d068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:05 + docker inspect -f . ci-base-image-arm64 17:10:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:05 prd-ubuntu20.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container 17:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat 17:10:07 $ docker top 7689fadb66bb6ef76683c5e3a723cc462f812167e5afe5c3dcd0f22f9feae64d -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:07 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 17:10:08 + make test 17:10:08 go test ./... -coverprofile=coverage.out ./... 17:10:40 ? github.com/edgexfoundry/device-gpio [no test files] 17:12:32 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:12:32 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:12:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:12:32 go vet ./... 17:13:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:13:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:13:04 ./bin/test-attribution-txt.sh [Pipeline] echo 17:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:13:04 $ docker stop --time=1 7689fadb66bb6ef76683c5e3a723cc462f812167e5afe5c3dcd0f22f9feae64d 17:13:08 $ docker rm -f --volumes 7689fadb66bb6ef76683c5e3a723cc462f812167e5afe5c3dcd0f22f9feae64d [Pipeline] // withDockerContainer [Pipeline] sh 17:13:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:13:09 Warning: overwriting stash ‘coverage-report’ 17:13:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:10 + ls -al . 17:13:10 total 156 17:13:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 17:10 . 17:13:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 17:07 .. 17:13:10 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 17:07 .dockerignore 17:13:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 17:07 .git 17:13:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 17:07 .github 17:13:10 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 17:07 .gitignore 17:13:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 17:07 .golangci.yml 17:13:10 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 17:07 Attribution.txt 17:13:10 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 17:07 CHANGELOG.md 17:13:10 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 17:07 Dockerfile 17:13:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 17:07 GOVERNANCE.md 17:13:10 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 17:07 Jenkinsfile 17:13:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 17:07 LICENSE 17:13:10 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 17:07 Makefile 17:13:10 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 17:07 OWNERS.md 17:13:10 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 17:07 README.md 17:13:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:53 VERSION 17:13:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 17:07 bin 17:13:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 17:07 cmd 17:13:10 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 17:10 coverage.out 17:13:10 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 17:07 go.mod 17:13:10 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 15 17:07 go.sum 17:13:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 17:07 internal 17:13:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 17:07 snap 17:13:10 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 17:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:11 + 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=72cf00a3281a6f04879662c30a4eb2b18b0ede7c --label arch=arm64 --label version=0.0.0 . 17:13:11 Sending build context to Docker daemon 8.092MB 17:13:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:13:11 Step 2/25 : FROM ${BASE} AS builder 17:13:11 ---> ae1788f8fe3c 17:13:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:13:11 ---> Running in 213b6128f2bb 17:13:12 Removing intermediate container 213b6128f2bb 17:13:12 ---> b63025e38b64 17:13:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:13:12 ---> Running in 8287b367969f 17:13:12 Removing intermediate container 8287b367969f 17:13:12 ---> d40994aadb6c 17:13:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:13:12 ---> Running in 8cd63014cd3c 17:13:12 Removing intermediate container 8cd63014cd3c 17:13:12 ---> 671cb26c0b27 17:13:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:13:12 ---> Running in 72b76ffea48a 17:13:13 Removing intermediate container 72b76ffea48a 17:13:13 ---> 5d79d2dec1e0 17:13:13 Step 7/25 : WORKDIR /device-gpio 17:13:13 ---> Running in 962c9eea4d46 17:13:13 Removing intermediate container 962c9eea4d46 17:13:13 ---> 61d564b7f870 17:13:13 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:13:13 ---> Running in e54e2bd68045 17:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:13:15 OK: 268 MiB in 57 packages 17:13:16 Removing intermediate container e54e2bd68045 17:13:16 ---> ef293853b2d7 17:13:16 Step 9/25 : COPY go.mod vendor* ./ 17:13:20 ---> 7c7d7d652d7b 17:13:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:20 ---> Running in 0ff651acaf18 17:13:23 Removing intermediate container 0ff651acaf18 17:13:23 ---> 507de56a3fbc 17:13:23 Step 11/25 : COPY . . 17:13:23 ---> 9fd0ca73cc19 17:13:23 Step 12/25 : RUN ${MAKE} 17:13:23 ---> Running in 9440bcad5d0b 17:13:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 17:15:31 Removing intermediate container 9440bcad5d0b 17:15:31 ---> abc980a2a321 17:15:31 Step 13/25 : FROM alpine:3.17 17:15:31 3.17: Pulling from library/alpine 17:15:31 af6eaf76a39c: Already exists 17:15:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:15:31 Status: Downloaded newer image for alpine:3.17 17:15:31 ---> d74e625d9115 17:15:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:15:31 ---> Running in e0a36f541bb0 17:15:31 Removing intermediate container e0a36f541bb0 17:15:31 ---> 0f50625290ca 17:15:31 Step 15/25 : RUN apk add --update --no-cache 17:15:31 ---> Running in de7b6993f06c 17:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:15:32 OK: 7 MiB in 15 packages 17:15:32 Removing intermediate container de7b6993f06c 17:15:32 ---> 51e994d90132 17:15:32 Step 16/25 : WORKDIR / 17:15:33 ---> Running in 3a3b73382c22 17:15:33 Removing intermediate container 3a3b73382c22 17:15:33 ---> a5344796175f 17:15:33 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:15:33 ---> 3d0f17b87be4 17:15:33 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:15:34 ---> db99c3bfaccc 17:15:34 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:15:35 ---> eb7c51f32c38 17:15:35 Step 20/25 : EXPOSE 59910 17:15:35 ---> Running in 826cdd9a61ca 17:15:35 Removing intermediate container 826cdd9a61ca 17:15:35 ---> 7db3939fa708 17:15:35 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:15:35 ---> Running in a4c3ffd3444e 17:15:36 Removing intermediate container a4c3ffd3444e 17:15:36 ---> 95fa8514618f 17:15:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:15:36 ---> Running in 96ec5bc2ee91 17:15:36 Removing intermediate container 96ec5bc2ee91 17:15:36 ---> 20081ef97a75 17:15:36 Step 23/25 : LABEL arch=arm64 17:15:36 ---> Running in 904f3c3fa828 17:15:36 Removing intermediate container 904f3c3fa828 17:15:36 ---> ac21626fb4ed 17:15:36 Step 24/25 : LABEL git_sha=72cf00a3281a6f04879662c30a4eb2b18b0ede7c 17:15:36 ---> Running in 6c1c38a29f29 17:15:37 Removing intermediate container 6c1c38a29f29 17:15:37 ---> 97aa3b2fa0a8 17:15:37 Step 25/25 : LABEL version=0.0.0 17:15:37 ---> Running in e37c94a41677 17:15:37 Removing intermediate container e37c94a41677 17:15:37 ---> caa59d27279f 17:15:37 [Warning] One or more build-args [ARCH] were not consumed 17:15:37 Successfully built caa59d27279f 17:15:37 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 17:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:38 17:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:38 arm64: Pulling from edgex-lftools-log-publisher 17:15:38 8998bd30e6a1: Pulling fs layer 17:15:38 04944245beec: Pulling fs layer 17:15:38 699f458cf7ca: Pulling fs layer 17:15:38 765212b225bb: Pulling fs layer 17:15:38 f23df028b6ca: Pulling fs layer 17:15:38 d65c8cfc05b1: Pulling fs layer 17:15:38 2437ff75d9bd: Pulling fs layer 17:15:38 765212b225bb: Waiting 17:15:38 d65c8cfc05b1: Waiting 17:15:38 f23df028b6ca: Waiting 17:15:38 2437ff75d9bd: Waiting 17:15:39 04944245beec: Verifying Checksum 17:15:39 04944245beec: Download complete 17:15:39 765212b225bb: Verifying Checksum 17:15:39 765212b225bb: Download complete 17:15:39 f23df028b6ca: Verifying Checksum 17:15:39 f23df028b6ca: Download complete 17:15:39 d65c8cfc05b1: Verifying Checksum 17:15:39 d65c8cfc05b1: Download complete 17:15:39 699f458cf7ca: Verifying Checksum 17:15:39 699f458cf7ca: Download complete 17:15:39 8998bd30e6a1: Verifying Checksum 17:15:39 8998bd30e6a1: Download complete 17:15:41 2437ff75d9bd: Verifying Checksum 17:15:41 2437ff75d9bd: Download complete 17:15:43 8998bd30e6a1: Pull complete 17:15:44 04944245beec: Pull complete 17:15:45 699f458cf7ca: Pull complete 17:15:45 765212b225bb: Pull complete 17:15:46 f23df028b6ca: Pull complete 17:15:46 d65c8cfc05b1: Pull complete 17:16:01 2437ff75d9bd: Pull complete 17:16:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:01 prd-ubuntu20.04-docker-arm64-4c-16g-2239 does not seem to be running inside a container 17:16:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:16:04 $ docker top 7779e821b29fe80dc4e132677e28e6c271d1ce285d6092f79ea20dba4bb0214c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:05 ---> job-cost.sh 17:16:05 lf-activate-venv: SKIPPING 17:16:05 INFO: No Stack... 17:16:05 INFO: Retrieving Pricing Info for: v3-standard-4 17:16:06 INFO: Archiving Costs [Pipeline] sh 17:16:07 + cut -d, -f6 17:16:07 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 17:16:07 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] 17:16:07 Resource [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] did not exist. Created. 17:16:07 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:08 /w/workspace/device-gpio/1@tmp/durable-8e0af6b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:16:08 + echo total: 0.10999999940395355 [Pipeline] stash 17:16:08 Warning: overwriting stash ‘stack-cost’ 17:16:08 Stashed 1 file(s) [Pipeline] } 17:16:08 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:08 $ docker stop --time=1 7779e821b29fe80dc4e132677e28e6c271d1ce285d6092f79ea20dba4bb0214c 17:16:10 $ docker rm -f --volumes 7779e821b29fe80dc4e132677e28e6c271d1ce285d6092f79ea20dba4bb0214c [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 17:16:11 provisioning config files... 17:16:11 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-131@tmp/config13897919154389530089tmp [Pipeline] { [Pipeline] sh 17:16:11 + set +x 17:16:11 + + curlbash -s -s https://codecov.io/bash -- 17:16:11 17:16:11 17:16:11 _____ _ 17:16:11 / ____| | | 17:16:11 | | ___ __| | ___ ___ _____ __ 17:16:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:16:11 | |___| (_) | (_| | __/ (_| (_) \ V / 17:16:11 \_____\___/ \__,_|\___|\___\___/ \_/ 17:16:11 Bash-1.0.6 17:16:11 17:16:11 17:16:11 ==> git version 2.25.1 found 17:16:11 ==> 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 17:16:11 Release-Date: 2020-01-08 17:16:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:16:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:16:11 ==> Jenkins CI detected. 17:16:11 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-131 17:16:11 project root: . 17:16:11 --> token set from env 17:16:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:16:11 ==> Running gcov in . (disable via -X gcov) 17:16:11 ==> Python coveragepy not found 17:16:11 ==> Searching for coverage reports in: 17:16:11 + . 17:16:11 -> Found 1 reports 17:16:11 ==> Detecting git/mercurial file structure 17:16:11 ==> Reading reports 17:16:11 + ./coverage.out bytes=10 17:16:11 ==> Appending adjustments 17:16:11 https://docs.codecov.io/docs/fixing-reports 17:16:12 + Found adjustments 17:16:12 ==> Gzipping contents 17:16:12 4.0K /tmp/codecov.hzN2n8.gz 17:16:12 ==> Uploading reports 17:16:12 url: https://codecov.io 17:16:12 query: branch=PR-131&commit=72cf00a3281a6f04879662c30a4eb2b18b0ede7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=131&job=&cmd_args= 17:16:12 -> Pinging Codecov 17:16:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-131&commit=72cf00a3281a6f04879662c30a4eb2b18b0ede7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=131&job=&cmd_args= 17:16:12 -> Uploading to 17:16:12 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/72cf00a3281a6f04879662c30a4eb2b18b0ede7c/85300866-d006-45e0-ac44-10dcdde83c77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T171612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b307a9b216bac332bfe4d3730ecbe9ab78c1c4fa1c236848268d621e9c01386c 17:16:12 % Total % Received % Xferd Average Speed Time Time Time Current 17:16:12 Dload Upload Total Spent Left Speed 17:16:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 740 0 0 100 740 0 2948 --:--:-- --:--:-- --:--:-- 2948 17:16:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/72cf00a3281a6f04879662c30a4eb2b18b0ede7c [Pipeline] } 17:16:12 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 17:16:14 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-131/archives ] 17:16:14 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-131/archives 17:16:14 total 16 17:16:14 drwxr-xr-x 3 root root 4096 Mar 15 16:55 . 17:16:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:55 .. 17:16:14 drwxr-xr-x 2 root root 4096 Mar 15 16:55 cost 17:16:14 -rw-r--r-- 1 root root 83 Mar 15 16:55 cost.csv 17:16:14 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-131/archives 17:16:14 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-131/archives 17:16:14 total 16 17:16:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:55 . 17:16:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:55 .. 17:16:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:55 cost 17:16:14 -rw-r--r-- 1 jenkins jenkins 83 Mar 15 16:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:16:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:16:15 ---> package-listing.sh 17:16:15 ++ facter osfamily 17:16:15 ++ tr '[:upper:]' '[:lower:]' 17:16:15 + OS_FAMILY=debian 17:16:15 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-131 17:16:15 + START_PACKAGES=/tmp/packages_start.txt 17:16:15 + END_PACKAGES=/tmp/packages_end.txt 17:16:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:16:15 + PACKAGES=/tmp/packages_start.txt 17:16:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-131 ']' 17:16:15 + PACKAGES=/tmp/packages_end.txt 17:16:15 + case "${OS_FAMILY}" in 17:16:15 + dpkg -l 17:16:15 + grep '^ii' 17:16:15 + '[' -f /tmp/packages_start.txt ']' 17:16:15 + '[' -f /tmp/packages_end.txt ']' 17:16:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:16:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-131 ']' 17:16:15 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-131/archives/ 17:16:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-131/archives/ [Pipeline] echo 17:16:15 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-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:16:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:16 prd-ubuntu20.04-docker-8c-8g-1980 does not seem to be running inside a container 17:16:16 $ 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-131/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-131 -v /w/workspace/edgexfoundry_device-gpio_PR-131:/w/workspace/edgexfoundry_device-gpio_PR-131:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-131@tmp:/w/workspace/edgexfoundry_device-gpio_PR-131@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-lftools-log-publisher:latest cat 17:16:16 $ docker top 05cf6f84906592c494ad9f75dc69edee39a5664cf4dbdc062b765242bc09af84 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:17 + touch /tmp/pre-build-complete [Pipeline] sh 17:16:17 + mkdir -p /var/log/sysstat [Pipeline] sh 17:16:17 + ls /var/log/sa-host 17:16:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:16:18 provisioning config files... 17:16:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-131@tmp/config807756864068001696tmp [Pipeline] { [Pipeline] echo 17:16:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:16:18 ---> create-netrc.sh [Pipeline] } 17:16:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:16:18 ---> python-tools-install.sh [Pipeline] echo 17:16:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:16:19 ---> sudo-logs.sh 17:16:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:16:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:16:19 ---> job-cost.sh 17:16:19 lf-activate-venv: SKIPPING 17:16:19 DEBUG: total: 0.2199999988079071 17:16:19 INFO: Retrieving Stack Cost... 17:16:20 INFO: Retrieving Pricing Info for: v3-standard-8 17:16:20 INFO: Archiving Costs [Pipeline] echo 17:16:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:16:21 ---> logs-deploy.sh 17:16:21 lf-activate-venv: SKIPPING 17:16:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-131/1 17:16:21 INFO: archiving workspace using pattern(s): 17:16:21 Archives upload complete. 17:16:21 INFO: archiving logs to Nexus