Pull request #178 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2e97ce2de3b13501839de8a66209f85404221ea9+63e68652b6ad95590cced61db99912ada0ba9712 (bebada05a8e2435e95f4947517dfedc9e01bd97e) 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-ssh11558241876956581321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7982616592368745143.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15010781018089759329.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7457761292349348439.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14324100939235125444.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-15536’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15531’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15537’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15532’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15540 in /w/workspace/edgexfoundry_device-gpio_PR-178 [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-178 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63e68652b6ad95590cced61db99912ada0ba9712 into PR head commit 2e97ce2de3b13501839de8a66209f85404221ea9 Merge succeeded, producing 2e97ce2de3b13501839de8a66209f85404221ea9 Checking out Revision 2e97ce2de3b13501839de8a66209f85404221ea9 (PR-178) Commit message: "build(snap): Bump epoch for major v3 upgrade" > 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/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e97ce2de3b13501839de8a66209f85404221ea9 # 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 63e68652b6ad95590cced61db99912ada0ba9712 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e97ce2de3b13501839de8a66209f85404221ea9 # timeout=10 > git rev-list --no-walk d5f0315a3068fef8e1beaf2c3681ec5f438da7da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:55:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:55:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:55:02 ========================================================= 09:55:02 EdgeX Global Pipelines Version Info 09:55:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:55:03 ------------------- 09:55:03 stable info: 09:55:03 ------------------- 09:55:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:55:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:55:03 Message: update stable to v1.0.249 09:55:03 ------------------- 09:55:03 experimental info: 09:55:03 ------------------- 09:55:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:55:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:55:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-178 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-178 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-178 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e97ce2de3b13501839de8a66209f85404221ea9 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e97ce2 [Pipeline] echo 09:55:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:04 provisioning config files... 09:55:04 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config16357506969871425776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:05 ---> docker-login.sh 09:55:05 nexus3.edgexfoundry.org:10001 09:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:05 Configure a credential helper to remove this warning. See 09:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:05 09:55:05 Login Succeeded 09:55:05 nexus3.edgexfoundry.org:10002 09:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:05 Configure a credential helper to remove this warning. See 09:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:05 09:55:05 Login Succeeded 09:55:05 nexus3.edgexfoundry.org:10003 09:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:05 Configure a credential helper to remove this warning. See 09:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:05 09:55:05 Login Succeeded 09:55:05 nexus3.edgexfoundry.org:10004 09:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:05 Configure a credential helper to remove this warning. See 09:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:05 09:55:05 Login Succeeded 09:55:05 docker.io 09:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:05 Configure a credential helper to remove this warning. See 09:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:05 09:55:05 Login Succeeded 09:55:05 ---> docker-login.sh ends [Pipeline] } 09:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:55:06 + git rev-list -1 --merges 2e97ce2de3b13501839de8a66209f85404221ea9~1..2e97ce2de3b13501839de8a66209f85404221ea9 [Pipeline] echo 09:55:06 -----------> git rev-list -1 --merges 2e97ce2de3b13501839de8a66209f85404221ea9~1..2e97ce2de3b13501839de8a66209f85404221ea9 2e97ce2de3b13501839de8a66209f85404221ea9 [false] [Pipeline] sh 09:55:06 + git log --format=format:%s -1 2e97ce2de3b13501839de8a66209f85404221ea9 [Pipeline] echo 09:55:06 ========================================================= 09:55:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:55:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:55:06 + git log --format=format:%s -1 2e97ce2de3b13501839de8a66209f85404221ea9 [Pipeline] echo 09:55:06 [semverPrep] GIT_COMMIT: 2e97ce2de3b13501839de8a66209f85404221ea9, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo 09:55:06 [semverPrep] This is not a build commit. [Pipeline] sh 09:55:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:55:07 + grep -v github /etc/ssh/ssh_known_hosts 09:55:07 + [ -e /tmp/ssh_known_hosts ] 09:55:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:55:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:55:07 + sudo tee -a /etc/ssh/ssh_known_hosts 09:55:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:55:07 09:55:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:55:08 0.1.4: Pulling from edgex-devops/py-git-semver 09:55:08 b85a868b505f: Pulling fs layer 09:55:08 e2be974225ed: Pulling fs layer 09:55:08 339a4e72a1f5: Pulling fs layer 09:55:08 988bab9f4d93: Pulling fs layer 09:55:08 1469e6f7b9e6: Pulling fs layer 09:55:08 eaf3925da568: Pulling fs layer 09:55:08 bab4dde63d76: Pulling fs layer 09:55:08 bde34c3a00c8: Pulling fs layer 09:55:08 b352a97aabf1: Pulling fs layer 09:55:08 4872d77fe225: Pulling fs layer 09:55:08 5851b861e8e6: Pulling fs layer 09:55:08 bab4dde63d76: Waiting 09:55:08 bde34c3a00c8: Waiting 09:55:08 b352a97aabf1: Waiting 09:55:08 4872d77fe225: Waiting 09:55:08 5851b861e8e6: Waiting 09:55:08 988bab9f4d93: Waiting 09:55:08 1469e6f7b9e6: Waiting 09:55:08 eaf3925da568: Waiting 09:55:08 e2be974225ed: Download complete 09:55:08 988bab9f4d93: Verifying Checksum 09:55:08 988bab9f4d93: Download complete 09:55:08 339a4e72a1f5: Verifying Checksum 09:55:08 339a4e72a1f5: Download complete 09:55:08 eaf3925da568: Verifying Checksum 09:55:08 eaf3925da568: Download complete 09:55:08 1469e6f7b9e6: Verifying Checksum 09:55:08 1469e6f7b9e6: Download complete 09:55:08 bde34c3a00c8: Download complete 09:55:08 b352a97aabf1: Verifying Checksum 09:55:08 b352a97aabf1: Download complete 09:55:08 4872d77fe225: Verifying Checksum 09:55:08 4872d77fe225: Download complete 09:55:08 b85a868b505f: Verifying Checksum 09:55:08 b85a868b505f: Download complete 09:55:08 5851b861e8e6: Verifying Checksum 09:55:08 5851b861e8e6: Download complete 09:55:08 bab4dde63d76: Verifying Checksum 09:55:08 bab4dde63d76: Download complete 09:55:09 b85a868b505f: Pull complete 09:55:09 e2be974225ed: Pull complete 09:55:09 339a4e72a1f5: Pull complete 09:55:09 988bab9f4d93: Pull complete 09:55:10 1469e6f7b9e6: Pull complete 09:55:10 eaf3925da568: Pull complete 09:55:12 bab4dde63d76: Pull complete 09:55:12 bde34c3a00c8: Pull complete 09:55:12 b352a97aabf1: Pull complete 09:55:12 4872d77fe225: Pull complete 09:55:12 5851b861e8e6: Pull complete 09:55:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:55:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:12 prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container 09:55:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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:55:16 $ docker top e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 -eo pid,comm 09:55:16 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:55:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:55:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:55:16 [ssh-agent] Looking for ssh-agent implementation... 09:55:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:55:16 $ docker exec e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 ssh-agent 09:55:16 SSH_AUTH_SOCK=/tmp/ssh-POtq8ls1RpGm/agent.33 09:55:16 SSH_AGENT_PID=39 09:55:16 Running ssh-add (command line suppressed) 09:55:16 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_2751197923874293467.key (/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_2751197923874293467.key) 09:55:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:55:17 + git tag --points-at HEAD [Pipeline] } 09:55:17 $ docker exec --env ******** --env ******** e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 ssh-agent -k 09:55:17 unset SSH_AUTH_SOCK; 09:55:17 unset SSH_AGENT_PID; 09:55:17 echo Agent pid 39 killed; 09:55:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:55:17 [ssh-agent] Looking for ssh-agent implementation... 09:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:55:17 $ docker exec e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 ssh-agent 09:55:17 SSH_AUTH_SOCK=/tmp/ssh-yEHGwSgPgqIn/agent.71 09:55:17 SSH_AGENT_PID=77 09:55:17 Running ssh-add (command line suppressed) 09:55:17 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_3076015071569969069.key (/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_3076015071569969069.key) 09:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:55:18 + git semver init 09:55:18 2023-05-16 09:55:18,242 [run_init] DEBUG init version:0.0.0 force:False 09:55:18 2023-05-16 09:55:18,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-178/.semver 09:55:18 2023-05-16 09:55:18,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-178/.semver 09:55:18 2023-05-16 09:55:18,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-178/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-178, universal_newlines=False, shell=None, istream=None) 09:55:19 2023-05-16 09:55:19,275 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-178/.git/info/exclude 09:55:19 2023-05-16 09:55:19,275 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-178/.semver/PR-178 with force:False 09:55:19 2023-05-16 09:55:19,276 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-178/.semver/PR-178 09:55:19 2023-05-16 09:55:19,280 [execute] INFO git cat-file --batch-check 09:55:19 2023-05-16 09:55:19,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-178/.semver, universal_newlines=False, shell=None, istream=) 09:55:19 2023-05-16 09:55:19,285 [execute] INFO git cat-file --batch 09:55:19 2023-05-16 09:55:19,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-178/.semver, universal_newlines=False, shell=None, istream=) 09:55:19 2023-05-16 09:55:19,290 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-178/.semver/PR-178 09:55:19 0.0.0 [Pipeline] } 09:55:19 $ docker exec --env ******** --env ******** e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 ssh-agent -k 09:55:19 unset SSH_AUTH_SOCK; 09:55:19 unset SSH_AGENT_PID; 09:55:19 echo Agent pid 77 killed; 09:55:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:55:20 + git semver [Pipeline] } 09:55:20 $ docker stop --time=1 e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 09:55:21 $ docker rm -f --volumes e99c44548841abab461e622296fb08025c95c3c33f9395a0ce70e86f23497ba6 [Pipeline] // withDockerContainer [Pipeline] sh 09:55:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:55:22 Stashed 1 file(s) [Pipeline] echo 09:55:22 [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:55:22 provisioning config files... 09:55:22 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config8509429396723614310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:22 ---> docker-login.sh 09:55:22 nexus3.edgexfoundry.org:10001 09:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:22 Configure a credential helper to remove this warning. See 09:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:22 09:55:22 Login Succeeded 09:55:22 nexus3.edgexfoundry.org:10002 09:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:22 Configure a credential helper to remove this warning. See 09:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:22 09:55:22 Login Succeeded 09:55:22 nexus3.edgexfoundry.org:10003 09:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:22 Configure a credential helper to remove this warning. See 09:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:22 09:55:22 Login Succeeded 09:55:22 nexus3.edgexfoundry.org:10004 09:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:22 Configure a credential helper to remove this warning. See 09:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:22 09:55:22 Login Succeeded 09:55:22 docker.io 09:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:23 Configure a credential helper to remove this warning. See 09:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:23 09:55:23 Login Succeeded 09:55:23 ---> docker-login.sh ends [Pipeline] } 09:55:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:55:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:55:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:55:23 ========================================================= 09:55:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:55:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:23 + 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:55:23 Sending build context to Docker daemon 16.14MB 09:55:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:55:23 Step 2/12 : FROM ${BASE} AS builder 09:55:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:55:23 f56be85fc22e: Pulling fs layer 09:55:23 85791d961cd3: Pulling fs layer 09:55:23 d694b5ae8c79: Pulling fs layer 09:55:23 9f32a84ed3da: Pulling fs layer 09:55:23 4d19c01a9841: Pulling fs layer 09:55:23 9325e15d5711: Pulling fs layer 09:55:23 556b6ee489ea: Pulling fs layer 09:55:23 c5a4b2cf53e6: Pulling fs layer 09:55:23 9f32a84ed3da: Waiting 09:55:23 4d19c01a9841: Waiting 09:55:23 9325e15d5711: Waiting 09:55:23 556b6ee489ea: Waiting 09:55:23 c5a4b2cf53e6: Waiting 09:55:23 85791d961cd3: Verifying Checksum 09:55:23 85791d961cd3: Download complete 09:55:23 9f32a84ed3da: Verifying Checksum 09:55:23 9f32a84ed3da: Download complete 09:55:23 4d19c01a9841: Download complete 09:55:23 f56be85fc22e: Verifying Checksum 09:55:23 f56be85fc22e: Download complete 09:55:24 9325e15d5711: Verifying Checksum 09:55:24 9325e15d5711: Download complete 09:55:24 f56be85fc22e: Pull complete 09:55:24 85791d961cd3: Pull complete 09:55:24 c5a4b2cf53e6: Verifying Checksum 09:55:24 c5a4b2cf53e6: Download complete 09:55:24 d694b5ae8c79: Download complete 09:55:24 556b6ee489ea: Verifying Checksum 09:55:24 556b6ee489ea: Download complete 09:55:29 d694b5ae8c79: Pull complete 09:55:29 9f32a84ed3da: Pull complete 09:55:29 4d19c01a9841: Pull complete 09:55:29 9325e15d5711: Pull complete 09:55:31 556b6ee489ea: Pull complete 09:55:32 c5a4b2cf53e6: Pull complete 09:55:32 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:55:32 ---> c4be618373d6 09:55:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:55:37 Still waiting to schedule task 09:55:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15534’ 09:55:40 ---> Running in c781c7c6689e 09:55:40 Removing intermediate container c781c7c6689e 09:55:40 ---> 037656d26931 09:55:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:55:40 ---> Running in f8d1f61c7758 09:55:40 Removing intermediate container f8d1f61c7758 09:55:40 ---> 2124e6cab852 09:55:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:55:40 ---> Running in 5570fbe6d64f 09:55:40 Removing intermediate container 5570fbe6d64f 09:55:40 ---> 1635209ddcac 09:55:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:55:40 ---> Running in 2847879da78c 09:55:40 Removing intermediate container 2847879da78c 09:55:40 ---> 4df9a790085d 09:55:40 Step 7/12 : WORKDIR /device-gpio 09:55:40 ---> Running in 52ba7ea55d14 09:55:40 Removing intermediate container 52ba7ea55d14 09:55:40 ---> 521a5739d19a 09:55:40 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:55:40 ---> Running in 9e3cacd4d30e 09:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:55:41 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:55:41 (2/4) Installing libedit (20221030.3.1-r0) 09:55:41 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:55:41 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:55:41 Executing busybox-1.35.0-r29.trigger 09:55:41 OK: 269 MiB in 57 packages 09:55:42 Removing intermediate container 9e3cacd4d30e 09:55:42 ---> e06a523856cc 09:55:42 Step 9/12 : COPY go.mod vendor* ./ 09:55:42 ---> 9d0df6af773e 09:55:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:55:42 ---> Running in 6214a3218638 09:56:21 Removing intermediate container 6214a3218638 09:56:21 ---> 2207adf8faff 09:56:21 Step 11/12 : COPY . . 09:56:21 ---> 2c3896df97af 09:56:21 Step 12/12 : RUN ${MAKE} 09:56:21 ---> Running in 32d3e583f074 09:56:22 noop 09:56:22 Removing intermediate container 32d3e583f074 09:56:22 ---> 2beaf64ca516 09:56:22 Successfully built 2beaf64ca516 09:56:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:22 + docker inspect -f . ci-base-image-x86_64 09:56:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:23 prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container 09:56:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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:56:23 $ docker top 2f70962b37d505ab7c01c94d812447242caf1a24c2322e8c5cdbf1c8177e6225 -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:23 + go version 09:56:23 go version go1.20.2 linux/amd64 [Pipeline] } 09:56:23 $ docker stop --time=1 2f70962b37d505ab7c01c94d812447242caf1a24c2322e8c5cdbf1c8177e6225 09:56:25 $ docker rm -f --volumes 2f70962b37d505ab7c01c94d812447242caf1a24c2322e8c5cdbf1c8177e6225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:25 + docker inspect -f . ci-base-image-x86_64 09:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:25 prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container 09:56:25 $ 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-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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:56:26 $ docker top df1488267523f2f39404652cb7aeb56053147c26862a5f18b9f4f6e7d2be1faa -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-178 [Pipeline] fileExists [Pipeline] sh 09:56:26 + make test 09:56:26 go test ./... -coverprofile=coverage.out ./... 09:56:32 ? github.com/edgexfoundry/device-gpio [no test files] 09:56:40 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:56:40 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:56:47 go vet ./... 09:56:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:56:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:56:50 ./bin/test-attribution-txt.sh [Pipeline] echo 09:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:56:50 $ docker stop --time=1 df1488267523f2f39404652cb7aeb56053147c26862a5f18b9f4f6e7d2be1faa 09:56:54 $ docker rm -f --volumes df1488267523f2f39404652cb7aeb56053147c26862a5f18b9f4f6e7d2be1faa [Pipeline] // withDockerContainer [Pipeline] sh 09:56:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:56:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:56:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:56:56 + ls -al . 09:56:56 total 156 09:56:56 drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:56 . 09:56:56 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:54 .. 09:56:56 -rw-rw-r-- 1 jenkins jenkins 120 May 16 09:55 .dockerignore 09:56:56 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:55 .git 09:56:56 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:55 .github 09:56:56 -rw-rw-r-- 1 jenkins jenkins 343 May 16 09:55 .gitignore 09:56:56 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:55 .golangci.yml 09:56:56 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:55 .semver 09:56:56 -rw-rw-r-- 1 jenkins jenkins 9702 May 16 09:55 Attribution.txt 09:56:56 -rw-rw-r-- 1 jenkins jenkins 4069 May 16 09:55 CHANGELOG.md 09:56:56 -rw-rw-r-- 1 jenkins jenkins 1542 May 16 09:55 Dockerfile 09:56:56 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:55 GOVERNANCE.md 09:56:56 -rw-rw-r-- 1 jenkins jenkins 657 May 16 09:55 Jenkinsfile 09:56:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:55 LICENSE 09:56:56 -rw-rw-r-- 1 jenkins jenkins 1692 May 16 09:55 Makefile 09:56:56 -rw-rw-r-- 1 jenkins jenkins 617 May 16 09:55 OWNERS.md 09:56:56 -rw-rw-r-- 1 jenkins jenkins 11790 May 16 09:55 README.md 09:56:56 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:55 VERSION 09:56:56 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:55 bin 09:56:56 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:55 cmd 09:56:56 -rw-r--r-- 1 jenkins jenkins 10 May 16 09:56 coverage.out 09:56:56 -rw-rw-r-- 1 jenkins jenkins 3269 May 16 09:55 go.mod 09:56:56 -rw-rw-r-- 1 jenkins jenkins 31585 May 16 09:55 go.sum 09:56:56 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:55 internal 09:56:56 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:55 snap 09:56:56 -rw-rw-r-- 1 jenkins jenkins 209 May 16 09:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:56 + 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=2e97ce2de3b13501839de8a66209f85404221ea9 --label arch=amd64 --label version=0.0.0 . 09:56:56 Sending build context to Docker daemon 16.14MB 09:56:56 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:56:56 Step 2/25 : FROM ${BASE} AS builder 09:56:56 ---> 2beaf64ca516 09:56:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:56:56 ---> Running in 0820f1913155 09:56:57 Removing intermediate container 0820f1913155 09:56:57 ---> 576977e7a824 09:56:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:56:57 ---> Running in 5e64ea4a3234 09:56:57 Removing intermediate container 5e64ea4a3234 09:56:57 ---> d4e026ca5636 09:56:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:56:57 ---> Running in 82a2056c8c1c 09:56:57 Removing intermediate container 82a2056c8c1c 09:56:57 ---> 6769c0aa15d3 09:56:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:56:57 ---> Running in be1f8ea4af20 09:56:57 Removing intermediate container be1f8ea4af20 09:56:57 ---> a9a86acb75dc 09:56:57 Step 7/25 : WORKDIR /device-gpio 09:56:57 ---> Running in aab9acba041f 09:56:57 Removing intermediate container aab9acba041f 09:56:57 ---> 36fd289bd196 09:56:57 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:56:57 ---> Running in 27d585769ef8 09:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:56:58 OK: 269 MiB in 57 packages 09:56:58 Removing intermediate container 27d585769ef8 09:56:58 ---> c7c434e91472 09:56:58 Step 9/25 : COPY go.mod vendor* ./ 09:56:58 ---> 54e11e8ceb63 09:56:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:56:58 ---> Running in 549ccbe54241 09:56:59 Removing intermediate container 549ccbe54241 09:56:59 ---> 6b41797f9c11 09:56:59 Step 11/25 : COPY . . 09:56:59 ---> e5ea09798c41 09:56:59 Step 12/25 : RUN ${MAKE} 09:56:59 ---> Running in 08ef7f3b9a4f 09:57:00 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:57:26 Removing intermediate container 08ef7f3b9a4f 09:57:26 ---> dceb3589ff15 09:57:26 Step 13/25 : FROM alpine:3.17 09:57:26 3.17: Pulling from library/alpine 09:57:26 f56be85fc22e: Already exists 09:57:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:57:26 Status: Downloaded newer image for alpine:3.17 09:57:26 ---> 9ed4aefc74f6 09:57:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:57:26 ---> Running in 350a9f273ee8 09:57:26 Removing intermediate container 350a9f273ee8 09:57:26 ---> 67f5cb6d2431 09:57:26 Step 15/25 : RUN apk add --update --no-cache 09:57:26 ---> Running in bc1341fd31fc 09:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:57:26 OK: 7 MiB in 15 packages 09:57:26 Removing intermediate container bc1341fd31fc 09:57:26 ---> 73ee0e12d6aa 09:57:26 Step 16/25 : WORKDIR / 09:57:26 ---> Running in 56fd407f2ba6 09:57:26 Removing intermediate container 56fd407f2ba6 09:57:26 ---> dc868e0931fd 09:57:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:57:26 ---> 190d38ced861 09:57:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:57:26 ---> 20c6b5e90a12 09:57:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:57:27 ---> e7870f9f8b30 09:57:27 Step 20/25 : EXPOSE 59910 09:57:27 ---> Running in 23ff5a7d6762 09:57:27 Removing intermediate container 23ff5a7d6762 09:57:27 ---> 74a387948a7a 09:57:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:57:27 ---> Running in e0bb83b45a48 09:57:27 Removing intermediate container e0bb83b45a48 09:57:27 ---> 0b359fc206e0 09:57:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:57:27 ---> Running in aca197c2d14b 09:57:27 Removing intermediate container aca197c2d14b 09:57:27 ---> f6ed2e08c878 09:57:27 Step 23/25 : LABEL arch=amd64 09:57:28 ---> Running in 1aca31362a3d 09:57:28 Removing intermediate container 1aca31362a3d 09:57:28 ---> f61b85bce78d 09:57:28 Step 24/25 : LABEL git_sha=2e97ce2de3b13501839de8a66209f85404221ea9 09:57:28 ---> Running in 42d3e5dcc4ce 09:57:28 Removing intermediate container 42d3e5dcc4ce 09:57:28 ---> 37787da56eb0 09:57:28 Step 25/25 : LABEL version=0.0.0 09:57:28 ---> Running in 7f9fd7fcfd48 09:57:28 Removing intermediate container 7f9fd7fcfd48 09:57:28 ---> f72bf6a3fef6 09:57:28 [Warning] One or more build-args [ARCH] were not consumed 09:57:28 Successfully built f72bf6a3fef6 09:57:28 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:57:28 09:57:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:57:29 latest: Pulling from edgex-lftools-log-publisher 09:57:29 5eb5b503b376: Pulling fs layer 09:57:29 5c69ac0246d0: Pulling fs layer 09:57:29 ec43610c2a17: Pulling fs layer 09:57:29 3a2ae6a8a46f: Pulling fs layer 09:57:29 33b1e0a273af: Pulling fs layer 09:57:29 5d3b04190fa2: Pulling fs layer 09:57:29 2f39f015ded8: Pulling fs layer 09:57:29 3a2ae6a8a46f: Waiting 09:57:29 33b1e0a273af: Waiting 09:57:29 5d3b04190fa2: Waiting 09:57:29 2f39f015ded8: Waiting 09:57:29 5c69ac0246d0: Download complete 09:57:29 3a2ae6a8a46f: Download complete 09:57:29 33b1e0a273af: Verifying Checksum 09:57:29 33b1e0a273af: Download complete 09:57:29 5d3b04190fa2: Verifying Checksum 09:57:29 5d3b04190fa2: Download complete 09:57:29 ec43610c2a17: Verifying Checksum 09:57:29 ec43610c2a17: Download complete 09:57:29 5eb5b503b376: Verifying Checksum 09:57:29 5eb5b503b376: Download complete 09:57:30 2f39f015ded8: Download complete 09:57:31 5eb5b503b376: Pull complete 09:57:31 5c69ac0246d0: Pull complete 09:57:31 ec43610c2a17: Pull complete 09:57:31 3a2ae6a8a46f: Pull complete 09:57:31 33b1e0a273af: Pull complete 09:57:31 5d3b04190fa2: Pull complete 09:57:37 2f39f015ded8: Pull complete 09:57:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:57:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:57:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:37 prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container 09:57:37 $ 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-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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:57:44 $ docker top 1727484c135998c7766c76379211f12c9d04b5661aa3b542ef52f5568b3ba5c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:57:44 ---> job-cost.sh 09:57:44 lf-activate-venv: SKIPPING 09:57:44 INFO: No Stack... 09:57:45 INFO: Retrieving Pricing Info for: v3-standard-8 09:57:45 INFO: Archiving Costs [Pipeline] sh 09:57:45 + cat /w/workspace/edgexfoundry_device-gpio_PR-178/archives/cost.csv+ 09:57:45 cut -d, -f6 [Pipeline] lock 09:57:45 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] 09:57:45 Resource [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] did not exist. Created. 09:57:45 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:57:46 + echo total: 0.2199999988079071 [Pipeline] stash 09:57:46 Stashed 1 file(s) [Pipeline] } 09:57:46 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:57:46 $ docker stop --time=1 1727484c135998c7766c76379211f12c9d04b5661aa3b542ef52f5568b3ba5c0 09:57:47 $ docker rm -f --volumes 1727484c135998c7766c76379211f12c9d04b5661aa3b542ef52f5568b3ba5c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:58:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15546 in /w/workspace/edgexfoundry_device-gpio_PR-178 [Pipeline] { [Pipeline] ws 09:58:45 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 09:58:45 The recommended git tool is: git 09:58:53 using credential edgex-jenkins-ssh 09:58:53 Cloning the remote Git repository 09:58:53 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:58:53 > git init /w/workspace/device-gpio/2 # timeout=10 09:58:53 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:58:53 > git --version # timeout=10 09:58:53 > git --version # 'git version 2.25.1' 09:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:58:55 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:58:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:58:57 Merging remotes/origin/main commit 63e68652b6ad95590cced61db99912ada0ba9712 into PR head commit 2e97ce2de3b13501839de8a66209f85404221ea9 09:58:57 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:58:57 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:58:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:58:58 Merge succeeded, producing 2e97ce2de3b13501839de8a66209f85404221ea9 09:58:58 Checking out Revision 2e97ce2de3b13501839de8a66209f85404221ea9 (PR-178) 09:58:58 Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:58:57 > git config core.sparsecheckout # timeout=10 09:58:57 > git checkout -f 2e97ce2de3b13501839de8a66209f85404221ea9 # timeout=10 09:58:57 > git remote # timeout=10 09:58:57 > git config --get remote.origin.url # timeout=10 09:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:58 > git merge 63e68652b6ad95590cced61db99912ada0ba9712 # timeout=10 09:58:58 > git rev-parse HEAD^{commit} # timeout=10 09:58:58 > git config core.sparsecheckout # timeout=10 09:58:58 > git checkout -f 2e97ce2de3b13501839de8a66209f85404221ea9 # timeout=10 09:58:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:58:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:58:59 Dload Upload Total Spent Left Speed 09:58:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 09:59:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:59:00 + sudo tee /etc/docker/daemon.new 09:59:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:59:00 { 09:59:00 "registry-mirrors": [ 09:59:00 "https://nexus3.edgexfoundry.org:10001" 09:59:00 ], 09:59:00 "bip": "10.250.0.254/24", 09:59:00 "hosts": [ 09:59:00 "tcp://0.0.0.0:5555", 09:59:00 "unix:///var/run/docker.sock" 09:59:00 ], 09:59:00 "mtu": 1458, 09:59:00 "selinux-enabled": true, 09:59:00 "seccomp-profile": "/etc/docker/seccomp.json" 09:59:00 } [Pipeline] sh 09:59:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:59:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:19 provisioning config files... 09:59:19 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1720723659547311912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:20 ---> docker-login.sh 09:59:20 nexus3.edgexfoundry.org:10001 09:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:21 Configure a credential helper to remove this warning. See 09:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:21 09:59:21 Login Succeeded 09:59:21 nexus3.edgexfoundry.org:10002 09:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:21 Configure a credential helper to remove this warning. See 09:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:21 09:59:21 Login Succeeded 09:59:21 nexus3.edgexfoundry.org:10003 09:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:21 Configure a credential helper to remove this warning. See 09:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:21 09:59:21 Login Succeeded 09:59:21 nexus3.edgexfoundry.org:10004 09:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:22 Configure a credential helper to remove this warning. See 09:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:22 09:59:22 Login Succeeded 09:59:22 docker.io 09:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:22 Configure a credential helper to remove this warning. See 09:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:22 09:59:22 Login Succeeded 09:59:22 ---> docker-login.sh ends [Pipeline] } 09:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:59:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:59:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:59:23 ========================================================= 09:59:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:59:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:23 + 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:59:24 Sending build context to Docker daemon 8.156MB 09:59:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:59:24 Step 2/12 : FROM ${BASE} AS builder 09:59:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:59:24 c41833b44d91: Pulling fs layer 09:59:24 ed15518f5707: Pulling fs layer 09:59:24 feae8fd75edb: Pulling fs layer 09:59:24 242c74f7c9fa: Pulling fs layer 09:59:24 3cdef696dda3: Pulling fs layer 09:59:24 2ced38df9373: Pulling fs layer 09:59:24 58f1dce35555: Pulling fs layer 09:59:24 242c74f7c9fa: Waiting 09:59:24 3cdef696dda3: Waiting 09:59:24 2ced38df9373: Waiting 09:59:24 58f1dce35555: Waiting 09:59:24 ed15518f5707: Verifying Checksum 09:59:24 ed15518f5707: Download complete 09:59:24 242c74f7c9fa: Verifying Checksum 09:59:24 242c74f7c9fa: Download complete 09:59:24 3cdef696dda3: Verifying Checksum 09:59:24 3cdef696dda3: Download complete 09:59:24 c41833b44d91: Download complete 09:59:25 c41833b44d91: Pull complete 09:59:25 58f1dce35555: Verifying Checksum 09:59:25 58f1dce35555: Download complete 09:59:26 ed15518f5707: Pull complete 09:59:27 feae8fd75edb: Download complete 09:59:27 2ced38df9373: Verifying Checksum 09:59:27 2ced38df9373: Download complete 09:59:39 feae8fd75edb: Pull complete 09:59:39 242c74f7c9fa: Pull complete 09:59:39 3cdef696dda3: Pull complete 09:59:45 2ced38df9373: Pull complete 09:59:48 58f1dce35555: Pull complete 09:59:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:59:48 ---> fadd8f120f05 09:59:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:59:50 ---> Running in 1cc34b60a1e3 09:59:50 Removing intermediate container 1cc34b60a1e3 09:59:50 ---> 1d15f4c2677f 09:59:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:59:50 ---> Running in ef0d79b72feb 09:59:50 Removing intermediate container ef0d79b72feb 09:59:50 ---> 1640f5de5cca 09:59:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 09:59:50 ---> Running in 5142847cb7b3 09:59:51 Removing intermediate container 5142847cb7b3 09:59:51 ---> 7dc0b542e260 09:59:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:59:51 ---> Running in 2a7a07bd645a 09:59:51 Removing intermediate container 2a7a07bd645a 09:59:51 ---> b26046555856 09:59:51 Step 7/12 : WORKDIR /device-gpio 09:59:51 ---> Running in f27c55f594fc 09:59:52 Removing intermediate container f27c55f594fc 09:59:52 ---> 6bc0b8cc5eb0 09:59:52 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:59:52 ---> Running in f6673471ac44 09:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:59:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:59:55 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:59:55 (2/4) Installing libedit (20221030.3.1-r0) 09:59:55 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:59:55 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:59:55 Executing busybox-1.35.0-r29.trigger 09:59:55 OK: 268 MiB in 57 packages 09:59:56 Removing intermediate container f6673471ac44 09:59:56 ---> a5202b93f705 09:59:56 Step 9/12 : COPY go.mod vendor* ./ 09:59:57 ---> 237f939e0ec4 09:59:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:59:57 ---> Running in 357b48c948f7 10:01:10 Removing intermediate container 357b48c948f7 10:01:10 ---> 53867856600d 10:01:10 Step 11/12 : COPY . . 10:01:10 ---> 84a88d562af5 10:01:10 Step 12/12 : RUN ${MAKE} 10:01:10 ---> Running in 711b3f03b06b 10:01:10 noop 10:01:10 Removing intermediate container 711b3f03b06b 10:01:10 ---> 56938916c964 10:01:10 Successfully built 56938916c964 10:01:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:10 + docker inspect -f . ci-base-image-arm64 10:01:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:10 prd-ubuntu20.04-docker-arm64-4c-16g-15546 does not seem to be running inside a container 10:01:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:01:12 $ docker top 32cd19b97b086f565a407cd77ac384d3e3016074ec59a8114b021125402364cf -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:13 + go version 10:01:13 go version go1.20.2 linux/arm64 [Pipeline] } 10:01:13 $ docker stop --time=1 32cd19b97b086f565a407cd77ac384d3e3016074ec59a8114b021125402364cf 10:01:14 $ docker rm -f --volumes 32cd19b97b086f565a407cd77ac384d3e3016074ec59a8114b021125402364cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:15 + docker inspect -f . ci-base-image-arm64 10:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:15 prd-ubuntu20.04-docker-arm64-4c-16g-15546 does not seem to be running inside a container 10:01:15 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:01:16 $ docker top 4875ce1d6b005970c72f5a1c99ecb6dbda4259e84cc30571596c293e68a5e77b -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:17 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 10:01:18 + make test 10:01:18 go test ./... -coverprofile=coverage.out ./... 10:02:05 ? github.com/edgexfoundry/device-gpio [no test files] 10:04:42 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:04:42 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:04:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:04:42 go vet ./... 10:05:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:05:14 ./bin/test-attribution-txt.sh [Pipeline] echo 10:05:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:05:14 $ docker stop --time=1 4875ce1d6b005970c72f5a1c99ecb6dbda4259e84cc30571596c293e68a5e77b 10:05:16 $ docker rm -f --volumes 4875ce1d6b005970c72f5a1c99ecb6dbda4259e84cc30571596c293e68a5e77b [Pipeline] // withDockerContainer [Pipeline] sh 10:05:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:17 Warning: overwriting stash ‘coverage-report’ 10:05:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:19 + ls -al . 10:05:19 total 152 10:05:19 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:01 . 10:05:19 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:58 .. 10:05:19 -rw-rw-r-- 1 jenkins jenkins 120 May 16 09:58 .dockerignore 10:05:19 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:58 .git 10:05:19 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:58 .github 10:05:19 -rw-rw-r-- 1 jenkins jenkins 343 May 16 09:58 .gitignore 10:05:19 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:58 .golangci.yml 10:05:19 -rw-rw-r-- 1 jenkins jenkins 9702 May 16 09:58 Attribution.txt 10:05:19 -rw-rw-r-- 1 jenkins jenkins 4069 May 16 09:58 CHANGELOG.md 10:05:19 -rw-rw-r-- 1 jenkins jenkins 1542 May 16 09:58 Dockerfile 10:05:19 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:58 GOVERNANCE.md 10:05:19 -rw-rw-r-- 1 jenkins jenkins 657 May 16 09:58 Jenkinsfile 10:05:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:58 LICENSE 10:05:19 -rw-rw-r-- 1 jenkins jenkins 1692 May 16 09:58 Makefile 10:05:19 -rw-rw-r-- 1 jenkins jenkins 617 May 16 09:58 OWNERS.md 10:05:19 -rw-rw-r-- 1 jenkins jenkins 11790 May 16 09:58 README.md 10:05:19 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:55 VERSION 10:05:19 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:58 bin 10:05:19 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:58 cmd 10:05:19 -rw-r--r-- 1 jenkins jenkins 10 May 16 10:01 coverage.out 10:05:19 -rw-rw-r-- 1 jenkins jenkins 3269 May 16 09:58 go.mod 10:05:19 -rw-rw-r-- 1 jenkins jenkins 31585 May 16 09:58 go.sum 10:05:19 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:58 internal 10:05:19 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:58 snap 10:05:19 -rw-rw-r-- 1 jenkins jenkins 209 May 16 09:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:19 + 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=2e97ce2de3b13501839de8a66209f85404221ea9 --label arch=arm64 --label version=0.0.0 . 10:05:20 Sending build context to Docker daemon 8.157MB 10:05:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:05:20 Step 2/25 : FROM ${BASE} AS builder 10:05:20 ---> 56938916c964 10:05:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:05:20 ---> Running in eb21119a9941 10:05:20 Removing intermediate container eb21119a9941 10:05:20 ---> f5c8e4efa110 10:05:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:20 ---> Running in 08a0fff65ead 10:05:21 Removing intermediate container 08a0fff65ead 10:05:21 ---> 3f29de27c705 10:05:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:05:21 ---> Running in 034b694f5be1 10:05:21 Removing intermediate container 034b694f5be1 10:05:21 ---> 932d8b8eb570 10:05:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:05:21 ---> Running in 375ae92908d9 10:05:22 Removing intermediate container 375ae92908d9 10:05:22 ---> 21472b0cc50f 10:05:22 Step 7/25 : WORKDIR /device-gpio 10:05:22 ---> Running in 98863453b52d 10:05:22 Removing intermediate container 98863453b52d 10:05:22 ---> b2a9a1a3c5ea 10:05:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:22 ---> Running in 370f067abce7 10:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:05:26 OK: 268 MiB in 57 packages 10:05:27 Removing intermediate container 370f067abce7 10:05:27 ---> f2d54f9d207a 10:05:27 Step 9/25 : COPY go.mod vendor* ./ 10:05:27 ---> 6e8b41c000d6 10:05:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:27 ---> Running in 9f57df2ee7a4 10:05:31 Removing intermediate container 9f57df2ee7a4 10:05:31 ---> a4181a09ba47 10:05:31 Step 11/25 : COPY . . 10:05:31 ---> 0a8ba41507a1 10:05:31 Step 12/25 : RUN ${MAKE} 10:05:31 ---> Running in d8ca63c67398 10:05:32 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 10:08:24 Removing intermediate container d8ca63c67398 10:08:24 ---> e97c0095f46a 10:08:24 Step 13/25 : FROM alpine:3.17 10:08:24 3.17: Pulling from library/alpine 10:08:24 c41833b44d91: Already exists 10:08:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:08:24 Status: Downloaded newer image for alpine:3.17 10:08:24 ---> 51e60588ff2c 10:08:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:08:24 ---> Running in 978aa5c9c2b9 10:08:24 Removing intermediate container 978aa5c9c2b9 10:08:24 ---> 63b618012e6f 10:08:24 Step 15/25 : RUN apk add --update --no-cache 10:08:24 ---> Running in b56572a7942d 10:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:08:24 OK: 7 MiB in 15 packages 10:08:24 Removing intermediate container b56572a7942d 10:08:24 ---> cc90355bcb60 10:08:24 Step 16/25 : WORKDIR / 10:08:24 ---> Running in dd331a2a0760 10:08:24 Removing intermediate container dd331a2a0760 10:08:24 ---> cb0d7cc8befd 10:08:24 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:08:24 ---> b414265203c3 10:08:24 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:08:24 ---> 086566f4ee34 10:08:24 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:08:24 ---> c29fb2bb6f9d 10:08:24 Step 20/25 : EXPOSE 59910 10:08:24 ---> Running in 9319a7d10f39 10:08:24 Removing intermediate container 9319a7d10f39 10:08:24 ---> 8540bf00e642 10:08:24 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:08:24 ---> Running in 1fba481174ab 10:08:24 Removing intermediate container 1fba481174ab 10:08:24 ---> e3eb001eda20 10:08:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:08:24 ---> Running in 354bcd32345e 10:08:24 Removing intermediate container 354bcd32345e 10:08:24 ---> 82c25fe8cb2e 10:08:24 Step 23/25 : LABEL arch=arm64 10:08:24 ---> Running in 0d50b8bf887e 10:08:24 Removing intermediate container 0d50b8bf887e 10:08:24 ---> b1773e7b54a9 10:08:24 Step 24/25 : LABEL git_sha=2e97ce2de3b13501839de8a66209f85404221ea9 10:08:24 ---> Running in 81555c6284bc 10:08:24 Removing intermediate container 81555c6284bc 10:08:24 ---> ae2206e5a155 10:08:24 Step 25/25 : LABEL version=0.0.0 10:08:24 ---> Running in 83ca79cb31dc 10:08:24 Removing intermediate container 83ca79cb31dc 10:08:24 ---> aa20b7836529 10:08:24 [Warning] One or more build-args [ARCH] were not consumed 10:08:24 Successfully built aa20b7836529 10:08:24 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 10:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:25 10:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:25 arm64: Pulling from edgex-lftools-log-publisher 10:08:25 8998bd30e6a1: Pulling fs layer 10:08:25 04944245beec: Pulling fs layer 10:08:25 699f458cf7ca: Pulling fs layer 10:08:25 765212b225bb: Pulling fs layer 10:08:25 f23df028b6ca: Pulling fs layer 10:08:25 d65c8cfc05b1: Pulling fs layer 10:08:25 2437ff75d9bd: Pulling fs layer 10:08:25 f23df028b6ca: Waiting 10:08:25 d65c8cfc05b1: Waiting 10:08:25 2437ff75d9bd: Waiting 10:08:25 765212b225bb: Waiting 10:08:25 04944245beec: Verifying Checksum 10:08:25 04944245beec: Download complete 10:08:25 765212b225bb: Verifying Checksum 10:08:25 765212b225bb: Download complete 10:08:25 f23df028b6ca: Verifying Checksum 10:08:25 f23df028b6ca: Download complete 10:08:25 d65c8cfc05b1: Verifying Checksum 10:08:25 d65c8cfc05b1: Download complete 10:08:26 699f458cf7ca: Verifying Checksum 10:08:26 699f458cf7ca: Download complete 10:08:26 8998bd30e6a1: Download complete 10:08:28 2437ff75d9bd: Verifying Checksum 10:08:28 2437ff75d9bd: Download complete 10:08:30 8998bd30e6a1: Pull complete 10:08:30 04944245beec: Pull complete 10:08:32 699f458cf7ca: Pull complete 10:08:32 765212b225bb: Pull complete 10:08:33 f23df028b6ca: Pull complete 10:08:33 d65c8cfc05b1: Pull complete 10:08:48 2437ff75d9bd: Pull complete 10:08:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:08:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:48 prd-ubuntu20.04-docker-arm64-4c-16g-15546 does not seem to be running inside a container 10:08:48 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:08:51 $ docker top facc72986d52dd3acb4b159804a0de710f10620793d66818b71668170aae2d9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:08:52 ---> job-cost.sh 10:08:52 lf-activate-venv: SKIPPING 10:08:52 INFO: No Stack... 10:08:52 INFO: Retrieving Pricing Info for: v3-standard-4 10:08:53 INFO: Archiving Costs [Pipeline] sh 10:08:54 + + cutcat -d, /w/workspace/device-gpio/2/archives/cost.csv -f6 10:08:54 [Pipeline] lock 10:08:54 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] 10:08:54 Resource [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] did not exist. Created. 10:08:54 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:08:54 /w/workspace/device-gpio/2@tmp/durable-8b069049/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:08:55 + echo total: 0.10999999940395355 [Pipeline] stash 10:08:55 Warning: overwriting stash ‘stack-cost’ 10:08:55 Stashed 1 file(s) [Pipeline] } 10:08:55 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-178-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:08:55 $ docker stop --time=1 facc72986d52dd3acb4b159804a0de710f10620793d66818b71668170aae2d9d 10:08:57 $ docker rm -f --volumes facc72986d52dd3acb4b159804a0de710f10620793d66818b71668170aae2d9d [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 10:08:57 provisioning config files... 10:08:57 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config397322555839281065tmp [Pipeline] { [Pipeline] sh 10:08:58 + set +x 10:08:58 + curl -s https://codecov.io/bash 10:08:58 + bash -s -- 10:08:58 10:08:58 _____ _ 10:08:58 / ____| | | 10:08:58 | | ___ __| | ___ ___ _____ __ 10:08:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:08:58 | |___| (_) | (_| | __/ (_| (_) \ V / 10:08:58 \_____\___/ \__,_|\___|\___\___/ \_/ 10:08:58 Bash-1.0.6 10:08:58 10:08:58 10:08:58 ==> git version 2.25.1 found 10:08:58 ==> 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 10:08:58 Release-Date: 2020-01-08 10:08:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:08:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:08:58 ==> Jenkins CI detected. 10:08:58 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-178 10:08:58 project root: . 10:08:58 --> token set from env 10:08:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:08:58 ==> Running gcov in . (disable via -X gcov) 10:08:58 ==> Python coveragepy not found 10:08:58 ==> Searching for coverage reports in: 10:08:58 + . 10:08:58 -> Found 1 reports 10:08:58 ==> Detecting git/mercurial file structure 10:08:58 ==> Reading reports 10:08:58 + ./coverage.out bytes=10 10:08:58 ==> Appending adjustments 10:08:58 https://docs.codecov.io/docs/fixing-reports 10:08:58 + Found adjustments 10:08:58 ==> Gzipping contents 10:08:58 4.0K /tmp/codecov.I4Px0s.gz 10:08:58 ==> Uploading reports 10:08:58 url: https://codecov.io 10:08:58 query: branch=PR-178&commit=2e97ce2de3b13501839de8a66209f85404221ea9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-178%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=178&job=&cmd_args= 10:08:58 -> Pinging Codecov 10:08:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-178&commit=2e97ce2de3b13501839de8a66209f85404221ea9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-178%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=178&job=&cmd_args= 10:08:58 -> Uploading to 10:08:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2e97ce2de3b13501839de8a66209f85404221ea9/37d4cd05-ea12-42cb-8294-72889765b288.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T100858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88dc1ca18e8313c072d46845b1a6178fecb82b09e97f3234d780088921584981 10:08:58 % Total % Received % Xferd Average Speed Time Time Time Current 10:08:58 Dload Upload Total Spent Left Speed 10:08:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3217 --:--:-- --:--:-- --:--:-- 3217 10:08:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/2e97ce2de3b13501839de8a66209f85404221ea9 [Pipeline] } 10:08:58 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 10:08:59 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-178/archives ] 10:08:59 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-178/archives 10:08:59 total 16 10:08:59 drwxr-xr-x 3 root root 4096 May 16 09:57 . 10:08:59 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:57 .. 10:08:59 drwxr-xr-x 2 root root 4096 May 16 09:57 cost 10:08:59 -rw-r--r-- 1 root root 83 May 16 09:57 cost.csv 10:08:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-178/archives 10:08:59 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-178/archives 10:08:59 total 16 10:08:59 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:57 . 10:08:59 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:57 .. 10:08:59 drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:57 cost 10:08:59 -rw-r--r-- 1 jenkins jenkins 83 May 16 09:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:08:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:09:00 ---> package-listing.sh 10:09:00 ++ facter osfamily 10:09:00 ++ tr '[:upper:]' '[:lower:]' 10:09:00 + OS_FAMILY=debian 10:09:00 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-178 10:09:00 + START_PACKAGES=/tmp/packages_start.txt 10:09:00 + END_PACKAGES=/tmp/packages_end.txt 10:09:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:09:00 + PACKAGES=/tmp/packages_start.txt 10:09:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-178 ']' 10:09:00 + PACKAGES=/tmp/packages_end.txt 10:09:00 + case "${OS_FAMILY}" in 10:09:00 + dpkg -l 10:09:00 + grep '^ii' 10:09:00 + '[' -f /tmp/packages_start.txt ']' 10:09:00 + '[' -f /tmp/packages_end.txt ']' 10:09:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:09:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-178 ']' 10:09:00 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-178/archives/ 10:09:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-178/archives/ [Pipeline] echo 10:09:00 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-178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:09:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:01 prd-ubuntu20.04-docker-8c-8g-15540 does not seem to be running inside a container 10:09:01 $ 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-178/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-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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 10:09:02 $ docker top 03d76e68b9819c9905c9401bc6b1a5e5fcecb5430a7e10536728241df1bb2179 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:02 + touch /tmp/pre-build-complete [Pipeline] sh 10:09:03 + mkdir -p /var/log/sysstat [Pipeline] sh 10:09:03 + ls /var/log/sa-host 10:09:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:03 provisioning config files... 10:09:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config14857372377258104222tmp [Pipeline] { [Pipeline] echo 10:09:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:09:03 ---> create-netrc.sh [Pipeline] } 10:09:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:09:04 ---> python-tools-install.sh [Pipeline] echo 10:09:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:09:04 ---> sudo-logs.sh 10:09:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:09:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:09:04 ---> job-cost.sh 10:09:04 lf-activate-venv: SKIPPING 10:09:04 DEBUG: total: 0.2199999988079071 10:09:04 INFO: Retrieving Stack Cost... 10:09:05 INFO: Retrieving Pricing Info for: v3-standard-8 10:09:05 INFO: Archiving Costs [Pipeline] echo 10:09:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:09:05 ---> logs-deploy.sh 10:09:05 lf-activate-venv: SKIPPING 10:09:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-178/2 10:09:05 INFO: archiving workspace using pattern(s): 10:09:06 Archives upload complete. 10:09:06 INFO: archiving logs to Nexus