Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f764aa69160c3c1af954fa274471faf39d88bdf+48bd73e9db85e88a37bd3be7a57145d756a3f8e1 (4018a99f0f4ef38e5dd47b7e473fdc347fd26efe) 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-ssh6990438055733361356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh127037516796908821.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-177/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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11366457135594643983.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11363560662212665439.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-177/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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4905156379336744952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17485 in /w/workspace/edgexfoundry_device-gpio_PR-177 [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-177 # 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48bd73e9db85e88a37bd3be7a57145d756a3f8e1 into PR head commit 1f764aa69160c3c1af954fa274471faf39d88bdf Merge succeeded, producing 9fa84e74cbea66ed5492117256cc1694a29c2d91 Checking out Revision 9fa84e74cbea66ed5492117256cc1694a29c2d91 (PR-177) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f764aa69160c3c1af954fa274471faf39d88bdf # 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 48bd73e9db85e88a37bd3be7a57145d756a3f8e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fa84e74cbea66ed5492117256cc1694a29c2d91 # timeout=10 Commit message: "Merge commit '48bd73e9db85e88a37bd3be7a57145d756a3f8e1' into HEAD" > git rev-list --no-walk 1f764aa69160c3c1af954fa274471faf39d88bdf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:20:29 ========================================================= 13:20:29 EdgeX Global Pipelines Version Info 13:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:20:30 ------------------- 13:20:30 stable info: 13:20:30 ------------------- 13:20:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:20:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:20:30 Message: update stable to v1.0.249 13:20:30 ------------------- 13:20:30 experimental info: 13:20:30 ------------------- 13:20:30 Commited By: **** collab-it+edgex@linuxfoundation.org 13:20:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:20:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fa84e74cbea66ed5492117256cc1694a29c2d91 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fa84e7 [Pipeline] echo 13:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:20:31 provisioning config files... 13:20:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config3964782001989787910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:31 ---> docker-login.sh 13:20:31 nexus3.edgexfoundry.org:10001 13:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:32 Configure a credential helper to remove this warning. See 13:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:32 13:20:32 Login Succeeded 13:20:32 nexus3.edgexfoundry.org:10002 13:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 nexus3.edgexfoundry.org:10003 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 nexus3.edgexfoundry.org:10004 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 docker.io 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 ---> docker-login.sh ends [Pipeline] } 13:20:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:20:34 + git rev-list -1 --merges 9fa84e74cbea66ed5492117256cc1694a29c2d91~1..9fa84e74cbea66ed5492117256cc1694a29c2d91 [Pipeline] echo 13:20:34 -----------> git rev-list -1 --merges 9fa84e74cbea66ed5492117256cc1694a29c2d91~1..9fa84e74cbea66ed5492117256cc1694a29c2d91 9fa84e74cbea66ed5492117256cc1694a29c2d91 13:20:34 9fa84e74cbea66ed5492117256cc1694a29c2d91 [false] [Pipeline] sh 13:20:34 + git log --format=format:%s -1 9fa84e74cbea66ed5492117256cc1694a29c2d91 [Pipeline] echo 13:20:34 ========================================================= 13:20:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:20:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:34 + git log --format=format:%s -1 9fa84e74cbea66ed5492117256cc1694a29c2d91 [Pipeline] echo 13:20:34 [semverPrep] GIT_COMMIT: 9fa84e74cbea66ed5492117256cc1694a29c2d91, Commit Message: Merge commit '48bd73e9db85e88a37bd3be7a57145d756a3f8e1' into HEAD [Pipeline] echo 13:20:34 [semverPrep] This is not a build commit. [Pipeline] sh 13:20:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:20:35 + grep -v github /etc/ssh/ssh_known_hosts 13:20:35 + [ -e /tmp/ssh_known_hosts ] 13:20:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:20:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:20:35 + sudo tee -a /etc/ssh/ssh_known_hosts 13:20:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:20:35 13:20:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:20:35 0.1.4: Pulling from edgex-devops/py-git-semver 13:20:35 b85a868b505f: Pulling fs layer 13:20:35 e2be974225ed: Pulling fs layer 13:20:35 339a4e72a1f5: Pulling fs layer 13:20:35 988bab9f4d93: Pulling fs layer 13:20:35 1469e6f7b9e6: Pulling fs layer 13:20:35 eaf3925da568: Pulling fs layer 13:20:35 bab4dde63d76: Pulling fs layer 13:20:35 bde34c3a00c8: Pulling fs layer 13:20:35 988bab9f4d93: Waiting 13:20:35 1469e6f7b9e6: Waiting 13:20:35 eaf3925da568: Waiting 13:20:35 bab4dde63d76: Waiting 13:20:35 b352a97aabf1: Pulling fs layer 13:20:35 4872d77fe225: Pulling fs layer 13:20:35 5851b861e8e6: Pulling fs layer 13:20:35 b352a97aabf1: Waiting 13:20:35 4872d77fe225: Waiting 13:20:35 5851b861e8e6: Waiting 13:20:35 e2be974225ed: Verifying Checksum 13:20:35 e2be974225ed: Download complete 13:20:35 988bab9f4d93: Verifying Checksum 13:20:35 988bab9f4d93: Download complete 13:20:36 1469e6f7b9e6: Verifying Checksum 13:20:36 1469e6f7b9e6: Download complete 13:20:36 339a4e72a1f5: Verifying Checksum 13:20:36 339a4e72a1f5: Download complete 13:20:36 eaf3925da568: Verifying Checksum 13:20:36 eaf3925da568: Download complete 13:20:36 bde34c3a00c8: Verifying Checksum 13:20:36 bde34c3a00c8: Download complete 13:20:36 b352a97aabf1: Download complete 13:20:36 4872d77fe225: Verifying Checksum 13:20:36 4872d77fe225: Download complete 13:20:36 b85a868b505f: Verifying Checksum 13:20:36 b85a868b505f: Download complete 13:20:36 5851b861e8e6: Download complete 13:20:36 bab4dde63d76: Download complete 13:20:37 b85a868b505f: Pull complete 13:20:37 e2be974225ed: Pull complete 13:20:38 339a4e72a1f5: Pull complete 13:20:38 988bab9f4d93: Pull complete 13:20:38 1469e6f7b9e6: Pull complete 13:20:38 eaf3925da568: Pull complete 13:20:40 bab4dde63d76: Pull complete 13:20:40 bde34c3a00c8: Pull complete 13:20:40 b352a97aabf1: Pull complete 13:20:40 4872d77fe225: Pull complete 13:20:40 5851b861e8e6: Pull complete 13:20:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:20:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:40 prd-ubuntu20.04-docker-8c-8g-17485 does not seem to be running inside a container 13:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@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 13:20:44 $ docker top 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a -eo pid,comm 13:20:44 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). 13:20:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:20:44 [ssh-agent] Looking for ssh-agent implementation... 13:20:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:20:44 $ docker exec 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a ssh-agent 13:20:44 SSH_AUTH_SOCK=/tmp/ssh-hLF7Q2AAIyCV/agent.32 13:20:44 SSH_AGENT_PID=38 13:20:44 Running ssh-add (command line suppressed) 13:20:44 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_8303365342110254065.key (/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_8303365342110254065.key) 13:20:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:20:44 + git tag --points-at HEAD [Pipeline] } 13:20:44 $ docker exec --env ******** --env ******** 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a ssh-agent -k 13:20:44 unset SSH_AUTH_SOCK; 13:20:44 unset SSH_AGENT_PID; 13:20:44 echo Agent pid 38 killed; 13:20:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:20:44 [ssh-agent] Looking for ssh-agent implementation... 13:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:20:45 $ docker exec 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a ssh-agent 13:20:45 SSH_AUTH_SOCK=/tmp/ssh-LXZHPJSiLBD4/agent.70 13:20:45 SSH_AGENT_PID=77 13:20:45 Running ssh-add (command line suppressed) 13:20:45 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_9109887885861239196.key (/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_9109887885861239196.key) 13:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:20:45 + git semver init 13:20:45 2023-05-31 13:20:45,775 [run_init] DEBUG init version:0.0.0 force:False 13:20:45 2023-05-31 13:20:45,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver 13:20:45 2023-05-31 13:20:45,776 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-177/.semver 13:20:45 2023-05-31 13:20:45,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-177/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177, universal_newlines=False, shell=None, istream=None) 13:20:47 2023-05-31 13:20:46,821 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-177/.git/info/exclude 13:20:47 2023-05-31 13:20:46,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 with force:False 13:20:47 2023-05-31 13:20:46,821 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 13:20:47 2023-05-31 13:20:46,826 [execute] INFO git cat-file --batch-check 13:20:47 2023-05-31 13:20:46,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177/.semver, universal_newlines=False, shell=None, istream=) 13:20:47 2023-05-31 13:20:46,834 [execute] INFO git cat-file --batch 13:20:47 2023-05-31 13:20:46,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177/.semver, universal_newlines=False, shell=None, istream=) 13:20:47 2023-05-31 13:20:46,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 13:20:47 0.0.0 [Pipeline] } 13:20:47 $ docker exec --env ******** --env ******** 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a ssh-agent -k 13:20:47 unset SSH_AUTH_SOCK; 13:20:47 unset SSH_AGENT_PID; 13:20:47 echo Agent pid 77 killed; 13:20:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:20:47 + git semver [Pipeline] } 13:20:47 $ docker stop --time=1 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a 13:20:49 $ docker rm -f --volumes 81764022009b6d7a12c2fd19cd02570dfa8a83c248166d24dba90cb26cba176a [Pipeline] // withDockerContainer [Pipeline] sh 13:20:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:20:49 Stashed 1 file(s) [Pipeline] echo 13:20:49 [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 13:20:49 provisioning config files... 13:20:49 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config2564797664895037095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:50 ---> docker-login.sh 13:20:50 nexus3.edgexfoundry.org:10001 13:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:50 Configure a credential helper to remove this warning. See 13:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:50 13:20:50 Login Succeeded 13:20:50 nexus3.edgexfoundry.org:10002 13:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:50 Configure a credential helper to remove this warning. See 13:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:50 13:20:50 Login Succeeded 13:20:50 nexus3.edgexfoundry.org:10003 13:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:50 Configure a credential helper to remove this warning. See 13:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:50 13:20:50 Login Succeeded 13:20:50 nexus3.edgexfoundry.org:10004 13:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:50 Configure a credential helper to remove this warning. See 13:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:50 13:20:50 Login Succeeded 13:20:50 docker.io 13:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:50 Configure a credential helper to remove this warning. See 13:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:50 13:20:50 Login Succeeded 13:20:50 ---> docker-login.sh ends [Pipeline] } 13:20:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:20:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:20:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:20:50 ========================================================= 13:20:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:20:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:20:51 Sending build context to Docker daemon 16.13MB 13:20:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:20:51 Step 2/12 : FROM ${BASE} AS builder 13:20:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:20:51 f56be85fc22e: Pulling fs layer 13:20:51 85791d961cd3: Pulling fs layer 13:20:51 d694b5ae8c79: Pulling fs layer 13:20:51 9f32a84ed3da: Pulling fs layer 13:20:51 4d19c01a9841: Pulling fs layer 13:20:51 9325e15d5711: Pulling fs layer 13:20:51 556b6ee489ea: Pulling fs layer 13:20:51 c5a4b2cf53e6: Pulling fs layer 13:20:51 9325e15d5711: Waiting 13:20:51 556b6ee489ea: Waiting 13:20:51 c5a4b2cf53e6: Waiting 13:20:51 9f32a84ed3da: Waiting 13:20:51 4d19c01a9841: Waiting 13:20:51 85791d961cd3: Verifying Checksum 13:20:51 85791d961cd3: Download complete 13:20:51 9f32a84ed3da: Verifying Checksum 13:20:51 9f32a84ed3da: Download complete 13:20:51 4d19c01a9841: Verifying Checksum 13:20:51 4d19c01a9841: Download complete 13:20:51 f56be85fc22e: Verifying Checksum 13:20:51 f56be85fc22e: Download complete 13:20:51 9325e15d5711: Verifying Checksum 13:20:51 9325e15d5711: Download complete 13:20:51 f56be85fc22e: Pull complete 13:20:51 85791d961cd3: Pull complete 13:20:52 c5a4b2cf53e6: Verifying Checksum 13:20:52 c5a4b2cf53e6: Download complete 13:20:52 d694b5ae8c79: Verifying Checksum 13:20:52 d694b5ae8c79: Download complete 13:20:52 556b6ee489ea: Verifying Checksum 13:20:52 556b6ee489ea: Download complete 13:20:55 d694b5ae8c79: Pull complete 13:20:55 9f32a84ed3da: Pull complete 13:20:55 4d19c01a9841: Pull complete 13:20:55 9325e15d5711: Pull complete 13:20:58 556b6ee489ea: Pull complete 13:20:59 c5a4b2cf53e6: Pull complete 13:20:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 13:20:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:20:59 ---> c4be618373d6 13:20:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:21:04 Still waiting to schedule task 13:21:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:21:05 ---> Running in e54f09bc1971 13:21:05 Removing intermediate container e54f09bc1971 13:21:05 ---> 0a95b6a71b8f 13:21:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:05 ---> Running in 2976d9ecdf32 13:21:05 Removing intermediate container 2976d9ecdf32 13:21:05 ---> 450b3fede4a9 13:21:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:21:05 ---> Running in 7ad41a65e45c 13:21:05 Removing intermediate container 7ad41a65e45c 13:21:05 ---> 8775d1760b60 13:21:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:21:05 ---> Running in 352b11aa3cef 13:21:05 Removing intermediate container 352b11aa3cef 13:21:05 ---> 2521bfcae154 13:21:05 Step 7/12 : WORKDIR /device-gpio 13:21:05 ---> Running in f1fad95aa262 13:21:05 Removing intermediate container f1fad95aa262 13:21:05 ---> e43fddb9f06f 13:21:05 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:05 ---> Running in 7c83b0193679 13:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:21:05 (1/4) Installing openssh-keygen (9.1_p1-r3) 13:21:05 (2/4) Installing libedit (20221030.3.1-r0) 13:21:05 (3/4) Installing openssh-client-common (9.1_p1-r3) 13:21:05 (4/4) Installing openssh-client-default (9.1_p1-r3) 13:21:05 Executing busybox-1.35.0-r29.trigger 13:21:05 OK: 269 MiB in 57 packages 13:21:06 Removing intermediate container 7c83b0193679 13:21:06 ---> 0a68cfaf8f92 13:21:06 Step 9/12 : COPY go.mod vendor* ./ 13:21:06 ---> a5e7c379c3de 13:21:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:06 ---> Running in aef36b185794 13:22:14 Removing intermediate container aef36b185794 13:22:14 ---> 3c354294da5f 13:22:14 Step 11/12 : COPY . . 13:22:14 ---> 408d026b9ed2 13:22:14 Step 12/12 : RUN ${MAKE} 13:22:14 ---> Running in ef729e0c56c4 13:22:14 noop 13:22:14 Removing intermediate container ef729e0c56c4 13:22:14 ---> a2eb11f2ff15 13:22:14 Successfully built a2eb11f2ff15 13:22:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:14 + docker inspect -f . ci-base-image-x86_64 13:22:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:14 prd-ubuntu20.04-docker-8c-8g-17485 does not seem to be running inside a container 13:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@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 13:22:16 $ docker top 81e492e937bb79ce7acd5c8262ee50a14c418ce75ad4513083805391551811b3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:16 + go version 13:22:16 go version go1.20.2 linux/amd64 [Pipeline] } 13:22:16 $ docker stop --time=1 81e492e937bb79ce7acd5c8262ee50a14c418ce75ad4513083805391551811b3 13:22:18 $ docker rm -f --volumes 81e492e937bb79ce7acd5c8262ee50a14c418ce75ad4513083805391551811b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:19 + docker inspect -f . ci-base-image-x86_64 13:22:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:19 prd-ubuntu20.04-docker-8c-8g-17485 does not seem to be running inside a container 13:22:19 $ 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-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@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 13:22:20 $ docker top 3b6f68fcaeb979e981200d349d8cafc36650c405d4b2a1cd061912d7674c76f7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-177 [Pipeline] fileExists [Pipeline] sh 13:22:21 + make test 13:22:21 go test ./... -coverprofile=coverage.out ./... 13:22:26 ? github.com/edgexfoundry/device-gpio [no test files] 13:22:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:22:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:22:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17486 in /w/workspace/edgexfoundry_device-gpio_PR-177 [Pipeline] { [Pipeline] ws 13:22:37 Running in /w/workspace/device-gpio/7 [Pipeline] { [Pipeline] checkout 13:22:37 The recommended git tool is: git 13:22:41 go vet ./... 13:22:42 using credential edgex-jenkins-ssh 13:22:42 Cloning the remote Git repository 13:22:42 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:22:42 > git init /w/workspace/device-gpio/7 # timeout=10 13:22:42 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:22:42 > git --version # timeout=10 13:22:42 > git --version # 'git version 2.25.1' 13:22:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:22:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:22:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:22:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:22:44 ./bin/test-attribution-txt.sh [Pipeline] echo 13:22:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:22:44 $ docker stop --time=1 3b6f68fcaeb979e981200d349d8cafc36650c405d4b2a1cd061912d7674c76f7 13:22:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:22:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:22:47 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:22:47 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:22:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:22:47 Merging remotes/origin/main commit 48bd73e9db85e88a37bd3be7a57145d756a3f8e1 into PR head commit 1f764aa69160c3c1af954fa274471faf39d88bdf 13:22:48 Merge succeeded, producing 30e281ca0176bb54631473d979b5133ced4a9d7b 13:22:48 Checking out Revision 30e281ca0176bb54631473d979b5133ced4a9d7b (PR-177) 13:22:47 > git config core.sparsecheckout # timeout=10 13:22:47 > git checkout -f 1f764aa69160c3c1af954fa274471faf39d88bdf # timeout=10 13:22:47 > git remote # timeout=10 13:22:47 > git config --get remote.origin.url # timeout=10 13:22:48 using GIT_SSH to set credentials SSH Credentials for GitHub 13:22:48 > git merge 48bd73e9db85e88a37bd3be7a57145d756a3f8e1 # timeout=10 13:22:48 > git rev-parse HEAD^{commit} # timeout=10 13:22:48 > git config core.sparsecheckout # timeout=10 13:22:48 > git checkout -f 30e281ca0176bb54631473d979b5133ced4a9d7b # timeout=10 13:22:51 Commit message: "Merge commit '48bd73e9db85e88a37bd3be7a57145d756a3f8e1' into HEAD" 13:22:51 > git rev-list --no-walk 1f764aa69160c3c1af954fa274471faf39d88bdf # timeout=10 13:22:52 $ docker rm -f --volumes 3b6f68fcaeb979e981200d349d8cafc36650c405d4b2a1cd061912d7674c76f7 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:22:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 13:22:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:22:53 % Total % Received % Xferd Average Speed Time Time Time Current 13:22:53 Dload Upload Total Spent Left Speed 13:22:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 13:22:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 13:22:54 + ls -al . 13:22:54 total 164 13:22:54 drwxrwxr-x 9 jenkins jenkins 4096 May 31 13:22 . 13:22:54 drwxrwxr-x 4 jenkins jenkins 4096 May 31 13:20 .. 13:22:54 -rw-rw-r-- 1 jenkins jenkins 120 May 31 13:20 .dockerignore 13:22:54 drwxrwxr-x 8 jenkins jenkins 4096 May 31 13:20 .git 13:22:54 drwxrwxr-x 3 jenkins jenkins 4096 May 31 13:20 .github 13:22:54 -rw-rw-r-- 1 jenkins jenkins 343 May 31 13:20 .gitignore 13:22:54 -rw-rw-r-- 1 jenkins jenkins 41 May 31 13:20 .golangci.yml 13:22:54 drwxr-xr-x 3 jenkins jenkins 4096 May 31 13:20 .semver 13:22:54 -rw-rw-r-- 1 jenkins jenkins 9702 May 31 13:20 Attribution.txt 13:22:54 -rw-rw-r-- 1 jenkins jenkins 6184 May 31 13:20 CHANGELOG.md 13:22:54 -rw-rw-r-- 1 jenkins jenkins 1542 May 31 13:20 Dockerfile 13:22:54 -rw-rw-r-- 1 jenkins jenkins 677 May 31 13:20 GOVERNANCE.md 13:22:54 -rw-rw-r-- 1 jenkins jenkins 657 May 31 13:20 Jenkinsfile 13:22:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 13:20 LICENSE 13:22:54 -rw-rw-r-- 1 jenkins jenkins 1692 May 31 13:20 Makefile 13:22:54 -rw-rw-r-- 1 jenkins jenkins 617 May 31 13:20 OWNERS.md 13:22:54 -rw-rw-r-- 1 jenkins jenkins 12293 May 31 13:20 README.md 13:22:54 -rw-rw-r-- 1 jenkins jenkins 5 May 31 13:20 VERSION 13:22:54 drwxrwxr-x 2 jenkins jenkins 4096 May 31 13:20 bin 13:22:54 drwxrwxr-x 3 jenkins jenkins 4096 May 31 13:20 cmd 13:22:54 -rw-r--r-- 1 jenkins jenkins 10 May 31 13:22 coverage.out 13:22:54 -rw-rw-r-- 1 jenkins jenkins 3221 May 31 13:20 go.mod 13:22:54 -rw-rw-r-- 1 jenkins jenkins 31489 May 31 13:20 go.sum 13:22:54 drwxrwxr-x 3 jenkins jenkins 4096 May 31 13:20 internal 13:22:54 drwxrwxr-x 4 jenkins jenkins 4096 May 31 13:20 snap 13:22:54 -rw-rw-r-- 1 jenkins jenkins 209 May 31 13:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:22:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:22:54 + sudo tee /etc/docker/daemon.new 13:22:54 { 13:22:54 "registry-mirrors": [ 13:22:54 "https://nexus3.edgexfoundry.org:10001" 13:22:54 ], 13:22:54 "bip": "10.250.0.254/24", 13:22:54 "hosts": [ 13:22:54 "tcp://0.0.0.0:5555", 13:22:54 "unix:///var/run/docker.sock" 13:22:54 ], 13:22:54 "mtu": 1458, 13:22:54 "selinux-enabled": true, 13:22:54 "seccomp-profile": "/etc/docker/seccomp.json" 13:22:54 } [Pipeline] sh 13:22:54 + 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=9fa84e74cbea66ed5492117256cc1694a29c2d91 --label arch=amd64 --label version=0.0.0 . 13:22:54 Sending build context to Docker daemon 16.13MB 13:22:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:22:54 Step 2/25 : FROM ${BASE} AS builder 13:22:54 ---> a2eb11f2ff15 13:22:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:22:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:22:55 + sudo service docker restart 13:22:55 ---> Running in 6bea5bff07ed 13:22:56 Removing intermediate container 6bea5bff07ed 13:22:56 ---> 75ffa3a3a699 13:22:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:56 ---> Running in 4c746c27f049 13:22:56 Removing intermediate container 4c746c27f049 13:22:56 ---> 4f32cb7ab59c 13:22:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:22:56 ---> Running in d7458b2b1465 13:22:57 Removing intermediate container d7458b2b1465 13:22:57 ---> dc634e940683 13:22:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:22:57 ---> Running in 6731630412cd 13:22:57 Removing intermediate container 6731630412cd 13:22:57 ---> 5cc22fae780b 13:22:57 Step 7/25 : WORKDIR /device-gpio 13:22:57 ---> Running in 0fcd0370ec86 13:22:57 Removing intermediate container 0fcd0370ec86 13:22:57 ---> b36643339fe3 13:22:57 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:57 ---> Running in cece04d50a6a 13:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:22:57 OK: 269 MiB in 57 packages 13:22:58 Removing intermediate container cece04d50a6a 13:22:58 ---> 3ca36056998a 13:22:58 Step 9/25 : COPY go.mod vendor* ./ 13:22:58 ---> 044e598bb6ea 13:22:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:58 ---> Running in 520adda32c29 13:22:59 Removing intermediate container 520adda32c29 13:22:59 ---> a32456759d6d 13:22:59 Step 11/25 : COPY . . 13:22:59 ---> 3eb12379497a 13:22:59 Step 12/25 : RUN ${MAKE} 13:22:59 ---> Running in 3fa83d5de175 13:23:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:13 provisioning config files... 13:23:13 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/7@tmp/config16944519500189059416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:13 ---> docker-login.sh 13:23:13 nexus3.edgexfoundry.org:10001 13:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:14 Configure a credential helper to remove this warning. See 13:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:14 13:23:14 Login Succeeded 13:23:14 nexus3.edgexfoundry.org:10002 13:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:14 Configure a credential helper to remove this warning. See 13:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:14 13:23:14 Login Succeeded 13:23:14 nexus3.edgexfoundry.org:10003 13:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:15 Configure a credential helper to remove this warning. See 13:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:15 13:23:15 Login Succeeded 13:23:15 nexus3.edgexfoundry.org:10004 13:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:15 Configure a credential helper to remove this warning. See 13:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:15 13:23:15 Login Succeeded 13:23:15 docker.io 13:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:17 Configure a credential helper to remove this warning. See 13:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:17 13:23:17 Login Succeeded 13:23:17 ---> docker-login.sh ends [Pipeline] } 13:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:23:17 ========================================================= 13:23:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:23:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:23:18 Sending build context to Docker daemon 8.153MB 13:23:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:23:18 Step 2/12 : FROM ${BASE} AS builder 13:23:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:23:18 c41833b44d91: Pulling fs layer 13:23:18 ed15518f5707: Pulling fs layer 13:23:18 feae8fd75edb: Pulling fs layer 13:23:18 242c74f7c9fa: Pulling fs layer 13:23:18 3cdef696dda3: Pulling fs layer 13:23:18 2ced38df9373: Pulling fs layer 13:23:18 58f1dce35555: Pulling fs layer 13:23:18 3cdef696dda3: Waiting 13:23:18 2ced38df9373: Waiting 13:23:18 58f1dce35555: Waiting 13:23:18 ed15518f5707: Verifying Checksum 13:23:18 ed15518f5707: Download complete 13:23:18 242c74f7c9fa: Verifying Checksum 13:23:18 242c74f7c9fa: Download complete 13:23:18 3cdef696dda3: Verifying Checksum 13:23:18 3cdef696dda3: Download complete 13:23:18 c41833b44d91: Verifying Checksum 13:23:18 c41833b44d91: Download complete 13:23:19 c41833b44d91: Pull complete 13:23:19 58f1dce35555: Verifying Checksum 13:23:19 58f1dce35555: Download complete 13:23:19 ed15518f5707: Pull complete 13:23:20 2ced38df9373: Verifying Checksum 13:23:20 2ced38df9373: Download complete 13:23:20 feae8fd75edb: Verifying Checksum 13:23:20 feae8fd75edb: Download complete 13:23:22 Removing intermediate container 3fa83d5de175 13:23:22 ---> eb3a0c12a54b 13:23:22 Step 13/25 : FROM alpine:3.17 13:23:22 3.17: Pulling from library/alpine 13:23:22 f56be85fc22e: Already exists 13:23:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:23:22 Status: Downloaded newer image for alpine:3.17 13:23:22 ---> 9ed4aefc74f6 13:23:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:23:22 ---> Running in 604ddce2b3b8 13:23:22 Removing intermediate container 604ddce2b3b8 13:23:22 ---> 118e54ee969d 13:23:22 Step 15/25 : RUN apk add --update --no-cache 13:23:22 ---> Running in 8e06d51d4206 13:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:22 OK: 7 MiB in 15 packages 13:23:23 Removing intermediate container 8e06d51d4206 13:23:23 ---> a413e655f6b8 13:23:23 Step 16/25 : WORKDIR / 13:23:23 ---> Running in 4f8cd3a538bb 13:23:23 Removing intermediate container 4f8cd3a538bb 13:23:23 ---> 64f6d02622aa 13:23:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:23:23 ---> 63a6432a36bd 13:23:23 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:23:23 ---> c4bc913d3de4 13:23:23 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:23:24 ---> c8384f4854e4 13:23:24 Step 20/25 : EXPOSE 59910 13:23:24 ---> Running in 887974bdb415 13:23:24 Removing intermediate container 887974bdb415 13:23:24 ---> f10e0f60dafd 13:23:24 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:23:24 ---> Running in a939186223c2 13:23:24 Removing intermediate container a939186223c2 13:23:24 ---> 64a0666363fa 13:23:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:24 ---> Running in 740ce8caa551 13:23:24 Removing intermediate container 740ce8caa551 13:23:24 ---> 1f3f20b3ac0f 13:23:24 Step 23/25 : LABEL arch=amd64 13:23:24 ---> Running in 8c27e4977a5e 13:23:24 Removing intermediate container 8c27e4977a5e 13:23:24 ---> 2e32dacd8802 13:23:24 Step 24/25 : LABEL git_sha=9fa84e74cbea66ed5492117256cc1694a29c2d91 13:23:24 ---> Running in 71a4f534a768 13:23:24 Removing intermediate container 71a4f534a768 13:23:24 ---> 4fa07c99d569 13:23:24 Step 25/25 : LABEL version=0.0.0 13:23:24 ---> Running in 31109e379095 13:23:24 Removing intermediate container 31109e379095 13:23:24 ---> 7eb3008a2d11 13:23:24 [Warning] One or more build-args [ARCH] were not consumed 13:23:24 Successfully built 7eb3008a2d11 13:23:24 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 13:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:25 13:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:25 latest: Pulling from edgex-lftools-log-publisher 13:23:25 5eb5b503b376: Pulling fs layer 13:23:25 5c69ac0246d0: Pulling fs layer 13:23:25 ec43610c2a17: Pulling fs layer 13:23:25 3a2ae6a8a46f: Pulling fs layer 13:23:25 33b1e0a273af: Pulling fs layer 13:23:25 5d3b04190fa2: Pulling fs layer 13:23:25 2f39f015ded8: Pulling fs layer 13:23:25 33b1e0a273af: Waiting 13:23:25 5d3b04190fa2: Waiting 13:23:25 2f39f015ded8: Waiting 13:23:25 3a2ae6a8a46f: Waiting 13:23:25 5c69ac0246d0: Verifying Checksum 13:23:25 5c69ac0246d0: Download complete 13:23:25 3a2ae6a8a46f: Verifying Checksum 13:23:25 3a2ae6a8a46f: Download complete 13:23:25 33b1e0a273af: Verifying Checksum 13:23:25 33b1e0a273af: Download complete 13:23:26 5d3b04190fa2: Verifying Checksum 13:23:26 5d3b04190fa2: Download complete 13:23:26 ec43610c2a17: Verifying Checksum 13:23:26 ec43610c2a17: Download complete 13:23:26 5eb5b503b376: Verifying Checksum 13:23:26 5eb5b503b376: Download complete 13:23:26 2f39f015ded8: Download complete 13:23:27 5eb5b503b376: Pull complete 13:23:27 5c69ac0246d0: Pull complete 13:23:27 ec43610c2a17: Pull complete 13:23:28 3a2ae6a8a46f: Pull complete 13:23:28 33b1e0a273af: Pull complete 13:23:28 5d3b04190fa2: Pull complete 13:23:32 2f39f015ded8: Pull complete 13:23:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:23:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:33 prd-ubuntu20.04-docker-8c-8g-17485 does not seem to be running inside a container 13:23:33 $ 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-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@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 13:23:33 feae8fd75edb: Pull complete 13:23:33 242c74f7c9fa: Pull complete 13:23:33 3cdef696dda3: Pull complete 13:23:39 $ docker top 686e838643411f6e644afda78f06a026fb5992a60dfcf1ab15b91669c0df0b49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:39 2ced38df9373: Pull complete 13:23:40 ---> job-cost.sh 13:23:40 lf-activate-venv: SKIPPING 13:23:40 INFO: No Stack... 13:23:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:40 INFO: Archiving Costs [Pipeline] sh 13:23:40 + cat /w/workspace/edgexfoundry_device-gpio_PR-177/archives/cost.csv 13:23:40 + cut -d, -f6 [Pipeline] lock 13:23:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] 13:23:40 Resource [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] did not exist. Created. 13:23:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:41 + echo total: 0.2199999988079071 [Pipeline] stash 13:23:41 Stashed 1 file(s) [Pipeline] } 13:23:41 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:41 $ docker stop --time=1 686e838643411f6e644afda78f06a026fb5992a60dfcf1ab15b91669c0df0b49 13:23:41 58f1dce35555: Pull complete 13:23:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:23:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:23:41 ---> fadd8f120f05 13:23:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:23:42 $ docker rm -f --volumes 686e838643411f6e644afda78f06a026fb5992a60dfcf1ab15b91669c0df0b49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:23:43 ---> Running in 8de163a15408 13:23:43 Removing intermediate container 8de163a15408 13:23:43 ---> d04f3be16e69 13:23:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:23:43 ---> Running in b9333c53f47b 13:23:43 Removing intermediate container b9333c53f47b 13:23:43 ---> a5af53bdb6ab 13:23:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:23:43 ---> Running in 4c6c3580ba3a 13:23:44 Removing intermediate container 4c6c3580ba3a 13:23:44 ---> fbd182f7ef3f 13:23:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:23:44 ---> Running in 26c6c2c335ed 13:23:44 Removing intermediate container 26c6c2c335ed 13:23:44 ---> e45349360d7b 13:23:44 Step 7/12 : WORKDIR /device-gpio 13:23:44 ---> Running in 5521c4389999 13:23:44 Removing intermediate container 5521c4389999 13:23:44 ---> 121636ceb66b 13:23:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:23:44 ---> Running in f450d21936e4 13:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:23:47 (1/4) Installing openssh-keygen (9.1_p1-r3) 13:23:47 (2/4) Installing libedit (20221030.3.1-r0) 13:23:47 (3/4) Installing openssh-client-common (9.1_p1-r3) 13:23:47 (4/4) Installing openssh-client-default (9.1_p1-r3) 13:23:47 Executing busybox-1.35.0-r29.trigger 13:23:47 OK: 268 MiB in 57 packages 13:23:48 Removing intermediate container f450d21936e4 13:23:48 ---> cf5376a1a70b 13:23:48 Step 9/12 : COPY go.mod vendor* ./ 13:23:48 ---> d3e24be1f899 13:23:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:23:48 ---> Running in 0b768b92d7a3 13:24:56 Removing intermediate container 0b768b92d7a3 13:24:56 ---> 002e301b6f48 13:24:56 Step 11/12 : COPY . . 13:24:56 ---> 7ebf04aa8387 13:24:56 Step 12/12 : RUN ${MAKE} 13:24:56 ---> Running in cb71643eda69 13:24:56 noop 13:24:56 Removing intermediate container cb71643eda69 13:24:56 ---> 74efdb613f1b 13:24:56 Successfully built 74efdb613f1b 13:24:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:57 + docker inspect -f . ci-base-image-arm64 13:24:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:57 prd-ubuntu20.04-docker-arm64-4c-16g-17486 does not seem to be running inside a container 13:24:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:24:59 $ docker top 5859cb027f4a44744cb976561773d2e6d3b7c3c7d556d853edcbc808e642fae9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:00 + go version 13:25:00 go version go1.20.2 linux/arm64 [Pipeline] } 13:25:00 $ docker stop --time=1 5859cb027f4a44744cb976561773d2e6d3b7c3c7d556d853edcbc808e642fae9 13:25:02 $ docker rm -f --volumes 5859cb027f4a44744cb976561773d2e6d3b7c3c7d556d853edcbc808e642fae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:02 + docker inspect -f . ci-base-image-arm64 13:25:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:02 prd-ubuntu20.04-docker-arm64-4c-16g-17486 does not seem to be running inside a container 13:25:03 $ 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/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:25:04 $ docker top 47ad3e5b1b2870a409f990a3d0bd9fd00e7a1d79c959cf14b2992fcacbaae2e9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:04 + git config --global --add safe.directory /w/workspace/device-gpio/7 [Pipeline] fileExists [Pipeline] sh 13:25:05 + make test 13:25:05 go test ./... -coverprofile=coverage.out ./... 13:25:37 ? github.com/edgexfoundry/device-gpio [no test files] 13:27:28 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:27:28 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:27:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:27:28 go vet ./... 13:27:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:27:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:27:47 ./bin/test-attribution-txt.sh [Pipeline] echo 13:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:27:47 $ docker stop --time=1 47ad3e5b1b2870a409f990a3d0bd9fd00e7a1d79c959cf14b2992fcacbaae2e9 13:27:48 $ docker rm -f --volumes 47ad3e5b1b2870a409f990a3d0bd9fd00e7a1d79c959cf14b2992fcacbaae2e9 [Pipeline] // withDockerContainer [Pipeline] sh 13:27:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:27:50 Warning: overwriting stash ‘coverage-report’ 13:27:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:27:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:27:51 + ls -al . 13:27:51 total 160 13:27:51 drwxrwxr-x 8 jenkins jenkins 4096 May 31 13:25 . 13:27:51 drwxrwxr-x 4 jenkins jenkins 4096 May 31 13:22 .. 13:27:51 -rw-rw-r-- 1 jenkins jenkins 120 May 31 13:22 .dockerignore 13:27:51 drwxrwxr-x 8 jenkins jenkins 4096 May 31 13:22 .git 13:27:51 drwxrwxr-x 3 jenkins jenkins 4096 May 31 13:22 .github 13:27:51 -rw-rw-r-- 1 jenkins jenkins 343 May 31 13:22 .gitignore 13:27:51 -rw-rw-r-- 1 jenkins jenkins 41 May 31 13:22 .golangci.yml 13:27:51 -rw-rw-r-- 1 jenkins jenkins 9702 May 31 13:22 Attribution.txt 13:27:51 -rw-rw-r-- 1 jenkins jenkins 6184 May 31 13:22 CHANGELOG.md 13:27:51 -rw-rw-r-- 1 jenkins jenkins 1542 May 31 13:22 Dockerfile 13:27:51 -rw-rw-r-- 1 jenkins jenkins 677 May 31 13:22 GOVERNANCE.md 13:27:51 -rw-rw-r-- 1 jenkins jenkins 657 May 31 13:22 Jenkinsfile 13:27:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 13:22 LICENSE 13:27:51 -rw-rw-r-- 1 jenkins jenkins 1692 May 31 13:22 Makefile 13:27:51 -rw-rw-r-- 1 jenkins jenkins 617 May 31 13:22 OWNERS.md 13:27:51 -rw-rw-r-- 1 jenkins jenkins 12293 May 31 13:22 README.md 13:27:51 -rw-rw-r-- 1 jenkins jenkins 5 May 31 13:20 VERSION 13:27:51 drwxrwxr-x 2 jenkins jenkins 4096 May 31 13:22 bin 13:27:51 drwxrwxr-x 3 jenkins jenkins 4096 May 31 13:22 cmd 13:27:51 -rw-r--r-- 1 jenkins jenkins 10 May 31 13:25 coverage.out 13:27:51 -rw-rw-r-- 1 jenkins jenkins 3221 May 31 13:22 go.mod 13:27:51 -rw-rw-r-- 1 jenkins jenkins 31489 May 31 13:22 go.sum 13:27:51 drwxrwxr-x 3 jenkins jenkins 4096 May 31 13:22 internal 13:27:51 drwxrwxr-x 4 jenkins jenkins 4096 May 31 13:22 snap 13:27:51 -rw-rw-r-- 1 jenkins jenkins 209 May 31 13:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:51 + 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=30e281ca0176bb54631473d979b5133ced4a9d7b --label arch=arm64 --label version=0.0.0 . 13:27:51 Sending build context to Docker daemon 8.154MB 13:27:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:27:51 Step 2/25 : FROM ${BASE} AS builder 13:27:51 ---> 74efdb613f1b 13:27:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:27:55 ---> Running in f38f9b92fe7e 13:27:55 Removing intermediate container f38f9b92fe7e 13:27:55 ---> 6e8cf90fc18c 13:27:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:27:55 ---> Running in 55973c9c3708 13:27:55 Removing intermediate container 55973c9c3708 13:27:55 ---> af0a99fc3e2f 13:27:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:27:55 ---> Running in 4548111c2d84 13:27:56 Removing intermediate container 4548111c2d84 13:27:56 ---> d9a078630b0c 13:27:56 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:27:56 ---> Running in 24b636e807de 13:27:56 Removing intermediate container 24b636e807de 13:27:56 ---> 9164705cfdbd 13:27:56 Step 7/25 : WORKDIR /device-gpio 13:27:56 ---> Running in fbc7e517d749 13:27:56 Removing intermediate container fbc7e517d749 13:27:56 ---> 69e4641df555 13:27:56 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:27:56 ---> Running in 2168d1322aa9 13:27:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:27:59 OK: 268 MiB in 57 packages 13:27:59 Removing intermediate container 2168d1322aa9 13:27:59 ---> 4ed6b025afa8 13:27:59 Step 9/25 : COPY go.mod vendor* ./ 13:28:00 ---> c35061e170a7 13:28:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:00 ---> Running in 3d2a6ad01747 13:28:03 Removing intermediate container 3d2a6ad01747 13:28:03 ---> acc3c0db03a9 13:28:03 Step 11/25 : COPY . . 13:28:04 ---> 3e645d2fa440 13:28:04 Step 12/25 : RUN ${MAKE} 13:28:04 ---> Running in 5e6e95955da3 13:28:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 13:30:11 Removing intermediate container 5e6e95955da3 13:30:11 ---> 4d0fb00a091f 13:30:11 Step 13/25 : FROM alpine:3.17 13:30:11 3.17: Pulling from library/alpine 13:30:11 c41833b44d91: Already exists 13:30:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:30:11 Status: Downloaded newer image for alpine:3.17 13:30:11 ---> 51e60588ff2c 13:30:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:30:11 ---> Running in e25302595290 13:30:11 Removing intermediate container e25302595290 13:30:11 ---> 7ae5c172cd50 13:30:11 Step 15/25 : RUN apk add --update --no-cache 13:30:11 ---> Running in f6b06d6131be 13:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:30:11 OK: 7 MiB in 15 packages 13:30:12 Removing intermediate container f6b06d6131be 13:30:12 ---> d57389119ad6 13:30:12 Step 16/25 : WORKDIR / 13:30:12 ---> Running in 2f3334aef123 13:30:12 Removing intermediate container 2f3334aef123 13:30:12 ---> ec2d7ecbf0cb 13:30:12 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:30:13 ---> 53f44c8dce8a 13:30:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:30:13 ---> 606d255a59fa 13:30:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:30:15 ---> 49ceef4b1024 13:30:15 Step 20/25 : EXPOSE 59910 13:30:15 ---> Running in bc47684fc8d1 13:30:15 Removing intermediate container bc47684fc8d1 13:30:15 ---> 9bc74c20035c 13:30:15 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:30:15 ---> Running in 532150e00c74 13:30:15 Removing intermediate container 532150e00c74 13:30:15 ---> efd733f98903 13:30:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:30:15 ---> Running in d34ed8f8b4ed 13:30:16 Removing intermediate container d34ed8f8b4ed 13:30:16 ---> 957b6d27f488 13:30:16 Step 23/25 : LABEL arch=arm64 13:30:16 ---> Running in af34d045a1e7 13:30:16 Removing intermediate container af34d045a1e7 13:30:16 ---> d3c2163dae7f 13:30:16 Step 24/25 : LABEL git_sha=30e281ca0176bb54631473d979b5133ced4a9d7b 13:30:16 ---> Running in 04a1141f2532 13:30:16 Removing intermediate container 04a1141f2532 13:30:16 ---> e162820d2d4f 13:30:16 Step 25/25 : LABEL version=0.0.0 13:30:16 ---> Running in 1211f8daf029 13:30:17 Removing intermediate container 1211f8daf029 13:30:17 ---> 88424469505f 13:30:17 [Warning] One or more build-args [ARCH] were not consumed 13:30:17 Successfully built 88424469505f 13:30:17 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 13:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:30:17 13:30:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:30:17 arm64: Pulling from edgex-lftools-log-publisher 13:30:17 8998bd30e6a1: Pulling fs layer 13:30:17 04944245beec: Pulling fs layer 13:30:17 699f458cf7ca: Pulling fs layer 13:30:17 765212b225bb: Pulling fs layer 13:30:17 f23df028b6ca: Pulling fs layer 13:30:17 d65c8cfc05b1: Pulling fs layer 13:30:17 2437ff75d9bd: Pulling fs layer 13:30:17 765212b225bb: Waiting 13:30:17 2437ff75d9bd: Waiting 13:30:17 f23df028b6ca: Waiting 13:30:17 d65c8cfc05b1: Waiting 13:30:18 04944245beec: Verifying Checksum 13:30:18 04944245beec: Download complete 13:30:18 765212b225bb: Verifying Checksum 13:30:18 765212b225bb: Download complete 13:30:18 f23df028b6ca: Verifying Checksum 13:30:18 f23df028b6ca: Download complete 13:30:18 d65c8cfc05b1: Verifying Checksum 13:30:18 d65c8cfc05b1: Download complete 13:30:18 699f458cf7ca: Verifying Checksum 13:30:18 699f458cf7ca: Download complete 13:30:18 8998bd30e6a1: Verifying Checksum 13:30:18 8998bd30e6a1: Download complete 13:30:21 2437ff75d9bd: Verifying Checksum 13:30:21 2437ff75d9bd: Download complete 13:30:22 8998bd30e6a1: Pull complete 13:30:23 04944245beec: Pull complete 13:30:26 699f458cf7ca: Pull complete 13:30:26 765212b225bb: Pull complete 13:30:27 f23df028b6ca: Pull complete 13:30:27 d65c8cfc05b1: Pull complete 13:30:42 2437ff75d9bd: Pull complete 13:30:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:30:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:30:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:42 prd-ubuntu20.04-docker-arm64-4c-16g-17486 does not seem to be running inside a container 13:30:42 $ 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/7 -v /w/workspace/device-gpio/7:/w/workspace/device-gpio/7:rw,z -v /w/workspace/device-gpio/7@tmp:/w/workspace/device-gpio/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:30:45 $ docker top 6e54db80d5df160a264338739f323db5364b9097192d72749c7ba360c4a3368e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:46 ---> job-cost.sh 13:30:46 lf-activate-venv: SKIPPING 13:30:46 INFO: No Stack... 13:30:46 INFO: Retrieving Pricing Info for: v3-standard-4 13:30:47 INFO: Archiving Costs [Pipeline] sh 13:30:47 + cat /w/workspace/device-gpio/7/archives/cost.csv 13:30:47 + cut -d, -f6 [Pipeline] lock 13:30:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] 13:30:48 Resource [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] did not exist. Created. 13:30:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:30:48 /w/workspace/device-gpio/7@tmp/durable-3fc37708/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:30:48 + echo total: 0.10999999940395355 [Pipeline] stash 13:30:49 Warning: overwriting stash ‘stack-cost’ 13:30:49 Stashed 1 file(s) [Pipeline] } 13:30:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-177-7-stack-cost] [Pipeline] // lock [Pipeline] } 13:30:49 $ docker stop --time=1 6e54db80d5df160a264338739f323db5364b9097192d72749c7ba360c4a3368e 13:30:50 $ docker rm -f --volumes 6e54db80d5df160a264338739f323db5364b9097192d72749c7ba360c4a3368e [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 13:30:50 provisioning config files... 13:30:50 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config10244195876305760788tmp [Pipeline] { [Pipeline] sh 13:30:51 + set +x 13:30:51 + curl -s https://codecov.io/bash 13:30:51 + bash -s -- 13:30:51 13:30:51 _____ _ 13:30:51 / ____| | | 13:30:51 | | ___ __| | ___ ___ _____ __ 13:30:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:30:51 | |___| (_) | (_| | __/ (_| (_) \ V / 13:30:51 \_____\___/ \__,_|\___|\___\___/ \_/ 13:30:51 Bash-1.0.6 13:30:51 13:30:51 13:30:51 ==> git version 2.25.1 found 13:30:51 ==> 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 13:30:51 Release-Date: 2020-01-08 13:30:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:30:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:30:51 ==> Jenkins CI detected. 13:30:51 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-177 13:30:51 project root: . 13:30:51 --> token set from env 13:30:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:30:51 ==> Running gcov in . (disable via -X gcov) 13:30:51 ==> Python coveragepy not found 13:30:51 ==> Searching for coverage reports in: 13:30:51 + . 13:30:51 -> Found 1 reports 13:30:51 ==> Detecting git/mercurial file structure 13:30:51 ==> Reading reports 13:30:51 + ./coverage.out bytes=10 13:30:51 ==> Appending adjustments 13:30:51 https://docs.codecov.io/docs/fixing-reports 13:30:51 + Found adjustments 13:30:51 ==> Gzipping contents 13:30:51 4.0K /tmp/codecov.MFjr2d.gz 13:30:51 ==> Uploading reports 13:30:51 url: https://codecov.io 13:30:51 query: branch=PR-177&commit=9fa84e74cbea66ed5492117256cc1694a29c2d91&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-177%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=177&job=&cmd_args= 13:30:51 -> Pinging Codecov 13:30:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-177&commit=9fa84e74cbea66ed5492117256cc1694a29c2d91&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-177%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=177&job=&cmd_args= 13:30:51 -> Uploading to 13:30:51 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9fa84e74cbea66ed5492117256cc1694a29c2d91/c3305cd4-4e96-42af-99f8-378699e32d96.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T133051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7f6f1c0aff63cd40405064a0eb1ef9ace036d755b740e7ba6bbeb20db2082b7 13:30:51 % Total % Received % Xferd Average Speed Time Time Time Current 13:30:51 Dload Upload Total Spent Left Speed 13:30:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 2979 --:--:-- --:--:-- --:--:-- 2967 13:30:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9fa84e74cbea66ed5492117256cc1694a29c2d91 [Pipeline] } 13:30:51 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 13:30:52 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-177/archives ] 13:30:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-177/archives 13:30:52 total 16 13:30:52 drwxr-xr-x 3 root root 4096 May 31 13:23 . 13:30:52 drwxrwxr-x 10 jenkins jenkins 4096 May 31 13:23 .. 13:30:52 drwxr-xr-x 2 root root 4096 May 31 13:23 cost 13:30:52 -rw-r--r-- 1 root root 83 May 31 13:23 cost.csv 13:30:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-177/archives 13:30:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-177/archives 13:30:52 total 16 13:30:52 drwxr-xr-x 3 jenkins jenkins 4096 May 31 13:23 . 13:30:52 drwxrwxr-x 10 jenkins jenkins 4096 May 31 13:23 .. 13:30:52 drwxr-xr-x 2 jenkins jenkins 4096 May 31 13:23 cost 13:30:52 -rw-r--r-- 1 jenkins jenkins 83 May 31 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:30:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:30:53 ---> package-listing.sh 13:30:53 ++ facter osfamily 13:30:53 ++ tr '[:upper:]' '[:lower:]' 13:30:53 + OS_FAMILY=debian 13:30:53 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-177 13:30:53 + START_PACKAGES=/tmp/packages_start.txt 13:30:53 + END_PACKAGES=/tmp/packages_end.txt 13:30:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:30:53 + PACKAGES=/tmp/packages_start.txt 13:30:53 + '[' /w/workspace/edgexfoundry_device-gpio_PR-177 ']' 13:30:53 + PACKAGES=/tmp/packages_end.txt 13:30:53 + case "${OS_FAMILY}" in 13:30:53 + dpkg -l 13:30:53 + grep '^ii' 13:30:53 + '[' -f /tmp/packages_start.txt ']' 13:30:53 + '[' -f /tmp/packages_end.txt ']' 13:30:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:30:53 + '[' /w/workspace/edgexfoundry_device-gpio_PR-177 ']' 13:30:53 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-177/archives/ 13:30:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-177/archives/ [Pipeline] echo 13:30:53 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:30:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:54 prd-ubuntu20.04-docker-8c-8g-17485 does not seem to be running inside a container 13:30:54 $ 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-177/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-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@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 13:30:57 $ docker top 4654b5942e78a79ab38bb66e576a6d620a80944c102b17bc81da98a3dd561322 -eo pid,comm [Pipeline] { [Pipeline] sh 13:30:57 + touch /tmp/pre-build-complete [Pipeline] sh 13:30:58 + mkdir -p /var/log/sysstat [Pipeline] sh 13:30:58 + ls /var/log/sa-host 13:30:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:58 provisioning config files... 13:30:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config1883430036850554453tmp [Pipeline] { [Pipeline] echo 13:30:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:30:58 ---> create-netrc.sh [Pipeline] } 13:30:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:30:59 ---> python-tools-install.sh [Pipeline] echo 13:30:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:30:59 ---> sudo-logs.sh 13:30:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:30:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:30:59 ---> job-cost.sh 13:30:59 lf-activate-venv: SKIPPING 13:30:59 DEBUG: total: 0.2199999988079071 13:30:59 INFO: Retrieving Stack Cost... 13:31:00 INFO: Retrieving Pricing Info for: v3-standard-8 13:31:00 INFO: Archiving Costs [Pipeline] echo 13:31:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:31:01 ---> logs-deploy.sh 13:31:01 lf-activate-venv: SKIPPING 13:31:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-177/7 13:31:01 INFO: archiving workspace using pattern(s): 13:31:02 Archives upload complete. 13:31:02 INFO: archiving logs to Nexus