Pull request #151 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2+83219317ed357fa41fa49faebd7c1604abe399ab (1c4d99e6b17760fa47d4c7041f4c938296d96204) 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-ssh1448621189416541903.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh9915913249858313188.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-151/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-151/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6273120820685208821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh2370503723620571243.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-151/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-151/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11490588309298228784.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-7184’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-7185’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8410’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8413 in /w/workspace/edgexfoundry_device-gpio_PR-151 [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-151 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83219317ed357fa41fa49faebd7c1604abe399ab into PR head commit d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 Merge succeeded, producing d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 Checking out Revision d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 (PR-151) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:08:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:08:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:08:32 ========================================================= 07:08:32 EdgeX Global Pipelines Version Info 07:08:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 # 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 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 # timeout=10 > git rev-list --no-walk 3037cd770af6938a9de72387f604499eea7fd6b6 # timeout=10 07:08:33 ------------------- 07:08:33 stable info: 07:08:33 ------------------- 07:08:33 Commited By: Bill Mahoney bill.mahoney@intel.com 07:08:33 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:08:33 Message: update stable to v1.0.248 07:08:33 ------------------- 07:08:33 experimental info: 07:08:33 ------------------- 07:08:33 Commited By: **** collab-it+edgex@linuxfoundation.org 07:08:33 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:08:33 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d631f83 [Pipeline] echo 07:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:34 provisioning config files... 07:08:34 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-151@tmp/config6374741478468958859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:34 ---> docker-login.sh 07:08:34 nexus3.edgexfoundry.org:10001 07:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:34 Configure a credential helper to remove this warning. See 07:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:34 07:08:34 Login Succeeded 07:08:34 nexus3.edgexfoundry.org:10002 07:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:34 Configure a credential helper to remove this warning. See 07:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:34 07:08:34 Login Succeeded 07:08:34 nexus3.edgexfoundry.org:10003 07:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:35 Configure a credential helper to remove this warning. See 07:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:35 07:08:35 Login Succeeded 07:08:35 nexus3.edgexfoundry.org:10004 07:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:35 Configure a credential helper to remove this warning. See 07:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:35 07:08:35 Login Succeeded 07:08:35 docker.io 07:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:35 Configure a credential helper to remove this warning. See 07:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:35 07:08:35 Login Succeeded 07:08:35 ---> docker-login.sh ends [Pipeline] } 07:08:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:08:35 + git rev-list -1 --merges d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2~1..d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 [Pipeline] echo 07:08:35 -----------> git rev-list -1 --merges d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2~1..d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 [false] [Pipeline] sh 07:08:36 + git log --format=format:%s -1 d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 [Pipeline] echo 07:08:36 ========================================================= 07:08:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:08:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:08:36 + git log --format=format:%s -1 d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 [Pipeline] echo 07:08:36 [semverPrep] GIT_COMMIT: d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 07:08:36 [semverPrep] This is not a build commit. [Pipeline] sh 07:08:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:36 + grep -v github /etc/ssh/ssh_known_hosts 07:08:36 + [ -e /tmp/ssh_known_hosts ] 07:08:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:08:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:08:36 + sudo tee -a /etc/ssh/ssh_known_hosts 07:08:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:37 07:08:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:37 0.1.4: Pulling from edgex-devops/py-git-semver 07:08:37 b85a868b505f: Pulling fs layer 07:08:37 e2be974225ed: Pulling fs layer 07:08:37 339a4e72a1f5: Pulling fs layer 07:08:37 988bab9f4d93: Pulling fs layer 07:08:37 1469e6f7b9e6: Pulling fs layer 07:08:37 eaf3925da568: Pulling fs layer 07:08:37 bab4dde63d76: Pulling fs layer 07:08:37 bde34c3a00c8: Pulling fs layer 07:08:37 b352a97aabf1: Pulling fs layer 07:08:37 4872d77fe225: Pulling fs layer 07:08:37 5851b861e8e6: Pulling fs layer 07:08:37 eaf3925da568: Waiting 07:08:37 bab4dde63d76: Waiting 07:08:37 bde34c3a00c8: Waiting 07:08:37 b352a97aabf1: Waiting 07:08:37 4872d77fe225: Waiting 07:08:37 988bab9f4d93: Waiting 07:08:37 1469e6f7b9e6: Waiting 07:08:37 e2be974225ed: Verifying Checksum 07:08:37 e2be974225ed: Download complete 07:08:37 988bab9f4d93: Verifying Checksum 07:08:37 988bab9f4d93: Download complete 07:08:37 1469e6f7b9e6: Verifying Checksum 07:08:37 1469e6f7b9e6: Download complete 07:08:37 339a4e72a1f5: Verifying Checksum 07:08:37 339a4e72a1f5: Download complete 07:08:37 eaf3925da568: Verifying Checksum 07:08:37 eaf3925da568: Download complete 07:08:37 bde34c3a00c8: Verifying Checksum 07:08:37 bde34c3a00c8: Download complete 07:08:37 b352a97aabf1: Download complete 07:08:37 4872d77fe225: Download complete 07:08:37 5851b861e8e6: Verifying Checksum 07:08:37 5851b861e8e6: Download complete 07:08:37 b85a868b505f: Verifying Checksum 07:08:37 b85a868b505f: Download complete 07:08:38 bab4dde63d76: Verifying Checksum 07:08:38 bab4dde63d76: Download complete 07:08:38 b85a868b505f: Pull complete 07:08:39 e2be974225ed: Pull complete 07:08:39 339a4e72a1f5: Pull complete 07:08:39 988bab9f4d93: Pull complete 07:08:40 1469e6f7b9e6: Pull complete 07:08:40 eaf3925da568: Pull complete 07:08:41 bab4dde63d76: Pull complete 07:08:41 bde34c3a00c8: Pull complete 07:08:41 b352a97aabf1: Pull complete 07:08:41 4872d77fe225: Pull complete 07:08:41 5851b861e8e6: Pull complete 07:08:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:08:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:42 prd-ubuntu20.04-docker-8c-8g-8413 does not seem to be running inside a container 07:08:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-151 -v /w/workspace/edgexfoundry_device-gpio_PR-151:/w/workspace/edgexfoundry_device-gpio_PR-151:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-151@tmp:/w/workspace/edgexfoundry_device-gpio_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:08:44 $ docker top 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 -eo pid,comm 07:08:45 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). 07:08:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:45 [ssh-agent] Looking for ssh-agent implementation... 07:08:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:45 $ docker exec 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 ssh-agent 07:08:45 SSH_AUTH_SOCK=/tmp/ssh-A066NKDV1qSM/agent.32 07:08:45 SSH_AGENT_PID=38 07:08:45 Running ssh-add (command line suppressed) 07:08:45 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-151@tmp/private_key_6702610071357448176.key (/w/workspace/edgexfoundry_device-gpio_PR-151@tmp/private_key_6702610071357448176.key) 07:08:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:45 + git tag --points-at HEAD [Pipeline] } 07:08:45 $ docker exec --env ******** --env ******** 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 ssh-agent -k 07:08:45 unset SSH_AUTH_SOCK; 07:08:45 unset SSH_AGENT_PID; 07:08:45 echo Agent pid 38 killed; 07:08:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:08:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:45 [ssh-agent] Looking for ssh-agent implementation... 07:08:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:45 $ docker exec 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 ssh-agent 07:08:46 SSH_AUTH_SOCK=/tmp/ssh-DKTVk4uXr9jI/agent.70 07:08:46 SSH_AGENT_PID=76 07:08:46 Running ssh-add (command line suppressed) 07:08:46 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-151@tmp/private_key_13195694585805545223.key (/w/workspace/edgexfoundry_device-gpio_PR-151@tmp/private_key_13195694585805545223.key) 07:08:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:46 + git semver init 07:08:46 2023-04-13 07:08:46,709 [run_init] DEBUG init version:0.0.0 force:False 07:08:46 2023-04-13 07:08:46,710 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-151/.semver 07:08:46 2023-04-13 07:08:46,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-151/.semver 07:08:46 2023-04-13 07:08:46,711 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-151/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-151, universal_newlines=False, shell=None, istream=None) 07:08:47 2023-04-13 07:08:47,651 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-151/.git/info/exclude 07:08:47 2023-04-13 07:08:47,652 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-151/.semver/PR-151 with force:False 07:08:47 2023-04-13 07:08:47,652 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-151/.semver/PR-151 07:08:47 2023-04-13 07:08:47,656 [execute] INFO git cat-file --batch-check 07:08:47 2023-04-13 07:08:47,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-151/.semver, universal_newlines=False, shell=None, istream=) 07:08:47 2023-04-13 07:08:47,662 [execute] INFO git cat-file --batch 07:08:47 2023-04-13 07:08:47,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-151/.semver, universal_newlines=False, shell=None, istream=) 07:08:47 2023-04-13 07:08:47,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-151/.semver/PR-151 07:08:47 0.0.0 [Pipeline] } 07:08:47 $ docker exec --env ******** --env ******** 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 ssh-agent -k 07:08:47 unset SSH_AUTH_SOCK; 07:08:47 unset SSH_AGENT_PID; 07:08:47 echo Agent pid 76 killed; 07:08:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:48 + git semver [Pipeline] } 07:08:48 $ docker stop --time=1 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 07:08:49 $ docker rm -f --volumes 40139448a27133dbc700286cb2a26d1247b1187e072667b9fb7ca850bedb74c9 [Pipeline] // withDockerContainer [Pipeline] sh 07:08:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:08:50 Stashed 1 file(s) [Pipeline] echo 07:08:50 [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 07:08:50 provisioning config files... 07:08:50 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-151@tmp/config4824449201283861877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:50 ---> docker-login.sh 07:08:50 nexus3.edgexfoundry.org:10001 07:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:50 Configure a credential helper to remove this warning. See 07:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:50 07:08:50 Login Succeeded 07:08:50 nexus3.edgexfoundry.org:10002 07:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:50 Configure a credential helper to remove this warning. See 07:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:50 07:08:50 Login Succeeded 07:08:50 nexus3.edgexfoundry.org:10003 07:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:50 Configure a credential helper to remove this warning. See 07:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:50 07:08:50 Login Succeeded 07:08:50 nexus3.edgexfoundry.org:10004 07:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:50 Configure a credential helper to remove this warning. See 07:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:50 07:08:50 Login Succeeded 07:08:50 docker.io 07:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:51 Configure a credential helper to remove this warning. See 07:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:51 07:08:51 Login Succeeded 07:08:51 ---> docker-login.sh ends [Pipeline] } 07:08:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:08:51 ========================================================= 07:08:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:08:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:08:51 Sending build context to Docker daemon 16.05MB 07:08:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:08:51 Step 2/12 : FROM ${BASE} AS builder 07:08:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:08:51 63b65145d645: Pulling fs layer 07:08:51 a2d21d5440eb: Pulling fs layer 07:08:51 935e6c44a52c: Pulling fs layer 07:08:51 94cc34f8dd06: Pulling fs layer 07:08:51 30dea6a524f1: Pulling fs layer 07:08:51 a2aff8979fd8: Pulling fs layer 07:08:51 6808be2612f2: Pulling fs layer 07:08:51 94cc34f8dd06: Waiting 07:08:51 f25807f1079a: Pulling fs layer 07:08:51 30dea6a524f1: Waiting 07:08:51 a2aff8979fd8: Waiting 07:08:51 6808be2612f2: Waiting 07:08:51 f25807f1079a: Waiting 07:08:51 a2d21d5440eb: Verifying Checksum 07:08:51 a2d21d5440eb: Download complete 07:08:51 94cc34f8dd06: Verifying Checksum 07:08:51 94cc34f8dd06: Download complete 07:08:51 30dea6a524f1: Verifying Checksum 07:08:51 30dea6a524f1: Download complete 07:08:51 63b65145d645: Download complete 07:08:51 a2aff8979fd8: Verifying Checksum 07:08:51 a2aff8979fd8: Download complete 07:08:52 63b65145d645: Pull complete 07:08:52 f25807f1079a: Verifying Checksum 07:08:52 f25807f1079a: Download complete 07:08:52 a2d21d5440eb: Pull complete 07:08:52 935e6c44a52c: Verifying Checksum 07:08:52 935e6c44a52c: Download complete 07:08:52 6808be2612f2: Verifying Checksum 07:08:52 6808be2612f2: Download complete 07:08:55 935e6c44a52c: Pull complete 07:08:55 94cc34f8dd06: Pull complete 07:08:55 30dea6a524f1: Pull complete 07:08:55 a2aff8979fd8: Pull complete 07:08:58 6808be2612f2: Pull complete 07:08:59 f25807f1079a: Pull complete 07:08:59 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:08:59 ---> 3b553350e43f 07:08:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:09:03 ---> Running in fe46c33ef590 07:09:03 Removing intermediate container fe46c33ef590 07:09:03 ---> a4c98fbf3d55 07:09:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:09:03 ---> Running in 1e9df290fabf 07:09:03 Removing intermediate container 1e9df290fabf 07:09:03 ---> 470616380b77 07:09:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:09:03 ---> Running in b63b60f3bf64 07:09:03 Removing intermediate container b63b60f3bf64 07:09:03 ---> 76e00ba39e18 07:09:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:09:03 ---> Running in 917de201a9e8 07:09:03 Removing intermediate container 917de201a9e8 07:09:03 ---> be8f00f7aac7 07:09:03 Step 7/12 : WORKDIR /device-gpio 07:09:03 ---> Running in 9469397905a2 07:09:03 Removing intermediate container 9469397905a2 07:09:03 ---> 7924a226feab 07:09:03 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:09:03 ---> Running in c3e7f351a061 07:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:09:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:09:04 (2/4) Installing libedit (20221030.3.1-r0) 07:09:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:09:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:09:04 Executing busybox-1.35.0-r29.trigger 07:09:04 OK: 269 MiB in 57 packages 07:09:05 Removing intermediate container c3e7f351a061 07:09:05 ---> c8553695b3a6 07:09:05 Step 9/12 : COPY go.mod vendor* ./ 07:09:05 ---> 6dbb2fc1ddbe 07:09:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:09:05 ---> Running in dfb3fa7ab7df 07:09:05 Still waiting to schedule task 07:09:05 ‘prd-centos7-blackbox-4c-2g-7184’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:09:05 ‘prd-centos7-blackbox-4c-2g-7185’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:09:05 ‘prd-centos7-builder-2c-1g-8407’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:09:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8414’ is offline 07:09:31 Removing intermediate container dfb3fa7ab7df 07:09:31 ---> 284436ede43d 07:09:31 Step 11/12 : COPY . . 07:09:31 ---> 9e9636f8ef1e 07:09:31 Step 12/12 : RUN ${MAKE} 07:09:31 ---> Running in 2d86569ef606 07:09:31 noop 07:09:31 Removing intermediate container 2d86569ef606 07:09:31 ---> 3238bed37e0f 07:09:31 Successfully built 3238bed37e0f 07:09:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:31 + docker inspect -f . ci-base-image-x86_64 07:09:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:32 prd-ubuntu20.04-docker-8c-8g-8413 does not seem to be running inside a container 07:09:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-151 -v /w/workspace/edgexfoundry_device-gpio_PR-151:/w/workspace/edgexfoundry_device-gpio_PR-151:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-151@tmp:/w/workspace/edgexfoundry_device-gpio_PR-151@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 ******** ci-base-image-x86_64 cat 07:09:32 $ docker top a3cfdc8a1c1ebd94ef892773ec184e19ee756b818d6de7b952bb954d87889990 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:32 + go version 07:09:32 go version go1.20.2 linux/amd64 [Pipeline] } 07:09:32 $ docker stop --time=1 a3cfdc8a1c1ebd94ef892773ec184e19ee756b818d6de7b952bb954d87889990 07:09:34 $ docker rm -f --volumes a3cfdc8a1c1ebd94ef892773ec184e19ee756b818d6de7b952bb954d87889990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:34 + docker inspect -f . ci-base-image-x86_64 07:09:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:34 prd-ubuntu20.04-docker-8c-8g-8413 does not seem to be running inside a container 07:09:34 $ 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-151 -v /w/workspace/edgexfoundry_device-gpio_PR-151:/w/workspace/edgexfoundry_device-gpio_PR-151:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-151@tmp:/w/workspace/edgexfoundry_device-gpio_PR-151@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 ******** ci-base-image-x86_64 cat 07:09:34 $ docker top 6777ec2db669b1df8acef4dd6e3c197eb072126a26d796e58539059a59d92188 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-151 [Pipeline] fileExists [Pipeline] sh 07:09:35 + make test 07:09:35 go test ./... -coverprofile=coverage.out ./... 07:09:39 ? github.com/edgexfoundry/device-gpio [no test files] 07:09:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 07:09:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 07:09:53 go vet ./... 07:09:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:09:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:09:57 ./bin/test-attribution-txt.sh 07:09:57 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:09:57 $ docker stop --time=1 6777ec2db669b1df8acef4dd6e3c197eb072126a26d796e58539059a59d92188 07:09:59 $ docker rm -f --volumes 6777ec2db669b1df8acef4dd6e3c197eb072126a26d796e58539059a59d92188 [Pipeline] // withDockerContainer [Pipeline] sh 07:10:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:10:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:10:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:10:01 + ls -al . 07:10:01 total 156 07:10:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:09 . 07:10:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:08 .. 07:10:01 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 07:08 .dockerignore 07:10:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:08 .git 07:10:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:08 .github 07:10:01 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 07:08 .gitignore 07:10:01 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:08 .golangci.yml 07:10:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:08 .semver 07:10:01 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 07:08 Attribution.txt 07:10:01 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 07:08 CHANGELOG.md 07:10:01 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 07:08 Dockerfile 07:10:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:08 GOVERNANCE.md 07:10:01 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 07:08 Jenkinsfile 07:10:01 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:08 LICENSE 07:10:01 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 07:08 Makefile 07:10:01 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 07:08 OWNERS.md 07:10:01 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 07:08 README.md 07:10:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:08 VERSION 07:10:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:08 bin 07:10:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:08 cmd 07:10:01 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 07:09 coverage.out 07:10:01 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 07:08 go.mod 07:10:01 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 07:08 go.sum 07:10:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:08 internal 07:10:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:08 snap 07:10:01 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 07:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:01 + 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=d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 --label arch=amd64 --label version=0.0.0 . 07:10:01 Sending build context to Docker daemon 16.05MB 07:10:01 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:10:01 Step 2/25 : FROM ${BASE} AS builder 07:10:01 ---> 3238bed37e0f 07:10:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:10:01 ---> Running in 74ae2c916045 07:10:01 Removing intermediate container 74ae2c916045 07:10:01 ---> 0b0e85b72d83 07:10:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:10:01 ---> Running in 11b28357b36d 07:10:01 Removing intermediate container 11b28357b36d 07:10:01 ---> cbe075e4fc89 07:10:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:10:01 ---> Running in 7c41831ba000 07:10:01 Removing intermediate container 7c41831ba000 07:10:01 ---> 82ed96784d68 07:10:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:10:01 ---> Running in e4c74b4d11ab 07:10:01 Removing intermediate container e4c74b4d11ab 07:10:01 ---> 61a33040a5cd 07:10:01 Step 7/25 : WORKDIR /device-gpio 07:10:02 ---> Running in cd8ae4c01d9c 07:10:02 Removing intermediate container cd8ae4c01d9c 07:10:02 ---> 1e5000e8253a 07:10:02 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:10:02 ---> Running in 2bd2ff139f19 07:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:10:02 OK: 269 MiB in 57 packages 07:10:03 Removing intermediate container 2bd2ff139f19 07:10:03 ---> db5ff06ca793 07:10:03 Step 9/25 : COPY go.mod vendor* ./ 07:10:03 ---> 2351cd43c9b5 07:10:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:03 ---> Running in 0936f5b7713f 07:10:04 Removing intermediate container 0936f5b7713f 07:10:04 ---> f6ca1c7d84a0 07:10:04 Step 11/25 : COPY . . 07:10:04 ---> 4184aa89676f 07:10:04 Step 12/25 : RUN ${MAKE} 07:10:04 ---> Running in 4aa4d986d03a 07:10:04 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 07:10:22 Removing intermediate container 4aa4d986d03a 07:10:22 ---> 2aced3c61942 07:10:22 Step 13/25 : FROM alpine:3.17 07:10:22 3.17: Pulling from library/alpine 07:10:22 f56be85fc22e: Pulling fs layer 07:10:22 f56be85fc22e: Download complete 07:10:22 f56be85fc22e: Pull complete 07:10:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:10:22 Status: Downloaded newer image for alpine:3.17 07:10:22 ---> 9ed4aefc74f6 07:10:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:10:22 ---> Running in 5e996cde2332 07:10:22 Removing intermediate container 5e996cde2332 07:10:22 ---> 366e9d8763e0 07:10:22 Step 15/25 : RUN apk add --update --no-cache 07:10:22 ---> Running in 3d8c02003672 07:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:10:23 OK: 7 MiB in 15 packages 07:10:23 Removing intermediate container 3d8c02003672 07:10:23 ---> 41ac600fe786 07:10:23 Step 16/25 : WORKDIR / 07:10:23 ---> Running in d15321805d3c 07:10:23 Removing intermediate container d15321805d3c 07:10:23 ---> ee9bf9b4b661 07:10:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 07:10:23 ---> 85aa48c50659 07:10:23 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 07:10:23 ---> 1599cb101c30 07:10:23 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 07:10:24 ---> 2d3ec1da09dc 07:10:24 Step 20/25 : EXPOSE 59910 07:10:24 ---> Running in 08047ecea6cc 07:10:24 Removing intermediate container 08047ecea6cc 07:10:24 ---> f1c1e4cc8e67 07:10:24 Step 21/25 : ENTRYPOINT ["/device-gpio"] 07:10:24 ---> Running in eb9a8feab6cb 07:10:24 Removing intermediate container eb9a8feab6cb 07:10:24 ---> fc7c29a13ab1 07:10:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:10:24 ---> Running in 689957ef4153 07:10:24 Removing intermediate container 689957ef4153 07:10:24 ---> 3d3befb06031 07:10:24 Step 23/25 : LABEL arch=amd64 07:10:24 ---> Running in 1fbf667d342e 07:10:24 Removing intermediate container 1fbf667d342e 07:10:24 ---> 47879645f26f 07:10:24 Step 24/25 : LABEL git_sha=d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 07:10:24 ---> Running in c9a72543e7ad 07:10:24 Removing intermediate container c9a72543e7ad 07:10:24 ---> ae4518fe8633 07:10:24 Step 25/25 : LABEL version=0.0.0 07:10:24 ---> Running in 96c2044e4cfa 07:10:24 Removing intermediate container 96c2044e4cfa 07:10:24 ---> e6053ab062e1 07:10:24 [Warning] One or more build-args [ARCH] were not consumed 07:10:24 Successfully built e6053ab062e1 07:10:24 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:25 07:10:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:25 latest: Pulling from edgex-lftools-log-publisher 07:10:25 5eb5b503b376: Pulling fs layer 07:10:25 5c69ac0246d0: Pulling fs layer 07:10:25 ec43610c2a17: Pulling fs layer 07:10:25 3a2ae6a8a46f: Pulling fs layer 07:10:25 33b1e0a273af: Pulling fs layer 07:10:25 3a2ae6a8a46f: Waiting 07:10:25 5d3b04190fa2: Pulling fs layer 07:10:25 33b1e0a273af: Waiting 07:10:25 5d3b04190fa2: Waiting 07:10:25 2f39f015ded8: Pulling fs layer 07:10:25 2f39f015ded8: Waiting 07:10:25 5c69ac0246d0: Download complete 07:10:25 3a2ae6a8a46f: Verifying Checksum 07:10:25 3a2ae6a8a46f: Download complete 07:10:25 33b1e0a273af: Verifying Checksum 07:10:25 33b1e0a273af: Download complete 07:10:25 5d3b04190fa2: Verifying Checksum 07:10:25 5d3b04190fa2: Download complete 07:10:25 ec43610c2a17: Verifying Checksum 07:10:25 ec43610c2a17: Download complete 07:10:25 5eb5b503b376: Verifying Checksum 07:10:25 5eb5b503b376: Download complete 07:10:26 2f39f015ded8: Download complete 07:10:27 5eb5b503b376: Pull complete 07:10:27 5c69ac0246d0: Pull complete 07:10:27 ec43610c2a17: Pull complete 07:10:27 3a2ae6a8a46f: Pull complete 07:10:27 33b1e0a273af: Pull complete 07:10:27 5d3b04190fa2: Pull complete 07:10:32 2f39f015ded8: Pull complete 07:10:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:32 prd-ubuntu20.04-docker-8c-8g-8413 does not seem to be running inside a container 07:10:32 $ 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-151 -v /w/workspace/edgexfoundry_device-gpio_PR-151:/w/workspace/edgexfoundry_device-gpio_PR-151:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-151@tmp:/w/workspace/edgexfoundry_device-gpio_PR-151@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:10:35 $ docker top 518631edabf0d27b32f376f69b08cb9758dacdfa07ec29965a989a51c1d76682 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:35 ---> job-cost.sh 07:10:35 lf-activate-venv: SKIPPING 07:10:35 INFO: No Stack... 07:10:36 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:36 INFO: Archiving Costs [Pipeline] sh 07:10:36 + cat /w/workspace/edgexfoundry_device-gpio_PR-151/archives/cost.csv 07:10:36 + cut -d, -f6 [Pipeline] lock 07:10:36 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] 07:10:36 Resource [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] did not exist. Created. 07:10:36 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:10:37 + echo total: 0.2199999988079071 [Pipeline] stash 07:10:37 Stashed 1 file(s) [Pipeline] } 07:10:37 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:10:37 $ docker stop --time=1 518631edabf0d27b32f376f69b08cb9758dacdfa07ec29965a989a51c1d76682 07:10:38 $ docker rm -f --volumes 518631edabf0d27b32f376f69b08cb9758dacdfa07ec29965a989a51c1d76682 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:13:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8415 in /w/workspace/edgexfoundry_device-gpio_PR-151 [Pipeline] { [Pipeline] ws 07:13:13 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 07:13:13 The recommended git tool is: git 07:13:21 using credential edgex-jenkins-ssh 07:13:21 Cloning the remote Git repository 07:13:21 Cloning repository git@github.com:edgexfoundry/device-gpio.git 07:13:21 > git init /w/workspace/device-gpio/2 # timeout=10 07:13:22 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:13:22 > git --version # timeout=10 07:13:22 > git --version # 'git version 2.25.1' 07:13:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:23 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:13:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:25 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:13:25 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:13:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:13:25 Merging remotes/origin/main commit 83219317ed357fa41fa49faebd7c1604abe399ab into PR head commit d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 07:13:26 Merge succeeded, producing d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 07:13:26 Checking out Revision d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 (PR-151) 07:13:26 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 07:13:25 > git config core.sparsecheckout # timeout=10 07:13:25 > git checkout -f d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 # timeout=10 07:13:25 > git remote # timeout=10 07:13:25 > git config --get remote.origin.url # timeout=10 07:13:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:25 > git merge 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 07:13:26 > git rev-parse HEAD^{commit} # timeout=10 07:13:26 > git config core.sparsecheckout # timeout=10 07:13:26 > git checkout -f d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 # timeout=10 [Pipeline] { [Pipeline] sh 07:13:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:13:27 % Total % Received % Xferd Average Speed Time Time Time Current 07:13:27 Dload Upload Total Spent Left Speed 07:13:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 07:13:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:13:28 + sudo tee /etc/docker/daemon.new 07:13:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:13:28 { 07:13:28 "registry-mirrors": [ 07:13:28 "https://nexus3.edgexfoundry.org:10001" 07:13:28 ], 07:13:28 "bip": "10.250.0.254/24", 07:13:28 "hosts": [ 07:13:28 "tcp://0.0.0.0:5555", 07:13:28 "unix:///var/run/docker.sock" 07:13:28 ], 07:13:28 "mtu": 1458, 07:13:28 "selinux-enabled": true, 07:13:28 "seccomp-profile": "/etc/docker/seccomp.json" 07:13:28 } [Pipeline] sh 07:13:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:13:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:47 provisioning config files... 07:13:47 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config7730618735878790611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:47 ---> docker-login.sh 07:13:47 nexus3.edgexfoundry.org:10001 07:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:48 Configure a credential helper to remove this warning. See 07:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:48 07:13:48 Login Succeeded 07:13:48 nexus3.edgexfoundry.org:10002 07:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:49 Configure a credential helper to remove this warning. See 07:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:49 07:13:49 Login Succeeded 07:13:49 nexus3.edgexfoundry.org:10003 07:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:49 Configure a credential helper to remove this warning. See 07:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:49 07:13:49 Login Succeeded 07:13:49 nexus3.edgexfoundry.org:10004 07:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:49 Configure a credential helper to remove this warning. See 07:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:49 07:13:49 Login Succeeded 07:13:49 docker.io 07:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:50 Configure a credential helper to remove this warning. See 07:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:50 07:13:50 Login Succeeded 07:13:50 ---> docker-login.sh ends [Pipeline] } 07:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:50 ========================================================= 07:13:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:13:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:13:51 Sending build context to Docker daemon 8.104MB 07:13:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:13:51 Step 2/12 : FROM ${BASE} AS builder 07:13:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:13:51 af6eaf76a39c: Pulling fs layer 07:13:51 55522c791124: Pulling fs layer 07:13:51 ce5c4a1c91eb: Pulling fs layer 07:13:51 169dfbe0d373: Pulling fs layer 07:13:51 e1ff8fa3b103: Pulling fs layer 07:13:51 52ebb69f0ebf: Pulling fs layer 07:13:51 5abe8eddf0d5: Pulling fs layer 07:13:51 169dfbe0d373: Waiting 07:13:51 e1ff8fa3b103: Waiting 07:13:51 52ebb69f0ebf: Waiting 07:13:51 5abe8eddf0d5: Waiting 07:13:51 55522c791124: Verifying Checksum 07:13:51 55522c791124: Download complete 07:13:51 169dfbe0d373: Verifying Checksum 07:13:51 169dfbe0d373: Download complete 07:13:51 e1ff8fa3b103: Verifying Checksum 07:13:51 e1ff8fa3b103: Download complete 07:13:51 af6eaf76a39c: Verifying Checksum 07:13:51 af6eaf76a39c: Download complete 07:13:52 af6eaf76a39c: Pull complete 07:13:52 5abe8eddf0d5: Verifying Checksum 07:13:52 5abe8eddf0d5: Download complete 07:13:53 55522c791124: Pull complete 07:13:54 ce5c4a1c91eb: Verifying Checksum 07:13:54 ce5c4a1c91eb: Download complete 07:13:54 52ebb69f0ebf: Verifying Checksum 07:13:54 52ebb69f0ebf: Download complete 07:14:07 ce5c4a1c91eb: Pull complete 07:14:07 169dfbe0d373: Pull complete 07:14:07 e1ff8fa3b103: Pull complete 07:14:15 52ebb69f0ebf: Pull complete 07:14:17 5abe8eddf0d5: Pull complete 07:14:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:14:17 ---> 6cb57ee374ae 07:14:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:14:19 ---> Running in d1c3dab2eb35 07:14:19 Removing intermediate container d1c3dab2eb35 07:14:19 ---> 0a907f56048e 07:14:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:14:19 ---> Running in 56563a9a808a 07:14:19 Removing intermediate container 56563a9a808a 07:14:19 ---> 0742e0bc3404 07:14:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:14:19 ---> Running in f53589d80c85 07:14:20 Removing intermediate container f53589d80c85 07:14:20 ---> eaa71565530d 07:14:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:14:20 ---> Running in 2c859c3876fb 07:14:20 Removing intermediate container 2c859c3876fb 07:14:20 ---> 4d63a55d71be 07:14:20 Step 7/12 : WORKDIR /device-gpio 07:14:20 ---> Running in 361ac63cb0d0 07:14:20 Removing intermediate container 361ac63cb0d0 07:14:20 ---> 3c81990a4e40 07:14:20 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:14:20 ---> Running in 650de4b89eb5 07:14:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:14:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:14:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:14:24 (2/4) Installing libedit (20221030.3.1-r0) 07:14:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:14:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:14:24 Executing busybox-1.35.0-r29.trigger 07:14:24 OK: 268 MiB in 57 packages 07:14:26 Removing intermediate container 650de4b89eb5 07:14:26 ---> f56df06d927a 07:14:26 Step 9/12 : COPY go.mod vendor* ./ 07:14:26 ---> 29df32ba9942 07:14:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:26 ---> Running in a374d5a71a50 07:15:48 Removing intermediate container a374d5a71a50 07:15:48 ---> 676ea49edc14 07:15:48 Step 11/12 : COPY . . 07:15:48 ---> 928244857905 07:15:48 Step 12/12 : RUN ${MAKE} 07:15:48 ---> Running in 05500059b8bc 07:15:48 noop 07:15:48 Removing intermediate container 05500059b8bc 07:15:48 ---> 439b67fbc672 07:15:48 Successfully built 439b67fbc672 07:15:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:49 + docker inspect -f . ci-base-image-arm64 07:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:49 prd-ubuntu20.04-docker-arm64-4c-16g-8415 does not seem to be running inside a container 07:15:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:15:50 $ docker top 5b240b9908b37b0997df0604fe3741c7948cdc2c81210171394de229cc295e12 -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:51 + go version 07:15:51 go version go1.20.2 linux/arm64 [Pipeline] } 07:15:51 $ docker stop --time=1 5b240b9908b37b0997df0604fe3741c7948cdc2c81210171394de229cc295e12 07:15:53 $ docker rm -f --volumes 5b240b9908b37b0997df0604fe3741c7948cdc2c81210171394de229cc295e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:54 + docker inspect -f . ci-base-image-arm64 07:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:54 prd-ubuntu20.04-docker-arm64-4c-16g-8415 does not seem to be running inside a container 07:15: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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:15:55 $ docker top 38f726898ee656debd35c69b9514840cf97784df0fa66cd221439a90f69ae090 -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:56 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 07:15:57 + make test 07:15:57 go test ./... -coverprofile=coverage.out ./... 07:16:44 ? github.com/edgexfoundry/device-gpio [no test files] 07:19:05 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 07:19:05 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 07:19:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:19:05 go vet ./... 07:19:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:19:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:19:24 ./bin/test-attribution-txt.sh 07:19:24 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:19:24 $ docker stop --time=1 38f726898ee656debd35c69b9514840cf97784df0fa66cd221439a90f69ae090 07:19:26 $ docker rm -f --volumes 38f726898ee656debd35c69b9514840cf97784df0fa66cd221439a90f69ae090 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:27 Warning: overwriting stash ‘coverage-report’ 07:19:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:19:28 + ls -al . 07:19:28 total 152 07:19:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:16 . 07:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:13 .. 07:19:28 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 07:13 .dockerignore 07:19:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:13 .git 07:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:13 .github 07:19:28 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 07:13 .gitignore 07:19:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:13 .golangci.yml 07:19:28 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 07:13 Attribution.txt 07:19:28 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 07:13 CHANGELOG.md 07:19:28 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 07:13 Dockerfile 07:19:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:13 GOVERNANCE.md 07:19:28 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 07:13 Jenkinsfile 07:19:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:13 LICENSE 07:19:28 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 07:13 Makefile 07:19:28 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 07:13 OWNERS.md 07:19:28 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 07:13 README.md 07:19:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:08 VERSION 07:19:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:13 bin 07:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:13 cmd 07:19:28 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 07:16 coverage.out 07:19:28 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 07:13 go.mod 07:19:28 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 07:13 go.sum 07:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:13 internal 07:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:13 snap 07:19:28 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:28 + 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=d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 --label arch=arm64 --label version=0.0.0 . 07:19:28 Sending build context to Docker daemon 8.105MB 07:19:28 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:19:28 Step 2/25 : FROM ${BASE} AS builder 07:19:28 ---> 439b67fbc672 07:19:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:19:29 ---> Running in 9b204fda99ee 07:19:29 Removing intermediate container 9b204fda99ee 07:19:29 ---> ffe9da397c3c 07:19:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:19:29 ---> Running in 4b2390613691 07:19:29 Removing intermediate container 4b2390613691 07:19:29 ---> 87a36a24c065 07:19:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:19:30 ---> Running in 459b81d8ebd8 07:19:30 Removing intermediate container 459b81d8ebd8 07:19:30 ---> 1439a4b69a15 07:19:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:19:30 ---> Running in 21b358967584 07:19:30 Removing intermediate container 21b358967584 07:19:30 ---> bc83413648ae 07:19:30 Step 7/25 : WORKDIR /device-gpio 07:19:30 ---> Running in ccc021ec9a5d 07:19:30 Removing intermediate container ccc021ec9a5d 07:19:30 ---> d389e2012641 07:19:30 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:31 ---> Running in e4adae435cab 07:19:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:19:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:19:34 OK: 268 MiB in 57 packages 07:19:34 Removing intermediate container e4adae435cab 07:19:34 ---> 145159e94715 07:19:34 Step 9/25 : COPY go.mod vendor* ./ 07:19:35 ---> 666dfd79a61b 07:19:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:35 ---> Running in 8e55aece980b 07:19:37 Removing intermediate container 8e55aece980b 07:19:37 ---> b1723e53db22 07:19:37 Step 11/25 : COPY . . 07:19:38 ---> 8a1343c0f039 07:19:38 Step 12/25 : RUN ${MAKE} 07:19:38 ---> Running in 0f86560d985e 07:19:39 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 07:22:16 Removing intermediate container 0f86560d985e 07:22:16 ---> f28b0c5e42eb 07:22:16 Step 13/25 : FROM alpine:3.17 07:22:16 3.17: Pulling from library/alpine 07:22:16 c41833b44d91: Pulling fs layer 07:22:16 c41833b44d91: Verifying Checksum 07:22:16 c41833b44d91: Download complete 07:22:16 c41833b44d91: Pull complete 07:22:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:22:16 Status: Downloaded newer image for alpine:3.17 07:22:16 ---> 51e60588ff2c 07:22:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:22:16 ---> Running in 310ef2c8b720 07:22:16 Removing intermediate container 310ef2c8b720 07:22:16 ---> 7e078edd2c97 07:22:16 Step 15/25 : RUN apk add --update --no-cache 07:22:16 ---> Running in ebb57698f67d 07:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:22:16 OK: 7 MiB in 15 packages 07:22:16 Removing intermediate container ebb57698f67d 07:22:16 ---> b74768cfad23 07:22:16 Step 16/25 : WORKDIR / 07:22:16 ---> Running in 42d7a1959a94 07:22:16 Removing intermediate container 42d7a1959a94 07:22:16 ---> 70dba83707ab 07:22:16 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 07:22:16 ---> e2e9da04b9fa 07:22:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 07:22:17 ---> af6da885632b 07:22:17 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 07:22:18 ---> 4b42011124c8 07:22:18 Step 20/25 : EXPOSE 59910 07:22:18 ---> Running in 1979be531e23 07:22:19 Removing intermediate container 1979be531e23 07:22:19 ---> 03e990a9bcbd 07:22:19 Step 21/25 : ENTRYPOINT ["/device-gpio"] 07:22:19 ---> Running in 2038acd17ceb 07:22:19 Removing intermediate container 2038acd17ceb 07:22:19 ---> 73d4a50f1b5c 07:22:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:22:19 ---> Running in c71f4510134e 07:22:19 Removing intermediate container c71f4510134e 07:22:19 ---> 94343345cd89 07:22:19 Step 23/25 : LABEL arch=arm64 07:22:20 ---> Running in 93fa0c35e3b1 07:22:20 Removing intermediate container 93fa0c35e3b1 07:22:20 ---> 7bac209bfc07 07:22:20 Step 24/25 : LABEL git_sha=d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 07:22:20 ---> Running in abd987c76331 07:22:20 Removing intermediate container abd987c76331 07:22:20 ---> 853ac4111450 07:22:20 Step 25/25 : LABEL version=0.0.0 07:22:21 ---> Running in f1004ccfbb6c 07:22:21 Removing intermediate container f1004ccfbb6c 07:22:21 ---> 25378dd5cf58 07:22:21 [Warning] One or more build-args [ARCH] were not consumed 07:22:21 Successfully built 25378dd5cf58 07:22:21 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 07:22:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:21 07:22:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:22 arm64: Pulling from edgex-lftools-log-publisher 07:22:22 8998bd30e6a1: Pulling fs layer 07:22:22 04944245beec: Pulling fs layer 07:22:22 699f458cf7ca: Pulling fs layer 07:22:22 765212b225bb: Pulling fs layer 07:22:22 f23df028b6ca: Pulling fs layer 07:22:22 d65c8cfc05b1: Pulling fs layer 07:22:22 2437ff75d9bd: Pulling fs layer 07:22:22 765212b225bb: Waiting 07:22:22 f23df028b6ca: Waiting 07:22:22 d65c8cfc05b1: Waiting 07:22:22 2437ff75d9bd: Waiting 07:22:22 04944245beec: Download complete 07:22:22 765212b225bb: Verifying Checksum 07:22:22 765212b225bb: Download complete 07:22:22 f23df028b6ca: Verifying Checksum 07:22:22 f23df028b6ca: Download complete 07:22:22 d65c8cfc05b1: Verifying Checksum 07:22:22 d65c8cfc05b1: Download complete 07:22:22 699f458cf7ca: Verifying Checksum 07:22:22 699f458cf7ca: Download complete 07:22:23 8998bd30e6a1: Verifying Checksum 07:22:23 8998bd30e6a1: Download complete 07:22:25 2437ff75d9bd: Verifying Checksum 07:22:25 2437ff75d9bd: Download complete 07:22:27 8998bd30e6a1: Pull complete 07:22:27 04944245beec: Pull complete 07:22:29 699f458cf7ca: Pull complete 07:22:29 765212b225bb: Pull complete 07:22:30 f23df028b6ca: Pull complete 07:22:30 d65c8cfc05b1: Pull complete 07:22:42 2437ff75d9bd: Pull complete 07:22:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:42 prd-ubuntu20.04-docker-arm64-4c-16g-8415 does not seem to be running inside a container 07:22:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:22:45 $ docker top a348d4e30c2fe12605a24eb513b4009af96583c833d0bbf488e6cfdb276c4bda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:46 ---> job-cost.sh 07:22:46 lf-activate-venv: SKIPPING 07:22:46 INFO: No Stack... 07:22:47 INFO: Retrieving Pricing Info for: v3-standard-4 07:22:48 INFO: Archiving Costs [Pipeline] sh 07:22:48 + cat /w/workspace/device-gpio/2/archives/cost.csv 07:22:48 + cut -d, -f6 [Pipeline] lock 07:22:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] 07:22:48 Resource [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] did not exist. Created. 07:22:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:49 /w/workspace/device-gpio/2@tmp/durable-08d9ef8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:22:50 + echo total: 0.10999999940395355 [Pipeline] stash 07:22:50 Warning: overwriting stash ‘stack-cost’ 07:22:50 Stashed 1 file(s) [Pipeline] } 07:22:50 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-151-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:50 $ docker stop --time=1 a348d4e30c2fe12605a24eb513b4009af96583c833d0bbf488e6cfdb276c4bda 07:22:52 $ docker rm -f --volumes a348d4e30c2fe12605a24eb513b4009af96583c833d0bbf488e6cfdb276c4bda [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 07:22:52 provisioning config files... 07:22:52 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-151@tmp/config3867838233275555681tmp [Pipeline] { [Pipeline] sh 07:22:52 + set +x 07:22:52 + curl -s https://codecov.io/bash 07:22:52 + bash -s -- 07:22:52 07:22:52 _____ _ 07:22:52 / ____| | | 07:22:52 | | ___ __| | ___ ___ _____ __ 07:22:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:22:52 | |___| (_) | (_| | __/ (_| (_) \ V / 07:22:52 \_____\___/ \__,_|\___|\___\___/ \_/ 07:22:52 Bash-1.0.6 07:22:52 07:22:52 07:22:52 ==> git version 2.25.1 found 07:22:52 ==> 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 07:22:52 Release-Date: 2020-01-08 07:22:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:22:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:22:52 ==> Jenkins CI detected. 07:22:52 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-151 07:22:52 project root: . 07:22:52 --> token set from env 07:22:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:22:53 ==> Running gcov in . (disable via -X gcov) 07:22:53 ==> Python coveragepy not found 07:22:53 ==> Searching for coverage reports in: 07:22:53 + . 07:22:53 -> Found 1 reports 07:22:53 ==> Detecting git/mercurial file structure 07:22:53 ==> Reading reports 07:22:53 + ./coverage.out bytes=10 07:22:53 ==> Appending adjustments 07:22:53 https://docs.codecov.io/docs/fixing-reports 07:22:53 + Found adjustments 07:22:53 ==> Gzipping contents 07:22:53 4.0K /tmp/codecov.CkvFs1.gz 07:22:53 ==> Uploading reports 07:22:53 url: https://codecov.io 07:22:53 query: branch=PR-151&commit=d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=151&job=&cmd_args= 07:22:53 -> Pinging Codecov 07:22:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-151&commit=d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=151&job=&cmd_args= 07:22:53 -> Uploading to 07:22:53 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2/aefbbdd5-34c9-4fab-a240-b69b365aa388.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T072252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81bde24da69c6653d47521f51dad15962e54b223255f42a2fb5c10efdb53aacb 07:22:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:53 Dload Upload Total Spent Left Speed 07:22:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 716 0 0 100 716 0 3126 --:--:-- --:--:-- --:--:-- 3126 07:22:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/d631f83d88a2ae4ed6c67b8c368f1f9db88aedd2 [Pipeline] } 07:22:53 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 07:22:54 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-151/archives ] 07:22:54 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-151/archives 07:22:54 total 16 07:22:54 drwxr-xr-x 3 root root 4096 Apr 13 07:10 . 07:22:54 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:10 .. 07:22:54 drwxr-xr-x 2 root root 4096 Apr 13 07:10 cost 07:22:54 -rw-r--r-- 1 root root 83 Apr 13 07:10 cost.csv 07:22:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-151/archives 07:22:54 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-151/archives 07:22:54 total 16 07:22:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:10 . 07:22:54 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:10 .. 07:22:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:10 cost 07:22:54 -rw-r--r-- 1 jenkins jenkins 83 Apr 13 07:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:22:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:22:55 ---> package-listing.sh 07:22:55 ++ facter osfamily 07:22:55 ++ tr '[:upper:]' '[:lower:]' 07:22:55 + OS_FAMILY=debian 07:22:55 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-151 07:22:55 + START_PACKAGES=/tmp/packages_start.txt 07:22:55 + END_PACKAGES=/tmp/packages_end.txt 07:22:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:22:55 + PACKAGES=/tmp/packages_start.txt 07:22:55 + '[' /w/workspace/edgexfoundry_device-gpio_PR-151 ']' 07:22:55 + PACKAGES=/tmp/packages_end.txt 07:22:55 + case "${OS_FAMILY}" in 07:22:55 + dpkg -l 07:22:55 + grep '^ii' 07:22:55 + '[' -f /tmp/packages_start.txt ']' 07:22:55 + '[' -f /tmp/packages_end.txt ']' 07:22:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:22:55 + '[' /w/workspace/edgexfoundry_device-gpio_PR-151 ']' 07:22:55 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-151/archives/ 07:22:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-151/archives/ [Pipeline] echo 07:22:55 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:22:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:56 prd-ubuntu20.04-docker-8c-8g-8413 does not seem to be running inside a container 07:22:56 $ 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-151/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-151 -v /w/workspace/edgexfoundry_device-gpio_PR-151:/w/workspace/edgexfoundry_device-gpio_PR-151:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-151@tmp:/w/workspace/edgexfoundry_device-gpio_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:22:56 $ docker top ca6fea3e51ec96055bd226b8b0d992e206e6ee5fef363f46c9c69994b153a6d5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:57 + touch /tmp/pre-build-complete [Pipeline] sh 07:22:57 + mkdir -p /var/log/sysstat [Pipeline] sh 07:22:57 + ls /var/log/sa-host 07:22:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:57 provisioning config files... 07:22:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-151@tmp/config3525278175290821951tmp [Pipeline] { [Pipeline] echo 07:22:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:22:58 ---> create-netrc.sh [Pipeline] } 07:22:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:22:58 ---> python-tools-install.sh [Pipeline] echo 07:22:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:22:58 ---> sudo-logs.sh 07:22:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:22:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:22:58 ---> job-cost.sh 07:22:58 lf-activate-venv: SKIPPING 07:22:58 DEBUG: total: 0.2199999988079071 07:22:58 INFO: Retrieving Stack Cost... 07:22:59 INFO: Retrieving Pricing Info for: v3-standard-8 07:22:59 INFO: Archiving Costs [Pipeline] echo 07:22:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:23:00 ---> logs-deploy.sh 07:23:00 lf-activate-venv: SKIPPING 07:23:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-151/2 07:23:00 INFO: archiving workspace using pattern(s): 07:23:00 Archives upload complete. 07:23:00 INFO: archiving logs to Nexus