Pull request #149 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 weichou1229 for edgexfoundry/device-gpio Loading trusted files from base branch main at f49e5d786ea68b16a14d01a91160d9484d8a22ef rather than e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 Obtained Jenkinsfile from f49e5d786ea68b16a14d01a91160d9484d8a22ef 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-ssh1530748822539998358.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-ssh1879667887311334387.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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7116317151366784489.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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh371917307712857944.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-ssh8349862161213697134.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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6373054929351797116.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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7114’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7116 in /w/workspace/edgexfoundry_device-gpio_PR-149 [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-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f49e5d786ea68b16a14d01a91160d9484d8a22ef into PR head commit e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 Merge succeeded, producing e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 Checking out Revision e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 (PR-149) > git config core.sparsecheckout # timeout=10 > git checkout -f e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 # 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 f49e5d786ea68b16a14d01a91160d9484d8a22ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 # timeout=10 Commit message: "feat!: Consume SDK interface changes" 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 09:02:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:07 ========================================================= 09:02:07 EdgeX Global Pipelines Version Info 09:02:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:02:07 ------------------- 09:02:07 stable info: 09:02:07 ------------------- 09:02:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:07 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 09:02:07 Message: update stable to v1.0.245 09:02:08 ------------------- 09:02:08 experimental info: 09:02:08 ------------------- 09:02:08 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:08 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 09:02:08 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:02:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:02:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e59432f [Pipeline] echo 09:02:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:10 provisioning config files... 09:02:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config3068409605245990579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:10 ---> docker-login.sh 09:02:10 nexus3.edgexfoundry.org:10001 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10002 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10003 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 nexus3.edgexfoundry.org:10004 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 docker.io 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:11 Configure a credential helper to remove this warning. See 09:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:11 09:02:11 Login Succeeded 09:02:11 ---> docker-login.sh ends [Pipeline] } 09:02:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:02:12 + git rev-list -1 --merges e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0~1..e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 [Pipeline] echo 09:02:12 -----------> git rev-list -1 --merges e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0~1..e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 [false] [Pipeline] sh 09:02:12 + git log --format=format:%s -1 e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 [Pipeline] echo 09:02:12 ========================================================= 09:02:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:02:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:13 + git log --format=format:%s -1 e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 [Pipeline] echo 09:02:13 [semverPrep] GIT_COMMIT: e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 09:02:13 [semverPrep] This is not a build commit. [Pipeline] sh 09:02:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:02:13 + grep -v github /etc/ssh/ssh_known_hosts 09:02:13 + [ -e /tmp/ssh_known_hosts ] 09:02:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:02:13 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:02:13 sudo tee -a /etc/ssh/ssh_known_hosts 09:02:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:14 09:02:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:14 0.1.4: Pulling from edgex-devops/py-git-semver 09:02:14 b85a868b505f: Pulling fs layer 09:02:14 e2be974225ed: Pulling fs layer 09:02:14 339a4e72a1f5: Pulling fs layer 09:02:14 988bab9f4d93: Pulling fs layer 09:02:14 1469e6f7b9e6: Pulling fs layer 09:02:14 eaf3925da568: Pulling fs layer 09:02:14 bab4dde63d76: Pulling fs layer 09:02:14 bde34c3a00c8: Pulling fs layer 09:02:14 b352a97aabf1: Pulling fs layer 09:02:14 4872d77fe225: Pulling fs layer 09:02:14 5851b861e8e6: Pulling fs layer 09:02:14 988bab9f4d93: Waiting 09:02:14 bab4dde63d76: Waiting 09:02:14 bde34c3a00c8: Waiting 09:02:14 b352a97aabf1: Waiting 09:02:14 1469e6f7b9e6: Waiting 09:02:14 4872d77fe225: Waiting 09:02:14 5851b861e8e6: Waiting 09:02:14 eaf3925da568: Waiting 09:02:14 e2be974225ed: Verifying Checksum 09:02:14 e2be974225ed: Download complete 09:02:14 988bab9f4d93: Verifying Checksum 09:02:14 988bab9f4d93: Download complete 09:02:14 1469e6f7b9e6: Verifying Checksum 09:02:14 1469e6f7b9e6: Download complete 09:02:14 339a4e72a1f5: Verifying Checksum 09:02:14 339a4e72a1f5: Download complete 09:02:14 eaf3925da568: Verifying Checksum 09:02:14 eaf3925da568: Download complete 09:02:14 bde34c3a00c8: Download complete 09:02:14 b352a97aabf1: Download complete 09:02:14 4872d77fe225: Verifying Checksum 09:02:14 4872d77fe225: Download complete 09:02:14 5851b861e8e6: Verifying Checksum 09:02:14 5851b861e8e6: Download complete 09:02:14 b85a868b505f: Verifying Checksum 09:02:14 b85a868b505f: Download complete 09:02:15 bab4dde63d76: Verifying Checksum 09:02:15 bab4dde63d76: Download complete 09:02:16 b85a868b505f: Pull complete 09:02:16 e2be974225ed: Pull complete 09:02:16 339a4e72a1f5: Pull complete 09:02:16 988bab9f4d93: Pull complete 09:02:17 1469e6f7b9e6: Pull complete 09:02:17 eaf3925da568: Pull complete 09:02:19 bab4dde63d76: Pull complete 09:02:19 bde34c3a00c8: Pull complete 09:02:19 b352a97aabf1: Pull complete 09:02:19 4872d77fe225: Pull complete 09:02:19 5851b861e8e6: Pull complete 09:02:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:19 prd-ubuntu20.04-docker-8c-8g-7116 does not seem to be running inside a container 09:02:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:02:24 $ docker top 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e -eo pid,comm 09:02:24 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). 09:02:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:24 [ssh-agent] Looking for ssh-agent implementation... 09:02:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:24 $ docker exec 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e ssh-agent 09:02:24 SSH_AUTH_SOCK=/tmp/ssh-vo8RZOg20JBO/agent.31 09:02:24 SSH_AGENT_PID=37 09:02:24 Running ssh-add (command line suppressed) 09:02:24 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_9363257084918374509.key (/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_9363257084918374509.key) 09:02:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:25 + git tag --points-at HEAD [Pipeline] } 09:02:25 $ docker exec --env ******** --env ******** 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e ssh-agent -k 09:02:25 unset SSH_AUTH_SOCK; 09:02:25 unset SSH_AGENT_PID; 09:02:25 echo Agent pid 37 killed; 09:02:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:25 [ssh-agent] Looking for ssh-agent implementation... 09:02:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:25 $ docker exec 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e ssh-agent 09:02:25 SSH_AUTH_SOCK=/tmp/ssh-9tukbRwTbnox/agent.70 09:02:25 SSH_AGENT_PID=76 09:02:25 Running ssh-add (command line suppressed) 09:02:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_7375623795933050284.key (/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_7375623795933050284.key) 09:02:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:26 + git semver init 09:02:26 2023-04-07 09:02:26,296 [run_init] DEBUG init version:0.0.0 force:False 09:02:26 2023-04-07 09:02:26,297 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver 09:02:26 2023-04-07 09:02:26,298 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-149/.semver 09:02:26 2023-04-07 09:02:26,298 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-149/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149, universal_newlines=False, shell=None, istream=None) 09:02:27 2023-04-07 09:02:27,298 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-149/.git/info/exclude 09:02:27 2023-04-07 09:02:27,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 with force:False 09:02:27 2023-04-07 09:02:27,299 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 09:02:27 2023-04-07 09:02:27,303 [execute] INFO git cat-file --batch-check 09:02:27 2023-04-07 09:02:27,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149/.semver, universal_newlines=False, shell=None, istream=) 09:02:27 2023-04-07 09:02:27,309 [execute] INFO git cat-file --batch 09:02:27 2023-04-07 09:02:27,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149/.semver, universal_newlines=False, shell=None, istream=) 09:02:27 2023-04-07 09:02:27,314 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 09:02:27 0.0.0 [Pipeline] } 09:02:27 $ docker exec --env ******** --env ******** 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e ssh-agent -k 09:02:27 unset SSH_AUTH_SOCK; 09:02:27 unset SSH_AGENT_PID; 09:02:27 echo Agent pid 76 killed; 09:02:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:28 + git semver [Pipeline] } 09:02:28 $ docker stop --time=1 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e 09:02:29 $ docker rm -f --volumes 1f0af35b6c52b62f69872d8d1e0f6a77041bba49c21283f4b0214d0872ec308e [Pipeline] // withDockerContainer [Pipeline] sh 09:02:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:30 Stashed 1 file(s) [Pipeline] echo 09:02:30 [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 09:02:31 provisioning config files... 09:02:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config2685640506787848506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:31 ---> docker-login.sh 09:02:31 nexus3.edgexfoundry.org:10001 09:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:31 Configure a credential helper to remove this warning. See 09:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:31 09:02:31 Login Succeeded 09:02:31 nexus3.edgexfoundry.org:10002 09:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:31 Configure a credential helper to remove this warning. See 09:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:31 09:02:31 Login Succeeded 09:02:31 nexus3.edgexfoundry.org:10003 09:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:31 Configure a credential helper to remove this warning. See 09:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:31 09:02:31 Login Succeeded 09:02:31 nexus3.edgexfoundry.org:10004 09:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:31 Configure a credential helper to remove this warning. See 09:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:31 09:02:31 Login Succeeded 09:02:31 docker.io 09:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:32 Configure a credential helper to remove this warning. See 09:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:32 09:02:32 Login Succeeded 09:02:32 ---> docker-login.sh ends [Pipeline] } 09:02:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:32 ========================================================= 09:02:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:02:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:32 + 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 . 09:02:32 Sending build context to Docker daemon 16.07MB 09:02:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:02:32 Step 2/12 : FROM ${BASE} AS builder 09:02:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:33 63b65145d645: Pulling fs layer 09:02:33 a2d21d5440eb: Pulling fs layer 09:02:33 935e6c44a52c: Pulling fs layer 09:02:33 94cc34f8dd06: Pulling fs layer 09:02:33 30dea6a524f1: Pulling fs layer 09:02:33 a2aff8979fd8: Pulling fs layer 09:02:33 6808be2612f2: Pulling fs layer 09:02:33 f25807f1079a: Pulling fs layer 09:02:33 94cc34f8dd06: Waiting 09:02:33 a2aff8979fd8: Waiting 09:02:33 30dea6a524f1: Waiting 09:02:33 a2d21d5440eb: Verifying Checksum 09:02:33 a2d21d5440eb: Download complete 09:02:33 94cc34f8dd06: Verifying Checksum 09:02:33 94cc34f8dd06: Download complete 09:02:33 30dea6a524f1: Verifying Checksum 09:02:33 30dea6a524f1: Download complete 09:02:33 63b65145d645: Verifying Checksum 09:02:33 63b65145d645: Download complete 09:02:33 a2aff8979fd8: Verifying Checksum 09:02:33 a2aff8979fd8: Download complete 09:02:33 63b65145d645: Pull complete 09:02:33 a2d21d5440eb: Pull complete 09:02:33 f25807f1079a: Verifying Checksum 09:02:33 f25807f1079a: Download complete 09:02:33 935e6c44a52c: Download complete 09:02:34 6808be2612f2: Verifying Checksum 09:02:34 6808be2612f2: Download complete 09:02:37 935e6c44a52c: Pull complete 09:02:37 94cc34f8dd06: Pull complete 09:02:37 30dea6a524f1: Pull complete 09:02:37 a2aff8979fd8: Pull complete 09:02:40 6808be2612f2: Pull complete 09:02:40 f25807f1079a: Pull complete 09:02:40 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 09:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:02:40 ---> 3b553350e43f 09:02:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:02:45 Still waiting to schedule task 09:02:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7115’ is offline 09:02:48 ---> Running in 25767aa7669b 09:02:48 Removing intermediate container 25767aa7669b 09:02:48 ---> 54d4b6bd0f8a 09:02:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:02:48 ---> Running in ada4245fb07f 09:02:48 Removing intermediate container ada4245fb07f 09:02:48 ---> 6e0bd5717db0 09:02:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:02:48 ---> Running in a37c91b90dc3 09:02:48 Removing intermediate container a37c91b90dc3 09:02:48 ---> fcb8af54516a 09:02:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:02:48 ---> Running in 45ded21f37c0 09:02:48 Removing intermediate container 45ded21f37c0 09:02:48 ---> 2d471357938f 09:02:48 Step 7/12 : WORKDIR /device-gpio 09:02:48 ---> Running in 4a3b842df70e 09:02:48 Removing intermediate container 4a3b842df70e 09:02:48 ---> 1405d454bd48 09:02:48 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:48 ---> Running in b65e527661af 09:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:02:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:02:49 (2/4) Installing libedit (20221030.3.1-r0) 09:02:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:02:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:02:49 Executing busybox-1.35.0-r29.trigger 09:02:49 OK: 269 MiB in 57 packages 09:02:49 Removing intermediate container b65e527661af 09:02:49 ---> 39a3f777e571 09:02:49 Step 9/12 : COPY go.mod vendor* ./ 09:02:50 ---> c1669e68e440 09:02:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:50 ---> Running in 88ad3b12daa3 09:03:46 Removing intermediate container 88ad3b12daa3 09:03:46 ---> c4907b997b27 09:03:46 Step 11/12 : COPY . . 09:03:46 ---> 39ac2f876eab 09:03:46 Step 12/12 : RUN ${MAKE} 09:03:46 ---> Running in d53c7fb76430 09:03:46 noop 09:03:46 Removing intermediate container d53c7fb76430 09:03:46 ---> 0f312b4fa62a 09:03:46 Successfully built 0f312b4fa62a 09:03:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:46 + docker inspect -f . ci-base-image-x86_64 09:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:47 prd-ubuntu20.04-docker-8c-8g-7116 does not seem to be running inside a container 09:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:47 $ docker top f18ce101432dc13694f414d2d35d787d03842b96a82889d62e55e2e22964a337 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:47 + go version 09:03:47 go version go1.20.2 linux/amd64 [Pipeline] } 09:03:47 $ docker stop --time=1 f18ce101432dc13694f414d2d35d787d03842b96a82889d62e55e2e22964a337 09:03:49 $ docker rm -f --volumes f18ce101432dc13694f414d2d35d787d03842b96a82889d62e55e2e22964a337 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:49 + docker inspect -f . ci-base-image-x86_64 09:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:50 prd-ubuntu20.04-docker-8c-8g-7116 does not seem to be running inside a container 09:03:50 $ 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-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:50 $ docker top 402f5800be71a709d1aad202f47d245df30bca61c605c985137418ef1383c54f -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-149 [Pipeline] fileExists [Pipeline] sh 09:03:51 + make test 09:03:51 go test ./... -coverprofile=coverage.out ./... 09:03:55 ? github.com/edgexfoundry/device-gpio [no test files] 09:04:05 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:04:05 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:04:09 go vet ./... 09:04:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:04:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:04:12 ./bin/test-attribution-txt.sh 09:04:12 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:04:12 $ docker stop --time=1 402f5800be71a709d1aad202f47d245df30bca61c605c985137418ef1383c54f 09:04:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7117 in /w/workspace/edgexfoundry_device-gpio_PR-149 09:04:20 $ docker rm -f --volumes 402f5800be71a709d1aad202f47d245df30bca61c605c985137418ef1383c54f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 09:04:20 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 09:04:20 The recommended git tool is: git 09:04:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:04:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:04:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:22 + ls -al . 09:04:22 total 156 09:04:22 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 09:03 . 09:04:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:02 .. 09:04:22 -rw-rw-r-- 1 jenkins jenkins 120 Apr 7 09:02 .dockerignore 09:04:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:02 .git 09:04:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:02 .github 09:04:22 -rw-rw-r-- 1 jenkins jenkins 343 Apr 7 09:02 .gitignore 09:04:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 09:02 .golangci.yml 09:04:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:02 .semver 09:04:22 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 7 09:02 Attribution.txt 09:04:22 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 7 09:02 CHANGELOG.md 09:04:22 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 7 09:02 Dockerfile 09:04:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:02 GOVERNANCE.md 09:04:22 -rw-rw-r-- 1 jenkins jenkins 657 Apr 7 09:02 Jenkinsfile 09:04:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:02 LICENSE 09:04:22 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 7 09:02 Makefile 09:04:22 -rw-rw-r-- 1 jenkins jenkins 617 Apr 7 09:02 OWNERS.md 09:04:22 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 7 09:02 README.md 09:04:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:02 VERSION 09:04:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:02 bin 09:04:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:02 cmd 09:04:22 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 09:03 coverage.out 09:04:22 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 7 09:02 go.mod 09:04:22 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 7 09:02 go.sum 09:04:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:02 internal 09:04:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:02 snap 09:04:22 -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 09:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:22 + 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=e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 --label arch=amd64 --label version=0.0.0 . 09:04:22 Sending build context to Docker daemon 16.07MB 09:04:22 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:04:22 Step 2/25 : FROM ${BASE} AS builder 09:04:22 ---> 0f312b4fa62a 09:04:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:04:22 ---> Running in d124a751ed06 09:04:23 Removing intermediate container d124a751ed06 09:04:23 ---> e1bf9cfbf3e7 09:04:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:04:23 ---> Running in 8004e6ebedb7 09:04:23 Removing intermediate container 8004e6ebedb7 09:04:23 ---> afead112e5e9 09:04:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:04:23 ---> Running in 872d874e5b83 09:04:23 Removing intermediate container 872d874e5b83 09:04:23 ---> c369051d9736 09:04:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:04:23 ---> Running in 0545b3426ff4 09:04:23 Removing intermediate container 0545b3426ff4 09:04:23 ---> 7c333c7ae73e 09:04:23 Step 7/25 : WORKDIR /device-gpio 09:04:23 ---> Running in d28a76cb2c65 09:04:23 Removing intermediate container d28a76cb2c65 09:04:23 ---> 8d663d0f2a24 09:04:23 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:04:23 ---> Running in b72609b2d0f1 09:04:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:04:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:04:24 OK: 269 MiB in 57 packages 09:04:25 Removing intermediate container b72609b2d0f1 09:04:25 ---> ceedba768ede 09:04:25 Step 9/25 : COPY go.mod vendor* ./ 09:04:25 ---> 60a4b593756a 09:04:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:04:25 ---> Running in a14dfee63012 09:04:25 Removing intermediate container a14dfee63012 09:04:25 ---> 04654b8d8f70 09:04:25 Step 11/25 : COPY . . 09:04:26 using credential edgex-jenkins-ssh 09:04:26 Cloning the remote Git repository 09:04:26 ---> ab66b43eda80 09:04:26 Step 12/25 : RUN ${MAKE} 09:04:26 ---> Running in 8538990e4fd9 09:04:26 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 09:04:26 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:04:26 > git init /w/workspace/device-gpio/1 # timeout=10 09:04:26 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:04:26 > git --version # timeout=10 09:04:26 > git --version # 'git version 2.25.1' 09:04:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:04:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:29 Merging remotes/origin/main commit f49e5d786ea68b16a14d01a91160d9484d8a22ef into PR head commit e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 09:04:29 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:04:29 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:04:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:04:30 Merge succeeded, producing e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 09:04:30 Checking out Revision e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 (PR-149) 09:04:29 > git config core.sparsecheckout # timeout=10 09:04:29 > git checkout -f e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 # timeout=10 09:04:29 > git remote # timeout=10 09:04:29 > git config --get remote.origin.url # timeout=10 09:04:30 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:30 > git merge f49e5d786ea68b16a14d01a91160d9484d8a22ef # timeout=10 09:04:30 > git rev-parse HEAD^{commit} # timeout=10 09:04:30 > git config core.sparsecheckout # timeout=10 09:04:30 > git checkout -f e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 # timeout=10 09:04:33 Commit message: "feat!: Consume SDK interface changes" 09:04:33 > git --version # timeout=10 09:04:33 > git --version # 'git version 2.25.1' 09:04:33 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:04:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:04:34 % Total % Received % Xferd Average Speed Time Time Time Current 09:04:34 Dload Upload Total Spent Left Speed 09:04:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 09:04:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:04:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:04:36 + sudo tee /etc/docker/daemon.new 09:04:36 { 09:04:36 "registry-mirrors": [ 09:04:36 "https://nexus3.edgexfoundry.org:10001" 09:04:36 ], 09:04:36 "bip": "10.250.0.254/24", 09:04:36 "hosts": [ 09:04:36 "tcp://0.0.0.0:5555", 09:04:36 "unix:///var/run/docker.sock" 09:04:36 ], 09:04:36 "mtu": 1458, 09:04:36 "selinux-enabled": true, 09:04:36 "seccomp-profile": "/etc/docker/seccomp.json" 09:04:36 } [Pipeline] sh 09:04:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:04:36 + sudo service docker restart 09:04:48 Removing intermediate container 8538990e4fd9 09:04:48 ---> 0d6e0a5e5c99 09:04:48 Step 13/25 : FROM alpine:3.17 09:04:48 3.17: Pulling from library/alpine 09:04:48 f56be85fc22e: Pulling fs layer 09:04:48 f56be85fc22e: Download complete 09:04:48 f56be85fc22e: Pull complete 09:04:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:04:48 Status: Downloaded newer image for alpine:3.17 09:04:48 ---> 9ed4aefc74f6 09:04:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:04:48 ---> Running in c64282c776b6 09:04:48 Removing intermediate container c64282c776b6 09:04:48 ---> 010fec3bf8b5 09:04:48 Step 15/25 : RUN apk add --update --no-cache 09:04:48 ---> Running in 33c4ea8faad6 09:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:04:48 OK: 7 MiB in 15 packages 09:04:48 Removing intermediate container 33c4ea8faad6 09:04:48 ---> 6233c5fe771c 09:04:48 Step 16/25 : WORKDIR / 09:04:48 ---> Running in bfe93f0bc442 09:04:49 Removing intermediate container bfe93f0bc442 09:04:49 ---> 99eaee6c066c 09:04:49 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:04:49 ---> 74a483c232a3 09:04:49 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:04:49 ---> b8e134ff7caf 09:04:49 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:04:50 ---> f7cb52fc310d 09:04:50 Step 20/25 : EXPOSE 59910 09:04:50 ---> Running in f1a76596b8c3 09:04:50 Removing intermediate container f1a76596b8c3 09:04:50 ---> ea7213a2e29b 09:04:50 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:04:50 ---> Running in c0b4a134942c 09:04:50 Removing intermediate container c0b4a134942c 09:04:50 ---> 987b2cd4f66d 09:04:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:04:50 ---> Running in 2c73a8f8b7f1 09:04:50 Removing intermediate container 2c73a8f8b7f1 09:04:50 ---> ec28a2527c5b 09:04:50 Step 23/25 : LABEL arch=amd64 09:04:50 ---> Running in d2831f4a76da 09:04:50 Removing intermediate container d2831f4a76da 09:04:50 ---> 33e52d5af28b 09:04:50 Step 24/25 : LABEL git_sha=e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 09:04:50 ---> Running in 1fe58572db94 09:04:50 Removing intermediate container 1fe58572db94 09:04:50 ---> 9fa2d90fd8ae 09:04:50 Step 25/25 : LABEL version=0.0.0 09:04:50 ---> Running in 91fd11f91a2b 09:04:50 Removing intermediate container 91fd11f91a2b 09:04:50 ---> 491420235f02 09:04:50 [Warning] One or more build-args [ARCH] were not consumed 09:04:50 Successfully built 491420235f02 09:04:50 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 09:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:51 09:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:51 latest: Pulling from edgex-lftools-log-publisher 09:04:51 5eb5b503b376: Pulling fs layer 09:04:51 5c69ac0246d0: Pulling fs layer 09:04:51 ec43610c2a17: Pulling fs layer 09:04:51 3a2ae6a8a46f: Pulling fs layer 09:04:51 33b1e0a273af: Pulling fs layer 09:04:51 5d3b04190fa2: Pulling fs layer 09:04:51 2f39f015ded8: Pulling fs layer 09:04:51 3a2ae6a8a46f: Waiting 09:04:51 33b1e0a273af: Waiting 09:04:51 5d3b04190fa2: Waiting 09:04:51 2f39f015ded8: Waiting 09:04:51 5c69ac0246d0: Download complete 09:04:51 3a2ae6a8a46f: Verifying Checksum 09:04:51 3a2ae6a8a46f: Download complete 09:04:51 33b1e0a273af: Verifying Checksum 09:04:51 33b1e0a273af: Download complete 09:04:51 5d3b04190fa2: Download complete 09:04:51 ec43610c2a17: Verifying Checksum 09:04:51 ec43610c2a17: Download complete 09:04:52 5eb5b503b376: Download complete 09:04:52 2f39f015ded8: Download complete 09:04:53 5eb5b503b376: Pull complete 09:04:53 5c69ac0246d0: Pull complete 09:04:53 ec43610c2a17: Pull complete 09:04:53 3a2ae6a8a46f: Pull complete 09:04:54 33b1e0a273af: Pull complete 09:04:54 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:55 provisioning config files... 09:04:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4275818490925641909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:55 ---> docker-login.sh 09:04:55 nexus3.edgexfoundry.org:10001 09:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:56 Configure a credential helper to remove this warning. See 09:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:56 09:04:56 Login Succeeded 09:04:56 nexus3.edgexfoundry.org:10002 09:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:56 Configure a credential helper to remove this warning. See 09:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:56 09:04:56 Login Succeeded 09:04:56 nexus3.edgexfoundry.org:10003 09:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:56 Configure a credential helper to remove this warning. See 09:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:56 09:04:56 Login Succeeded 09:04:56 nexus3.edgexfoundry.org:10004 09:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:57 Configure a credential helper to remove this warning. See 09:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:57 09:04:57 Login Succeeded 09:04:57 docker.io 09:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:04:57 Configure a credential helper to remove this warning. See 09:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:04:57 09:04:57 Login Succeeded 09:04:57 ---> docker-login.sh ends [Pipeline] } 09:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:04:58 ========================================================= 09:04:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:04:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:58 2f39f015ded8: Pull complete 09:04:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:04:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:58 + 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 . 09:04:58 prd-ubuntu20.04-docker-8c-8g-7116 does not seem to be running inside a container 09:04:58 $ 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-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:04:58 Sending build context to Docker daemon 8.124MB 09:04:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:04:58 Step 2/12 : FROM ${BASE} AS builder 09:04:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:04:59 af6eaf76a39c: Pulling fs layer 09:04:59 55522c791124: Pulling fs layer 09:04:59 ce5c4a1c91eb: Pulling fs layer 09:04:59 169dfbe0d373: Pulling fs layer 09:04:59 e1ff8fa3b103: Pulling fs layer 09:04:59 52ebb69f0ebf: Pulling fs layer 09:04:59 5abe8eddf0d5: Pulling fs layer 09:04:59 e1ff8fa3b103: Waiting 09:04:59 169dfbe0d373: Waiting 09:04:59 52ebb69f0ebf: Waiting 09:04:59 5abe8eddf0d5: Waiting 09:04:59 55522c791124: Download complete 09:04:59 169dfbe0d373: Verifying Checksum 09:04:59 169dfbe0d373: Download complete 09:04:59 e1ff8fa3b103: Verifying Checksum 09:04:59 e1ff8fa3b103: Download complete 09:04:59 af6eaf76a39c: Verifying Checksum 09:04:59 af6eaf76a39c: Download complete 09:05:00 af6eaf76a39c: Pull complete 09:05:00 5abe8eddf0d5: Verifying Checksum 09:05:00 5abe8eddf0d5: Download complete 09:05:00 55522c791124: Pull complete 09:05:01 52ebb69f0ebf: Verifying Checksum 09:05:01 52ebb69f0ebf: Download complete 09:05:01 ce5c4a1c91eb: Verifying Checksum 09:05:01 ce5c4a1c91eb: Download complete 09:05:05 $ docker top d679ca0302f4dae37afd32c98ae77e64d8f461d54892f4fa7955009069d4b963 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:06 ---> job-cost.sh 09:05:06 lf-activate-venv: SKIPPING 09:05:06 INFO: No Stack... 09:05:06 INFO: Retrieving Pricing Info for: v3-standard-8 09:05:06 INFO: Archiving Costs [Pipeline] sh 09:05:07 + cat /w/workspace/edgexfoundry_device-gpio_PR-149/archives/cost.csv 09:05:07 + cut -d, -f6 [Pipeline] lock 09:05:07 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] 09:05:07 Resource [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] did not exist. Created. 09:05:07 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:05:07 + echo total: 0.2199999988079071 [Pipeline] stash 09:05:07 Stashed 1 file(s) [Pipeline] } 09:05:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:05:07 $ docker stop --time=1 d679ca0302f4dae37afd32c98ae77e64d8f461d54892f4fa7955009069d4b963 09:05:09 $ docker rm -f --volumes d679ca0302f4dae37afd32c98ae77e64d8f461d54892f4fa7955009069d4b963 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:05:14 ce5c4a1c91eb: Pull complete 09:05:14 169dfbe0d373: Pull complete 09:05:14 e1ff8fa3b103: Pull complete 09:05:20 52ebb69f0ebf: Pull complete 09:05:22 5abe8eddf0d5: Pull complete 09:05:22 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:05:22 ---> 6cb57ee374ae 09:05:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:05:24 ---> Running in 8dc33aa68892 09:05:24 Removing intermediate container 8dc33aa68892 09:05:24 ---> e8b6e8a3cf14 09:05:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:05:24 ---> Running in d88cff69ff97 09:05:25 Removing intermediate container d88cff69ff97 09:05:25 ---> 950532ef0760 09:05:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:05:25 ---> Running in d33a80f0607f 09:05:25 Removing intermediate container d33a80f0607f 09:05:25 ---> b9033beceb87 09:05:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:05:25 ---> Running in 68ef48287d6b 09:05:25 Removing intermediate container 68ef48287d6b 09:05:25 ---> 8226e965f26f 09:05:25 Step 7/12 : WORKDIR /device-gpio 09:05:25 ---> Running in 5c7ec7175051 09:05:26 Removing intermediate container 5c7ec7175051 09:05:26 ---> d34571dc52f2 09:05:26 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:05:26 ---> Running in 15c60d63298e 09:05:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:05:28 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:05:28 (2/4) Installing libedit (20221030.3.1-r0) 09:05:28 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:05:28 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:05:28 Executing busybox-1.35.0-r29.trigger 09:05:28 OK: 268 MiB in 57 packages 09:05:29 Removing intermediate container 15c60d63298e 09:05:29 ---> 45260a5e74e0 09:05:29 Step 9/12 : COPY go.mod vendor* ./ 09:05:30 ---> 4e953f1de0b0 09:05:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:05:30 ---> Running in a0c88ca6af25 09:06:38 Removing intermediate container a0c88ca6af25 09:06:38 ---> 6895e47d92de 09:06:38 Step 11/12 : COPY . . 09:06:38 ---> 218cb6290494 09:06:38 Step 12/12 : RUN ${MAKE} 09:06:38 ---> Running in 96cb20745125 09:06:38 noop 09:06:38 Removing intermediate container 96cb20745125 09:06:38 ---> fe9f6f15f3d4 09:06:38 Successfully built fe9f6f15f3d4 09:06:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:38 + docker inspect -f . ci-base-image-arm64 09:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:39 prd-ubuntu20.04-docker-arm64-4c-16g-7117 does not seem to be running inside a container 09:06:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:06:40 $ docker top 40521a22a790d7a45ee3a650235e69c8d0dee5b6e4a3d0f38bd89c862843e762 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:41 + go version 09:06:41 go version go1.20.2 linux/arm64 [Pipeline] } 09:06:41 $ docker stop --time=1 40521a22a790d7a45ee3a650235e69c8d0dee5b6e4a3d0f38bd89c862843e762 09:06:42 $ docker rm -f --volumes 40521a22a790d7a45ee3a650235e69c8d0dee5b6e4a3d0f38bd89c862843e762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:43 + docker inspect -f . ci-base-image-arm64 09:06:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:43 prd-ubuntu20.04-docker-arm64-4c-16g-7117 does not seem to be running inside a container 09:06:43 $ 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 ******** -e ******** ci-base-image-arm64 cat 09:06:44 $ docker top 8effc5ea7bb80b160a6d0ff3f401c39f8f2c9a68785d8f1d026f7dad1330851e -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:45 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 09:06:45 + make test 09:06:45 go test ./... -coverprofile=coverage.out ./... 09:07:18 ? github.com/edgexfoundry/device-gpio [no test files] 09:09:09 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:09:09 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:09:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:09:09 go vet ./... 09:09:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:09:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:09:31 ./bin/test-attribution-txt.sh 09:09:31 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:09:31 $ docker stop --time=1 8effc5ea7bb80b160a6d0ff3f401c39f8f2c9a68785d8f1d026f7dad1330851e 09:09:33 $ docker rm -f --volumes 8effc5ea7bb80b160a6d0ff3f401c39f8f2c9a68785d8f1d026f7dad1330851e [Pipeline] // withDockerContainer [Pipeline] sh 09:09:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:09:35 Warning: overwriting stash ‘coverage-report’ 09:09:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:09:36 + ls -al . 09:09:36 total 152 09:09:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:06 . 09:09:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:04 .. 09:09:36 -rw-rw-r-- 1 jenkins jenkins 120 Apr 7 09:04 .dockerignore 09:09:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:04 .git 09:09:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:04 .github 09:09:36 -rw-rw-r-- 1 jenkins jenkins 343 Apr 7 09:04 .gitignore 09:09:36 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 09:04 .golangci.yml 09:09:36 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 7 09:04 Attribution.txt 09:09:36 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 7 09:04 CHANGELOG.md 09:09:36 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 7 09:04 Dockerfile 09:09:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:04 GOVERNANCE.md 09:09:36 -rw-rw-r-- 1 jenkins jenkins 657 Apr 7 09:04 Jenkinsfile 09:09:36 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:04 LICENSE 09:09:36 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 7 09:04 Makefile 09:09:36 -rw-rw-r-- 1 jenkins jenkins 617 Apr 7 09:04 OWNERS.md 09:09:36 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 7 09:04 README.md 09:09:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:02 VERSION 09:09:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:04 bin 09:09:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:04 cmd 09:09:36 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 09:06 coverage.out 09:09:36 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 7 09:04 go.mod 09:09:36 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 7 09:04 go.sum 09:09:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:04 internal 09:09:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:04 snap 09:09:36 -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 09:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:37 + 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=e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 --label arch=arm64 --label version=0.0.0 . 09:09:38 Sending build context to Docker daemon 8.125MB 09:09:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:09:38 Step 2/25 : FROM ${BASE} AS builder 09:09:38 ---> fe9f6f15f3d4 09:09:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:09:38 ---> Running in 67c5e97f9dff 09:09:39 Removing intermediate container 67c5e97f9dff 09:09:39 ---> aa1be3ee1ab5 09:09:39 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:09:39 ---> Running in 234f67dcfb4f 09:09:39 Removing intermediate container 234f67dcfb4f 09:09:39 ---> 8b8ee1c426b0 09:09:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:09:39 ---> Running in 4b885e4004bb 09:09:40 Removing intermediate container 4b885e4004bb 09:09:40 ---> 5d175dcc1156 09:09:40 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:09:40 ---> Running in 9b981873ee1b 09:09:42 Removing intermediate container 9b981873ee1b 09:09:42 ---> 772a2584fe7a 09:09:42 Step 7/25 : WORKDIR /device-gpio 09:09:42 ---> Running in fd3166c05aa7 09:09:43 Removing intermediate container fd3166c05aa7 09:09:43 ---> 8ff8746b099f 09:09:43 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:09:43 ---> Running in 7d24623fdc33 09:09:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:09:47 OK: 268 MiB in 57 packages 09:09:48 Removing intermediate container 7d24623fdc33 09:09:48 ---> 482365d74c62 09:09:48 Step 9/25 : COPY go.mod vendor* ./ 09:09:48 ---> 5eadb8e41dc9 09:09:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:48 ---> Running in 8099812486ca 09:09:51 Removing intermediate container 8099812486ca 09:09:51 ---> a50b5531471f 09:09:51 Step 11/25 : COPY . . 09:09:52 ---> 0510486dfad0 09:09:52 Step 12/25 : RUN ${MAKE} 09:09:52 ---> Running in ad0e341fba04 09:09:53 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 09:11:59 Removing intermediate container ad0e341fba04 09:11:59 ---> dfab53ef79c6 09:11:59 Step 13/25 : FROM alpine:3.17 09:11:59 3.17: Pulling from library/alpine 09:11:59 c41833b44d91: Pulling fs layer 09:11:59 c41833b44d91: Verifying Checksum 09:11:59 c41833b44d91: Pull complete 09:11:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:11:59 Status: Downloaded newer image for alpine:3.17 09:11:59 ---> 51e60588ff2c 09:11:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:11:59 ---> Running in ae9a1654f10f 09:11:59 Removing intermediate container ae9a1654f10f 09:11:59 ---> fdbaee7e2d40 09:11:59 Step 15/25 : RUN apk add --update --no-cache 09:12:00 ---> Running in 8b9d22da6f71 09:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:12:02 OK: 7 MiB in 15 packages 09:12:03 Removing intermediate container 8b9d22da6f71 09:12:03 ---> e23298ba6358 09:12:03 Step 16/25 : WORKDIR / 09:12:03 ---> Running in ef2b55f84d11 09:12:03 Removing intermediate container ef2b55f84d11 09:12:03 ---> 09a4cebdd9b9 09:12:03 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:12:04 ---> 67cf6ce9571a 09:12:04 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:12:04 ---> e708ead4d0f8 09:12:04 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:12:10 ---> fd1ff84d96ff 09:12:10 Step 20/25 : EXPOSE 59910 09:12:10 ---> Running in cf1b091b3efc 09:12:10 Removing intermediate container cf1b091b3efc 09:12:10 ---> 5c7ace65d416 09:12:10 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:12:10 ---> Running in 40dc06a02016 09:12:10 Removing intermediate container 40dc06a02016 09:12:10 ---> 2cd9ae88b421 09:12:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:12:10 ---> Running in 10c6d421e735 09:12:10 Removing intermediate container 10c6d421e735 09:12:10 ---> 584d7baeffe7 09:12:10 Step 23/25 : LABEL arch=arm64 09:12:10 ---> Running in 9721abb69b42 09:12:10 Removing intermediate container 9721abb69b42 09:12:10 ---> fbf912dbeb3f 09:12:10 Step 24/25 : LABEL git_sha=e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 09:12:10 ---> Running in eb1d871c59e4 09:12:10 Removing intermediate container eb1d871c59e4 09:12:10 ---> 05ec2da41ac3 09:12:10 Step 25/25 : LABEL version=0.0.0 09:12:10 ---> Running in 294663d1183a 09:12:11 Removing intermediate container 294663d1183a 09:12:11 ---> 9c957a7f26ee 09:12:11 [Warning] One or more build-args [ARCH] were not consumed 09:12:11 Successfully built 9c957a7f26ee 09:12:11 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 09:12:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:11 09:12:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:12 arm64: Pulling from edgex-lftools-log-publisher 09:12:12 8998bd30e6a1: Pulling fs layer 09:12:12 04944245beec: Pulling fs layer 09:12:12 699f458cf7ca: Pulling fs layer 09:12:12 765212b225bb: Pulling fs layer 09:12:12 f23df028b6ca: Pulling fs layer 09:12:12 d65c8cfc05b1: Pulling fs layer 09:12:12 2437ff75d9bd: Pulling fs layer 09:12:12 765212b225bb: Waiting 09:12:12 f23df028b6ca: Waiting 09:12:12 d65c8cfc05b1: Waiting 09:12:12 2437ff75d9bd: Waiting 09:12:12 04944245beec: Verifying Checksum 09:12:12 04944245beec: Download complete 09:12:12 765212b225bb: Verifying Checksum 09:12:12 765212b225bb: Download complete 09:12:12 f23df028b6ca: Verifying Checksum 09:12:12 f23df028b6ca: Download complete 09:12:12 d65c8cfc05b1: Verifying Checksum 09:12:12 d65c8cfc05b1: Download complete 09:12:12 699f458cf7ca: Verifying Checksum 09:12:12 699f458cf7ca: Download complete 09:12:13 8998bd30e6a1: Verifying Checksum 09:12:13 8998bd30e6a1: Download complete 09:12:15 2437ff75d9bd: Verifying Checksum 09:12:15 2437ff75d9bd: Download complete 09:12:16 8998bd30e6a1: Pull complete 09:12:16 04944245beec: Pull complete 09:12:18 699f458cf7ca: Pull complete 09:12:18 765212b225bb: Pull complete 09:12:18 f23df028b6ca: Pull complete 09:12:19 d65c8cfc05b1: Pull complete 09:12:31 2437ff75d9bd: Pull complete 09:12:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:31 prd-ubuntu20.04-docker-arm64-4c-16g-7117 does not seem to be running inside a container 09:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:12:34 $ docker top 1c0665597774d250f5d888bbb0e2ebfffa25a8e571a09dc499c797ec61c4675c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:35 ---> job-cost.sh 09:12:35 lf-activate-venv: SKIPPING 09:12:35 INFO: No Stack... 09:12:35 INFO: Retrieving Pricing Info for: v3-standard-4 09:12:36 INFO: Archiving Costs [Pipeline] sh 09:12:36 + cat /w/workspace/device-gpio/1/archives/cost.csv 09:12:36 + cut -d, -f6 [Pipeline] lock 09:12:37 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] 09:12:37 Resource [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] did not exist. Created. 09:12:37 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:12:37 /w/workspace/device-gpio/1@tmp/durable-cd3213ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:12:37 + echo total: 0.10999999940395355 [Pipeline] stash 09:12:38 Warning: overwriting stash ‘stack-cost’ 09:12:38 Stashed 1 file(s) [Pipeline] } 09:12:38 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:12:38 $ docker stop --time=1 1c0665597774d250f5d888bbb0e2ebfffa25a8e571a09dc499c797ec61c4675c 09:12:39 $ docker rm -f --volumes 1c0665597774d250f5d888bbb0e2ebfffa25a8e571a09dc499c797ec61c4675c [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 09:12:40 provisioning config files... 09:12:40 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config5063469669612394992tmp [Pipeline] { [Pipeline] sh 09:12:40 + set +x 09:12:40 + curl -s https://codecov.io/bash 09:12:40 + bash -s -- 09:12:40 09:12:40 _____ _ 09:12:40 / ____| | | 09:12:40 | | ___ __| | ___ ___ _____ __ 09:12:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:12:40 | |___| (_) | (_| | __/ (_| (_) \ V / 09:12:40 \_____\___/ \__,_|\___|\___\___/ \_/ 09:12:40 Bash-1.0.6 09:12:40 09:12:40 09:12:40 ==> git version 2.25.1 found 09:12:40 ==> 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 09:12:40 Release-Date: 2020-01-08 09:12:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:12:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:12:40 ==> Jenkins CI detected. 09:12:40 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-149 09:12:40 project root: . 09:12:40 --> token set from env 09:12:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:12:40 ==> Running gcov in . (disable via -X gcov) 09:12:40 ==> Python coveragepy not found 09:12:40 ==> Searching for coverage reports in: 09:12:40 + . 09:12:40 -> Found 1 reports 09:12:40 ==> Detecting git/mercurial file structure 09:12:41 ==> Reading reports 09:12:41 + ./coverage.out bytes=10 09:12:41 ==> Appending adjustments 09:12:41 https://docs.codecov.io/docs/fixing-reports 09:12:41 + Found adjustments 09:12:41 ==> Gzipping contents 09:12:41 4.0K /tmp/codecov.36B5fW.gz 09:12:41 ==> Uploading reports 09:12:41 url: https://codecov.io 09:12:41 query: branch=PR-149&commit=e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=149&job=&cmd_args= 09:12:41 -> Pinging Codecov 09:12:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-149&commit=e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=149&job=&cmd_args= 09:12:41 -> Uploading to 09:12:41 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0/2fef1166-c843-451c-b785-c669bdb89d8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T091241Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cf063a8283f5f63997dd18b85936d11ee2bd19ee87b135b26c1cd33954822d8 09:12:41 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:41 Dload Upload Total Spent Left Speed 09:12:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 717 0 0 100 717 0 2206 --:--:-- --:--:-- --:--:-- 2206 09:12:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 [Pipeline] } 09:12:41 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 09:12:43 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-149/archives ] 09:12:43 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-149/archives 09:12:43 total 16 09:12:43 drwxr-xr-x 3 root root 4096 Apr 7 09:05 . 09:12:43 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:05 .. 09:12:43 drwxr-xr-x 2 root root 4096 Apr 7 09:05 cost 09:12:43 -rw-r--r-- 1 root root 83 Apr 7 09:05 cost.csv 09:12:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-149/archives 09:12:43 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-149/archives 09:12:43 total 16 09:12:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:05 . 09:12:43 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:05 .. 09:12:43 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:05 cost 09:12:43 -rw-r--r-- 1 jenkins jenkins 83 Apr 7 09:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:12:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:12:44 ---> package-listing.sh 09:12:44 ++ facter osfamily 09:12:44 ++ tr '[:upper:]' '[:lower:]' 09:12:45 + OS_FAMILY=debian 09:12:45 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-149 09:12:45 + START_PACKAGES=/tmp/packages_start.txt 09:12:45 + END_PACKAGES=/tmp/packages_end.txt 09:12:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:12:45 + PACKAGES=/tmp/packages_start.txt 09:12:45 + '[' /w/workspace/edgexfoundry_device-gpio_PR-149 ']' 09:12:45 + PACKAGES=/tmp/packages_end.txt 09:12:45 + case "${OS_FAMILY}" in 09:12:45 + dpkg -l 09:12:45 + grep '^ii' 09:12:45 + '[' -f /tmp/packages_start.txt ']' 09:12:45 + '[' -f /tmp/packages_end.txt ']' 09:12:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:12:45 + '[' /w/workspace/edgexfoundry_device-gpio_PR-149 ']' 09:12:45 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-149/archives/ 09:12:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-149/archives/ [Pipeline] echo 09:12:45 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:12:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:46 prd-ubuntu20.04-docker-8c-8g-7116 does not seem to be running inside a container 09:12:46 $ 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-149/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-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:12:51 $ docker top 183ee8a29557e059cf05229884bed6d20f3c4ebe3d5e134b3d235041a53bab5c -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:51 + touch /tmp/pre-build-complete [Pipeline] sh 09:12:52 + mkdir -p /var/log/sysstat [Pipeline] sh 09:12:52 + ls /var/log/sa-host 09:12:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:52 provisioning config files... 09:12:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config9162763320876613773tmp [Pipeline] { [Pipeline] echo 09:12:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:12:52 ---> create-netrc.sh [Pipeline] } 09:12:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:12:53 ---> python-tools-install.sh [Pipeline] echo 09:12:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:12:53 ---> sudo-logs.sh 09:12:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:12:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:12:54 ---> job-cost.sh 09:12:54 lf-activate-venv: SKIPPING 09:12:54 DEBUG: total: 0.2199999988079071 09:12:54 INFO: Retrieving Stack Cost... 09:12:54 INFO: Retrieving Pricing Info for: v3-standard-8 09:12:54 INFO: Archiving Costs [Pipeline] echo 09:12:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:12:55 ---> logs-deploy.sh 09:12:55 lf-activate-venv: SKIPPING 09:12:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-149/1 09:12:55 INFO: archiving workspace using pattern(s): 09:12:56 Archives upload complete. 09:12:56 INFO: archiving logs to Nexus