Pull request #161 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Obtained Jenkinsfile from 1bbfa1c60067d5044659326cbaf140e8ac1d0077+11a3e93ce1b9de78f3ac3895831d199ada88536a (cd24c2b2b2d6a7bbbcc2fef893a251ff63abb236) 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-ssh6480613110075541740.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-ssh13554827865157049709.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1540196110845438472.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6595544647390425825.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11263066485349874204.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9357543448644311044.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9522’ Running on prd-ubuntu20.04-docker-8c-8g-9524 in /w/workspace/edgexfoundry_device-gpio_PR-161 [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-161 # 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 Merging remotes/origin/main commit 11a3e93ce1b9de78f3ac3895831d199ada88536a into PR head commit 1bbfa1c60067d5044659326cbaf140e8ac1d0077 Merge succeeded, producing 1bbfa1c60067d5044659326cbaf140e8ac1d0077 Checking out Revision 1bbfa1c60067d5044659326cbaf140e8ac1d0077 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # 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 11a3e93ce1b9de78f3ac3895831d199ada88536a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:52:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:52:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:52:03 ========================================================= 10:52:03 EdgeX Global Pipelines Version Info 10:52:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:52:04 ------------------- 10:52:04 stable info: 10:52:04 ------------------- 10:52:04 Commited By: Bill Mahoney bill.mahoney@intel.com 10:52:04 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:52:04 Message: update stable to v1.0.248 10:52:04 ------------------- 10:52:04 experimental info: 10:52:04 ------------------- 10:52:04 Commited By: **** collab-it+edgex@linuxfoundation.org 10:52:04 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:52:04 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:52:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bbfa1c [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:52:06 provisioning config files... 10:52:06 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config17376112764693654910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:52:06 ---> docker-login.sh 10:52:06 nexus3.edgexfoundry.org:10001 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 nexus3.edgexfoundry.org:10002 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 nexus3.edgexfoundry.org:10003 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 nexus3.edgexfoundry.org:10004 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 docker.io 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 ---> docker-login.sh ends [Pipeline] } 10:52:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:52:08 + git rev-list -1 --merges 1bbfa1c60067d5044659326cbaf140e8ac1d0077~1..1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo 10:52:08 -----------> git rev-list -1 --merges 1bbfa1c60067d5044659326cbaf140e8ac1d0077~1..1bbfa1c60067d5044659326cbaf140e8ac1d0077 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [false] [Pipeline] sh 10:52:09 + git log --format=format:%s -1 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo 10:52:09 ========================================================= 10:52:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:52:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:52:09 + git log --format=format:%s -1 1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] echo 10:52:09 [semverPrep] GIT_COMMIT: 1bbfa1c60067d5044659326cbaf140e8ac1d0077, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo 10:52:09 [semverPrep] This is not a build commit. [Pipeline] sh 10:52:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:52:10 + grep -v github /etc/ssh/ssh_known_hosts 10:52:10 + [ -e /tmp/ssh_known_hosts ] 10:52:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:52:10 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:52:10 sudo tee -a /etc/ssh/ssh_known_hosts 10:52:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:10 10:52:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:10 0.1.4: Pulling from edgex-devops/py-git-semver 10:52:10 b85a868b505f: Pulling fs layer 10:52:10 e2be974225ed: Pulling fs layer 10:52:10 339a4e72a1f5: Pulling fs layer 10:52:10 988bab9f4d93: Pulling fs layer 10:52:10 1469e6f7b9e6: Pulling fs layer 10:52:10 eaf3925da568: Pulling fs layer 10:52:10 bab4dde63d76: Pulling fs layer 10:52:10 bde34c3a00c8: Pulling fs layer 10:52:10 b352a97aabf1: Pulling fs layer 10:52:10 988bab9f4d93: Waiting 10:52:10 1469e6f7b9e6: Waiting 10:52:10 4872d77fe225: Pulling fs layer 10:52:10 5851b861e8e6: Pulling fs layer 10:52:10 bde34c3a00c8: Waiting 10:52:10 bab4dde63d76: Waiting 10:52:10 b352a97aabf1: Waiting 10:52:10 4872d77fe225: Waiting 10:52:10 5851b861e8e6: Waiting 10:52:10 e2be974225ed: Verifying Checksum 10:52:10 e2be974225ed: Download complete 10:52:10 988bab9f4d93: Verifying Checksum 10:52:10 988bab9f4d93: Download complete 10:52:10 1469e6f7b9e6: Verifying Checksum 10:52:10 1469e6f7b9e6: Download complete 10:52:11 eaf3925da568: Verifying Checksum 10:52:11 eaf3925da568: Download complete 10:52:11 339a4e72a1f5: Verifying Checksum 10:52:11 339a4e72a1f5: Download complete 10:52:11 bde34c3a00c8: Verifying Checksum 10:52:11 bde34c3a00c8: Download complete 10:52:11 b352a97aabf1: Download complete 10:52:11 4872d77fe225: Download complete 10:52:11 5851b861e8e6: Download complete 10:52:11 b85a868b505f: Verifying Checksum 10:52:11 b85a868b505f: Download complete 10:52:11 bab4dde63d76: Verifying Checksum 10:52:11 bab4dde63d76: Download complete 10:52:12 b85a868b505f: Pull complete 10:52:12 e2be974225ed: Pull complete 10:52:13 339a4e72a1f5: Pull complete 10:52:13 988bab9f4d93: Pull complete 10:52:13 1469e6f7b9e6: Pull complete 10:52:13 eaf3925da568: Pull complete 10:52:15 bab4dde63d76: Pull complete 10:52:15 bde34c3a00c8: Pull complete 10:52:15 b352a97aabf1: Pull complete 10:52:15 4872d77fe225: Pull complete 10:52:15 5851b861e8e6: Pull complete 10:52:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:52:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:15 prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container 10:52:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:52:17 $ docker top 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 -eo pid,comm 10:52:18 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). 10:52:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:18 [ssh-agent] Looking for ssh-agent implementation... 10:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:18 $ docker exec 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent 10:52:18 SSH_AUTH_SOCK=/tmp/ssh-hoJCDUmofZoF/agent.32 10:52:18 SSH_AGENT_PID=38 10:52:18 Running ssh-add (command line suppressed) 10:52:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_11891630220165015570.key (/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_11891630220165015570.key) 10:52:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:18 + git tag --points-at HEAD [Pipeline] } 10:52:18 $ docker exec --env ******** --env ******** 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent -k 10:52:19 unset SSH_AUTH_SOCK; 10:52:19 unset SSH_AGENT_PID; 10:52:19 echo Agent pid 38 killed; 10:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:52:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:19 [ssh-agent] Looking for ssh-agent implementation... 10:52:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:19 $ docker exec 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent 10:52:19 SSH_AUTH_SOCK=/tmp/ssh-mUFVYgkT0zv8/agent.70 10:52:19 SSH_AGENT_PID=76 10:52:19 Running ssh-add (command line suppressed) 10:52:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_2873069870420884904.key (/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/private_key_2873069870420884904.key) 10:52:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:19 + git semver init 10:52:20 2023-04-24 10:52:19,964 [run_init] DEBUG init version:0.0.0 force:False 10:52:20 2023-04-24 10:52:19,965 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-161/.semver 10:52:20 2023-04-24 10:52:19,965 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-161/.semver 10:52:20 2023-04-24 10:52:19,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-161/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-161, universal_newlines=False, shell=None, istream=None) 10:52:20 2023-04-24 10:52:20,898 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-161/.git/info/exclude 10:52:20 2023-04-24 10:52:20,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-161/.semver/PR-161 with force:False 10:52:20 2023-04-24 10:52:20,898 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-161/.semver/PR-161 10:52:20 2023-04-24 10:52:20,902 [execute] INFO git cat-file --batch-check 10:52:20 2023-04-24 10:52:20,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-161/.semver, universal_newlines=False, shell=None, istream=) 10:52:20 2023-04-24 10:52:20,909 [execute] INFO git cat-file --batch 10:52:20 2023-04-24 10:52:20,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-161/.semver, universal_newlines=False, shell=None, istream=) 10:52:20 2023-04-24 10:52:20,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-161/.semver/PR-161 10:52:20 0.0.0 [Pipeline] } 10:52:21 $ docker exec --env ******** --env ******** 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 ssh-agent -k 10:52:21 unset SSH_AUTH_SOCK; 10:52:21 unset SSH_AGENT_PID; 10:52:21 echo Agent pid 76 killed; 10:52:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:52:21 + git semver [Pipeline] } 10:52:21 $ docker stop --time=1 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 10:52:23 $ docker rm -f --volumes 412c3b8a7efb1243a19410c835ccea6f7d2e34ca799935a9a384396cd030d611 [Pipeline] // withDockerContainer [Pipeline] sh 10:52:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:52:23 Stashed 1 file(s) [Pipeline] echo 10:52:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:52:24 provisioning config files... 10:52:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config16072748963217901590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:52:24 ---> docker-login.sh 10:52:24 nexus3.edgexfoundry.org:10001 10:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:24 Configure a credential helper to remove this warning. See 10:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:24 10:52:24 Login Succeeded 10:52:24 nexus3.edgexfoundry.org:10002 10:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:24 Configure a credential helper to remove this warning. See 10:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:24 10:52:24 Login Succeeded 10:52:24 nexus3.edgexfoundry.org:10003 10:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:25 Configure a credential helper to remove this warning. See 10:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:25 10:52:25 Login Succeeded 10:52:25 nexus3.edgexfoundry.org:10004 10:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:25 Configure a credential helper to remove this warning. See 10:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:25 10:52:25 Login Succeeded 10:52:25 docker.io 10:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:52:25 Configure a credential helper to remove this warning. See 10:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:52:25 10:52:25 Login Succeeded 10:52:25 ---> docker-login.sh ends [Pipeline] } 10:52:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:52:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:52:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:52:25 ========================================================= 10:52:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:52:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:26 + 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 . 10:52:26 Sending build context to Docker daemon 16.09MB 10:52:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:52:26 Step 2/12 : FROM ${BASE} AS builder 10:52:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:52:26 63b65145d645: Pulling fs layer 10:52:26 a2d21d5440eb: Pulling fs layer 10:52:26 935e6c44a52c: Pulling fs layer 10:52:26 94cc34f8dd06: Pulling fs layer 10:52:26 30dea6a524f1: Pulling fs layer 10:52:26 a2aff8979fd8: Pulling fs layer 10:52:26 6808be2612f2: Pulling fs layer 10:52:26 f25807f1079a: Pulling fs layer 10:52:26 6808be2612f2: Waiting 10:52:26 a2aff8979fd8: Waiting 10:52:26 f25807f1079a: Waiting 10:52:26 94cc34f8dd06: Waiting 10:52:26 30dea6a524f1: Waiting 10:52:26 a2d21d5440eb: Download complete 10:52:26 94cc34f8dd06: Verifying Checksum 10:52:26 94cc34f8dd06: Download complete 10:52:26 30dea6a524f1: Verifying Checksum 10:52:26 30dea6a524f1: Download complete 10:52:26 63b65145d645: Verifying Checksum 10:52:26 63b65145d645: Download complete 10:52:26 a2aff8979fd8: Verifying Checksum 10:52:26 a2aff8979fd8: Download complete 10:52:26 63b65145d645: Pull complete 10:52:26 a2d21d5440eb: Pull complete 10:52:26 f25807f1079a: Verifying Checksum 10:52:26 f25807f1079a: Download complete 10:52:26 935e6c44a52c: Verifying Checksum 10:52:26 935e6c44a52c: Download complete 10:52:27 6808be2612f2: Verifying Checksum 10:52:27 6808be2612f2: Download complete 10:52:30 935e6c44a52c: Pull complete 10:52:30 94cc34f8dd06: Pull complete 10:52:30 30dea6a524f1: Pull complete 10:52:30 a2aff8979fd8: Pull complete 10:52:33 6808be2612f2: Pull complete 10:52:33 f25807f1079a: Pull complete 10:52:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:52:33 ---> 3b553350e43f 10:52:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:52:36 ---> Running in b965257021aa 10:52:36 Removing intermediate container b965257021aa 10:52:36 ---> d9a3312ae8c5 10:52:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:52:36 ---> Running in 7b98ceedc053 10:52:36 Removing intermediate container 7b98ceedc053 10:52:36 ---> 47896585fb49 10:52:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:52:36 ---> Running in 8e9984b450e2 10:52:36 Removing intermediate container 8e9984b450e2 10:52:36 ---> 3f96db6a03cb 10:52:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:52:36 ---> Running in d98ea4382608 10:52:37 Removing intermediate container d98ea4382608 10:52:37 ---> ce41d520fe70 10:52:37 Step 7/12 : WORKDIR /device-gpio 10:52:37 ---> Running in 72326ec94606 10:52:37 Removing intermediate container 72326ec94606 10:52:37 ---> b96b5f43d92b 10:52:37 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:52:37 ---> Running in f36d1f60f0c7 10:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:52:37 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:52:37 (2/4) Installing libedit (20221030.3.1-r0) 10:52:37 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:52:37 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:52:37 Executing busybox-1.35.0-r29.trigger 10:52:37 OK: 269 MiB in 57 packages 10:52:38 Removing intermediate container f36d1f60f0c7 10:52:38 ---> 8ea86471f09e 10:52:38 Step 9/12 : COPY go.mod vendor* ./ 10:52:38 ---> d927d792082e 10:52:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:52:38 ---> Running in ecfa7c4dac6b 10:52:39 Still waiting to schedule task 10:52:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9523’ 10:53:05 Removing intermediate container ecfa7c4dac6b 10:53:05 ---> b6df29566310 10:53:05 Step 11/12 : COPY . . 10:53:05 ---> c6956a9ba9c1 10:53:05 Step 12/12 : RUN ${MAKE} 10:53:05 ---> Running in b993fe5975d9 10:53:05 noop 10:53:05 Removing intermediate container b993fe5975d9 10:53:05 ---> 8828403976fd 10:53:05 Successfully built 8828403976fd 10:53:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:06 + docker inspect -f . ci-base-image-x86_64 10:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:06 prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container 10:53:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@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-x86_64 cat 10:53:06 $ docker top d31019ad1f4ca9c8d6df9ae422aa7223eb2210265ae092a98b3b05671006735a -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:07 + go version 10:53:07 go version go1.20.2 linux/amd64 [Pipeline] } 10:53:07 $ docker stop --time=1 d31019ad1f4ca9c8d6df9ae422aa7223eb2210265ae092a98b3b05671006735a 10:53:08 $ docker rm -f --volumes d31019ad1f4ca9c8d6df9ae422aa7223eb2210265ae092a98b3b05671006735a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:09 + docker inspect -f . ci-base-image-x86_64 10:53:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:09 prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container 10:53:09 $ 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-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@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-x86_64 cat 10:53:09 $ docker top 5a887d0ba7f533f0dc0a6c0ed914df1715f7f550c0092cf9ee35f8d646671c18 -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-161 [Pipeline] fileExists [Pipeline] sh 10:53:10 + make test 10:53:10 go test ./... -coverprofile=coverage.out ./... 10:53:15 ? github.com/edgexfoundry/device-gpio [no test files] 10:53:24 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:53:24 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:53:30 go vet ./... 10:53:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:53:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:53:33 ./bin/test-attribution-txt.sh [Pipeline] echo 10:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:53:33 $ docker stop --time=1 5a887d0ba7f533f0dc0a6c0ed914df1715f7f550c0092cf9ee35f8d646671c18 10:53:36 $ docker rm -f --volumes 5a887d0ba7f533f0dc0a6c0ed914df1715f7f550c0092cf9ee35f8d646671c18 [Pipeline] // withDockerContainer [Pipeline] sh 10:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:53:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:53:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:53:37 + ls -al . 10:53:37 total 156 10:53:37 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 10:53 . 10:53:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:51 .. 10:53:37 -rw-rw-r-- 1 jenkins jenkins 120 Apr 24 10:51 .dockerignore 10:53:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:52 .git 10:53:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:51 .github 10:53:37 -rw-rw-r-- 1 jenkins jenkins 343 Apr 24 10:51 .gitignore 10:53:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:51 .golangci.yml 10:53:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:52 .semver 10:53:37 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 24 10:51 Attribution.txt 10:53:37 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 24 10:51 CHANGELOG.md 10:53:37 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 24 10:51 Dockerfile 10:53:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:51 GOVERNANCE.md 10:53:37 -rw-rw-r-- 1 jenkins jenkins 657 Apr 24 10:51 Jenkinsfile 10:53:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:51 LICENSE 10:53:37 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 24 10:51 Makefile 10:53:37 -rw-rw-r-- 1 jenkins jenkins 617 Apr 24 10:51 OWNERS.md 10:53:37 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 24 10:51 README.md 10:53:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:52 VERSION 10:53:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:51 bin 10:53:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:51 cmd 10:53:37 -rw-r--r-- 1 jenkins jenkins 10 Apr 24 10:53 coverage.out 10:53:37 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 24 10:51 go.mod 10:53:37 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 24 10:51 go.sum 10:53:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:51 internal 10:53:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:51 snap 10:53:37 -rw-rw-r-- 1 jenkins jenkins 209 Apr 24 10:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:38 + 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=1bbfa1c60067d5044659326cbaf140e8ac1d0077 --label arch=amd64 --label version=0.0.0 . 10:53:38 Sending build context to Docker daemon 16.09MB 10:53:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:53:38 Step 2/25 : FROM ${BASE} AS builder 10:53:38 ---> 8828403976fd 10:53:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:53:38 ---> Running in bccf4e3c3e2d 10:53:38 Removing intermediate container bccf4e3c3e2d 10:53:38 ---> 19a0e4119983 10:53:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:53:38 ---> Running in 1a57f7aa75d0 10:53:38 Removing intermediate container 1a57f7aa75d0 10:53:38 ---> d95800fc2d36 10:53:38 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:53:38 ---> Running in 87d3e3484026 10:53:38 Removing intermediate container 87d3e3484026 10:53:38 ---> cf79b5c7dfde 10:53:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:53:38 ---> Running in 1708e2e2e9cc 10:53:39 Removing intermediate container 1708e2e2e9cc 10:53:39 ---> afc91b574883 10:53:39 Step 7/25 : WORKDIR /device-gpio 10:53:39 ---> Running in ee2370aac294 10:53:39 Removing intermediate container ee2370aac294 10:53:39 ---> c58532492e8e 10:53:39 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:53:39 ---> Running in 79fcf11f1f75 10:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:53:39 OK: 269 MiB in 57 packages 10:53:40 Removing intermediate container 79fcf11f1f75 10:53:40 ---> d67463688f83 10:53:40 Step 9/25 : COPY go.mod vendor* ./ 10:53:40 ---> 2e0743af7588 10:53:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:53:40 ---> Running in 816fa531ac5f 10:53:40 Removing intermediate container 816fa531ac5f 10:53:40 ---> e31f22038093 10:53:40 Step 11/25 : COPY . . 10:53:41 ---> e16fd551e231 10:53:41 Step 12/25 : RUN ${MAKE} 10:53:41 ---> Running in 211cd2b4dc2a 10:53:41 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 10:54:04 Removing intermediate container 211cd2b4dc2a 10:54:04 ---> 659a15708411 10:54:04 Step 13/25 : FROM alpine:3.17 10:54:04 3.17: Pulling from library/alpine 10:54:04 f56be85fc22e: Pulling fs layer 10:54:04 f56be85fc22e: Verifying Checksum 10:54:04 f56be85fc22e: Download complete 10:54:04 f56be85fc22e: Pull complete 10:54:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:54:04 Status: Downloaded newer image for alpine:3.17 10:54:04 ---> 9ed4aefc74f6 10:54:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:54:04 ---> Running in 0d3921a7d667 10:54:04 Removing intermediate container 0d3921a7d667 10:54:04 ---> c5d6a0fbe716 10:54:04 Step 15/25 : RUN apk add --update --no-cache 10:54:04 ---> Running in 92a41a9d068f 10:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:54:04 OK: 7 MiB in 15 packages 10:54:04 Removing intermediate container 92a41a9d068f 10:54:04 ---> 5a9c00c44b40 10:54:04 Step 16/25 : WORKDIR / 10:54:04 ---> Running in a82b35374c47 10:54:04 Removing intermediate container a82b35374c47 10:54:04 ---> 66c172a14e0e 10:54:04 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:54:04 ---> 00115f062420 10:54:04 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:54:04 ---> 5e87d1d1f266 10:54:04 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:54:04 ---> aa498c4c953d 10:54:04 Step 20/25 : EXPOSE 59910 10:54:04 ---> Running in 0cfb8a525956 10:54:04 Removing intermediate container 0cfb8a525956 10:54:04 ---> 3d32d72a3bfb 10:54:04 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:54:04 ---> Running in 837bc997797d 10:54:04 Removing intermediate container 837bc997797d 10:54:04 ---> 5c3846115e79 10:54:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:54:04 ---> Running in cdc1738afb47 10:54:04 Removing intermediate container cdc1738afb47 10:54:04 ---> 5c003095e302 10:54:04 Step 23/25 : LABEL arch=amd64 10:54:04 ---> Running in 53475fdaa016 10:54:04 Removing intermediate container 53475fdaa016 10:54:04 ---> 4545af64b171 10:54:04 Step 24/25 : LABEL git_sha=1bbfa1c60067d5044659326cbaf140e8ac1d0077 10:54:04 ---> Running in 56f47a9ab6dd 10:54:04 Removing intermediate container 56f47a9ab6dd 10:54:04 ---> 5f3dbf0ebad6 10:54:04 Step 25/25 : LABEL version=0.0.0 10:54:04 ---> Running in 3a09a4461c37 10:54:04 Removing intermediate container 3a09a4461c37 10:54:04 ---> 59d8e04ad908 10:54:04 [Warning] One or more build-args [ARCH] were not consumed 10:54:04 Successfully built 59d8e04ad908 10:54:04 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 10:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:04 10:54:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:05 latest: Pulling from edgex-lftools-log-publisher 10:54:05 5eb5b503b376: Pulling fs layer 10:54:05 5c69ac0246d0: Pulling fs layer 10:54:05 ec43610c2a17: Pulling fs layer 10:54:05 3a2ae6a8a46f: Pulling fs layer 10:54:05 33b1e0a273af: Pulling fs layer 10:54:05 5d3b04190fa2: Pulling fs layer 10:54:05 2f39f015ded8: Pulling fs layer 10:54:05 33b1e0a273af: Waiting 10:54:05 5d3b04190fa2: Waiting 10:54:05 2f39f015ded8: Waiting 10:54:05 3a2ae6a8a46f: Waiting 10:54:05 5c69ac0246d0: Verifying Checksum 10:54:05 5c69ac0246d0: Download complete 10:54:05 3a2ae6a8a46f: Download complete 10:54:05 33b1e0a273af: Verifying Checksum 10:54:05 33b1e0a273af: Download complete 10:54:05 5d3b04190fa2: Verifying Checksum 10:54:05 5d3b04190fa2: Download complete 10:54:05 ec43610c2a17: Verifying Checksum 10:54:05 ec43610c2a17: Download complete 10:54:05 5eb5b503b376: Verifying Checksum 10:54:05 5eb5b503b376: Download complete 10:54:06 2f39f015ded8: Verifying Checksum 10:54:06 2f39f015ded8: Download complete 10:54:06 5eb5b503b376: Pull complete 10:54:06 5c69ac0246d0: Pull complete 10:54:07 ec43610c2a17: Pull complete 10:54:07 3a2ae6a8a46f: Pull complete 10:54:07 33b1e0a273af: Pull complete 10:54:07 5d3b04190fa2: Pull complete 10:54:11 2f39f015ded8: Pull complete 10:54:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:54:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:12 prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container 10:54:12 $ 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-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:54:15 $ docker top 9a3684cf5529670bb92188b03b23e1455e3c4b9e4c9cdc93ec907b80700e667d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:15 ---> job-cost.sh 10:54:15 lf-activate-venv: SKIPPING 10:54:15 INFO: No Stack... 10:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 10:54:16 INFO: Archiving Costs [Pipeline] sh 10:54:16 + cat /w/workspace/edgexfoundry_device-gpio_PR-161/archives/cost.csv 10:54:16 + cut -d, -f6 [Pipeline] lock 10:54:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] 10:54:16 Resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] did not exist. Created. 10:54:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:54:17 + echo total: 0.2199999988079071 [Pipeline] stash 10:54:17 Stashed 1 file(s) [Pipeline] } 10:54:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:54:17 $ docker stop --time=1 9a3684cf5529670bb92188b03b23e1455e3c4b9e4c9cdc93ec907b80700e667d 10:54:18 $ docker rm -f --volumes 9a3684cf5529670bb92188b03b23e1455e3c4b9e4c9cdc93ec907b80700e667d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:56:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9526 in /w/workspace/edgexfoundry_device-gpio_PR-161 [Pipeline] { [Pipeline] ws 10:56:20 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 10:56:20 The recommended git tool is: git 10:56:26 using credential edgex-jenkins-ssh 10:56:26 Cloning the remote Git repository 10:56:26 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:56:26 > git init /w/workspace/device-gpio/1 # timeout=10 10:56:26 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:56:26 > git --version # timeout=10 10:56:27 > git --version # 'git version 2.25.1' 10:56:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:56:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:56:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:56:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:56:30 Merging remotes/origin/main commit 11a3e93ce1b9de78f3ac3895831d199ada88536a into PR head commit 1bbfa1c60067d5044659326cbaf140e8ac1d0077 10:56:30 Merge succeeded, producing 1bbfa1c60067d5044659326cbaf140e8ac1d0077 10:56:30 Checking out Revision 1bbfa1c60067d5044659326cbaf140e8ac1d0077 (PR-161) 10:56:29 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:56:29 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:56:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:56:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:56:30 > git config core.sparsecheckout # timeout=10 10:56:30 > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # timeout=10 10:56:30 > git remote # timeout=10 10:56:30 > git config --get remote.origin.url # timeout=10 10:56:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:56:30 > git merge 11a3e93ce1b9de78f3ac3895831d199ada88536a # timeout=10 10:56:30 > git rev-parse HEAD^{commit} # timeout=10 10:56:30 > git config core.sparsecheckout # timeout=10 10:56:30 > git checkout -f 1bbfa1c60067d5044659326cbaf140e8ac1d0077 # timeout=10 10:56:34 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 10:56:34 > git --version # timeout=10 10:56:34 > git --version # 'git version 2.25.1' 10:56:34 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:56:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:56:35 % Total % Received % Xferd Average Speed Time Time Time Current 10:56:35 Dload Upload Total Spent Left Speed 10:56:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 10:56:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:56:36 + sudo tee /etc/docker/daemon.new 10:56:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:56:36 { 10:56:36 "registry-mirrors": [ 10:56:36 "https://nexus3.edgexfoundry.org:10001" 10:56:36 ], 10:56:36 "bip": "10.250.0.254/24", 10:56:36 "hosts": [ 10:56:36 "tcp://0.0.0.0:5555", 10:56:36 "unix:///var/run/docker.sock" 10:56:36 ], 10:56:36 "mtu": 1458, 10:56:36 "selinux-enabled": true, 10:56:36 "seccomp-profile": "/etc/docker/seccomp.json" 10:56:36 } [Pipeline] sh 10:56:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:56:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:56:55 provisioning config files... 10:56:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config15128295055909455796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:56 ---> docker-login.sh 10:56:56 nexus3.edgexfoundry.org:10001 10:56:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:56 Configure a credential helper to remove this warning. See 10:56:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:56 10:56:56 Login Succeeded 10:56:56 nexus3.edgexfoundry.org:10002 10:56:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:57 Configure a credential helper to remove this warning. See 10:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:57 10:56:57 Login Succeeded 10:56:57 nexus3.edgexfoundry.org:10003 10:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:57 Configure a credential helper to remove this warning. See 10:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:57 10:56:57 Login Succeeded 10:56:57 nexus3.edgexfoundry.org:10004 10:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:57 Configure a credential helper to remove this warning. See 10:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:57 10:56:57 Login Succeeded 10:56:57 docker.io 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:58 Configure a credential helper to remove this warning. See 10:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:58 10:56:58 Login Succeeded 10:56:58 ---> docker-login.sh ends [Pipeline] } 10:56:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:56:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:58 ========================================================= 10:56:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:56:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:59 + 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 . 10:56:59 Sending build context to Docker daemon 8.127MB 10:56:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:56:59 Step 2/12 : FROM ${BASE} AS builder 10:56:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:56:59 af6eaf76a39c: Pulling fs layer 10:56:59 55522c791124: Pulling fs layer 10:56:59 ce5c4a1c91eb: Pulling fs layer 10:56:59 169dfbe0d373: Pulling fs layer 10:56:59 e1ff8fa3b103: Pulling fs layer 10:56:59 52ebb69f0ebf: Pulling fs layer 10:56:59 5abe8eddf0d5: Pulling fs layer 10:56:59 e1ff8fa3b103: Waiting 10:56:59 52ebb69f0ebf: Waiting 10:56:59 5abe8eddf0d5: Waiting 10:56:59 169dfbe0d373: Waiting 10:56:59 55522c791124: Verifying Checksum 10:56:59 55522c791124: Download complete 10:56:59 169dfbe0d373: Verifying Checksum 10:56:59 169dfbe0d373: Download complete 10:56:59 e1ff8fa3b103: Verifying Checksum 10:56:59 e1ff8fa3b103: Download complete 10:56:59 af6eaf76a39c: Verifying Checksum 10:56:59 af6eaf76a39c: Download complete 10:57:00 af6eaf76a39c: Pull complete 10:57:01 5abe8eddf0d5: Verifying Checksum 10:57:01 5abe8eddf0d5: Download complete 10:57:01 55522c791124: Pull complete 10:57:02 ce5c4a1c91eb: Verifying Checksum 10:57:02 ce5c4a1c91eb: Download complete 10:57:02 52ebb69f0ebf: Verifying Checksum 10:57:02 52ebb69f0ebf: Download complete 10:57:14 ce5c4a1c91eb: Pull complete 10:57:14 169dfbe0d373: Pull complete 10:57:14 e1ff8fa3b103: Pull complete 10:57:20 52ebb69f0ebf: Pull complete 10:57:24 5abe8eddf0d5: Pull complete 10:57:24 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:57:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:57:24 ---> 6cb57ee374ae 10:57:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:57:26 ---> Running in b80a4b109f98 10:57:26 Removing intermediate container b80a4b109f98 10:57:26 ---> df9b36ee2d40 10:57:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:57:26 ---> Running in e0309805a6c4 10:57:26 Removing intermediate container e0309805a6c4 10:57:26 ---> e03c25804126 10:57:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:57:26 ---> Running in 3f752eba02a2 10:57:26 Removing intermediate container 3f752eba02a2 10:57:26 ---> f8266553aabf 10:57:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:57:26 ---> Running in f25e32174158 10:57:27 Removing intermediate container f25e32174158 10:57:27 ---> 262dd23ac6a2 10:57:27 Step 7/12 : WORKDIR /device-gpio 10:57:27 ---> Running in 223b6d686c28 10:57:27 Removing intermediate container 223b6d686c28 10:57:27 ---> 1413e997c9b5 10:57:27 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:57:27 ---> Running in e46e76fd0b3b 10:57:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:57:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:57:29 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:57:29 (2/4) Installing libedit (20221030.3.1-r0) 10:57:29 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:57:29 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:57:29 Executing busybox-1.35.0-r29.trigger 10:57:29 OK: 268 MiB in 57 packages 10:57:30 Removing intermediate container e46e76fd0b3b 10:57:30 ---> d7f5e1fc87b4 10:57:30 Step 9/12 : COPY go.mod vendor* ./ 10:57:31 ---> 2b8a5d54c118 10:57:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:57:31 ---> Running in f118e96d9f1f 10:58:27 Removing intermediate container f118e96d9f1f 10:58:27 ---> e4cd03d28aad 10:58:27 Step 11/12 : COPY . . 10:58:28 ---> 1cf15a79973b 10:58:28 Step 12/12 : RUN ${MAKE} 10:58:28 ---> Running in 2647242c5ae6 10:58:29 noop 10:58:30 Removing intermediate container 2647242c5ae6 10:58:30 ---> a0fd38fc5e52 10:58:30 Successfully built a0fd38fc5e52 10:58:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:30 + docker inspect -f . ci-base-image-arm64 10:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:31 prd-ubuntu20.04-docker-arm64-4c-16g-9526 does not seem to be running inside a container 10:58:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:58:32 $ docker top 7c5d7004792d04a0d2bc29163ee89e1f483dda65fdc378f03c3e2bc1577690c9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:33 + go version 10:58:33 go version go1.20.2 linux/arm64 [Pipeline] } 10:58:33 $ docker stop --time=1 7c5d7004792d04a0d2bc29163ee89e1f483dda65fdc378f03c3e2bc1577690c9 10:58:34 $ docker rm -f --volumes 7c5d7004792d04a0d2bc29163ee89e1f483dda65fdc378f03c3e2bc1577690c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:35 + docker inspect -f . ci-base-image-arm64 10:58:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:35 prd-ubuntu20.04-docker-arm64-4c-16g-9526 does not seem to be running inside a container 10:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:58:37 $ docker top d7bfb05dff05cc6fae2a67b473a4da8b489967f6c1149df8189ede5f821eb299 -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:37 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 10:58:38 + make test 10:58:38 go test ./... -coverprofile=coverage.out ./... 10:59:10 ? github.com/edgexfoundry/device-gpio [no test files] 11:01:02 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 11:01:02 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 11:01:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:01:02 go vet ./... 11:01:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:01:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:01:12 ./bin/test-attribution-txt.sh [Pipeline] echo 11:01:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:01:12 $ docker stop --time=1 d7bfb05dff05cc6fae2a67b473a4da8b489967f6c1149df8189ede5f821eb299 11:01:14 $ docker rm -f --volumes d7bfb05dff05cc6fae2a67b473a4da8b489967f6c1149df8189ede5f821eb299 [Pipeline] // withDockerContainer [Pipeline] sh 11:01:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:01:15 Warning: overwriting stash ‘coverage-report’ 11:01:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:01:17 + ls -al . 11:01:17 total 152 11:01:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:58 . 11:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:56 .. 11:01:17 -rw-rw-r-- 1 jenkins jenkins 120 Apr 24 10:56 .dockerignore 11:01:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:56 .git 11:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:56 .github 11:01:17 -rw-rw-r-- 1 jenkins jenkins 343 Apr 24 10:56 .gitignore 11:01:17 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:56 .golangci.yml 11:01:17 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 24 10:56 Attribution.txt 11:01:17 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 24 10:56 CHANGELOG.md 11:01:17 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 24 10:56 Dockerfile 11:01:17 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:56 GOVERNANCE.md 11:01:17 -rw-rw-r-- 1 jenkins jenkins 657 Apr 24 10:56 Jenkinsfile 11:01:17 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:56 LICENSE 11:01:17 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 24 10:56 Makefile 11:01:17 -rw-rw-r-- 1 jenkins jenkins 617 Apr 24 10:56 OWNERS.md 11:01:17 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 24 10:56 README.md 11:01:17 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:52 VERSION 11:01:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:56 bin 11:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:56 cmd 11:01:17 -rw-r--r-- 1 jenkins jenkins 10 Apr 24 10:58 coverage.out 11:01:17 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 24 10:56 go.mod 11:01:17 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 24 10:56 go.sum 11:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:56 internal 11:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:56 snap 11:01:17 -rw-rw-r-- 1 jenkins jenkins 209 Apr 24 10:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:17 + 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=1bbfa1c60067d5044659326cbaf140e8ac1d0077 --label arch=arm64 --label version=0.0.0 . 11:01:17 Sending build context to Docker daemon 8.129MB 11:01:17 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:01:17 Step 2/25 : FROM ${BASE} AS builder 11:01:17 ---> a0fd38fc5e52 11:01:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:01:21 ---> Running in 93a5793cdef9 11:01:21 Removing intermediate container 93a5793cdef9 11:01:21 ---> 0cc61e7ee4af 11:01:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:01:21 ---> Running in 06072feab890 11:01:21 Removing intermediate container 06072feab890 11:01:21 ---> 422aaa9ddae3 11:01:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 11:01:21 ---> Running in 081b3c37b04a 11:01:22 Removing intermediate container 081b3c37b04a 11:01:22 ---> c581443bd484 11:01:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:01:22 ---> Running in 2fb8271c1686 11:01:22 Removing intermediate container 2fb8271c1686 11:01:22 ---> 75ae3f77467a 11:01:22 Step 7/25 : WORKDIR /device-gpio 11:01:22 ---> Running in 20806f2a75f7 11:01:23 Removing intermediate container 20806f2a75f7 11:01:23 ---> ecd6d417293a 11:01:23 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:01:23 ---> Running in 7276c4ce2255 11:01:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:01:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:01:25 OK: 268 MiB in 57 packages 11:01:26 Removing intermediate container 7276c4ce2255 11:01:26 ---> 8e8899c3a1f0 11:01:26 Step 9/25 : COPY go.mod vendor* ./ 11:01:27 ---> 1a0a3bc9c6e7 11:01:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:01:27 ---> Running in e274ebd04f53 11:01:29 Removing intermediate container e274ebd04f53 11:01:29 ---> 359f54e598b7 11:01:29 Step 11/25 : COPY . . 11:01:30 ---> f9743cdf0766 11:01:30 Step 12/25 : RUN ${MAKE} 11:01:30 ---> Running in b3315ace8e4f 11:01:31 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 11:03:38 Removing intermediate container b3315ace8e4f 11:03:38 ---> f266a6ed1492 11:03:38 Step 13/25 : FROM alpine:3.17 11:03:38 3.17: Pulling from library/alpine 11:03:38 c41833b44d91: Pulling fs layer 11:03:38 c41833b44d91: Verifying Checksum 11:03:38 c41833b44d91: Download complete 11:03:38 c41833b44d91: Pull complete 11:03:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:03:38 Status: Downloaded newer image for alpine:3.17 11:03:38 ---> 51e60588ff2c 11:03:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 11:03:38 ---> Running in 7a0341055b1c 11:03:38 Removing intermediate container 7a0341055b1c 11:03:38 ---> aef161d2a7c7 11:03:38 Step 15/25 : RUN apk add --update --no-cache 11:03:38 ---> Running in 822b26089b7c 11:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:03:38 OK: 7 MiB in 15 packages 11:03:39 Removing intermediate container 822b26089b7c 11:03:39 ---> 4bb03fb419ab 11:03:39 Step 16/25 : WORKDIR / 11:03:39 ---> Running in afa0d5e1d2ed 11:03:39 Removing intermediate container afa0d5e1d2ed 11:03:39 ---> a52a55b4d46c 11:03:39 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 11:03:40 ---> 5aac334a3152 11:03:40 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 11:03:40 ---> 2e1c1b9ae2fe 11:03:40 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 11:03:42 ---> 79d584f6bf7b 11:03:42 Step 20/25 : EXPOSE 59910 11:03:42 ---> Running in b17fef74adf5 11:03:42 Removing intermediate container b17fef74adf5 11:03:42 ---> a93e51cb219e 11:03:42 Step 21/25 : ENTRYPOINT ["/device-gpio"] 11:03:42 ---> Running in ab59bd2fa956 11:03:42 Removing intermediate container ab59bd2fa956 11:03:42 ---> 2cab710930eb 11:03:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:03:42 ---> Running in 9eefc8a51bd4 11:03:42 Removing intermediate container 9eefc8a51bd4 11:03:42 ---> 14d2e0bfcd26 11:03:42 Step 23/25 : LABEL arch=arm64 11:03:42 ---> Running in 8e800e83c874 11:03:43 Removing intermediate container 8e800e83c874 11:03:43 ---> 9d12cdca67cc 11:03:43 Step 24/25 : LABEL git_sha=1bbfa1c60067d5044659326cbaf140e8ac1d0077 11:03:43 ---> Running in 2d137030bc1e 11:03:43 Removing intermediate container 2d137030bc1e 11:03:43 ---> 3bce034780ee 11:03:43 Step 25/25 : LABEL version=0.0.0 11:03:43 ---> Running in 661b89fde6f1 11:03:43 Removing intermediate container 661b89fde6f1 11:03:43 ---> 0ec3706637e9 11:03:43 [Warning] One or more build-args [ARCH] were not consumed 11:03:43 Successfully built 0ec3706637e9 11:03:43 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 11:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:44 11:03:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:03:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:45 arm64: Pulling from edgex-lftools-log-publisher 11:03:45 8998bd30e6a1: Pulling fs layer 11:03:45 04944245beec: Pulling fs layer 11:03:45 699f458cf7ca: Pulling fs layer 11:03:45 765212b225bb: Pulling fs layer 11:03:45 f23df028b6ca: Pulling fs layer 11:03:45 d65c8cfc05b1: Pulling fs layer 11:03:45 2437ff75d9bd: Pulling fs layer 11:03:45 f23df028b6ca: Waiting 11:03:45 d65c8cfc05b1: Waiting 11:03:45 2437ff75d9bd: Waiting 11:03:45 765212b225bb: Waiting 11:03:45 04944245beec: Verifying Checksum 11:03:45 04944245beec: Download complete 11:03:45 765212b225bb: Verifying Checksum 11:03:45 765212b225bb: Download complete 11:03:45 f23df028b6ca: Verifying Checksum 11:03:45 f23df028b6ca: Download complete 11:03:45 d65c8cfc05b1: Verifying Checksum 11:03:45 d65c8cfc05b1: Download complete 11:03:45 699f458cf7ca: Verifying Checksum 11:03:45 699f458cf7ca: Download complete 11:03:45 8998bd30e6a1: Verifying Checksum 11:03:45 8998bd30e6a1: Download complete 11:03:47 2437ff75d9bd: Verifying Checksum 11:03:47 2437ff75d9bd: Download complete 11:03:49 8998bd30e6a1: Pull complete 11:03:49 04944245beec: Pull complete 11:03:50 699f458cf7ca: Pull complete 11:03:51 765212b225bb: Pull complete 11:03:51 f23df028b6ca: Pull complete 11:03:51 d65c8cfc05b1: Pull complete 11:04:04 2437ff75d9bd: Pull complete 11:04:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:04:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-9526 does not seem to be running inside a container 11:04:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:04:07 $ docker top 7fdea45932f365f31178c12ac7ad6ae7344343c1a5b4156024c2b146f7ecf643 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:07 ---> job-cost.sh 11:04:07 lf-activate-venv: SKIPPING 11:04:07 INFO: No Stack... 11:04:08 INFO: Retrieving Pricing Info for: v3-standard-4 11:04:09 INFO: Archiving Costs [Pipeline] sh 11:04:09 + cat /w/workspace/device-gpio/1/archives/cost.csv 11:04:09 + cut -d, -f6 [Pipeline] lock 11:04:09 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] 11:04:09 Resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] did not exist. Created. 11:04:09 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:04:10 /w/workspace/device-gpio/1@tmp/durable-fed3c05b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:04:10 + echo total: 0.10999999940395355 [Pipeline] stash 11:04:10 Warning: overwriting stash ‘stack-cost’ 11:04:10 Stashed 1 file(s) [Pipeline] } 11:04:10 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:04:10 $ docker stop --time=1 7fdea45932f365f31178c12ac7ad6ae7344343c1a5b4156024c2b146f7ecf643 11:04:12 $ docker rm -f --volumes 7fdea45932f365f31178c12ac7ad6ae7344343c1a5b4156024c2b146f7ecf643 [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 11:04:13 provisioning config files... 11:04:13 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config1089004514499703347tmp [Pipeline] { [Pipeline] sh 11:04:13 + set +x 11:04:13 + curl -s https://codecov.io/bash 11:04:13 + bash -s -- 11:04:13 11:04:13 _____ _ 11:04:13 / ____| | | 11:04:13 | | ___ __| | ___ ___ _____ __ 11:04:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:04:13 | |___| (_) | (_| | __/ (_| (_) \ V / 11:04:13 \_____\___/ \__,_|\___|\___\___/ \_/ 11:04:13 Bash-1.0.6 11:04:13 11:04:13 11:04:13 ==> git version 2.25.1 found 11:04:13 ==> 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 11:04:13 Release-Date: 2020-01-08 11:04:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:04:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:04:13 ==> Jenkins CI detected. 11:04:13 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-161 11:04:13 project root: . 11:04:13 --> token set from env 11:04:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:04:13 ==> Running gcov in . (disable via -X gcov) 11:04:13 ==> Python coveragepy not found 11:04:13 ==> Searching for coverage reports in: 11:04:13 + . 11:04:13 -> Found 1 reports 11:04:13 ==> Detecting git/mercurial file structure 11:04:13 ==> Reading reports 11:04:13 + ./coverage.out bytes=10 11:04:13 ==> Appending adjustments 11:04:13 https://docs.codecov.io/docs/fixing-reports 11:04:13 + Found adjustments 11:04:13 ==> Gzipping contents 11:04:13 4.0K /tmp/codecov.Qv76W8.gz 11:04:13 ==> Uploading reports 11:04:13 url: https://codecov.io 11:04:13 query: branch=PR-161&commit=1bbfa1c60067d5044659326cbaf140e8ac1d0077&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=161&job=&cmd_args= 11:04:13 -> Pinging Codecov 11:04:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-161&commit=1bbfa1c60067d5044659326cbaf140e8ac1d0077&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=161&job=&cmd_args= 11:04:13 -> Uploading to 11:04:13 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1bbfa1c60067d5044659326cbaf140e8ac1d0077/6f5c1e3f-e102-411f-8817-813b3497f8af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T110413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=406da54a94c4abbebbfd285ebd20ec468bedad9ccad0ab8749363f5da96e1ebb 11:04:13 % Total % Received % Xferd Average Speed Time Time Time Current 11:04:13 Dload Upload Total Spent Left Speed 11:04:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3447 --:--:-- --:--:-- --:--:-- 3431 100 724 0 0 100 724 0 3431 --:--:-- --:--:-- --:--:-- 3415 11:04:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1bbfa1c60067d5044659326cbaf140e8ac1d0077 [Pipeline] } 11:04:14 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 11:04:16 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-161/archives ] 11:04:16 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-161/archives 11:04:16 total 16 11:04:16 drwxr-xr-x 3 root root 4096 Apr 24 10:54 . 11:04:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:54 .. 11:04:16 drwxr-xr-x 2 root root 4096 Apr 24 10:54 cost 11:04:16 -rw-r--r-- 1 root root 83 Apr 24 10:54 cost.csv 11:04:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-161/archives 11:04:16 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-161/archives 11:04:16 total 16 11:04:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:54 . 11:04:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:54 .. 11:04:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 10:54 cost 11:04:16 -rw-r--r-- 1 jenkins jenkins 83 Apr 24 10:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:04:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:04:17 ---> package-listing.sh 11:04:17 ++ facter osfamily 11:04:17 ++ tr '[:upper:]' '[:lower:]' 11:04:17 + OS_FAMILY=debian 11:04:17 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-161 11:04:17 + START_PACKAGES=/tmp/packages_start.txt 11:04:17 + END_PACKAGES=/tmp/packages_end.txt 11:04:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:04:17 + PACKAGES=/tmp/packages_start.txt 11:04:17 + '[' /w/workspace/edgexfoundry_device-gpio_PR-161 ']' 11:04:17 + PACKAGES=/tmp/packages_end.txt 11:04:17 + case "${OS_FAMILY}" in 11:04:17 + dpkg -l 11:04:17 + grep '^ii' 11:04:17 + '[' -f /tmp/packages_start.txt ']' 11:04:17 + '[' -f /tmp/packages_end.txt ']' 11:04:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:04:17 + '[' /w/workspace/edgexfoundry_device-gpio_PR-161 ']' 11:04:17 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-161/archives/ 11:04:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-161/archives/ [Pipeline] echo 11:04:17 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:04:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:04:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:18 prd-ubuntu20.04-docker-8c-8g-9524 does not seem to be running inside a container 11:04:18 $ 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-161/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-161 -v /w/workspace/edgexfoundry_device-gpio_PR-161:/w/workspace/edgexfoundry_device-gpio_PR-161:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-161@tmp:/w/workspace/edgexfoundry_device-gpio_PR-161@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 11:04:18 $ docker top a1f9ad77e0355246aef2c165798cb36e74af95062f2b82e0fc86fc9fdece6f06 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:19 + touch /tmp/pre-build-complete [Pipeline] sh 11:04:19 + mkdir -p /var/log/sysstat [Pipeline] sh 11:04:19 + ls /var/log/sa-host 11:04:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:20 provisioning config files... 11:04:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-161@tmp/config6009541121723065288tmp [Pipeline] { [Pipeline] echo 11:04:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:04:20 ---> create-netrc.sh [Pipeline] } 11:04:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:04:20 ---> python-tools-install.sh [Pipeline] echo 11:04:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:04:21 ---> sudo-logs.sh 11:04:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:04:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:04:21 ---> job-cost.sh 11:04:21 lf-activate-venv: SKIPPING 11:04:21 DEBUG: total: 0.2199999988079071 11:04:21 INFO: Retrieving Stack Cost... 11:04:22 INFO: Retrieving Pricing Info for: v3-standard-8 11:04:22 INFO: Archiving Costs [Pipeline] echo 11:04:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:04:22 ---> logs-deploy.sh 11:04:22 lf-activate-venv: SKIPPING 11:04:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-161/1 11:04:22 INFO: archiving workspace using pattern(s): 11:04:23 Archives upload complete. 11:04:23 INFO: archiving logs to Nexus