Pull request #195 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95cc09dea0b31fec8b538e4b37c9c289bff3b233+55c1d344d8db4a0ebfd83c23655690c476512767 (fdc1e75fb0649a882a4f8006e92220b42eb8036b) 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-ssh3733474309116129042.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3013626771205033340.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3263900296707403196.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11759536227074685126.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12204004250993893850.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh138642577207273016.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6639 in /w/workspace/edgexfoundry_device-gpio_PR-195 [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-195 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55c1d344d8db4a0ebfd83c23655690c476512767 into PR head commit 95cc09dea0b31fec8b538e4b37c9c289bff3b233 Merge succeeded, producing 95cc09dea0b31fec8b538e4b37c9c289bff3b233 Checking out Revision 95cc09dea0b31fec8b538e4b37c9c289bff3b233 (PR-195) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:57 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # 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 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:57 ========================================================= 00:41:57 EdgeX Global Pipelines Version Info 00:41:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:41:58 ------------------- 00:41:58 stable info: 00:41:58 ------------------- 00:41:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:41:58 Message: update stable to v1.0.254 00:41:58 ------------------- 00:41:58 experimental info: 00:41:58 ------------------- 00:41:58 Commited By: **** collab-it+edgex@linuxfoundation.org 00:41:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:41:58 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:41:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-195 [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-195 [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-195 [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95cc09d [Pipeline] echo 00:42:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:00 provisioning config files... 00:42:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config6056704392529875406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:00 ---> docker-login.sh 00:42:00 nexus3.edgexfoundry.org:10001 00:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:01 Configure a credential helper to remove this warning. See 00:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:01 00:42:01 Login Succeeded 00:42:01 nexus3.edgexfoundry.org:10002 00:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:01 Configure a credential helper to remove this warning. See 00:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:01 00:42:01 Login Succeeded 00:42:01 nexus3.edgexfoundry.org:10003 00:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:01 Configure a credential helper to remove this warning. See 00:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:01 00:42:01 Login Succeeded 00:42:01 nexus3.edgexfoundry.org:10004 00:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:01 Configure a credential helper to remove this warning. See 00:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:01 00:42:01 Login Succeeded 00:42:01 docker.io 00:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:01 Configure a credential helper to remove this warning. See 00:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:01 00:42:01 Login Succeeded 00:42:01 ---> docker-login.sh ends [Pipeline] } 00:42:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:42:02 + git rev-list -1 --merges 95cc09dea0b31fec8b538e4b37c9c289bff3b233~1..95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 00:42:02 -----------> git rev-list -1 --merges 95cc09dea0b31fec8b538e4b37c9c289bff3b233~1..95cc09dea0b31fec8b538e4b37c9c289bff3b233 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [false] [Pipeline] sh 00:42:03 + git log --format=format:%s -1 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 00:42:03 ========================================================= 00:42:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:42:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:03 + git log --format=format:%s -1 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 00:42:03 [semverPrep] GIT_COMMIT: 95cc09dea0b31fec8b538e4b37c9c289bff3b233, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:42:04 [semverPrep] This is not a build commit. [Pipeline] sh 00:42:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:04 + grep -v github /etc/ssh/ssh_known_hosts 00:42:04 + [ -e /tmp/ssh_known_hosts ] 00:42:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:42:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:42:04 + sudo tee -a /etc/ssh/ssh_known_hosts 00:42:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:04 00:42:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:07 0.1.4: Pulling from edgex-devops/py-git-semver 00:42:07 b85a868b505f: Pulling fs layer 00:42:07 e2be974225ed: Pulling fs layer 00:42:07 339a4e72a1f5: Pulling fs layer 00:42:07 988bab9f4d93: Pulling fs layer 00:42:07 1469e6f7b9e6: Pulling fs layer 00:42:07 eaf3925da568: Pulling fs layer 00:42:07 bab4dde63d76: Pulling fs layer 00:42:07 bde34c3a00c8: Pulling fs layer 00:42:07 b352a97aabf1: Pulling fs layer 00:42:07 4872d77fe225: Pulling fs layer 00:42:07 5851b861e8e6: Pulling fs layer 00:42:07 988bab9f4d93: Waiting 00:42:07 1469e6f7b9e6: Waiting 00:42:07 eaf3925da568: Waiting 00:42:07 bab4dde63d76: Waiting 00:42:07 bde34c3a00c8: Waiting 00:42:07 b352a97aabf1: Waiting 00:42:07 4872d77fe225: Waiting 00:42:07 5851b861e8e6: Waiting 00:42:07 e2be974225ed: Download complete 00:42:07 988bab9f4d93: Verifying Checksum 00:42:07 988bab9f4d93: Download complete 00:42:08 339a4e72a1f5: Verifying Checksum 00:42:08 339a4e72a1f5: Download complete 00:42:08 1469e6f7b9e6: Verifying Checksum 00:42:08 1469e6f7b9e6: Download complete 00:42:08 eaf3925da568: Download complete 00:42:08 bde34c3a00c8: Download complete 00:42:09 b352a97aabf1: Verifying Checksum 00:42:09 b352a97aabf1: Download complete 00:42:09 4872d77fe225: Download complete 00:42:09 5851b861e8e6: Download complete 00:42:10 bab4dde63d76: Verifying Checksum 00:42:10 bab4dde63d76: Download complete 00:42:11 b85a868b505f: Pull complete 00:42:11 e2be974225ed: Pull complete 00:42:11 339a4e72a1f5: Pull complete 00:42:11 988bab9f4d93: Pull complete 00:42:11 1469e6f7b9e6: Pull complete 00:42:11 eaf3925da568: Pull complete 00:42:13 bab4dde63d76: Pull complete 00:42:13 bde34c3a00c8: Pull complete 00:42:14 b352a97aabf1: Pull complete 00:42:14 4872d77fe225: Pull complete 00:42:14 5851b861e8e6: Pull complete 00:42:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:14 prd-ubuntu20.04-docker-8c-8g-6639 does not seem to be running inside a container 00:42:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-195 -v /w/workspace/edgexfoundry_device-gpio_PR-195:/w/workspace/edgexfoundry_device-gpio_PR-195:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-195@tmp:/w/workspace/edgexfoundry_device-gpio_PR-195@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:42:17 $ docker top c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db -eo pid,comm 00:42:17 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). 00:42:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:17 [ssh-agent] Looking for ssh-agent implementation... 00:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:17 $ docker exec c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db ssh-agent 00:42:17 SSH_AUTH_SOCK=/tmp/ssh-yNV1BdytOK72/agent.32 00:42:17 SSH_AGENT_PID=38 00:42:17 Running ssh-add (command line suppressed) 00:42:17 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_14106236639540338441.key (/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_14106236639540338441.key) 00:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:18 + git tag --points-at HEAD [Pipeline] } 00:42:18 $ docker exec --env ******** --env ******** c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db ssh-agent -k 00:42:18 unset SSH_AUTH_SOCK; 00:42:18 unset SSH_AGENT_PID; 00:42:18 echo Agent pid 38 killed; 00:42:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:18 [ssh-agent] Looking for ssh-agent implementation... 00:42:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:18 $ docker exec c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db ssh-agent 00:42:18 SSH_AUTH_SOCK=/tmp/ssh-gvtmSWWZxti7/agent.70 00:42:18 SSH_AGENT_PID=76 00:42:18 Running ssh-add (command line suppressed) 00:42:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_16234376179076186224.key (/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_16234376179076186224.key) 00:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:19 + git semver init 00:42:19 2023-09-20 00:42:19,300 [run_init] DEBUG init version:0.0.0 force:False 00:42:19 2023-09-20 00:42:19,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-195/.semver 00:42:19 2023-09-20 00:42:19,302 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-195/.semver 00:42:19 2023-09-20 00:42:19,302 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-195/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-195, universal_newlines=False, shell=None, istream=None) 00:42:20 2023-09-20 00:42:20,281 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-195/.git/info/exclude 00:42:20 2023-09-20 00:42:20,282 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-195/.semver/PR-195 with force:False 00:42:20 2023-09-20 00:42:20,282 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-195/.semver/PR-195 00:42:20 2023-09-20 00:42:20,286 [execute] INFO git cat-file --batch-check 00:42:20 2023-09-20 00:42:20,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-195/.semver, universal_newlines=False, shell=None, istream=) 00:42:20 2023-09-20 00:42:20,291 [execute] INFO git cat-file --batch 00:42:20 2023-09-20 00:42:20,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-195/.semver, universal_newlines=False, shell=None, istream=) 00:42:20 2023-09-20 00:42:20,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-195/.semver/PR-195 00:42:20 0.0.0 [Pipeline] } 00:42:20 $ docker exec --env ******** --env ******** c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db ssh-agent -k 00:42:20 unset SSH_AUTH_SOCK; 00:42:20 unset SSH_AGENT_PID; 00:42:20 echo Agent pid 76 killed; 00:42:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:21 + git semver [Pipeline] } 00:42:21 $ docker stop --time=1 c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db 00:42:22 $ docker rm -f --volumes c1339906985d9f76479748cae2796c752f8289ffc95a388a2146fac17892e0db [Pipeline] // withDockerContainer [Pipeline] sh 00:42:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:23 Stashed 1 file(s) [Pipeline] echo 00:42:23 [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 00:42:24 provisioning config files... 00:42:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config1734488632397735783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:24 ---> docker-login.sh 00:42:24 nexus3.edgexfoundry.org:10001 00:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:24 Configure a credential helper to remove this warning. See 00:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:24 00:42:24 Login Succeeded 00:42:24 nexus3.edgexfoundry.org:10002 00:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:24 Configure a credential helper to remove this warning. See 00:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:24 00:42:24 Login Succeeded 00:42:24 nexus3.edgexfoundry.org:10003 00:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:24 Configure a credential helper to remove this warning. See 00:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:24 00:42:24 Login Succeeded 00:42:24 nexus3.edgexfoundry.org:10004 00:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:24 Configure a credential helper to remove this warning. See 00:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:24 00:42:24 Login Succeeded 00:42:24 docker.io 00:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:24 Configure a credential helper to remove this warning. See 00:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:24 00:42:24 Login Succeeded 00:42:24 ---> docker-login.sh ends [Pipeline] } 00:42:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:25 ========================================================= 00:42:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:42:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:42:25 Sending build context to Docker daemon 16.11MB 00:42:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:42:25 Step 2/12 : FROM ${BASE} AS builder 00:42:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:25 7264a8db6415: Pulling fs layer 00:42:25 c4d48a809fc2: Pulling fs layer 00:42:25 4f1c88b9dad5: Pulling fs layer 00:42:25 ad3a456e5733: Pulling fs layer 00:42:25 9e4f439ed901: Pulling fs layer 00:42:25 feaf6a47b606: Pulling fs layer 00:42:25 5e8b037d7d82: Pulling fs layer 00:42:25 8ac70367396e: Pulling fs layer 00:42:25 6db16350a2e2: Pulling fs layer 00:42:25 9250d5d63582: Pulling fs layer 00:42:25 feaf6a47b606: Waiting 00:42:25 5e8b037d7d82: Waiting 00:42:25 6db16350a2e2: Waiting 00:42:25 9250d5d63582: Waiting 00:42:25 8ac70367396e: Waiting 00:42:25 ad3a456e5733: Waiting 00:42:25 9e4f439ed901: Waiting 00:42:25 c4d48a809fc2: Download complete 00:42:25 ad3a456e5733: Download complete 00:42:25 9e4f439ed901: Download complete 00:42:25 7264a8db6415: Verifying Checksum 00:42:25 7264a8db6415: Download complete 00:42:25 feaf6a47b606: Verifying Checksum 00:42:25 feaf6a47b606: Download complete 00:42:26 7264a8db6415: Pull complete 00:42:26 8ac70367396e: Verifying Checksum 00:42:26 8ac70367396e: Download complete 00:42:26 c4d48a809fc2: Pull complete 00:42:26 4f1c88b9dad5: Verifying Checksum 00:42:26 4f1c88b9dad5: Download complete 00:42:26 6db16350a2e2: Verifying Checksum 00:42:26 6db16350a2e2: Download complete 00:42:26 9250d5d63582: Verifying Checksum 00:42:26 9250d5d63582: Download complete 00:42:26 5e8b037d7d82: Verifying Checksum 00:42:26 5e8b037d7d82: Download complete 00:42:30 4f1c88b9dad5: Pull complete 00:42:30 ad3a456e5733: Pull complete 00:42:30 9e4f439ed901: Pull complete 00:42:30 feaf6a47b606: Pull complete 00:42:32 5e8b037d7d82: Pull complete 00:42:32 8ac70367396e: Pull complete 00:42:33 6db16350a2e2: Pull complete 00:42:33 9250d5d63582: Pull complete 00:42:33 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 00:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:42:33 ---> fa269f55d9b9 00:42:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:42:38 Still waiting to schedule task 00:42:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6636’ is offline 00:42:39 ---> Running in 3ccc46f636c5 00:42:39 Removing intermediate container 3ccc46f636c5 00:42:39 ---> 61a9e3c79f82 00:42:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:42:39 ---> Running in c3cec208c69a 00:42:39 Removing intermediate container c3cec208c69a 00:42:39 ---> 1b7f0433c288 00:42:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:42:39 ---> Running in 1cc8d3de572d 00:42:39 Removing intermediate container 1cc8d3de572d 00:42:39 ---> a977236afdb0 00:42:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:42:39 ---> Running in cdc6c8975cae 00:42:39 Removing intermediate container cdc6c8975cae 00:42:39 ---> 641504a4e9c2 00:42:39 Step 7/12 : WORKDIR /device-gpio 00:42:39 ---> Running in 90e5361d88e8 00:42:39 Removing intermediate container 90e5361d88e8 00:42:39 ---> bbb68a2f3d19 00:42:39 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:39 ---> Running in c434d8c60fa1 00:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:42:40 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:42:40 (2/4) Installing libedit (20221030.3.1-r1) 00:42:40 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:42:40 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:42:40 Executing busybox-1.36.1-r2.trigger 00:42:40 OK: 270 MiB in 60 packages 00:42:40 Removing intermediate container c434d8c60fa1 00:42:40 ---> 8e5ba016474b 00:42:40 Step 9/12 : COPY go.mod vendor* ./ 00:42:40 ---> 0ab93db64f28 00:42:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:40 ---> Running in 56b016acb863 00:43:32 Removing intermediate container 56b016acb863 00:43:32 ---> 7e4b62ff2b4d 00:43:32 Step 11/12 : COPY . . 00:43:33 ---> ff4f5b7faa5e 00:43:33 Step 12/12 : RUN ${MAKE} 00:43:33 ---> Running in 9dd78096ec3e 00:43:33 noop 00:43:33 Removing intermediate container 9dd78096ec3e 00:43:33 ---> f95a27ad166e 00:43:33 Successfully built f95a27ad166e 00:43:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:34 + docker inspect -f . ci-base-image-x86_64 00:43:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:34 prd-ubuntu20.04-docker-8c-8g-6639 does not seem to be running inside a container 00:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-195 -v /w/workspace/edgexfoundry_device-gpio_PR-195:/w/workspace/edgexfoundry_device-gpio_PR-195:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-195@tmp:/w/workspace/edgexfoundry_device-gpio_PR-195@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 ******** ci-base-image-x86_64 cat 00:43:34 $ docker top 44d40ed90b08a198ec7b3ba6acb375696f6d90822543814df3892106bf898cb1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:35 + go version 00:43:35 go version go1.21.0 linux/amd64 [Pipeline] } 00:43:35 $ docker stop --time=1 44d40ed90b08a198ec7b3ba6acb375696f6d90822543814df3892106bf898cb1 00:43:36 $ docker rm -f --volumes 44d40ed90b08a198ec7b3ba6acb375696f6d90822543814df3892106bf898cb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:37 + docker inspect -f . ci-base-image-x86_64 00:43:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:37 prd-ubuntu20.04-docker-8c-8g-6639 does not seem to be running inside a container 00:43:37 $ 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-195 -v /w/workspace/edgexfoundry_device-gpio_PR-195:/w/workspace/edgexfoundry_device-gpio_PR-195:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-195@tmp:/w/workspace/edgexfoundry_device-gpio_PR-195@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 ******** ci-base-image-x86_64 cat 00:43:37 $ docker top fb28f19223bdcd394317d588b97366fa65474fd95b5c35d025930a44b23ffbba -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-195 [Pipeline] fileExists [Pipeline] sh 00:43:38 + make test 00:43:38 go test ./... -coverprofile=coverage.out ./... 00:43:39 ? github.com/edgexfoundry/device-gpio [no test files] 00:43:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:43:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:43:56 go vet ./... 00:43:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:43:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:43:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:43:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:43:59 $ docker stop --time=1 fb28f19223bdcd394317d588b97366fa65474fd95b5c35d025930a44b23ffbba 00:44:03 $ docker rm -f --volumes fb28f19223bdcd394317d588b97366fa65474fd95b5c35d025930a44b23ffbba [Pipeline] // withDockerContainer [Pipeline] sh 00:44:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:44:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:44:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:44:04 + ls -al . 00:44:04 total 168 00:44:04 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 00:43 . 00:44:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 00:41 .. 00:44:04 -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 00:41 .dockerignore 00:44:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 00:43 .git 00:44:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 00:41 .github 00:44:04 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 00:41 .gitignore 00:44:04 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 00:41 .golangci.yml 00:44:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 00:42 .semver 00:44:04 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 00:41 Attribution.txt 00:44:04 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 00:41 CHANGELOG.md 00:44:04 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 00:41 Dockerfile 00:44:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 00:41 GOVERNANCE.md 00:44:04 -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 00:41 Jenkinsfile 00:44:04 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 00:41 LICENSE 00:44:04 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 00:41 Makefile 00:44:04 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 00:41 OWNERS.md 00:44:04 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 00:41 README.md 00:44:04 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 00:42 VERSION 00:44:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 00:41 bin 00:44:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 00:41 cmd 00:44:04 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 00:43 coverage.out 00:44:04 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 00:41 go.mod 00:44:04 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 00:41 go.sum 00:44:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 00:41 internal 00:44:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 00:41 snap 00:44:04 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 00:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:05 + 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=95cc09dea0b31fec8b538e4b37c9c289bff3b233 --label arch=amd64 --label version=0.0.0 . 00:44:05 Sending build context to Docker daemon 16.11MB 00:44:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:44:05 Step 2/25 : FROM ${BASE} AS builder 00:44:05 ---> f95a27ad166e 00:44:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:44:05 ---> Running in 1f6643e1289c 00:44:05 Removing intermediate container 1f6643e1289c 00:44:05 ---> f43e0fdd4656 00:44:05 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:05 ---> Running in 84d042b9e061 00:44:05 Removing intermediate container 84d042b9e061 00:44:05 ---> 1e254042f8b4 00:44:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:44:05 ---> Running in dad8934db347 00:44:05 Removing intermediate container dad8934db347 00:44:05 ---> d07eedc44a24 00:44:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:44:05 ---> Running in ca87c5a14dc7 00:44:06 Removing intermediate container ca87c5a14dc7 00:44:06 ---> b54cb7c738bf 00:44:06 Step 7/25 : WORKDIR /device-gpio 00:44:06 ---> Running in e3f9ad0cb395 00:44:06 Removing intermediate container e3f9ad0cb395 00:44:06 ---> 8e548bb1d8f4 00:44:06 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:06 ---> Running in ee1113299849 00:44:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:44:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:44:06 OK: 270 MiB in 60 packages 00:44:07 Removing intermediate container ee1113299849 00:44:07 ---> fcbcff2659cf 00:44:07 Step 9/25 : COPY go.mod vendor* ./ 00:44:07 ---> 129680ac3aa7 00:44:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:07 ---> Running in cd8eaac4dc01 00:44:08 Removing intermediate container cd8eaac4dc01 00:44:08 ---> 8d7dc826ab52 00:44:08 Step 11/25 : COPY . . 00:44:08 ---> a71de34581dc 00:44:08 Step 12/25 : RUN ${MAKE} 00:44:08 ---> Running in a0934150860e 00:44:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:44:31 Removing intermediate container a0934150860e 00:44:31 ---> 4e76948a4233 00:44:31 Step 13/25 : FROM alpine:3.18 00:44:31 3.18: Pulling from library/alpine 00:44:31 7264a8db6415: Already exists 00:44:31 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:44:31 Status: Downloaded newer image for alpine:3.18 00:44:31 ---> 7e01a0d0a1dc 00:44:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:44:31 ---> Running in 217dd3d8d2aa 00:44:31 Removing intermediate container 217dd3d8d2aa 00:44:31 ---> 511c75c23c2b 00:44:31 Step 15/25 : RUN apk add --update --no-cache 00:44:31 ---> Running in bc6236830583 00:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:44:31 OK: 7 MiB in 15 packages 00:44:31 Removing intermediate container bc6236830583 00:44:31 ---> 1985cfed2dfe 00:44:31 Step 16/25 : WORKDIR / 00:44:31 ---> Running in 3dddd0fab472 00:44:31 Removing intermediate container 3dddd0fab472 00:44:31 ---> c67c99ae17b7 00:44:31 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:44:31 ---> 5920d7e9b5ce 00:44:31 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:44:31 ---> 3a15b3f25861 00:44:31 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:44:31 ---> 3d62c19776ef 00:44:31 Step 20/25 : EXPOSE 59910 00:44:31 ---> Running in 727232e78eca 00:44:31 Removing intermediate container 727232e78eca 00:44:31 ---> 453ee4692cc6 00:44:31 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:44:31 ---> Running in f61897a8ad5d 00:44:31 Removing intermediate container f61897a8ad5d 00:44:31 ---> 51652258cb6f 00:44:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:44:31 ---> Running in dbb8bb2cb13c 00:44:31 Removing intermediate container dbb8bb2cb13c 00:44:31 ---> 42e19e01f1e9 00:44:31 Step 23/25 : LABEL arch=amd64 00:44:31 ---> Running in 1b35fddce2e2 00:44:32 Removing intermediate container 1b35fddce2e2 00:44:32 ---> 50084552ac18 00:44:32 Step 24/25 : LABEL git_sha=95cc09dea0b31fec8b538e4b37c9c289bff3b233 00:44:32 ---> Running in f956a9594f69 00:44:32 Removing intermediate container f956a9594f69 00:44:32 ---> 13e965810ea4 00:44:32 Step 25/25 : LABEL version=0.0.0 00:44:32 ---> Running in 871384bb12fc 00:44:32 Removing intermediate container 871384bb12fc 00:44:32 ---> ed95072d1f99 00:44:32 [Warning] One or more build-args [ARCH] were not consumed 00:44:32 Successfully built ed95072d1f99 00:44:32 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 00:44:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:33 00:44:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:33 latest: Pulling from edgex-lftools-log-publisher 00:44:33 5eb5b503b376: Pulling fs layer 00:44:33 5c69ac0246d0: Pulling fs layer 00:44:33 ec43610c2a17: Pulling fs layer 00:44:33 3a2ae6a8a46f: Pulling fs layer 00:44:33 3a2ae6a8a46f: Waiting 00:44:33 33b1e0a273af: Pulling fs layer 00:44:33 5d3b04190fa2: Pulling fs layer 00:44:33 2f39f015ded8: Pulling fs layer 00:44:33 2f39f015ded8: Waiting 00:44:33 5d3b04190fa2: Waiting 00:44:33 5c69ac0246d0: Verifying Checksum 00:44:33 5c69ac0246d0: Download complete 00:44:33 3a2ae6a8a46f: Verifying Checksum 00:44:33 3a2ae6a8a46f: Download complete 00:44:33 33b1e0a273af: Verifying Checksum 00:44:33 33b1e0a273af: Download complete 00:44:33 5d3b04190fa2: Verifying Checksum 00:44:33 5d3b04190fa2: Download complete 00:44:33 ec43610c2a17: Verifying Checksum 00:44:33 ec43610c2a17: Download complete 00:44:33 5eb5b503b376: Verifying Checksum 00:44:33 5eb5b503b376: Download complete 00:44:34 2f39f015ded8: Download complete 00:44:35 5eb5b503b376: Pull complete 00:44:35 5c69ac0246d0: Pull complete 00:44:35 ec43610c2a17: Pull complete 00:44:35 3a2ae6a8a46f: Pull complete 00:44:36 33b1e0a273af: Pull complete 00:44:36 5d3b04190fa2: Pull complete 00:44:41 2f39f015ded8: Pull complete 00:44:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:41 prd-ubuntu20.04-docker-8c-8g-6639 does not seem to be running inside a container 00:44:41 $ 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-195 -v /w/workspace/edgexfoundry_device-gpio_PR-195:/w/workspace/edgexfoundry_device-gpio_PR-195:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-195@tmp:/w/workspace/edgexfoundry_device-gpio_PR-195@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:44:47 $ docker top c70f9ba7e50b8aa6aecb40c07520992300703e8eb0dcc47a1625f1805b9dc1d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:48 ---> job-cost.sh 00:44:48 lf-activate-venv: SKIPPING 00:44:48 INFO: No Stack... 00:44:48 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:48 INFO: Archiving Costs [Pipeline] sh 00:44:49 + cat /w/workspace/edgexfoundry_device-gpio_PR-195/archives/cost.csv 00:44:49 + cut -d, -f6 [Pipeline] lock 00:44:49 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] 00:44:49 Resource [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] did not exist. Created. 00:44:49 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:49 + echo total: 0.2199999988079071 [Pipeline] stash 00:44:49 Stashed 1 file(s) [Pipeline] } 00:44:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:49 $ docker stop --time=1 c70f9ba7e50b8aa6aecb40c07520992300703e8eb0dcc47a1625f1805b9dc1d8 00:44:51 $ docker rm -f --volumes c70f9ba7e50b8aa6aecb40c07520992300703e8eb0dcc47a1625f1805b9dc1d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:45:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6641 in /w/workspace/edgexfoundry_device-gpio_PR-195 [Pipeline] { [Pipeline] ws 00:45:18 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:45:18 The recommended git tool is: git 00:45:23 using credential edgex-jenkins-ssh 00:45:23 Cloning the remote Git repository 00:45:23 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:45:23 > git init /w/workspace/device-gpio/1 # timeout=10 00:45:23 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:45:23 > git --version # timeout=10 00:45:23 > git --version # 'git version 2.25.1' 00:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:25 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:45:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:27 Merging remotes/origin/main commit 55c1d344d8db4a0ebfd83c23655690c476512767 into PR head commit 95cc09dea0b31fec8b538e4b37c9c289bff3b233 00:45:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:45:26 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:27 > git config core.sparsecheckout # timeout=10 00:45:27 Merge succeeded, producing 95cc09dea0b31fec8b538e4b37c9c289bff3b233 00:45:27 Checking out Revision 95cc09dea0b31fec8b538e4b37c9c289bff3b233 (PR-195) 00:45:27 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:45:28 > git --version # timeout=10 00:45:28 > git --version # 'git version 2.25.1' 00:45:28 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:45:27 > git checkout -f 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # timeout=10 00:45:27 > git remote # timeout=10 00:45:27 > git config --get remote.origin.url # timeout=10 00:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:27 > git merge 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 00:45:27 > git rev-parse HEAD^{commit} # timeout=10 00:45:27 > git config core.sparsecheckout # timeout=10 00:45:27 > git checkout -f 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:29 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:29 Dload Upload Total Spent Left Speed 00:45:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 00:45:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:45:30 + sudo tee /etc/docker/daemon.new 00:45:30 { 00:45:30 "registry-mirrors": [ 00:45:30 "https://nexus3.edgexfoundry.org:10001" 00:45:30 ], 00:45:30 "bip": "10.250.0.254/24", 00:45:30 "hosts": [ 00:45:30 "tcp://0.0.0.0:5555", 00:45:30 "unix:///var/run/docker.sock" 00:45:30 ], 00:45:30 "mtu": 1458, 00:45:30 "selinux-enabled": true, 00:45:30 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:30 } [Pipeline] sh 00:45:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:49 provisioning config files... 00:45:49 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9120645303923197962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:49 ---> docker-login.sh 00:45:49 nexus3.edgexfoundry.org:10001 00:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:50 Configure a credential helper to remove this warning. See 00:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:50 00:45:50 Login Succeeded 00:45:50 nexus3.edgexfoundry.org:10002 00:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:50 Configure a credential helper to remove this warning. See 00:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:50 00:45:50 Login Succeeded 00:45:50 nexus3.edgexfoundry.org:10003 00:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:50 Configure a credential helper to remove this warning. See 00:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:50 00:45:50 Login Succeeded 00:45:50 nexus3.edgexfoundry.org:10004 00:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:51 Configure a credential helper to remove this warning. See 00:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:51 00:45:51 Login Succeeded 00:45:51 docker.io 00:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:52 Configure a credential helper to remove this warning. See 00:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:52 00:45:52 Login Succeeded 00:45:52 ---> docker-login.sh ends [Pipeline] } 00:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:52 ========================================================= 00:45:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:45:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:45:53 Sending build context to Docker daemon 8.119MB 00:45:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:45:53 Step 2/12 : FROM ${BASE} AS builder 00:45:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:53 9fda8d8052c6: Pulling fs layer 00:45:53 5d54e960e981: Pulling fs layer 00:45:53 c4a7e357bf2a: Pulling fs layer 00:45:53 f0e02332f6b5: Pulling fs layer 00:45:53 66412af1f25a: Pulling fs layer 00:45:53 1baf3a5c0e64: Pulling fs layer 00:45:53 9a37bb91b891: Pulling fs layer 00:45:53 a29adfc67d43: Pulling fs layer 00:45:53 d5de9f91c1a4: Pulling fs layer 00:45:53 1baf3a5c0e64: Waiting 00:45:53 9a37bb91b891: Waiting 00:45:53 a29adfc67d43: Waiting 00:45:53 f0e02332f6b5: Waiting 00:45:53 66412af1f25a: Waiting 00:45:53 d5de9f91c1a4: Waiting 00:45:53 5d54e960e981: Verifying Checksum 00:45:53 5d54e960e981: Download complete 00:45:53 f0e02332f6b5: Verifying Checksum 00:45:53 f0e02332f6b5: Download complete 00:45:53 66412af1f25a: Verifying Checksum 00:45:53 66412af1f25a: Download complete 00:45:53 9fda8d8052c6: Verifying Checksum 00:45:53 9fda8d8052c6: Download complete 00:45:54 9a37bb91b891: Verifying Checksum 00:45:54 9a37bb91b891: Download complete 00:45:55 a29adfc67d43: Download complete 00:45:55 9fda8d8052c6: Pull complete 00:45:56 5d54e960e981: Pull complete 00:45:56 d5de9f91c1a4: Verifying Checksum 00:45:56 d5de9f91c1a4: Download complete 00:45:56 c4a7e357bf2a: Verifying Checksum 00:45:56 c4a7e357bf2a: Download complete 00:45:57 1baf3a5c0e64: Verifying Checksum 00:45:57 1baf3a5c0e64: Download complete 00:46:07 c4a7e357bf2a: Pull complete 00:46:07 f0e02332f6b5: Pull complete 00:46:07 66412af1f25a: Pull complete 00:46:14 1baf3a5c0e64: Pull complete 00:46:15 9a37bb91b891: Pull complete 00:46:16 a29adfc67d43: Pull complete 00:46:19 d5de9f91c1a4: Pull complete 00:46:19 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 00:46:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:46:19 ---> 746ca1b523b5 00:46:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:46:21 ---> Running in 009ba45abcce 00:46:21 Removing intermediate container 009ba45abcce 00:46:21 ---> aaf8a2de16bc 00:46:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:46:21 ---> Running in cb6513cc59a0 00:46:21 Removing intermediate container cb6513cc59a0 00:46:21 ---> da70dce9ed61 00:46:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:46:21 ---> Running in df17a41745a9 00:46:22 Removing intermediate container df17a41745a9 00:46:22 ---> 9505299296d3 00:46:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:46:22 ---> Running in 5e1ade255ca1 00:46:22 Removing intermediate container 5e1ade255ca1 00:46:22 ---> c71a66cfef21 00:46:22 Step 7/12 : WORKDIR /device-gpio 00:46:22 ---> Running in 35932c962dd4 00:46:22 Removing intermediate container 35932c962dd4 00:46:22 ---> 506d25a2360b 00:46:22 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:23 ---> Running in 0eb8821da108 00:46:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:46:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:46:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:46:25 (2/4) Installing libedit (20221030.3.1-r1) 00:46:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:46:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:46:25 Executing busybox-1.36.1-r2.trigger 00:46:25 OK: 272 MiB in 60 packages 00:46:26 Removing intermediate container 0eb8821da108 00:46:26 ---> 66e320a308b2 00:46:26 Step 9/12 : COPY go.mod vendor* ./ 00:46:27 ---> 817066a9280f 00:46:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:27 ---> Running in 586cd9356c06 00:47:49 Removing intermediate container 586cd9356c06 00:47:49 ---> 4129713ad4ae 00:47:49 Step 11/12 : COPY . . 00:47:49 ---> 398dd2e819d9 00:47:49 Step 12/12 : RUN ${MAKE} 00:47:49 ---> Running in f252cff05d8e 00:47:49 noop 00:47:49 Removing intermediate container f252cff05d8e 00:47:49 ---> 0ddd074f25f3 00:47:49 Successfully built 0ddd074f25f3 00:47:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:49 + docker inspect -f . ci-base-image-arm64 00:47:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:49 prd-ubuntu20.04-docker-arm64-4c-16g-6641 does not seem to be running inside a container 00:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:51 $ docker top 0f48ad5b13873199e32c78ef9659d526e1c1ab0ef16d160135960080fd06c945 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:52 + go version 00:47:52 go version go1.21.0 linux/arm64 [Pipeline] } 00:47:52 $ docker stop --time=1 0f48ad5b13873199e32c78ef9659d526e1c1ab0ef16d160135960080fd06c945 00:47:53 $ docker rm -f --volumes 0f48ad5b13873199e32c78ef9659d526e1c1ab0ef16d160135960080fd06c945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:54 + docker inspect -f . ci-base-image-arm64 00:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:55 prd-ubuntu20.04-docker-arm64-4c-16g-6641 does not seem to be running inside a container 00:47:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:56 $ docker top 893c17adc9eb406140fff0f8bc747d93d73bfce332a8e33f634821955ba42d86 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:56 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:47:57 + make test 00:47:57 go test ./... -coverprofile=coverage.out ./... 00:48:01 ? github.com/edgexfoundry/device-gpio [no test files] 00:49:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:49:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:49:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:49:38 go vet ./... 00:50:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:00 ./bin/test-attribution-txt.sh [Pipeline] echo 00:50:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:50:00 $ docker stop --time=1 893c17adc9eb406140fff0f8bc747d93d73bfce332a8e33f634821955ba42d86 00:50:02 $ docker rm -f --volumes 893c17adc9eb406140fff0f8bc747d93d73bfce332a8e33f634821955ba42d86 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:04 Warning: overwriting stash ‘coverage-report’ 00:50:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:50:05 + ls -al . 00:50:05 total 164 00:50:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 00:48 . 00:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 00:45 .. 00:50:05 -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 00:45 .dockerignore 00:50:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 00:45 .git 00:50:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 00:45 .github 00:50:05 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 00:45 .gitignore 00:50:05 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 00:45 .golangci.yml 00:50:05 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 00:45 Attribution.txt 00:50:05 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 00:45 CHANGELOG.md 00:50:05 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 00:45 Dockerfile 00:50:05 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 00:45 GOVERNANCE.md 00:50:05 -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 00:45 Jenkinsfile 00:50:05 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 00:45 LICENSE 00:50:05 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 00:45 Makefile 00:50:05 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 00:45 OWNERS.md 00:50:05 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 00:45 README.md 00:50:05 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 00:42 VERSION 00:50:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 00:45 bin 00:50:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 00:45 cmd 00:50:05 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 00:48 coverage.out 00:50:05 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 00:45 go.mod 00:50:05 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 00:45 go.sum 00:50:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 00:45 internal 00:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 00:45 snap 00:50:05 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:06 + 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=95cc09dea0b31fec8b538e4b37c9c289bff3b233 --label arch=arm64 --label version=0.0.0 . 00:50:06 Sending build context to Docker daemon 8.12MB 00:50:06 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:50:06 Step 2/25 : FROM ${BASE} AS builder 00:50:06 ---> 0ddd074f25f3 00:50:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:50:06 ---> Running in 1f3f451b207b 00:50:08 Removing intermediate container 1f3f451b207b 00:50:08 ---> 086a3cdcc9f9 00:50:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:08 ---> Running in d88942b73cd5 00:50:12 Removing intermediate container d88942b73cd5 00:50:12 ---> 44b69a47a0b2 00:50:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:50:12 ---> Running in 9ab205c58b04 00:50:12 Removing intermediate container 9ab205c58b04 00:50:12 ---> 682ffbd6c453 00:50:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:50:12 ---> Running in 4b81fd4c0713 00:50:12 Removing intermediate container 4b81fd4c0713 00:50:12 ---> f8e2dc600fc5 00:50:12 Step 7/25 : WORKDIR /device-gpio 00:50:12 ---> Running in 49b5c06eca9b 00:50:13 Removing intermediate container 49b5c06eca9b 00:50:13 ---> cac09096d3ef 00:50:13 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:13 ---> Running in 43dc1271db51 00:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:50:15 OK: 272 MiB in 60 packages 00:50:16 Removing intermediate container 43dc1271db51 00:50:16 ---> 4261e6f61993 00:50:16 Step 9/25 : COPY go.mod vendor* ./ 00:50:16 ---> 2404c538844b 00:50:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:16 ---> Running in 3f35df0366f3 00:50:18 Removing intermediate container 3f35df0366f3 00:50:18 ---> 720f7ac6ed6d 00:50:18 Step 11/25 : COPY . . 00:50:19 ---> 0a13f5699006 00:50:19 Step 12/25 : RUN ${MAKE} 00:50:19 ---> Running in 812dce3086ae 00:50:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:52:12 Removing intermediate container 812dce3086ae 00:52:12 ---> 2aad914db4bb 00:52:12 Step 13/25 : FROM alpine:3.18 00:52:12 3.18: Pulling from library/alpine 00:52:12 9fda8d8052c6: Already exists 00:52:12 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:52:12 Status: Downloaded newer image for alpine:3.18 00:52:12 ---> f6648c04cd6c 00:52:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:52:12 ---> Running in 1bd47799dbef 00:52:12 Removing intermediate container 1bd47799dbef 00:52:12 ---> e05ee4a7552f 00:52:12 Step 15/25 : RUN apk add --update --no-cache 00:52:12 ---> Running in 1eef24892dc8 00:52:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:52:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:52:12 OK: 8 MiB in 15 packages 00:52:15 Removing intermediate container 1eef24892dc8 00:52:15 ---> 59f393d37309 00:52:15 Step 16/25 : WORKDIR / 00:52:15 ---> Running in 97ade291ddfd 00:52:15 Removing intermediate container 97ade291ddfd 00:52:15 ---> 8daaf33b2b7a 00:52:15 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:52:16 ---> a13111b77ed1 00:52:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:52:17 ---> 2f3a6d339dfe 00:52:17 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:52:18 ---> aa80d505b69f 00:52:18 Step 20/25 : EXPOSE 59910 00:52:18 ---> Running in d0f6cd43ea3e 00:52:18 Removing intermediate container d0f6cd43ea3e 00:52:18 ---> 28ac7d5bf5bf 00:52:18 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:52:18 ---> Running in 4b6ca6cb65f7 00:52:19 Removing intermediate container 4b6ca6cb65f7 00:52:19 ---> f7fecd9a978e 00:52:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:52:19 ---> Running in 42cd49a7c186 00:52:19 Removing intermediate container 42cd49a7c186 00:52:19 ---> c2a51c8a382d 00:52:19 Step 23/25 : LABEL arch=arm64 00:52:19 ---> Running in a0ed9500edee 00:52:19 Removing intermediate container a0ed9500edee 00:52:19 ---> fbbc7abe11d7 00:52:19 Step 24/25 : LABEL git_sha=95cc09dea0b31fec8b538e4b37c9c289bff3b233 00:52:19 ---> Running in e4dbc340d471 00:52:19 Removing intermediate container e4dbc340d471 00:52:19 ---> 9cec29d97a54 00:52:19 Step 25/25 : LABEL version=0.0.0 00:52:20 ---> Running in e5699459f651 00:52:20 Removing intermediate container e5699459f651 00:52:20 ---> 6690656d349b 00:52:20 [Warning] One or more build-args [ARCH] were not consumed 00:52:20 Successfully built 6690656d349b 00:52:20 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 00:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:21 00:52:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:21 arm64: Pulling from edgex-lftools-log-publisher 00:52:21 8998bd30e6a1: Pulling fs layer 00:52:21 04944245beec: Pulling fs layer 00:52:21 699f458cf7ca: Pulling fs layer 00:52:21 765212b225bb: Pulling fs layer 00:52:21 f23df028b6ca: Pulling fs layer 00:52:21 d65c8cfc05b1: Pulling fs layer 00:52:21 2437ff75d9bd: Pulling fs layer 00:52:21 f23df028b6ca: Waiting 00:52:21 d65c8cfc05b1: Waiting 00:52:21 2437ff75d9bd: Waiting 00:52:21 765212b225bb: Waiting 00:52:21 04944245beec: Verifying Checksum 00:52:21 04944245beec: Download complete 00:52:21 765212b225bb: Verifying Checksum 00:52:21 765212b225bb: Download complete 00:52:21 f23df028b6ca: Verifying Checksum 00:52:21 d65c8cfc05b1: Verifying Checksum 00:52:21 d65c8cfc05b1: Download complete 00:52:21 699f458cf7ca: Verifying Checksum 00:52:21 699f458cf7ca: Download complete 00:52:22 8998bd30e6a1: Verifying Checksum 00:52:22 8998bd30e6a1: Download complete 00:52:24 2437ff75d9bd: Verifying Checksum 00:52:24 2437ff75d9bd: Download complete 00:52:26 8998bd30e6a1: Pull complete 00:52:28 04944245beec: Pull complete 00:52:29 699f458cf7ca: Pull complete 00:52:30 765212b225bb: Pull complete 00:52:31 f23df028b6ca: Pull complete 00:52:31 d65c8cfc05b1: Pull complete 00:52:46 2437ff75d9bd: Pull complete 00:52:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:52:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:46 prd-ubuntu20.04-docker-arm64-4c-16g-6641 does not seem to be running inside a container 00:52:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:52:49 $ docker top 0c0c95bc1b2641cb5bff40ae6608d14445df279b228f039a8a875b20945db691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:49 ---> job-cost.sh 00:52:49 lf-activate-venv: SKIPPING 00:52:49 INFO: No Stack... 00:52:50 INFO: Retrieving Pricing Info for: v3-standard-4 00:52:51 INFO: Archiving Costs [Pipeline] sh 00:52:51 + cut -d, -f6 00:52:51 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 00:52:51 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] 00:52:51 Resource [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] did not exist. Created. 00:52:51 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:52:52 /w/workspace/device-gpio/1@tmp/durable-3f0138e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:52:52 + echo total: 0.10999999940395355 [Pipeline] stash 00:52:52 Warning: overwriting stash ‘stack-cost’ 00:52:52 Stashed 1 file(s) [Pipeline] } 00:52:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:52:52 $ docker stop --time=1 0c0c95bc1b2641cb5bff40ae6608d14445df279b228f039a8a875b20945db691 00:52:55 $ docker rm -f --volumes 0c0c95bc1b2641cb5bff40ae6608d14445df279b228f039a8a875b20945db691 [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 00:52:56 provisioning config files... 00:52:56 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config17797361240562188659tmp [Pipeline] { [Pipeline] sh 00:52:56 + set +x 00:52:56 + bash -s -- 00:52:56 + curl -s https://codecov.io/bash 00:52:56 00:52:56 _____ _ 00:52:56 / ____| | | 00:52:56 | | ___ __| | ___ ___ _____ __ 00:52:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:52:56 | |___| (_) | (_| | __/ (_| (_) \ V / 00:52:56 \_____\___/ \__,_|\___|\___\___/ \_/ 00:52:56 Bash-1.0.6 00:52:56 00:52:56 00:52:56 ==> git version 2.25.1 found 00:52:56 ==> 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 00:52:56 Release-Date: 2020-01-08 00:52:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:52:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:52:56 ==> Jenkins CI detected. 00:52:56 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-195 00:52:56 project root: . 00:52:56 --> token set from env 00:52:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:52:56 ==> Running gcov in . (disable via -X gcov) 00:52:56 ==> Python coveragepy not found 00:52:56 ==> Searching for coverage reports in: 00:52:56 + . 00:52:56 -> Found 1 reports 00:52:56 ==> Detecting git/mercurial file structure 00:52:56 ==> Reading reports 00:52:56 + ./coverage.out bytes=10 00:52:56 ==> Appending adjustments 00:52:56 https://docs.codecov.io/docs/fixing-reports 00:52:56 + Found adjustments 00:52:56 ==> Gzipping contents 00:52:56 4.0K /tmp/codecov.5Kxb1O.gz 00:52:56 ==> Uploading reports 00:52:56 url: https://codecov.io 00:52:56 query: branch=PR-195&commit=95cc09dea0b31fec8b538e4b37c9c289bff3b233&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-195%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=195&job=&cmd_args= 00:52:56 -> Pinging Codecov 00:52:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-195&commit=95cc09dea0b31fec8b538e4b37c9c289bff3b233&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-195%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=195&job=&cmd_args= 00:52:57 -> Uploading to 00:52:57 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/95cc09dea0b31fec8b538e4b37c9c289bff3b233/89ccae58-8645-4dc1-826f-fb23c878221c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T005256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8827c70b3c386e4adcad316bd4eddf3ab281b8b0e1205aa794d0fe40fbc315b1 00:52:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:52:57 Dload Upload Total Spent Left Speed 00:52:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3620 --:--:-- --:--:-- --:--:-- 3620 00:52:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] } 00:52:57 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 00:52:58 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-195/archives ] 00:52:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-195/archives 00:52:58 total 16 00:52:58 drwxr-xr-x 3 root root 4096 Sep 20 00:44 . 00:52:58 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 00:44 .. 00:52:58 drwxr-xr-x 2 root root 4096 Sep 20 00:44 cost 00:52:58 -rw-r--r-- 1 root root 83 Sep 20 00:44 cost.csv 00:52:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-195/archives 00:52:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-195/archives 00:52:58 total 16 00:52:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 00:44 . 00:52:58 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 00:44 .. 00:52:58 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 00:44 cost 00:52:58 -rw-r--r-- 1 jenkins jenkins 83 Sep 20 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:52:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:53:00 ---> package-listing.sh 00:53:00 ++ facter osfamily 00:53:00 ++ tr '[:upper:]' '[:lower:]' 00:53:00 + OS_FAMILY=debian 00:53:00 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-195 00:53:00 + START_PACKAGES=/tmp/packages_start.txt 00:53:00 + END_PACKAGES=/tmp/packages_end.txt 00:53:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:53:00 + PACKAGES=/tmp/packages_start.txt 00:53:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-195 ']' 00:53:00 + PACKAGES=/tmp/packages_end.txt 00:53:00 + case "${OS_FAMILY}" in 00:53:00 + dpkg -l 00:53:00 + grep '^ii' 00:53:00 + '[' -f /tmp/packages_start.txt ']' 00:53:00 + '[' -f /tmp/packages_end.txt ']' 00:53:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:53:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-195 ']' 00:53:00 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-195/archives/ 00:53:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-195/archives/ [Pipeline] echo 00:53: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-195/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:53:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:01 prd-ubuntu20.04-docker-8c-8g-6639 does not seem to be running inside a container 00:53: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-195/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-195 -v /w/workspace/edgexfoundry_device-gpio_PR-195:/w/workspace/edgexfoundry_device-gpio_PR-195:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-195@tmp:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:53:01 $ docker top 6a95b8d69b8c02c364dcf6cf9384e3dd486059890070f648aec2c34665ea306d -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:01 + touch /tmp/pre-build-complete [Pipeline] sh 00:53:02 + mkdir -p /var/log/sysstat [Pipeline] sh 00:53:02 + ls /var/log/sa-host 00:53:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:02 provisioning config files... 00:53:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config17633002903011059528tmp [Pipeline] { [Pipeline] echo 00:53:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:53:03 ---> create-netrc.sh [Pipeline] } 00:53:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:53:03 ---> python-tools-install.sh [Pipeline] echo 00:53:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:53:03 ---> sudo-logs.sh 00:53:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:53:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:53:04 ---> job-cost.sh 00:53:04 lf-activate-venv: SKIPPING 00:53:04 DEBUG: total: 0.2199999988079071 00:53:04 INFO: Retrieving Stack Cost... 00:53:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:53:05 INFO: Archiving Costs [Pipeline] echo 00:53:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:53:05 ---> logs-deploy.sh 00:53:05 lf-activate-venv: SKIPPING 00:53:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-195/1 00:53:05 INFO: archiving workspace using pattern(s): 00:53:06 Archives upload complete. 00:53:06 INFO: archiving logs to Nexus