Pull request #71 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5075b9e81635d00e611a2c2e84518ae3b9f6de56+2471770c414ffcb3969497332fd67a405e85392b (6ddf2c6cf611b5707d766f57a8adbfec7991e670) 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-ssh8135644839850441308.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3110663671767956055.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-71/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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4240123240993222393.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15021149568453644569.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-71/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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5846481101520100905.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9390’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9391’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9393’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9395 in /w/workspace/edgexfoundry_device-gpio_PR-71 [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-71 # 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 Merging remotes/origin/main commit 2471770c414ffcb3969497332fd67a405e85392b into PR head commit 5075b9e81635d00e611a2c2e84518ae3b9f6de56 Merge succeeded, producing 5075b9e81635d00e611a2c2e84518ae3b9f6de56 Checking out Revision 5075b9e81635d00e611a2c2e84518ae3b9f6de56 (PR-71) > 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/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # 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 2471770c414ffcb3969497332fd67a405e85392b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:42 ========================================================= 04:22:42 EdgeX Global Pipelines Version Info 04:22:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e8bd7db77c35eb38aec4d1e7db6b52b426840763 # timeout=10 04:22:43 ------------------- 04:22:43 stable info: 04:22:43 ------------------- 04:22:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:43 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:22:43 Message: update stable to v1.0.244 04:22:43 ------------------- 04:22:43 experimental info: 04:22:43 ------------------- 04:22:43 Commited By: **** collab-it+edgex@linuxfoundation.org 04:22:43 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:22:43 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5075b9e81635d00e611a2c2e84518ae3b9f6de56 [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5075b9e [Pipeline] echo 04:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:44 provisioning config files... 04:22:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config11734246916450831881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:44 ---> docker-login.sh 04:22:44 nexus3.edgexfoundry.org:10001 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 nexus3.edgexfoundry.org:10002 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 nexus3.edgexfoundry.org:10003 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 nexus3.edgexfoundry.org:10004 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 docker.io 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 ---> docker-login.sh ends [Pipeline] } 04:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:22:46 + git rev-list -1 --merges 5075b9e81635d00e611a2c2e84518ae3b9f6de56~1..5075b9e81635d00e611a2c2e84518ae3b9f6de56 [Pipeline] echo 04:22:46 -----------> git rev-list -1 --merges 5075b9e81635d00e611a2c2e84518ae3b9f6de56~1..5075b9e81635d00e611a2c2e84518ae3b9f6de56 5075b9e81635d00e611a2c2e84518ae3b9f6de56 [false] [Pipeline] sh 04:22:46 + git log --format=format:%s -1 5075b9e81635d00e611a2c2e84518ae3b9f6de56 [Pipeline] echo 04:22:46 ========================================================= 04:22:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:22:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:46 + git log --format=format:%s -1 5075b9e81635d00e611a2c2e84518ae3b9f6de56 [Pipeline] echo 04:22:46 [semverPrep] GIT_COMMIT: 5075b9e81635d00e611a2c2e84518ae3b9f6de56, Commit Message: build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1 [Pipeline] echo 04:22:46 [semverPrep] This is not a build commit. [Pipeline] sh 04:22:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:47 + grep -v github /etc/ssh/ssh_known_hosts 04:22:47 + [ -e /tmp/ssh_known_hosts ] 04:22:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:22:47 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:22:47 sudo tee -a /etc/ssh/ssh_known_hosts 04:22:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:47 04:22:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:47 0.1.4: Pulling from edgex-devops/py-git-semver 04:22:47 b85a868b505f: Pulling fs layer 04:22:47 e2be974225ed: Pulling fs layer 04:22:47 339a4e72a1f5: Pulling fs layer 04:22:47 988bab9f4d93: Pulling fs layer 04:22:47 1469e6f7b9e6: Pulling fs layer 04:22:47 eaf3925da568: Pulling fs layer 04:22:47 bab4dde63d76: Pulling fs layer 04:22:47 bde34c3a00c8: Pulling fs layer 04:22:47 b352a97aabf1: Pulling fs layer 04:22:47 4872d77fe225: Pulling fs layer 04:22:47 5851b861e8e6: Pulling fs layer 04:22:47 988bab9f4d93: Waiting 04:22:47 1469e6f7b9e6: Waiting 04:22:47 eaf3925da568: Waiting 04:22:47 bab4dde63d76: Waiting 04:22:47 bde34c3a00c8: Waiting 04:22:47 b352a97aabf1: Waiting 04:22:47 4872d77fe225: Waiting 04:22:47 5851b861e8e6: Waiting 04:22:47 e2be974225ed: Verifying Checksum 04:22:47 e2be974225ed: Download complete 04:22:47 988bab9f4d93: Download complete 04:22:48 1469e6f7b9e6: Verifying Checksum 04:22:48 1469e6f7b9e6: Download complete 04:22:48 eaf3925da568: Verifying Checksum 04:22:48 eaf3925da568: Download complete 04:22:48 339a4e72a1f5: Verifying Checksum 04:22:48 339a4e72a1f5: Download complete 04:22:48 bde34c3a00c8: Verifying Checksum 04:22:48 bde34c3a00c8: Download complete 04:22:48 b352a97aabf1: Download complete 04:22:48 4872d77fe225: Verifying Checksum 04:22:48 4872d77fe225: Download complete 04:22:48 5851b861e8e6: Download complete 04:22:48 b85a868b505f: Download complete 04:22:48 bab4dde63d76: Verifying Checksum 04:22:48 bab4dde63d76: Download complete 04:22:49 b85a868b505f: Pull complete 04:22:49 e2be974225ed: Pull complete 04:22:50 339a4e72a1f5: Pull complete 04:22:50 988bab9f4d93: Pull complete 04:22:50 1469e6f7b9e6: Pull complete 04:22:50 eaf3925da568: Pull complete 04:22:52 bab4dde63d76: Pull complete 04:22:52 bde34c3a00c8: Pull complete 04:22:53 b352a97aabf1: Pull complete 04:22:53 4872d77fe225: Pull complete 04:22:53 5851b861e8e6: Pull complete 04:22:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:22:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:53 prd-ubuntu20.04-docker-8c-8g-9395 does not seem to be running inside a container 04:22:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 04:22:54 $ docker top 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 -eo pid,comm 04:22:54 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). 04:22:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:54 [ssh-agent] Looking for ssh-agent implementation... 04:22:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:55 $ docker exec 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 ssh-agent 04:22:55 SSH_AUTH_SOCK=/tmp/ssh-h5gnrIR1qYy0/agent.33 04:22:55 SSH_AGENT_PID=39 04:22:55 Running ssh-add (command line suppressed) 04:22:55 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_7037835615359938511.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_7037835615359938511.key) 04:22:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:55 + git tag --points-at HEAD [Pipeline] } 04:22:55 $ docker exec --env ******** --env ******** 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 ssh-agent -k 04:22:55 unset SSH_AUTH_SOCK; 04:22:55 unset SSH_AGENT_PID; 04:22:55 echo Agent pid 39 killed; 04:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:22:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:55 [ssh-agent] Looking for ssh-agent implementation... 04:22:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:55 $ docker exec 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 ssh-agent 04:22:56 SSH_AUTH_SOCK=/tmp/ssh-LneaJXnMNGz9/agent.72 04:22:56 SSH_AGENT_PID=78 04:22:56 Running ssh-add (command line suppressed) 04:22:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_2184778237497781762.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_2184778237497781762.key) 04:22:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:56 + git semver init 04:22:56 2023-03-09 04:22:56,663 [run_init] DEBUG init version:0.0.0 force:False 04:22:56 2023-03-09 04:22:56,665 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver 04:22:56 2023-03-09 04:22:56,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver 04:22:56 2023-03-09 04:22:56,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) 04:22:57 2023-03-09 04:22:57,579 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude 04:22:57 2023-03-09 04:22:57,580 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False 04:22:57 2023-03-09 04:22:57,580 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 04:22:57 2023-03-09 04:22:57,585 [execute] INFO git cat-file --batch-check 04:22:57 2023-03-09 04:22:57,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 04:22:57 2023-03-09 04:22:57,593 [execute] INFO git cat-file --batch 04:22:57 2023-03-09 04:22:57,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 04:22:57 2023-03-09 04:22:57,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 04:22:57 0.0.0 [Pipeline] } 04:22:57 $ docker exec --env ******** --env ******** 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 ssh-agent -k 04:22:57 unset SSH_AUTH_SOCK; 04:22:57 unset SSH_AGENT_PID; 04:22:57 echo Agent pid 78 killed; 04:22:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:58 + git semver [Pipeline] } 04:22:58 $ docker stop --time=1 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 04:22:59 $ docker rm -f --volumes 67f6f8fb8ed3b22368056fa93369c35347f5b388e42f3a726b01822fbcf5f584 [Pipeline] // withDockerContainer [Pipeline] sh 04:23:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:23:00 Stashed 1 file(s) [Pipeline] echo 04:23:00 [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 04:23:00 provisioning config files... 04:23:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config885410804656554914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:00 ---> docker-login.sh 04:23:00 nexus3.edgexfoundry.org:10001 04:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:00 Configure a credential helper to remove this warning. See 04:23:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:00 04:23:00 Login Succeeded 04:23:00 nexus3.edgexfoundry.org:10002 04:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 nexus3.edgexfoundry.org:10003 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 nexus3.edgexfoundry.org:10004 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 docker.io 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 ---> docker-login.sh ends [Pipeline] } 04:23:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:01 ========================================================= 04:23:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:23:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:23:01 Sending build context to Docker daemon 16MB 04:23:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:23:01 Step 2/12 : FROM ${BASE} AS builder 04:23:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:23:01 213ec9aee27d: Pulling fs layer 04:23:01 4583459ba037: Pulling fs layer 04:23:01 93c1e223e6f2: Pulling fs layer 04:23:01 53926ce57604: Pulling fs layer 04:23:01 21b2b0c7a3f4: Pulling fs layer 04:23:01 22ff95d597cd: Pulling fs layer 04:23:01 12d6caf4c0d1: Pulling fs layer 04:23:01 96b7cbca73a9: Pulling fs layer 04:23:01 a7acece74701: Pulling fs layer 04:23:01 22ff95d597cd: Waiting 04:23:01 12d6caf4c0d1: Waiting 04:23:01 96b7cbca73a9: Waiting 04:23:01 a7acece74701: Waiting 04:23:01 53926ce57604: Waiting 04:23:01 21b2b0c7a3f4: Waiting 04:23:02 93c1e223e6f2: Verifying Checksum 04:23:02 93c1e223e6f2: Download complete 04:23:02 4583459ba037: Verifying Checksum 04:23:02 4583459ba037: Download complete 04:23:02 21b2b0c7a3f4: Verifying Checksum 04:23:02 21b2b0c7a3f4: Download complete 04:23:02 22ff95d597cd: Verifying Checksum 04:23:02 22ff95d597cd: Download complete 04:23:02 213ec9aee27d: Verifying Checksum 04:23:02 12d6caf4c0d1: Download complete 04:23:02 213ec9aee27d: Pull complete 04:23:02 4583459ba037: Pull complete 04:23:02 93c1e223e6f2: Pull complete 04:23:02 a7acece74701: Verifying Checksum 04:23:02 a7acece74701: Download complete 04:23:03 96b7cbca73a9: Verifying Checksum 04:23:03 96b7cbca73a9: Download complete 04:23:03 53926ce57604: Download complete 04:23:07 53926ce57604: Pull complete 04:23:07 21b2b0c7a3f4: Pull complete 04:23:07 22ff95d597cd: Pull complete 04:23:07 12d6caf4c0d1: Pull complete 04:23:09 96b7cbca73a9: Pull complete 04:23:10 a7acece74701: Pull complete 04:23:10 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:23:10 ---> db6d94c90886 04:23:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:23:12 ---> Running in 31bbfba3ec81 04:23:12 Removing intermediate container 31bbfba3ec81 04:23:12 ---> 6b21d4c0a966 04:23:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:23:12 ---> Running in 25ad971adf81 04:23:12 Removing intermediate container 25ad971adf81 04:23:12 ---> c033a29655bc 04:23:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:23:12 ---> Running in 5ead0fd8e9d6 04:23:12 Removing intermediate container 5ead0fd8e9d6 04:23:12 ---> 52fc10f77e5b 04:23:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:23:12 ---> Running in 2b03fb69ca52 04:23:12 Removing intermediate container 2b03fb69ca52 04:23:12 ---> 81de76703cc7 04:23:12 Step 7/12 : WORKDIR /device-gpio 04:23:12 ---> Running in 8ccafd28e831 04:23:12 Removing intermediate container 8ccafd28e831 04:23:12 ---> 711d17524a11 04:23:12 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:12 ---> Running in 366bf4a6c471 04:23:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:23:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:23:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:23:13 (2/4) Installing libedit (20210910.3.1-r0) 04:23:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:23:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:23:13 Executing busybox-1.35.0-r17.trigger 04:23:13 OK: 216 MiB in 55 packages 04:23:14 Removing intermediate container 366bf4a6c471 04:23:14 ---> 72af15dc140b 04:23:14 Step 9/12 : COPY go.mod vendor* ./ 04:23:14 ---> 1199be7c764e 04:23:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:14 ---> Running in c7d627c6aa83 04:23:15 Still waiting to schedule task 04:23:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9392’ 04:23:40 Removing intermediate container c7d627c6aa83 04:23:40 ---> 9601c4b4ab94 04:23:40 Step 11/12 : COPY . . 04:23:40 ---> a4d97162c828 04:23:40 Step 12/12 : RUN ${MAKE} 04:23:40 ---> Running in b1e2ded532c8 04:23:40 noop 04:23:40 Removing intermediate container b1e2ded532c8 04:23:40 ---> 5ff96d43ab7a 04:23:40 Successfully built 5ff96d43ab7a 04:23:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:41 + docker inspect -f . ci-base-image-x86_64 04:23:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:41 prd-ubuntu20.04-docker-8c-8g-9395 does not seem to be running inside a container 04:23:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 04:23:41 $ docker top a98af8044e3f51dc8092742a5b6caae13d406890c68bd12d7b21c5751dcd75d4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:42 + go version 04:23:42 go version go1.18.7 linux/amd64 [Pipeline] } 04:23:42 $ docker stop --time=1 a98af8044e3f51dc8092742a5b6caae13d406890c68bd12d7b21c5751dcd75d4 04:23:43 $ docker rm -f --volumes a98af8044e3f51dc8092742a5b6caae13d406890c68bd12d7b21c5751dcd75d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:43 + docker inspect -f . ci-base-image-x86_64 04:23:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:43 prd-ubuntu20.04-docker-8c-8g-9395 does not seem to be running inside a container 04:23:43 $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 04:23:44 $ docker top c531f33efe811271c1e2abe15a5278debc925623ee54e3ea5829e41a6b53eaf4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh 04:23:44 + make test 04:23:44 go test ./... -coverprofile=coverage.out ./... 04:23:45 ? github.com/edgexfoundry/device-gpio [no test files] 04:23:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:23:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:24:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:24:01 go vet ./... 04:24:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:04 ./bin/test-attribution-txt.sh [Pipeline] echo 04:24:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:24:05 $ docker stop --time=1 c531f33efe811271c1e2abe15a5278debc925623ee54e3ea5829e41a6b53eaf4 04:24:06 $ docker rm -f --volumes c531f33efe811271c1e2abe15a5278debc925623ee54e3ea5829e41a6b53eaf4 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:24:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:08 + ls -al . 04:24:08 total 160 04:24:08 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 04:23 . 04:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:22 .. 04:24:08 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 04:22 .dockerignore 04:24:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 04:23 .git 04:24:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:22 .github 04:24:08 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 04:22 .gitignore 04:24:08 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 04:22 .golangci.yml 04:24:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 04:22 .semver 04:24:08 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 9 04:22 Attribution.txt 04:24:08 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 04:22 CHANGELOG.md 04:24:08 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 04:22 Dockerfile 04:24:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 04:22 GOVERNANCE.md 04:24:08 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 04:22 Jenkinsfile 04:24:08 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 04:22 LICENSE 04:24:08 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 04:22 Makefile 04:24:08 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 04:22 OWNERS.md 04:24:08 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 04:22 README.md 04:24:08 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 04:23 VERSION 04:24:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:22 bin 04:24:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:22 cmd 04:24:08 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 04:23 coverage.out 04:24:08 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 9 04:22 go.mod 04:24:08 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 9 04:22 go.sum 04:24:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:22 internal 04:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:22 snap 04:24:08 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:08 + 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=5075b9e81635d00e611a2c2e84518ae3b9f6de56 --label arch=amd64 --label version=0.0.0 . 04:24:08 Sending build context to Docker daemon 16MB 04:24:08 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:24:08 Step 2/25 : FROM ${BASE} AS builder 04:24:08 ---> 5ff96d43ab7a 04:24:08 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:24:08 ---> Running in 6fb5fb02fe74 04:24:08 Removing intermediate container 6fb5fb02fe74 04:24:08 ---> 25b93af6c6da 04:24:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:08 ---> Running in 4f452b20c217 04:24:08 Removing intermediate container 4f452b20c217 04:24:08 ---> abc4107fc424 04:24:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:24:08 ---> Running in 7e002c42447a 04:24:08 Removing intermediate container 7e002c42447a 04:24:08 ---> cce60cbe22db 04:24:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:24:08 ---> Running in b746ae33a715 04:24:09 Removing intermediate container b746ae33a715 04:24:09 ---> c7553ba1d000 04:24:09 Step 7/25 : WORKDIR /device-gpio 04:24:09 ---> Running in 6f7e5a4ff54a 04:24:09 Removing intermediate container 6f7e5a4ff54a 04:24:09 ---> e86ce59e3cb3 04:24:09 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:24:09 ---> Running in fcdf912f97d2 04:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:24:10 OK: 216 MiB in 55 packages 04:24:10 Removing intermediate container fcdf912f97d2 04:24:10 ---> 395ccac900e5 04:24:10 Step 9/25 : COPY go.mod vendor* ./ 04:24:10 ---> 3cae1728fc28 04:24:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:10 ---> Running in a72459dbbee5 04:24:11 Removing intermediate container a72459dbbee5 04:24:11 ---> 5baedc73901f 04:24:11 Step 11/25 : COPY . . 04:24:12 ---> 87243dfae396 04:24:12 Step 12/25 : RUN ${MAKE} 04:24:12 ---> Running in fe2b4ec49f82 04:24:12 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 04:24:34 Removing intermediate container fe2b4ec49f82 04:24:34 ---> 82639490b128 04:24:34 Step 13/25 : FROM alpine:3.16 04:24:34 3.16: Pulling from library/alpine 04:24:34 ef5531b6e74e: Pulling fs layer 04:24:34 ef5531b6e74e: Verifying Checksum 04:24:34 ef5531b6e74e: Download complete 04:24:34 ef5531b6e74e: Pull complete 04:24:34 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:24:34 Status: Downloaded newer image for alpine:3.16 04:24:34 ---> dfd21b5a31f5 04:24:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:24:34 ---> Running in 0edec167efad 04:24:34 Removing intermediate container 0edec167efad 04:24:34 ---> 72f9e644cf00 04:24:34 Step 15/25 : RUN apk add --update --no-cache 04:24:34 ---> Running in 8406bb7586c5 04:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:24:34 OK: 6 MiB in 14 packages 04:24:34 Removing intermediate container 8406bb7586c5 04:24:34 ---> 5c533e30f9ca 04:24:34 Step 16/25 : WORKDIR / 04:24:34 ---> Running in 59b7b5f888a0 04:24:34 Removing intermediate container 59b7b5f888a0 04:24:34 ---> 25db1dca0f65 04:24:34 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:24:34 ---> 048c5e494fc7 04:24:34 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:24:34 ---> a1c13dea6b1e 04:24:34 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:24:34 ---> 0e873790636a 04:24:34 Step 20/25 : EXPOSE 59910 04:24:34 ---> Running in 23a69d6414fc 04:24:34 Removing intermediate container 23a69d6414fc 04:24:34 ---> cfb58dc36807 04:24:34 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:24:34 ---> Running in 418f941b452b 04:24:34 Removing intermediate container 418f941b452b 04:24:34 ---> 9e3dc8247d47 04:24:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:24:34 ---> Running in ad8282175e47 04:24:34 Removing intermediate container ad8282175e47 04:24:34 ---> e42faec5d0a4 04:24:34 Step 23/25 : LABEL arch=amd64 04:24:34 ---> Running in 6bd7e45f547b 04:24:34 Removing intermediate container 6bd7e45f547b 04:24:34 ---> be0dbbc0109c 04:24:34 Step 24/25 : LABEL git_sha=5075b9e81635d00e611a2c2e84518ae3b9f6de56 04:24:34 ---> Running in 36d4f9ef03ed 04:24:34 Removing intermediate container 36d4f9ef03ed 04:24:34 ---> edf6f40ba067 04:24:34 Step 25/25 : LABEL version=0.0.0 04:24:34 ---> Running in 77880de52496 04:24:34 Removing intermediate container 77880de52496 04:24:34 ---> 06edc1e14df7 04:24:34 [Warning] One or more build-args [ARCH] were not consumed 04:24:34 Successfully built 06edc1e14df7 04:24:34 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 04:24:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:34 04:24:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:35 latest: Pulling from edgex-lftools-log-publisher 04:24:35 5eb5b503b376: Pulling fs layer 04:24:35 5c69ac0246d0: Pulling fs layer 04:24:35 ec43610c2a17: Pulling fs layer 04:24:35 3a2ae6a8a46f: Pulling fs layer 04:24:35 33b1e0a273af: Pulling fs layer 04:24:35 5d3b04190fa2: Pulling fs layer 04:24:35 2f39f015ded8: Pulling fs layer 04:24:35 3a2ae6a8a46f: Waiting 04:24:35 2f39f015ded8: Waiting 04:24:35 33b1e0a273af: Waiting 04:24:35 5d3b04190fa2: Waiting 04:24:35 5c69ac0246d0: Download complete 04:24:35 3a2ae6a8a46f: Download complete 04:24:35 33b1e0a273af: Verifying Checksum 04:24:35 33b1e0a273af: Download complete 04:24:35 5d3b04190fa2: Verifying Checksum 04:24:35 5d3b04190fa2: Download complete 04:24:35 ec43610c2a17: Verifying Checksum 04:24:35 ec43610c2a17: Download complete 04:24:35 5eb5b503b376: Verifying Checksum 04:24:35 5eb5b503b376: Download complete 04:24:36 2f39f015ded8: Download complete 04:24:36 5eb5b503b376: Pull complete 04:24:36 5c69ac0246d0: Pull complete 04:24:37 ec43610c2a17: Pull complete 04:24:37 3a2ae6a8a46f: Pull complete 04:24:37 33b1e0a273af: Pull complete 04:24:37 5d3b04190fa2: Pull complete 04:24:41 2f39f015ded8: Pull complete 04:24:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:42 prd-ubuntu20.04-docker-8c-8g-9395 does not seem to be running inside a container 04:24: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/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 04:24:43 $ docker top ae9f9e03b7470ce9c91bb487c5ca63fa9df3d26afbb310840528a4124e7ab83b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:44 ---> job-cost.sh 04:24:44 lf-activate-venv: SKIPPING 04:24:44 INFO: No Stack... 04:24:44 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:45 INFO: Archiving Costs [Pipeline] sh 04:24:45 + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv 04:24:45 + cut -d, -f6 [Pipeline] lock 04:24:45 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] 04:24:45 Resource [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] did not exist. Created. 04:24:45 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:24:45 + echo total: 0.2199999988079071 [Pipeline] stash 04:24:45 Stashed 1 file(s) [Pipeline] } 04:24:45 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:45 $ docker stop --time=1 ae9f9e03b7470ce9c91bb487c5ca63fa9df3d26afbb310840528a4124e7ab83b 04:24:46 $ docker rm -f --volumes ae9f9e03b7470ce9c91bb487c5ca63fa9df3d26afbb310840528a4124e7ab83b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9401 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] ws 04:26:09 Running in /w/workspace/device-gpio/15 [Pipeline] { [Pipeline] checkout 04:26:09 The recommended git tool is: git 04:26:23 using credential edgex-jenkins-ssh 04:26:23 Cloning the remote Git repository 04:26:23 Cloning repository git@github.com:edgexfoundry/device-gpio.git 04:26:23 > git init /w/workspace/device-gpio/15 # timeout=10 04:26:23 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 04:26:23 > git --version # timeout=10 04:26:23 > git --version # 'git version 2.25.1' 04:26:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 04:26:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:28 Merging remotes/origin/main commit 2471770c414ffcb3969497332fd67a405e85392b into PR head commit 5075b9e81635d00e611a2c2e84518ae3b9f6de56 04:26:28 Merge succeeded, producing 5075b9e81635d00e611a2c2e84518ae3b9f6de56 04:26:28 Checking out Revision 5075b9e81635d00e611a2c2e84518ae3b9f6de56 (PR-71) 04:26:27 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 04:26:27 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 04:26:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:26:28 > git config core.sparsecheckout # timeout=10 04:26:28 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 04:26:28 > git remote # timeout=10 04:26:28 > git config --get remote.origin.url # timeout=10 04:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:28 > git merge 2471770c414ffcb3969497332fd67a405e85392b # timeout=10 04:26:28 > git rev-parse HEAD^{commit} # timeout=10 04:26:28 > git config core.sparsecheckout # timeout=10 04:26:28 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 04:26:29 Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:26:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:30 Dload Upload Total Spent Left Speed 04:26:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 04:26:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:26:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:26:32 + sudo tee /etc/docker/daemon.new 04:26:32 { 04:26:32 "registry-mirrors": [ 04:26:32 "https://nexus3.edgexfoundry.org:10001" 04:26:32 ], 04:26:32 "bip": "10.250.0.254/24", 04:26:32 "hosts": [ 04:26:32 "tcp://0.0.0.0:5555", 04:26:32 "unix:///var/run/docker.sock" 04:26:32 ], 04:26:32 "mtu": 1458, 04:26:32 "selinux-enabled": true, 04:26:32 "seccomp-profile": "/etc/docker/seccomp.json" 04:26:32 } [Pipeline] sh 04:26:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:26:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:51 provisioning config files... 04:26:51 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/15@tmp/config1727264766287001265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:51 ---> docker-login.sh 04:26:51 nexus3.edgexfoundry.org:10001 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 nexus3.edgexfoundry.org:10002 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 nexus3.edgexfoundry.org:10003 04:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:53 Configure a credential helper to remove this warning. See 04:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:53 04:26:53 Login Succeeded 04:26:53 nexus3.edgexfoundry.org:10004 04:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:53 Configure a credential helper to remove this warning. See 04:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:53 04:26:53 Login Succeeded 04:26:53 docker.io 04:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:54 Configure a credential helper to remove this warning. See 04:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:54 04:26:54 Login Succeeded 04:26:54 ---> docker-login.sh ends [Pipeline] } 04:26:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:26:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:54 ========================================================= 04:26:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:26:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:26:55 Sending build context to Docker daemon 8.078MB 04:26:55 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:26:55 Step 2/12 : FROM ${BASE} AS builder 04:26:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:26:55 9b18e9b68314: Pulling fs layer 04:26:55 35d82f9e3411: Pulling fs layer 04:26:55 e16973657156: Pulling fs layer 04:26:55 fc693d55d65f: Pulling fs layer 04:26:55 7e9fc2657dce: Pulling fs layer 04:26:55 dda99020689f: Pulling fs layer 04:26:55 db1c61fa0a46: Pulling fs layer 04:26:55 891c053d2c06: Pulling fs layer 04:26:55 dda99020689f: Waiting 04:26:55 db1c61fa0a46: Waiting 04:26:55 891c053d2c06: Waiting 04:26:55 fc693d55d65f: Waiting 04:26:55 7e9fc2657dce: Waiting 04:26:55 e16973657156: Verifying Checksum 04:26:55 e16973657156: Download complete 04:26:55 35d82f9e3411: Verifying Checksum 04:26:55 35d82f9e3411: Download complete 04:26:55 7e9fc2657dce: Verifying Checksum 04:26:55 7e9fc2657dce: Download complete 04:26:55 dda99020689f: Verifying Checksum 04:26:55 dda99020689f: Download complete 04:26:55 9b18e9b68314: Verifying Checksum 04:26:55 9b18e9b68314: Download complete 04:26:56 9b18e9b68314: Pull complete 04:26:56 891c053d2c06: Verifying Checksum 04:26:56 891c053d2c06: Download complete 04:26:57 35d82f9e3411: Pull complete 04:26:57 e16973657156: Pull complete 04:26:58 db1c61fa0a46: Verifying Checksum 04:26:58 db1c61fa0a46: Download complete 04:26:58 fc693d55d65f: Verifying Checksum 04:26:58 fc693d55d65f: Download complete 04:27:11 fc693d55d65f: Pull complete 04:27:11 7e9fc2657dce: Pull complete 04:27:11 dda99020689f: Pull complete 04:27:18 db1c61fa0a46: Pull complete 04:27:19 891c053d2c06: Pull complete 04:27:19 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:27:19 ---> f96f9c87975a 04:27:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:27:20 ---> Running in fe0944a737fe 04:27:20 Removing intermediate container fe0944a737fe 04:27:20 ---> 9168a0c5960e 04:27:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:27:21 ---> Running in 825acc5439da 04:27:21 Removing intermediate container 825acc5439da 04:27:21 ---> adec1ecf5cd9 04:27:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:27:21 ---> Running in cef689a0003f 04:27:21 Removing intermediate container cef689a0003f 04:27:21 ---> 589ff0cd16b5 04:27:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:27:22 ---> Running in 59f44f266060 04:27:22 Removing intermediate container 59f44f266060 04:27:22 ---> 4f6487017ab4 04:27:22 Step 7/12 : WORKDIR /device-gpio 04:27:22 ---> Running in c9fcdec60999 04:27:22 Removing intermediate container c9fcdec60999 04:27:22 ---> 70339fb380b6 04:27:22 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:22 ---> Running in a498bc414c3f 04:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:27:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:27:25 (2/4) Installing libedit (20210910.3.1-r0) 04:27:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:27:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:27:25 Executing busybox-1.35.0-r17.trigger 04:27:25 OK: 226 MiB in 55 packages 04:27:26 Removing intermediate container a498bc414c3f 04:27:26 ---> 43a261721aad 04:27:26 Step 9/12 : COPY go.mod vendor* ./ 04:27:27 ---> 19f0a1aee154 04:27:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:27 ---> Running in 8afb25382e39 04:28:49 Removing intermediate container 8afb25382e39 04:28:49 ---> b914df66a137 04:28:49 Step 11/12 : COPY . . 04:28:49 ---> 4333c0c515a2 04:28:49 Step 12/12 : RUN ${MAKE} 04:28:49 ---> Running in a37f9bfc84d9 04:28:49 noop 04:28:49 Removing intermediate container a37f9bfc84d9 04:28:49 ---> 91a727077596 04:28:49 Successfully built 91a727077596 04:28:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:49 + docker inspect -f . ci-base-image-arm64 04:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:49 prd-ubuntu20.04-docker-arm64-4c-16g-9401 does not seem to be running inside a container 04:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 04:28:50 $ docker top b76bcc616c5d6ac6e365c2ea30d8919e376fee2b1fca1cd48dc1fae176f78612 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:51 + go version 04:28:51 go version go1.18.7 linux/arm64 [Pipeline] } 04:28:51 $ docker stop --time=1 b76bcc616c5d6ac6e365c2ea30d8919e376fee2b1fca1cd48dc1fae176f78612 04:28:53 $ docker rm -f --volumes b76bcc616c5d6ac6e365c2ea30d8919e376fee2b1fca1cd48dc1fae176f78612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:54 + docker inspect -f . ci-base-image-arm64 04:28:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:54 prd-ubuntu20.04-docker-arm64-4c-16g-9401 does not seem to be running inside a container 04:28:54 $ 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/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 04:28:55 $ docker top 274793bc433ad4d15c7d3da422c1ac6efc12a2b27ae68aa5d8e59cb0279f6a77 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:56 + git config --global --add safe.directory /w/workspace/device-gpio/15 [Pipeline] fileExists [Pipeline] sh 04:28:57 + make test 04:28:57 go test ./... -coverprofile=coverage.out ./... 04:28:59 ? github.com/edgexfoundry/device-gpio [no test files] 04:30:36 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:30:36 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:30:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:30:36 go vet ./... 04:31:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:31:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:31:02 ./bin/test-attribution-txt.sh [Pipeline] echo 04:31:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:31:02 $ docker stop --time=1 274793bc433ad4d15c7d3da422c1ac6efc12a2b27ae68aa5d8e59cb0279f6a77 04:31:04 $ docker rm -f --volumes 274793bc433ad4d15c7d3da422c1ac6efc12a2b27ae68aa5d8e59cb0279f6a77 [Pipeline] // withDockerContainer [Pipeline] sh 04:31:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:31:05 Warning: overwriting stash ‘coverage-report’ 04:31:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:31:06 + ls -al . 04:31:06 total 156 04:31:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 04:28 . 04:31:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:26 .. 04:31:06 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 04:26 .dockerignore 04:31:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 04:26 .git 04:31:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:26 .github 04:31:06 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 04:26 .gitignore 04:31:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 04:26 .golangci.yml 04:31:06 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 9 04:26 Attribution.txt 04:31:06 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 04:26 CHANGELOG.md 04:31:06 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 04:26 Dockerfile 04:31:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 04:26 GOVERNANCE.md 04:31:06 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 04:26 Jenkinsfile 04:31:06 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 04:26 LICENSE 04:31:06 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 04:26 Makefile 04:31:06 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 04:26 OWNERS.md 04:31:06 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 04:26 README.md 04:31:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 04:23 VERSION 04:31:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:26 bin 04:31:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:26 cmd 04:31:06 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 04:28 coverage.out 04:31:06 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 9 04:26 go.mod 04:31:06 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 9 04:26 go.sum 04:31:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:26 internal 04:31:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:26 snap 04:31:06 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:07 + 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=5075b9e81635d00e611a2c2e84518ae3b9f6de56 --label arch=arm64 --label version=0.0.0 . 04:31:07 Sending build context to Docker daemon 8.079MB 04:31:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:31:07 Step 2/25 : FROM ${BASE} AS builder 04:31:07 ---> 91a727077596 04:31:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:31:07 ---> Running in bc397340eb11 04:31:08 Removing intermediate container bc397340eb11 04:31:08 ---> 69bd19c990e9 04:31:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:31:08 ---> Running in e0956fb7853d 04:31:08 Removing intermediate container e0956fb7853d 04:31:08 ---> a026e39ae7fe 04:31:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:31:08 ---> Running in 82c7d2d961d2 04:31:09 Removing intermediate container 82c7d2d961d2 04:31:09 ---> 1f241c8dac74 04:31:09 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:31:09 ---> Running in a98fc9d49fea 04:31:09 Removing intermediate container a98fc9d49fea 04:31:09 ---> 177f72784b15 04:31:09 Step 7/25 : WORKDIR /device-gpio 04:31:09 ---> Running in e6de9020a414 04:31:09 Removing intermediate container e6de9020a414 04:31:09 ---> 98e9b2d2e1f8 04:31:09 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:31:10 ---> Running in 671cf1791757 04:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:31:12 OK: 226 MiB in 55 packages 04:31:13 Removing intermediate container 671cf1791757 04:31:13 ---> ca42ba3c5395 04:31:13 Step 9/25 : COPY go.mod vendor* ./ 04:31:13 ---> e6a0dc45e565 04:31:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:13 ---> Running in 34fb911952cf 04:31:16 Removing intermediate container 34fb911952cf 04:31:16 ---> edf5c4677467 04:31:16 Step 11/25 : COPY . . 04:31:17 ---> ae2e9b4f8e4b 04:31:17 Step 12/25 : RUN ${MAKE} 04:31:17 ---> Running in 7590b94023f1 04:31:18 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 04:33:25 Removing intermediate container 7590b94023f1 04:33:25 ---> 2e40d43c14b2 04:33:25 Step 13/25 : FROM alpine:3.16 04:33:25 3.16: Pulling from library/alpine 04:33:25 3760b48202b3: Pulling fs layer 04:33:25 3760b48202b3: Verifying Checksum 04:33:25 3760b48202b3: Download complete 04:33:26 3760b48202b3: Pull complete 04:33:26 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:33:26 Status: Downloaded newer image for alpine:3.16 04:33:26 ---> 4c81e5bf8899 04:33:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:33:26 ---> Running in 6c19c62663cc 04:33:26 Removing intermediate container 6c19c62663cc 04:33:26 ---> 76befda45cd4 04:33:26 Step 15/25 : RUN apk add --update --no-cache 04:33:26 ---> Running in 9a9822e47c0a 04:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:33:28 OK: 5 MiB in 14 packages 04:33:29 Removing intermediate container 9a9822e47c0a 04:33:29 ---> 545187977c52 04:33:29 Step 16/25 : WORKDIR / 04:33:29 ---> Running in d853ef6eadbc 04:33:30 Removing intermediate container d853ef6eadbc 04:33:30 ---> 9a908a95fd2e 04:33:30 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:33:30 ---> 431f31bb2b29 04:33:30 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:33:31 ---> 2d2d807d9d0f 04:33:31 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:33:32 ---> 50b5140bbd90 04:33:32 Step 20/25 : EXPOSE 59910 04:33:32 ---> Running in 6903d625febc 04:33:33 Removing intermediate container 6903d625febc 04:33:33 ---> f1139df2448f 04:33:33 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:33:33 ---> Running in 4cc2ac962cda 04:33:33 Removing intermediate container 4cc2ac962cda 04:33:33 ---> 13b6f35f5ba0 04:33:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:33:33 ---> Running in 7c329d0dce74 04:33:33 Removing intermediate container 7c329d0dce74 04:33:33 ---> f6d350b99f15 04:33:33 Step 23/25 : LABEL arch=arm64 04:33:33 ---> Running in 81f3615029ab 04:33:34 Removing intermediate container 81f3615029ab 04:33:34 ---> d39ca34ec0c4 04:33:34 Step 24/25 : LABEL git_sha=5075b9e81635d00e611a2c2e84518ae3b9f6de56 04:33:34 ---> Running in 7bb2138cdbfa 04:33:34 Removing intermediate container 7bb2138cdbfa 04:33:34 ---> ce0a774492fc 04:33:34 Step 25/25 : LABEL version=0.0.0 04:33:34 ---> Running in 58035940ddc5 04:33:34 Removing intermediate container 58035940ddc5 04:33:34 ---> 2d290ae8dafb 04:33:34 [Warning] One or more build-args [ARCH] were not consumed 04:33:34 Successfully built 2d290ae8dafb 04:33:34 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 04:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:35 04:33:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:35 arm64: Pulling from edgex-lftools-log-publisher 04:33:35 8998bd30e6a1: Pulling fs layer 04:33:35 04944245beec: Pulling fs layer 04:33:35 699f458cf7ca: Pulling fs layer 04:33:35 765212b225bb: Pulling fs layer 04:33:35 f23df028b6ca: Pulling fs layer 04:33:35 d65c8cfc05b1: Pulling fs layer 04:33:35 2437ff75d9bd: Pulling fs layer 04:33:35 f23df028b6ca: Waiting 04:33:35 d65c8cfc05b1: Waiting 04:33:35 2437ff75d9bd: Waiting 04:33:35 765212b225bb: Waiting 04:33:35 04944245beec: Verifying Checksum 04:33:35 04944245beec: Download complete 04:33:35 f23df028b6ca: Download complete 04:33:35 d65c8cfc05b1: Verifying Checksum 04:33:35 d65c8cfc05b1: Download complete 04:33:36 699f458cf7ca: Verifying Checksum 04:33:36 699f458cf7ca: Download complete 04:33:37 8998bd30e6a1: Verifying Checksum 04:33:37 8998bd30e6a1: Download complete 04:33:38 2437ff75d9bd: Verifying Checksum 04:33:38 2437ff75d9bd: Download complete 04:33:41 8998bd30e6a1: Pull complete 04:33:41 04944245beec: Pull complete 04:33:42 699f458cf7ca: Pull complete 04:33:42 765212b225bb: Pull complete 04:33:43 f23df028b6ca: Pull complete 04:33:43 d65c8cfc05b1: Pull complete 04:33:56 2437ff75d9bd: Pull complete 04:33:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:33:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:56 prd-ubuntu20.04-docker-arm64-4c-16g-9401 does not seem to be running inside a container 04:33:56 $ 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/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 04:33:59 $ docker top 63f4a752bf0aa096f68e2168c7940d45af908e756e51f0694edcc5973d2f4a11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:00 ---> job-cost.sh 04:34:00 lf-activate-venv: SKIPPING 04:34:00 INFO: No Stack... 04:34:01 INFO: Retrieving Pricing Info for: v3-standard-4 04:34:01 INFO: Archiving Costs [Pipeline] sh 04:34:02 + cat /w/workspace/device-gpio/15/archives/cost.csv 04:34:02 + cut -d, -f6 [Pipeline] lock 04:34:02 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] 04:34:02 Resource [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] did not exist. Created. 04:34:02 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:03 /w/workspace/device-gpio/15@tmp/durable-086b61d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:34:03 + echo total: 0.10999999940395355 [Pipeline] stash 04:34:04 Warning: overwriting stash ‘stack-cost’ 04:34:04 Stashed 1 file(s) [Pipeline] } 04:34:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-15-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:04 $ docker stop --time=1 63f4a752bf0aa096f68e2168c7940d45af908e756e51f0694edcc5973d2f4a11 04:34:05 $ docker rm -f --volumes 63f4a752bf0aa096f68e2168c7940d45af908e756e51f0694edcc5973d2f4a11 [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 04:34:06 provisioning config files... 04:34:06 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config4378618451833619482tmp [Pipeline] { [Pipeline] sh 04:34:06 + set +x 04:34:06 + curl -s+ https://codecov.io/bash 04:34:06 bash -s -- 04:34:06 04:34:06 _____ _ 04:34:06 / ____| | | 04:34:06 | | ___ __| | ___ ___ _____ __ 04:34:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:34:06 | |___| (_) | (_| | __/ (_| (_) \ V / 04:34:06 \_____\___/ \__,_|\___|\___\___/ \_/ 04:34:06 Bash-1.0.6 04:34:06 04:34:06 04:34:06 ==> git version 2.25.1 found 04:34:06 ==> 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 04:34:06 Release-Date: 2020-01-08 04:34:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:34:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:34:06 ==> Jenkins CI detected. 04:34:06 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-71 04:34:06 project root: . 04:34:06 --> token set from env 04:34:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:34:06 ==> Running gcov in . (disable via -X gcov) 04:34:06 ==> Python coveragepy not found 04:34:06 ==> Searching for coverage reports in: 04:34:06 + . 04:34:06 -> Found 1 reports 04:34:06 ==> Detecting git/mercurial file structure 04:34:06 ==> Reading reports 04:34:06 + ./coverage.out bytes=10 04:34:06 ==> Appending adjustments 04:34:06 https://docs.codecov.io/docs/fixing-reports 04:34:06 + Found adjustments 04:34:06 ==> Gzipping contents 04:34:06 4.0K /tmp/codecov.kldRGG.gz 04:34:06 ==> Uploading reports 04:34:06 url: https://codecov.io 04:34:06 query: branch=PR-71&commit=5075b9e81635d00e611a2c2e84518ae3b9f6de56&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 04:34:06 -> Pinging Codecov 04:34:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-71&commit=5075b9e81635d00e611a2c2e84518ae3b9f6de56&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 04:34:06 -> Uploading to 04:34:06 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5075b9e81635d00e611a2c2e84518ae3b9f6de56/dc3cbc09-61a9-438e-93d4-11b308fd85aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T043406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d43f708ca0f2f338f449a30d9ee93033f16d4a1f941e3720a4d8913eaccd4e4b 04:34:06 % Total % Received % Xferd Average Speed Time Time Time Current 04:34:06 Dload Upload Total Spent Left Speed 04:34:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2576 --:--:-- --:--:-- --:--:-- 2585 04:34:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/5075b9e81635d00e611a2c2e84518ae3b9f6de56 [Pipeline] } 04:34:06 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 04:34:07 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] 04:34:07 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 04:34:07 total 16 04:34:07 drwxr-xr-x 3 root root 4096 Mar 9 04:24 . 04:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 04:24 .. 04:34:07 drwxr-xr-x 2 root root 4096 Mar 9 04:24 cost 04:34:07 -rw-r--r-- 1 root root 83 Mar 9 04:24 cost.csv 04:34:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives 04:34:07 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 04:34:07 total 16 04:34:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 04:24 . 04:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 04:24 .. 04:34:07 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 04:24 cost 04:34:07 -rw-r--r-- 1 jenkins jenkins 83 Mar 9 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:34:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:34:08 ---> package-listing.sh 04:34:08 ++ facter osfamily 04:34:08 ++ tr '[:upper:]' '[:lower:]' 04:34:09 + OS_FAMILY=debian 04:34:09 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 04:34:09 + START_PACKAGES=/tmp/packages_start.txt 04:34:09 + END_PACKAGES=/tmp/packages_end.txt 04:34:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:34:09 + PACKAGES=/tmp/packages_start.txt 04:34:09 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 04:34:09 + PACKAGES=/tmp/packages_end.txt 04:34:09 + case "${OS_FAMILY}" in 04:34:09 + dpkg -l 04:34:09 + grep '^ii' 04:34:09 + '[' -f /tmp/packages_start.txt ']' 04:34:09 + '[' -f /tmp/packages_end.txt ']' 04:34:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:34:09 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 04:34:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ 04:34:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo 04:34:09 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:34:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:09 prd-ubuntu20.04-docker-8c-8g-9395 does not seem to be running inside a container 04:34:10 $ 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-71/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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 04:34:10 $ docker top c7e92af5382e0274cc510250527dd273cb26c71bd11348079dbee9fd9352235e -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:10 + touch /tmp/pre-build-complete [Pipeline] sh 04:34:10 + mkdir -p /var/log/sysstat [Pipeline] sh 04:34:11 + ls /var/log/sa-host 04:34:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:11 provisioning config files... 04:34:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config8554532380740222363tmp [Pipeline] { [Pipeline] echo 04:34:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:34:11 ---> create-netrc.sh [Pipeline] } 04:34:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:34:11 ---> python-tools-install.sh [Pipeline] echo 04:34:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:34:12 ---> sudo-logs.sh 04:34:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:34:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:34:12 ---> job-cost.sh 04:34:12 lf-activate-venv: SKIPPING 04:34:12 DEBUG: total: 0.2199999988079071 04:34:12 INFO: Retrieving Stack Cost... 04:34:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:13 INFO: Archiving Costs [Pipeline] echo 04:34:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:34:13 ---> logs-deploy.sh 04:34:13 lf-activate-venv: SKIPPING 04:34:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/15 04:34:13 INFO: archiving workspace using pattern(s): 04:34:14 Archives upload complete. 04:34:14 INFO: archiving logs to Nexus