Pull request #195 reopened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95cc09dea0b31fec8b538e4b37c9c289bff3b233+55c1d344d8db4a0ebfd83c23655690c476512767 (dd1240aae7958587c2f942efd82429b49eda293f) 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-ssh15293802319846830411.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-ssh282688882561225221.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12793930077282025410.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 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-ssh9545239678234202072.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11337831382408828448.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-6676 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" > 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 > git rev-list --no-walk 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:13:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:13:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:13:00 ========================================================= 06:13:00 EdgeX Global Pipelines Version Info 06:13:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:13:00 ------------------- 06:13:00 stable info: 06:13:00 ------------------- 06:13:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:13:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 06:13:00 Message: update stable to v1.0.254 06:13:01 ------------------- 06:13:01 experimental info: 06:13:01 ------------------- 06:13:01 Commited By: **** collab-it+edgex@linuxfoundation.org 06:13:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 06:13:01 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-195 [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-195 [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-195 [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95cc09d [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:01 provisioning config files... 06:13:01 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config14782154044074746840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:02 ---> docker-login.sh 06:13:02 nexus3.edgexfoundry.org:10001 06:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:02 Configure a credential helper to remove this warning. See 06:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:02 06:13:02 Login Succeeded 06:13:02 nexus3.edgexfoundry.org:10002 06:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:02 Configure a credential helper to remove this warning. See 06:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:02 06:13:02 Login Succeeded 06:13:02 nexus3.edgexfoundry.org:10003 06:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:03 Configure a credential helper to remove this warning. See 06:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:03 06:13:03 Login Succeeded 06:13:03 nexus3.edgexfoundry.org:10004 06:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:03 Configure a credential helper to remove this warning. See 06:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:03 06:13:03 Login Succeeded 06:13:03 docker.io 06:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:03 Configure a credential helper to remove this warning. See 06:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:03 06:13:03 Login Succeeded 06:13:03 ---> docker-login.sh ends [Pipeline] } 06:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:13:03 + git rev-list -1 --merges 95cc09dea0b31fec8b538e4b37c9c289bff3b233~1..95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 06:13:03 -----------> git rev-list -1 --merges 95cc09dea0b31fec8b538e4b37c9c289bff3b233~1..95cc09dea0b31fec8b538e4b37c9c289bff3b233 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [false] [Pipeline] sh 06:13:04 + git log --format=format:%s -1 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 06:13:04 ========================================================= 06:13:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:13:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:04 + git log --format=format:%s -1 95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] echo 06:13:04 [semverPrep] GIT_COMMIT: 95cc09dea0b31fec8b538e4b37c9c289bff3b233, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:13:04 [semverPrep] This is not a build commit. [Pipeline] sh 06:13:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:13:04 + grep -v github /etc/ssh/ssh_known_hosts 06:13:04 + [ -e /tmp/ssh_known_hosts ] 06:13:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:13:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:13:04 + sudo tee -a /etc/ssh/ssh_known_hosts 06:13:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:13:05 06:13:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:13:05 0.1.4: Pulling from edgex-devops/py-git-semver 06:13:05 b85a868b505f: Pulling fs layer 06:13:05 e2be974225ed: Pulling fs layer 06:13:05 339a4e72a1f5: Pulling fs layer 06:13:05 988bab9f4d93: Pulling fs layer 06:13:05 1469e6f7b9e6: Pulling fs layer 06:13:05 eaf3925da568: Pulling fs layer 06:13:05 bab4dde63d76: Pulling fs layer 06:13:05 bde34c3a00c8: Pulling fs layer 06:13:05 1469e6f7b9e6: Waiting 06:13:05 eaf3925da568: Waiting 06:13:05 988bab9f4d93: Waiting 06:13:05 bab4dde63d76: Waiting 06:13:05 b352a97aabf1: Pulling fs layer 06:13:05 4872d77fe225: Pulling fs layer 06:13:05 5851b861e8e6: Pulling fs layer 06:13:05 bde34c3a00c8: Waiting 06:13:05 b352a97aabf1: Waiting 06:13:05 4872d77fe225: Waiting 06:13:05 e2be974225ed: Verifying Checksum 06:13:05 e2be974225ed: Download complete 06:13:05 988bab9f4d93: Verifying Checksum 06:13:05 988bab9f4d93: Download complete 06:13:05 1469e6f7b9e6: Verifying Checksum 06:13:05 1469e6f7b9e6: Download complete 06:13:05 eaf3925da568: Download complete 06:13:05 339a4e72a1f5: Verifying Checksum 06:13:05 339a4e72a1f5: Download complete 06:13:05 bde34c3a00c8: Verifying Checksum 06:13:05 bde34c3a00c8: Download complete 06:13:05 b352a97aabf1: Download complete 06:13:05 4872d77fe225: Verifying Checksum 06:13:05 4872d77fe225: Download complete 06:13:05 5851b861e8e6: Verifying Checksum 06:13:05 5851b861e8e6: Download complete 06:13:05 b85a868b505f: Verifying Checksum 06:13:05 b85a868b505f: Download complete 06:13:05 bab4dde63d76: Verifying Checksum 06:13:05 bab4dde63d76: Download complete 06:13:06 b85a868b505f: Pull complete 06:13:07 e2be974225ed: Pull complete 06:13:07 339a4e72a1f5: Pull complete 06:13:07 988bab9f4d93: Pull complete 06:13:07 1469e6f7b9e6: Pull complete 06:13:07 eaf3925da568: Pull complete 06:13:09 bab4dde63d76: Pull complete 06:13:09 bde34c3a00c8: Pull complete 06:13:09 b352a97aabf1: Pull complete 06:13:10 4872d77fe225: Pull complete 06:13:10 5851b861e8e6: Pull complete 06:13:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:13:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:10 prd-ubuntu20.04-docker-8c-8g-6676 does not seem to be running inside a container 06:13:10 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:13:11 $ docker top dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 -eo pid,comm 06:13:11 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). 06:13:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:13:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:11 [ssh-agent] Looking for ssh-agent implementation... 06:13:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:11 $ docker exec dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 ssh-agent 06:13:12 SSH_AUTH_SOCK=/tmp/ssh-wZ0r3wCNrf9M/agent.32 06:13:12 SSH_AGENT_PID=38 06:13:12 Running ssh-add (command line suppressed) 06:13:12 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_2762219816365708331.key (/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_2762219816365708331.key) 06:13:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:12 + git tag --points-at HEAD [Pipeline] } 06:13:12 $ docker exec --env ******** --env ******** dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 ssh-agent -k 06:13:12 unset SSH_AUTH_SOCK; 06:13:12 unset SSH_AGENT_PID; 06:13:12 echo Agent pid 38 killed; 06:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:12 [ssh-agent] Looking for ssh-agent implementation... 06:13:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:12 $ docker exec dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 ssh-agent 06:13:12 SSH_AUTH_SOCK=/tmp/ssh-MTF2Ttym72Q1/agent.70 06:13:12 SSH_AGENT_PID=76 06:13:12 Running ssh-add (command line suppressed) 06:13:12 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_13175817225035034815.key (/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/private_key_13175817225035034815.key) 06:13:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:13 + git semver init 06:13:13 2023-09-20 06:13:13,469 [run_init] DEBUG init version:0.0.0 force:False 06:13:13 2023-09-20 06:13:13,470 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-195/.semver 06:13:13 2023-09-20 06:13:13,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-195/.semver 06:13:13 2023-09-20 06:13:13,470 [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) 06:13:14 2023-09-20 06:13:14,324 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-195/.git/info/exclude 06:13:14 2023-09-20 06:13:14,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-195/.semver/PR-195 with force:False 06:13:14 2023-09-20 06:13:14,325 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-195/.semver/PR-195 06:13:14 2023-09-20 06:13:14,329 [execute] INFO git cat-file --batch-check 06:13:14 2023-09-20 06:13:14,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-195/.semver, universal_newlines=False, shell=None, istream=) 06:13:14 2023-09-20 06:13:14,336 [execute] INFO git cat-file --batch 06:13:14 2023-09-20 06:13:14,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-195/.semver, universal_newlines=False, shell=None, istream=) 06:13:14 2023-09-20 06:13:14,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-195/.semver/PR-195 06:13:14 0.0.0 [Pipeline] } 06:13:14 $ docker exec --env ******** --env ******** dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 ssh-agent -k 06:13:14 unset SSH_AUTH_SOCK; 06:13:14 unset SSH_AGENT_PID; 06:13:14 echo Agent pid 76 killed; 06:13:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:13:14 + git semver [Pipeline] } 06:13:15 $ docker stop --time=1 dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 06:13:16 $ docker rm -f --volumes dbbf415b8ee9b8231c0ffeb3ad382a304de326bdc962f2832c57a65dfc8ad065 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:13:17 Stashed 1 file(s) [Pipeline] echo 06:13:17 [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 06:13:17 provisioning config files... 06:13:17 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config13292084923088660917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:17 ---> docker-login.sh 06:13:17 nexus3.edgexfoundry.org:10001 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 nexus3.edgexfoundry.org:10002 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 nexus3.edgexfoundry.org:10003 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 nexus3.edgexfoundry.org:10004 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 docker.io 06:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:18 Configure a credential helper to remove this warning. See 06:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:18 06:13:18 Login Succeeded 06:13:18 ---> docker-login.sh ends [Pipeline] } 06:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:18 ========================================================= 06:13:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:13:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:18 + 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 . 06:13:18 Sending build context to Docker daemon 16.11MB 06:13:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:13:18 Step 2/12 : FROM ${BASE} AS builder 06:13:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:13:18 7264a8db6415: Pulling fs layer 06:13:18 c4d48a809fc2: Pulling fs layer 06:13:18 4f1c88b9dad5: Pulling fs layer 06:13:18 ad3a456e5733: Pulling fs layer 06:13:18 9e4f439ed901: Pulling fs layer 06:13:18 feaf6a47b606: Pulling fs layer 06:13:18 5e8b037d7d82: Pulling fs layer 06:13:18 8ac70367396e: Pulling fs layer 06:13:18 ad3a456e5733: Waiting 06:13:18 6db16350a2e2: Pulling fs layer 06:13:18 9250d5d63582: Pulling fs layer 06:13:18 9e4f439ed901: Waiting 06:13:18 8ac70367396e: Waiting 06:13:18 6db16350a2e2: Waiting 06:13:18 5e8b037d7d82: Waiting 06:13:18 c4d48a809fc2: Verifying Checksum 06:13:18 c4d48a809fc2: Download complete 06:13:18 ad3a456e5733: Verifying Checksum 06:13:18 ad3a456e5733: Download complete 06:13:18 9e4f439ed901: Verifying Checksum 06:13:18 9e4f439ed901: Download complete 06:13:18 7264a8db6415: Verifying Checksum 06:13:18 7264a8db6415: Download complete 06:13:18 feaf6a47b606: Verifying Checksum 06:13:18 feaf6a47b606: Download complete 06:13:18 7264a8db6415: Pull complete 06:13:18 8ac70367396e: Verifying Checksum 06:13:18 8ac70367396e: Download complete 06:13:18 c4d48a809fc2: Pull complete 06:13:18 4f1c88b9dad5: Verifying Checksum 06:13:18 4f1c88b9dad5: Download complete 06:13:19 6db16350a2e2: Verifying Checksum 06:13:19 6db16350a2e2: Download complete 06:13:19 9250d5d63582: Verifying Checksum 06:13:19 9250d5d63582: Download complete 06:13:19 5e8b037d7d82: Verifying Checksum 06:13:19 5e8b037d7d82: Download complete 06:13:22 4f1c88b9dad5: Pull complete 06:13:22 ad3a456e5733: Pull complete 06:13:22 9e4f439ed901: Pull complete 06:13:22 feaf6a47b606: Pull complete 06:13:25 5e8b037d7d82: Pull complete 06:13:25 8ac70367396e: Pull complete 06:13:26 6db16350a2e2: Pull complete 06:13:26 9250d5d63582: Pull complete 06:13:26 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 06:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:13:26 ---> fa269f55d9b9 06:13:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:13:28 ---> Running in c278c701acf9 06:13:28 Removing intermediate container c278c701acf9 06:13:28 ---> 4347c7ada3e1 06:13:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:13:28 ---> Running in d17ced3bb15c 06:13:28 Removing intermediate container d17ced3bb15c 06:13:28 ---> de9e23199d16 06:13:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:13:28 ---> Running in 9e546cec6984 06:13:28 Removing intermediate container 9e546cec6984 06:13:28 ---> 692f7af76e44 06:13:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:13:28 ---> Running in bb374528e490 06:13:28 Removing intermediate container bb374528e490 06:13:28 ---> 20b63f085a8b 06:13:28 Step 7/12 : WORKDIR /device-gpio 06:13:29 ---> Running in 8efa09b34353 06:13:29 Removing intermediate container 8efa09b34353 06:13:29 ---> 583af076feac 06:13:29 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:13:29 ---> Running in dc4315d5f78f 06:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:13:29 (1/4) Installing openssh-keygen (9.3_p2-r0) 06:13:29 (2/4) Installing libedit (20221030.3.1-r1) 06:13:29 (3/4) Installing openssh-client-common (9.3_p2-r0) 06:13:29 (4/4) Installing openssh-client-default (9.3_p2-r0) 06:13:29 Executing busybox-1.36.1-r2.trigger 06:13:29 OK: 270 MiB in 60 packages 06:13:30 Removing intermediate container dc4315d5f78f 06:13:30 ---> 3181f0163f4a 06:13:30 Step 9/12 : COPY go.mod vendor* ./ 06:13:30 ---> be3ce4d69fec 06:13:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:30 ---> Running in e52c66bf53bc 06:13:32 Still waiting to schedule task 06:13:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6677’ is offline 06:13:52 Removing intermediate container e52c66bf53bc 06:13:52 ---> 902700b1e853 06:13:52 Step 11/12 : COPY . . 06:13:52 ---> 6ddc59542a84 06:13:52 Step 12/12 : RUN ${MAKE} 06:13:52 ---> Running in 0bee7c2762ce 06:13:52 noop 06:13:52 Removing intermediate container 0bee7c2762ce 06:13:52 ---> a1884da50f7a 06:13:52 Successfully built a1884da50f7a 06:13:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:52 + docker inspect -f . ci-base-image-x86_64 06:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:52 prd-ubuntu20.04-docker-8c-8g-6676 does not seem to be running inside a container 06:13:52 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:13:53 $ docker top e944bc34fc01482792aaacff0f0c8bb02031bf2108f3932f25b13d34e1d0c3eb -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:53 + go version 06:13:53 go version go1.21.0 linux/amd64 [Pipeline] } 06:13:53 $ docker stop --time=1 e944bc34fc01482792aaacff0f0c8bb02031bf2108f3932f25b13d34e1d0c3eb 06:13:54 $ docker rm -f --volumes e944bc34fc01482792aaacff0f0c8bb02031bf2108f3932f25b13d34e1d0c3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:55 + docker inspect -f . ci-base-image-x86_64 06:13:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:55 prd-ubuntu20.04-docker-8c-8g-6676 does not seem to be running inside a container 06:13:55 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:13:55 $ docker top 251db2e55f438cab42627c5ec19dfe6a6dba7d5a3514a473f6623dd418efe1db -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-195 [Pipeline] fileExists [Pipeline] sh 06:13:56 + make test 06:13:56 go test ./... -coverprofile=coverage.out ./... 06:13:57 ? github.com/edgexfoundry/device-gpio [no test files] 06:14:07 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:14:07 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:14:13 go vet ./... 06:14:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:14:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:14:16 ./bin/test-attribution-txt.sh [Pipeline] echo 06:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:14:16 $ docker stop --time=1 251db2e55f438cab42627c5ec19dfe6a6dba7d5a3514a473f6623dd418efe1db 06:14:19 $ docker rm -f --volumes 251db2e55f438cab42627c5ec19dfe6a6dba7d5a3514a473f6623dd418efe1db [Pipeline] // withDockerContainer [Pipeline] sh 06:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:14:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:14:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:14:20 + ls -al . 06:14:20 total 168 06:14:20 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 06:13 . 06:14:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 06:12 .. 06:14:20 -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 06:12 .dockerignore 06:14:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 06:14 .git 06:14:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 06:12 .github 06:14:20 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 06:12 .gitignore 06:14:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 06:12 .golangci.yml 06:14:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 06:13 .semver 06:14:20 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 06:12 Attribution.txt 06:14:20 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 06:12 CHANGELOG.md 06:14:20 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 06:12 Dockerfile 06:14:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 06:12 GOVERNANCE.md 06:14:20 -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 06:12 Jenkinsfile 06:14:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 06:12 LICENSE 06:14:20 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 06:12 Makefile 06:14:20 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 06:12 OWNERS.md 06:14:20 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 06:12 README.md 06:14:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 06:13 VERSION 06:14:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 06:12 bin 06:14:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 06:12 cmd 06:14:20 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 06:13 coverage.out 06:14:20 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 06:12 go.mod 06:14:20 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 06:12 go.sum 06:14:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 06:12 internal 06:14:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 06:12 snap 06:14:20 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:20 + 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 . 06:14:20 Sending build context to Docker daemon 16.11MB 06:14:20 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 06:14:20 Step 2/25 : FROM ${BASE} AS builder 06:14:20 ---> a1884da50f7a 06:14:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:14:21 ---> Running in a50af9c65a35 06:14:21 Removing intermediate container a50af9c65a35 06:14:21 ---> c340cd63e58a 06:14:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:21 ---> Running in f63b39e06dae 06:14:21 Removing intermediate container f63b39e06dae 06:14:21 ---> 87b3649482c2 06:14:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:14:21 ---> Running in 5f7713fabf17 06:14:21 Removing intermediate container 5f7713fabf17 06:14:21 ---> ef0868f92997 06:14:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:14:21 ---> Running in e63deed17a32 06:14:21 Removing intermediate container e63deed17a32 06:14:21 ---> bb0fb23e8814 06:14:21 Step 7/25 : WORKDIR /device-gpio 06:14:21 ---> Running in 075a9357d244 06:14:21 Removing intermediate container 075a9357d244 06:14:21 ---> e801d51ea450 06:14:21 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:21 ---> Running in f12a0f2ae116 06:14:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:14:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:14:22 OK: 270 MiB in 60 packages 06:14:22 Removing intermediate container f12a0f2ae116 06:14:22 ---> 1eaa8a99ba17 06:14:22 Step 9/25 : COPY go.mod vendor* ./ 06:14:22 ---> d2538cd08f5b 06:14:22 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:22 ---> Running in 756e0ff5e37e 06:14:23 Removing intermediate container 756e0ff5e37e 06:14:23 ---> 85296612b0f4 06:14:23 Step 11/25 : COPY . . 06:14:23 ---> 7f208aea1024 06:14:23 Step 12/25 : RUN ${MAKE} 06:14:23 ---> Running in b6ef9cbb5902 06:14:24 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 06:14:44 Removing intermediate container b6ef9cbb5902 06:14:44 ---> 76259fd1fd4d 06:14:44 Step 13/25 : FROM alpine:3.18 06:14:44 3.18: Pulling from library/alpine 06:14:44 7264a8db6415: Already exists 06:14:44 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 06:14:44 Status: Downloaded newer image for alpine:3.18 06:14:44 ---> 7e01a0d0a1dc 06:14:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:14:44 ---> Running in 117f4f9fde60 06:14:44 Removing intermediate container 117f4f9fde60 06:14:44 ---> 740e445000b6 06:14:44 Step 15/25 : RUN apk add --update --no-cache 06:14:44 ---> Running in 591fd69136e6 06:14:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:14:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:14:44 OK: 7 MiB in 15 packages 06:14:45 Removing intermediate container 591fd69136e6 06:14:45 ---> 2a43ac900f06 06:14:45 Step 16/25 : WORKDIR / 06:14:45 ---> Running in 738d701a6989 06:14:45 Removing intermediate container 738d701a6989 06:14:45 ---> 9c08a8eb1be3 06:14:45 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 06:14:45 ---> dfebb0c73851 06:14:45 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 06:14:45 ---> 8860c9c61d58 06:14:45 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 06:14:46 ---> 1896f961d326 06:14:46 Step 20/25 : EXPOSE 59910 06:14:46 ---> Running in 9d2d7ba0ae64 06:14:46 Removing intermediate container 9d2d7ba0ae64 06:14:46 ---> 05420e158226 06:14:46 Step 21/25 : ENTRYPOINT ["/device-gpio"] 06:14:46 ---> Running in 3ee64d89196e 06:14:46 Removing intermediate container 3ee64d89196e 06:14:46 ---> f63c4b146ad3 06:14:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:14:46 ---> Running in fae8832e8fde 06:14:46 Removing intermediate container fae8832e8fde 06:14:46 ---> d4b931790b20 06:14:46 Step 23/25 : LABEL arch=amd64 06:14:46 ---> Running in 843aca27273f 06:14:46 Removing intermediate container 843aca27273f 06:14:46 ---> 7bd1bda2e731 06:14:46 Step 24/25 : LABEL git_sha=95cc09dea0b31fec8b538e4b37c9c289bff3b233 06:14:46 ---> Running in bec17c10ed8d 06:14:46 Removing intermediate container bec17c10ed8d 06:14:46 ---> ababdad3164b 06:14:46 Step 25/25 : LABEL version=0.0.0 06:14:46 ---> Running in 7e73673da2b2 06:14:46 Removing intermediate container 7e73673da2b2 06:14:46 ---> 24498915f932 06:14:46 [Warning] One or more build-args [ARCH] were not consumed 06:14:46 Successfully built 24498915f932 06:14:46 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 06:14:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:47 06:14:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:47 latest: Pulling from edgex-lftools-log-publisher 06:14:47 5eb5b503b376: Pulling fs layer 06:14:47 5c69ac0246d0: Pulling fs layer 06:14:47 ec43610c2a17: Pulling fs layer 06:14:47 3a2ae6a8a46f: Pulling fs layer 06:14:47 33b1e0a273af: Pulling fs layer 06:14:47 5d3b04190fa2: Pulling fs layer 06:14:47 2f39f015ded8: Pulling fs layer 06:14:47 33b1e0a273af: Waiting 06:14:47 2f39f015ded8: Waiting 06:14:47 3a2ae6a8a46f: Waiting 06:14:47 5c69ac0246d0: Download complete 06:14:47 3a2ae6a8a46f: Download complete 06:14:47 33b1e0a273af: Verifying Checksum 06:14:47 33b1e0a273af: Download complete 06:14:47 5d3b04190fa2: Verifying Checksum 06:14:47 5d3b04190fa2: Download complete 06:14:47 ec43610c2a17: Verifying Checksum 06:14:47 ec43610c2a17: Download complete 06:14:47 5eb5b503b376: Verifying Checksum 06:14:47 5eb5b503b376: Download complete 06:14:48 2f39f015ded8: Download complete 06:14:49 5eb5b503b376: Pull complete 06:14:49 5c69ac0246d0: Pull complete 06:14:49 ec43610c2a17: Pull complete 06:14:49 3a2ae6a8a46f: Pull complete 06:14:50 33b1e0a273af: Pull complete 06:14:50 5d3b04190fa2: Pull complete 06:14:54 2f39f015ded8: Pull complete 06:14:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:14:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:54 prd-ubuntu20.04-docker-8c-8g-6676 does not seem to be running inside a container 06:14:54 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:14:57 $ docker top d76c6ad36ae2073870c2fc9a41ef3dc06efddf5a20d44696639bf209c04c30fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:57 ---> job-cost.sh 06:14:57 lf-activate-venv: SKIPPING 06:14:57 INFO: No Stack... 06:14:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:14:57 INFO: Archiving Costs [Pipeline] sh 06:14:58 + cat /w/workspace/edgexfoundry_device-gpio_PR-195/archives/cost.csv 06:14:58 + cut -d, -f6 [Pipeline] lock 06:14:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] 06:14:58 Resource [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] did not exist. Created. 06:14:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:14:58 Stashed 1 file(s) [Pipeline] } 06:14:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:14:58 $ docker stop --time=1 d76c6ad36ae2073870c2fc9a41ef3dc06efddf5a20d44696639bf209c04c30fc 06:14:59 $ docker rm -f --volumes d76c6ad36ae2073870c2fc9a41ef3dc06efddf5a20d44696639bf209c04c30fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:15:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6680 in /w/workspace/edgexfoundry_device-gpio_PR-195 [Pipeline] { [Pipeline] ws 06:15:45 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 06:15:45 The recommended git tool is: git 06:15:51 using credential edgex-jenkins-ssh 06:15:51 Cloning the remote Git repository 06:15:51 Cloning repository git@github.com:edgexfoundry/device-gpio.git 06:15:51 > git init /w/workspace/device-gpio/2 # timeout=10 06:15:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:15:51 > git --version # timeout=10 06:15:51 > git --version # 'git version 2.25.1' 06:15:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:15:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:55 Merging remotes/origin/main commit 55c1d344d8db4a0ebfd83c23655690c476512767 into PR head commit 95cc09dea0b31fec8b538e4b37c9c289bff3b233 06:15:55 Merge succeeded, producing 95cc09dea0b31fec8b538e4b37c9c289bff3b233 06:15:55 Checking out Revision 95cc09dea0b31fec8b538e4b37c9c289bff3b233 (PR-195) 06:15:55 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 06:15:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:15:54 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:15:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:54 > 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 06:15:55 > git config core.sparsecheckout # timeout=10 06:15:55 > git checkout -f 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # timeout=10 06:15:55 > git remote # timeout=10 06:15:55 > git config --get remote.origin.url # timeout=10 06:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:55 > git merge 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 06:15:55 > git rev-parse HEAD^{commit} # timeout=10 06:15:55 > git config core.sparsecheckout # timeout=10 06:15:55 > git checkout -f 95cc09dea0b31fec8b538e4b37c9c289bff3b233 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:15:56 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:56 Dload Upload Total Spent Left Speed 06:15:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 06:15:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:15:57 + sudo tee /etc/docker/daemon.new 06:15:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:15:57 { 06:15:57 "registry-mirrors": [ 06:15:57 "https://nexus3.edgexfoundry.org:10001" 06:15:57 ], 06:15:57 "bip": "10.250.0.254/24", 06:15:57 "hosts": [ 06:15:57 "tcp://0.0.0.0:5555", 06:15:57 "unix:///var/run/docker.sock" 06:15:57 ], 06:15:57 "mtu": 1458, 06:15:57 "selinux-enabled": true, 06:15:57 "seccomp-profile": "/etc/docker/seccomp.json" 06:15:57 } [Pipeline] sh 06:15:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:15:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:16 provisioning config files... 06:16:16 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config17348029286837618873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:17 ---> docker-login.sh 06:16:17 nexus3.edgexfoundry.org:10001 06:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:17 Configure a credential helper to remove this warning. See 06:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:17 06:16:17 Login Succeeded 06:16:17 nexus3.edgexfoundry.org:10002 06:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:18 Configure a credential helper to remove this warning. See 06:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:18 06:16:18 Login Succeeded 06:16:18 nexus3.edgexfoundry.org:10003 06:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:18 Configure a credential helper to remove this warning. See 06:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:18 06:16:18 Login Succeeded 06:16:18 nexus3.edgexfoundry.org:10004 06:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:18 Configure a credential helper to remove this warning. See 06:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:18 06:16:18 Login Succeeded 06:16:18 docker.io 06:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:19 Configure a credential helper to remove this warning. See 06:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:19 06:16:19 Login Succeeded 06:16:19 ---> docker-login.sh ends [Pipeline] } 06:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:19 ========================================================= 06:16:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:16:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:20 + 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 . 06:16:20 Sending build context to Docker daemon 8.12MB 06:16:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:16:20 Step 2/12 : FROM ${BASE} AS builder 06:16:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:16:21 9fda8d8052c6: Pulling fs layer 06:16:21 5d54e960e981: Pulling fs layer 06:16:21 c4a7e357bf2a: Pulling fs layer 06:16:21 f0e02332f6b5: Pulling fs layer 06:16:21 66412af1f25a: Pulling fs layer 06:16:21 1baf3a5c0e64: Pulling fs layer 06:16:21 9a37bb91b891: Pulling fs layer 06:16:21 a29adfc67d43: Pulling fs layer 06:16:21 d5de9f91c1a4: Pulling fs layer 06:16:21 9a37bb91b891: Waiting 06:16:21 a29adfc67d43: Waiting 06:16:21 d5de9f91c1a4: Waiting 06:16:21 66412af1f25a: Waiting 06:16:21 1baf3a5c0e64: Waiting 06:16:21 f0e02332f6b5: Waiting 06:16:21 5d54e960e981: Download complete 06:16:21 f0e02332f6b5: Verifying Checksum 06:16:21 f0e02332f6b5: Download complete 06:16:21 66412af1f25a: Verifying Checksum 06:16:21 66412af1f25a: Download complete 06:16:21 9fda8d8052c6: Verifying Checksum 06:16:21 9fda8d8052c6: Download complete 06:16:22 9a37bb91b891: Verifying Checksum 06:16:22 9a37bb91b891: Download complete 06:16:22 a29adfc67d43: Verifying Checksum 06:16:22 a29adfc67d43: Download complete 06:16:22 9fda8d8052c6: Pull complete 06:16:23 d5de9f91c1a4: Verifying Checksum 06:16:23 d5de9f91c1a4: Download complete 06:16:23 5d54e960e981: Pull complete 06:16:23 c4a7e357bf2a: Verifying Checksum 06:16:23 c4a7e357bf2a: Download complete 06:16:24 1baf3a5c0e64: Verifying Checksum 06:16:24 1baf3a5c0e64: Download complete 06:16:36 c4a7e357bf2a: Pull complete 06:16:36 f0e02332f6b5: Pull complete 06:16:36 66412af1f25a: Pull complete 06:16:45 1baf3a5c0e64: Pull complete 06:16:45 9a37bb91b891: Pull complete 06:16:46 a29adfc67d43: Pull complete 06:16:50 d5de9f91c1a4: Pull complete 06:16:50 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 06:16:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:16:50 ---> 746ca1b523b5 06:16:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:16:51 ---> Running in b66ae650f5af 06:16:51 Removing intermediate container b66ae650f5af 06:16:51 ---> 046463a78f2e 06:16:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:51 ---> Running in c6e565cddb15 06:16:52 Removing intermediate container c6e565cddb15 06:16:52 ---> 629bf14f3e4f 06:16:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:16:52 ---> Running in 398670e4a920 06:16:52 Removing intermediate container 398670e4a920 06:16:52 ---> a3f851e243ff 06:16:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:16:52 ---> Running in b381042a8254 06:16:52 Removing intermediate container b381042a8254 06:16:52 ---> 82c578f09d07 06:16:52 Step 7/12 : WORKDIR /device-gpio 06:16:52 ---> Running in eaf7f3542906 06:16:53 Removing intermediate container eaf7f3542906 06:16:53 ---> 994cdcf77608 06:16:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:53 ---> Running in 39956cad1a84 06:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:16:55 (1/4) Installing openssh-keygen (9.3_p2-r0) 06:16:55 (2/4) Installing libedit (20221030.3.1-r1) 06:16:55 (3/4) Installing openssh-client-common (9.3_p2-r0) 06:16:55 (4/4) Installing openssh-client-default (9.3_p2-r0) 06:16:55 Executing busybox-1.36.1-r2.trigger 06:16:56 OK: 272 MiB in 60 packages 06:16:57 Removing intermediate container 39956cad1a84 06:16:57 ---> 3866f86bb953 06:16:57 Step 9/12 : COPY go.mod vendor* ./ 06:16:57 ---> efc7714c5352 06:16:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:57 ---> Running in d4bc2cfdbc8b 06:18:05 Removing intermediate container d4bc2cfdbc8b 06:18:05 ---> 8660fccf27a2 06:18:05 Step 11/12 : COPY . . 06:18:05 ---> 4fc8df413bab 06:18:05 Step 12/12 : RUN ${MAKE} 06:18:05 ---> Running in b762cc53ce01 06:18:06 noop 06:18:07 Removing intermediate container b762cc53ce01 06:18:07 ---> 31d944d21ecd 06:18:07 Successfully built 31d944d21ecd 06:18:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:07 + docker inspect -f . ci-base-image-arm64 06:18:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:07 prd-ubuntu20.04-docker-arm64-4c-16g-6680 does not seem to be running inside a container 06:18:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:18:08 $ docker top f20f8824c3eb98621ee145fa52fbe318930b26a3402cbcd80c5bb4ac84573e02 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:09 + go version 06:18:09 go version go1.21.0 linux/arm64 [Pipeline] } 06:18:09 $ docker stop --time=1 f20f8824c3eb98621ee145fa52fbe318930b26a3402cbcd80c5bb4ac84573e02 06:18:11 $ docker rm -f --volumes f20f8824c3eb98621ee145fa52fbe318930b26a3402cbcd80c5bb4ac84573e02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:11 + docker inspect -f . ci-base-image-arm64 06:18:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:12 prd-ubuntu20.04-docker-arm64-4c-16g-6680 does not seem to be running inside a container 06:18:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:18:13 $ docker top 4ade8828e915f0516897cfe44dc4585041e5065a8d86e2ca59bb748a6c687563 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:13 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 06:18:14 + make test 06:18:14 go test ./... -coverprofile=coverage.out ./... 06:18:18 ? github.com/edgexfoundry/device-gpio [no test files] 06:20:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:20:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:20:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:20:10 go vet ./... 06:20:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:20:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:20:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:20:36 $ docker stop --time=1 4ade8828e915f0516897cfe44dc4585041e5065a8d86e2ca59bb748a6c687563 06:20:38 $ docker rm -f --volumes 4ade8828e915f0516897cfe44dc4585041e5065a8d86e2ca59bb748a6c687563 [Pipeline] // withDockerContainer [Pipeline] sh 06:20:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:40 Warning: overwriting stash ‘coverage-report’ 06:20:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:41 + ls -al . 06:20:41 total 164 06:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 06:18 . 06:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 06:15 .. 06:20:41 -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 06:15 .dockerignore 06:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 06:15 .git 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 06:15 .github 06:20:41 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 06:15 .gitignore 06:20:41 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 06:15 .golangci.yml 06:20:41 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 06:15 Attribution.txt 06:20:41 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 06:15 CHANGELOG.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 06:15 Dockerfile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 06:15 GOVERNANCE.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 06:15 Jenkinsfile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 06:15 LICENSE 06:20:41 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 06:15 Makefile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 06:15 OWNERS.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 06:15 README.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 06:13 VERSION 06:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 06:15 bin 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 06:15 cmd 06:20:41 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 06:18 coverage.out 06:20:41 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 06:15 go.mod 06:20:41 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 06:15 go.sum 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 06:15 internal 06:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 06:15 snap 06:20:41 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:41 + 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 . 06:20:42 Sending build context to Docker daemon 8.121MB 06:20:42 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 06:20:42 Step 2/25 : FROM ${BASE} AS builder 06:20:42 ---> 31d944d21ecd 06:20:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:20:42 ---> Running in d4a736d7875f 06:20:43 Removing intermediate container d4a736d7875f 06:20:43 ---> ad0da9185575 06:20:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:43 ---> Running in a49554ab19cd 06:20:43 Removing intermediate container a49554ab19cd 06:20:43 ---> 8e70b61119a5 06:20:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:20:43 ---> Running in ee33204df903 06:20:44 Removing intermediate container ee33204df903 06:20:44 ---> e154879cf04e 06:20:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:20:44 ---> Running in ecb98fef39be 06:20:44 Removing intermediate container ecb98fef39be 06:20:44 ---> f4abfeaf418b 06:20:44 Step 7/25 : WORKDIR /device-gpio 06:20:44 ---> Running in 7187e861a51d 06:20:45 Removing intermediate container 7187e861a51d 06:20:45 ---> 215df949d9c0 06:20:45 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:45 ---> Running in f8693c4929f8 06:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:20:48 OK: 272 MiB in 60 packages 06:20:49 Removing intermediate container f8693c4929f8 06:20:49 ---> 2809b9536bb5 06:20:49 Step 9/25 : COPY go.mod vendor* ./ 06:20:49 ---> e04301a245d1 06:20:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:49 ---> Running in cd2dc91e0197 06:20:53 Removing intermediate container cd2dc91e0197 06:20:53 ---> b09279c61b31 06:20:53 Step 11/25 : COPY . . 06:20:56 ---> 3d2ae95fe8f3 06:20:56 Step 12/25 : RUN ${MAKE} 06:20:56 ---> Running in 77459d4fc46f 06:20:57 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 06:23:04 Removing intermediate container 77459d4fc46f 06:23:04 ---> cf04f3cd1b78 06:23:04 Step 13/25 : FROM alpine:3.18 06:23:04 3.18: Pulling from library/alpine 06:23:04 9fda8d8052c6: Already exists 06:23:04 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 06:23:04 Status: Downloaded newer image for alpine:3.18 06:23:04 ---> f6648c04cd6c 06:23:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:23:04 ---> Running in 135649f5408b 06:23:04 Removing intermediate container 135649f5408b 06:23:04 ---> 17c43d22531b 06:23:04 Step 15/25 : RUN apk add --update --no-cache 06:23:04 ---> Running in 19b3da501077 06:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:23:04 OK: 8 MiB in 15 packages 06:23:05 Removing intermediate container 19b3da501077 06:23:05 ---> 93c0431d5bb3 06:23:05 Step 16/25 : WORKDIR / 06:23:05 ---> Running in 16046170a1bb 06:23:05 Removing intermediate container 16046170a1bb 06:23:05 ---> 849cd394dace 06:23:05 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 06:23:06 ---> a113fdff7e71 06:23:06 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 06:23:06 ---> 8921d45cb4ec 06:23:06 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 06:23:08 ---> 200e0cec62d3 06:23:08 Step 20/25 : EXPOSE 59910 06:23:08 ---> Running in aaa32e9d46f1 06:23:08 Removing intermediate container aaa32e9d46f1 06:23:08 ---> b1c43e31d88f 06:23:08 Step 21/25 : ENTRYPOINT ["/device-gpio"] 06:23:08 ---> Running in fe394cdb1483 06:23:09 Removing intermediate container fe394cdb1483 06:23:09 ---> 6ead70740e64 06:23:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:23:09 ---> Running in ac31671e3b55 06:23:09 Removing intermediate container ac31671e3b55 06:23:09 ---> 3de5bc6d3247 06:23:09 Step 23/25 : LABEL arch=arm64 06:23:09 ---> Running in 0b0dbfc32ab3 06:23:09 Removing intermediate container 0b0dbfc32ab3 06:23:09 ---> bbb804d2d815 06:23:09 Step 24/25 : LABEL git_sha=95cc09dea0b31fec8b538e4b37c9c289bff3b233 06:23:09 ---> Running in 9937b2560de2 06:23:10 Removing intermediate container 9937b2560de2 06:23:10 ---> 803cf4c0cd59 06:23:10 Step 25/25 : LABEL version=0.0.0 06:23:10 ---> Running in f8d95fd9f3ef 06:23:10 Removing intermediate container f8d95fd9f3ef 06:23:10 ---> b491de03bb0f 06:23:10 [Warning] One or more build-args [ARCH] were not consumed 06:23:10 Successfully built b491de03bb0f 06:23:10 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 06:23:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:11 06:23:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:11 arm64: Pulling from edgex-lftools-log-publisher 06:23:11 8998bd30e6a1: Pulling fs layer 06:23:11 04944245beec: Pulling fs layer 06:23:11 699f458cf7ca: Pulling fs layer 06:23:11 765212b225bb: Pulling fs layer 06:23:11 f23df028b6ca: Pulling fs layer 06:23:11 d65c8cfc05b1: Pulling fs layer 06:23:11 2437ff75d9bd: Pulling fs layer 06:23:11 765212b225bb: Waiting 06:23:11 f23df028b6ca: Waiting 06:23:11 d65c8cfc05b1: Waiting 06:23:11 2437ff75d9bd: Waiting 06:23:11 04944245beec: Verifying Checksum 06:23:11 04944245beec: Download complete 06:23:11 765212b225bb: Verifying Checksum 06:23:11 765212b225bb: Download complete 06:23:11 f23df028b6ca: Download complete 06:23:11 d65c8cfc05b1: Verifying Checksum 06:23:11 d65c8cfc05b1: Download complete 06:23:11 699f458cf7ca: Verifying Checksum 06:23:11 699f458cf7ca: Download complete 06:23:12 8998bd30e6a1: Verifying Checksum 06:23:12 8998bd30e6a1: Download complete 06:23:15 2437ff75d9bd: Verifying Checksum 06:23:15 2437ff75d9bd: Download complete 06:23:17 8998bd30e6a1: Pull complete 06:23:17 04944245beec: Pull complete 06:23:18 699f458cf7ca: Pull complete 06:23:18 765212b225bb: Pull complete 06:23:19 f23df028b6ca: Pull complete 06:23:19 d65c8cfc05b1: Pull complete 06:23:34 2437ff75d9bd: Pull complete 06:23:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:34 prd-ubuntu20.04-docker-arm64-4c-16g-6680 does not seem to be running inside a container 06:23:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:23:37 $ docker top 6996e97975db15329ee6ce86049200652e6941df2b67895069b6fcd0ede7c710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:38 ---> job-cost.sh 06:23:38 lf-activate-venv: SKIPPING 06:23:38 INFO: No Stack... 06:23:38 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:39 INFO: Archiving Costs [Pipeline] sh 06:23:40 + + cat /w/workspace/device-gpio/2/archives/cost.csv 06:23:40 cut -d, -f6 [Pipeline] lock 06:23:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] 06:23:40 Resource [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] did not exist. Created. 06:23:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:41 /w/workspace/device-gpio/2@tmp/durable-3d12dccd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:41 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:41 Warning: overwriting stash ‘stack-cost’ 06:23:41 Stashed 1 file(s) [Pipeline] } 06:23:41 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-195-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:41 $ docker stop --time=1 6996e97975db15329ee6ce86049200652e6941df2b67895069b6fcd0ede7c710 06:23:43 $ docker rm -f --volumes 6996e97975db15329ee6ce86049200652e6941df2b67895069b6fcd0ede7c710 [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 06:23:43 provisioning config files... 06:23:43 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config17797472933648817552tmp [Pipeline] { [Pipeline] sh 06:23:43 + set +x 06:23:43 + + curl -s https://codecov.io/bash 06:23:43 bash -s -- 06:23:43 06:23:43 _____ _ 06:23:43 / ____| | | 06:23:43 | | ___ __| | ___ ___ _____ __ 06:23:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:23:43 | |___| (_) | (_| | __/ (_| (_) \ V / 06:23:43 \_____\___/ \__,_|\___|\___\___/ \_/ 06:23:43 Bash-1.0.6 06:23:43 06:23:43 06:23:43 ==> git version 2.25.1 found 06:23:43 ==> 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 06:23:43 Release-Date: 2020-01-08 06:23:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:23:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:23:43 ==> Jenkins CI detected. 06:23:43 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-195 06:23:43 project root: . 06:23:43 --> token set from env 06:23:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:23:43 ==> Running gcov in . (disable via -X gcov) 06:23:43 ==> Python coveragepy not found 06:23:43 ==> Searching for coverage reports in: 06:23:43 + . 06:23:43 -> Found 1 reports 06:23:43 ==> Detecting git/mercurial file structure 06:23:43 ==> Reading reports 06:23:43 + ./coverage.out bytes=10 06:23:43 ==> Appending adjustments 06:23:43 https://docs.codecov.io/docs/fixing-reports 06:23:44 + Found adjustments 06:23:44 ==> Gzipping contents 06:23:44 4.0K /tmp/codecov.4cFAAy.gz 06:23:44 ==> Uploading reports 06:23:44 url: https://codecov.io 06:23:44 query: branch=PR-195&commit=95cc09dea0b31fec8b538e4b37c9c289bff3b233&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-195%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=195&job=&cmd_args= 06:23:44 -> Pinging Codecov 06:23:44 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=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-195%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=195&job=&cmd_args= 06:23:44 -> Uploading to 06:23:44 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/95cc09dea0b31fec8b538e4b37c9c289bff3b233/9d7d6323-4b22-4524-9d18-962503d9ac11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T062344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0b2115f83fcc176cc8c478b724be676d7224e9e4d3e97950e6d08fdbe0db77d 06:23:44 % Total % Received % Xferd Average Speed Time Time Time Current 06:23:44 Dload Upload Total Spent Left Speed 06:23:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3978 --:--:-- --:--:-- --:--:-- 3978 06:23:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/95cc09dea0b31fec8b538e4b37c9c289bff3b233 [Pipeline] } 06:23:44 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 06:23:45 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-195/archives ] 06:23:45 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-195/archives 06:23:45 total 16 06:23:45 drwxr-xr-x 3 root root 4096 Sep 20 06:14 . 06:23:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 06:14 .. 06:23:45 drwxr-xr-x 2 root root 4096 Sep 20 06:14 cost 06:23:45 -rw-r--r-- 1 root root 83 Sep 20 06:14 cost.csv 06:23:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-195/archives 06:23:45 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-195/archives 06:23:45 total 16 06:23:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 06:14 . 06:23:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 06:14 .. 06:23:45 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 06:14 cost 06:23:45 -rw-r--r-- 1 jenkins jenkins 83 Sep 20 06:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:23:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:46 ---> package-listing.sh 06:23:46 ++ facter osfamily 06:23:46 ++ tr '[:upper:]' '[:lower:]' 06:23:46 + OS_FAMILY=debian 06:23:46 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-195 06:23:46 + START_PACKAGES=/tmp/packages_start.txt 06:23:46 + END_PACKAGES=/tmp/packages_end.txt 06:23:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:46 + PACKAGES=/tmp/packages_start.txt 06:23:46 + '[' /w/workspace/edgexfoundry_device-gpio_PR-195 ']' 06:23:46 + PACKAGES=/tmp/packages_end.txt 06:23:46 + case "${OS_FAMILY}" in 06:23:46 + dpkg -l 06:23:46 + grep '^ii' 06:23:46 + '[' -f /tmp/packages_start.txt ']' 06:23:46 + '[' -f /tmp/packages_end.txt ']' 06:23:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:46 + '[' /w/workspace/edgexfoundry_device-gpio_PR-195 ']' 06:23:46 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-195/archives/ 06:23:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-195/archives/ [Pipeline] echo 06:23:46 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 06:23:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:47 prd-ubuntu20.04-docker-8c-8g-6676 does not seem to be running inside a container 06:23:47 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:23:47 $ docker top 6ddc1aaa2e6f70dcd6132da42e09949eb1f559489b1b2dc534dde32d9eb024bf -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:48 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:48 + mkdir -p /var/log/sysstat [Pipeline] sh 06:23:48 + ls /var/log/sa-host 06:23:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:48 provisioning config files... 06:23:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-195@tmp/config16971463170867908431tmp [Pipeline] { [Pipeline] echo 06:23:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> create-netrc.sh [Pipeline] } 06:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> python-tools-install.sh [Pipeline] echo 06:23:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> sudo-logs.sh 06:23:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:23:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> job-cost.sh 06:23:49 lf-activate-venv: SKIPPING 06:23:49 DEBUG: total: 0.2199999988079071 06:23:49 INFO: Retrieving Stack Cost... 06:23:50 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:50 INFO: Archiving Costs [Pipeline] echo 06:23:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:51 ---> logs-deploy.sh 06:23:51 lf-activate-venv: SKIPPING 06:23:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-195/2 06:23:51 INFO: archiving workspace using pattern(s): 06:23:52 Archives upload complete. 06:23:52 INFO: archiving logs to Nexus