Pull request #173 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 jumpingliu for edgexfoundry/device-gpio Loading trusted files from base branch main at 4261d5835fa1c7b154f2687acc6f50b8a2a738f2 rather than 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e Obtained Jenkinsfile from 4261d5835fa1c7b154f2687acc6f50b8a2a738f2 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-ssh16324701761803482566.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7920005862043935493.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh 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-173/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-173/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14303763543134443469.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-173/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1164128004252294174.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh13197974838797370218.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-173/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-173/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8739618356758992602.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14423 in /w/workspace/edgexfoundry_device-gpio_PR-173 [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-173 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4261d5835fa1c7b154f2687acc6f50b8a2a738f2 into PR head commit 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e Merge succeeded, producing 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e Checking out Revision 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e (PR-173) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e # 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 4261d5835fa1c7b154f2687acc6f50b8a2a738f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:55:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:55:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:55:02 ========================================================= 03:55:02 EdgeX Global Pipelines Version Info 03:55:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:55:03 ------------------- 03:55:03 stable info: 03:55:03 ------------------- 03:55:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:55:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 03:55:03 Message: update stable to v1.0.249 03:55:04 ------------------- 03:55:04 experimental info: 03:55:04 ------------------- 03:55:04 Commited By: **** collab-it+edgex@linuxfoundation.org 03:55:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 03:55:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:55:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bbd998 [Pipeline] echo 03:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:06 provisioning config files... 03:55:06 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp/config4302347533060486197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:06 ---> docker-login.sh 03:55:06 nexus3.edgexfoundry.org:10001 03:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:06 Configure a credential helper to remove this warning. See 03:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:06 03:55:06 Login Succeeded 03:55:06 nexus3.edgexfoundry.org:10002 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 nexus3.edgexfoundry.org:10003 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 nexus3.edgexfoundry.org:10004 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 docker.io 03:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:07 Configure a credential helper to remove this warning. See 03:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:07 03:55:07 Login Succeeded 03:55:07 ---> docker-login.sh ends [Pipeline] } 03:55:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:55:08 + git rev-list -1 --merges 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e~1..7bbd9980afc94b42b66d3a4f0522adf86ead6e9e [Pipeline] echo 03:55:08 -----------> git rev-list -1 --merges 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e~1..7bbd9980afc94b42b66d3a4f0522adf86ead6e9e 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e [false] [Pipeline] sh 03:55:08 + git log --format=format:%s -1 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e [Pipeline] echo 03:55:08 ========================================================= 03:55:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:55:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:09 + git log --format=format:%s -1 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e [Pipeline] echo 03:55:09 [semverPrep] GIT_COMMIT: 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 03:55:09 [semverPrep] This is not a build commit. [Pipeline] sh 03:55:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:55:09 + grep -v github /etc/ssh/ssh_known_hosts 03:55:09 + [ -e /tmp/ssh_known_hosts ] 03:55:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:55:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:55:09 + sudo tee -a /etc/ssh/ssh_known_hosts 03:55:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:10 03:55:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:10 0.1.4: Pulling from edgex-devops/py-git-semver 03:55:10 b85a868b505f: Pulling fs layer 03:55:10 e2be974225ed: Pulling fs layer 03:55:10 339a4e72a1f5: Pulling fs layer 03:55:10 988bab9f4d93: Pulling fs layer 03:55:10 1469e6f7b9e6: Pulling fs layer 03:55:10 eaf3925da568: Pulling fs layer 03:55:10 bab4dde63d76: Pulling fs layer 03:55:10 bde34c3a00c8: Pulling fs layer 03:55:10 b352a97aabf1: Pulling fs layer 03:55:10 4872d77fe225: Pulling fs layer 03:55:10 5851b861e8e6: Pulling fs layer 03:55:10 bab4dde63d76: Waiting 03:55:10 bde34c3a00c8: Waiting 03:55:10 b352a97aabf1: Waiting 03:55:10 4872d77fe225: Waiting 03:55:10 5851b861e8e6: Waiting 03:55:10 988bab9f4d93: Waiting 03:55:10 1469e6f7b9e6: Waiting 03:55:10 eaf3925da568: Waiting 03:55:10 e2be974225ed: Verifying Checksum 03:55:10 e2be974225ed: Download complete 03:55:10 988bab9f4d93: Verifying Checksum 03:55:10 988bab9f4d93: Download complete 03:55:10 1469e6f7b9e6: Verifying Checksum 03:55:10 1469e6f7b9e6: Download complete 03:55:10 339a4e72a1f5: Verifying Checksum 03:55:10 339a4e72a1f5: Download complete 03:55:10 eaf3925da568: Verifying Checksum 03:55:10 eaf3925da568: Download complete 03:55:10 bde34c3a00c8: Verifying Checksum 03:55:10 bde34c3a00c8: Download complete 03:55:10 b352a97aabf1: Verifying Checksum 03:55:10 b352a97aabf1: Download complete 03:55:10 4872d77fe225: Verifying Checksum 03:55:10 4872d77fe225: Download complete 03:55:10 5851b861e8e6: Download complete 03:55:10 b85a868b505f: Verifying Checksum 03:55:10 b85a868b505f: Download complete 03:55:10 bab4dde63d76: Verifying Checksum 03:55:10 bab4dde63d76: Download complete 03:55:11 b85a868b505f: Pull complete 03:55:12 e2be974225ed: Pull complete 03:55:12 339a4e72a1f5: Pull complete 03:55:12 988bab9f4d93: Pull complete 03:55:12 1469e6f7b9e6: Pull complete 03:55:12 eaf3925da568: Pull complete 03:55:14 bab4dde63d76: Pull complete 03:55:14 bde34c3a00c8: Pull complete 03:55:14 b352a97aabf1: Pull complete 03:55:14 4872d77fe225: Pull complete 03:55:15 5851b861e8e6: Pull complete 03:55:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:15 prd-ubuntu20.04-docker-8c-8g-14423 does not seem to be running inside a container 03:55:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-173 -v /w/workspace/edgexfoundry_device-gpio_PR-173:/w/workspace/edgexfoundry_device-gpio_PR-173:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-173@tmp:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:55:16 $ docker top af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a -eo pid,comm 03:55:16 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). 03:55:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:55:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:16 [ssh-agent] Looking for ssh-agent implementation... 03:55:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:16 $ docker exec af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a ssh-agent 03:55:17 SSH_AUTH_SOCK=/tmp/ssh-M5S3EUZ5MvYK/agent.32 03:55:17 SSH_AGENT_PID=38 03:55:17 Running ssh-add (command line suppressed) 03:55:17 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-173@tmp/private_key_4356426560337222498.key (/w/workspace/edgexfoundry_device-gpio_PR-173@tmp/private_key_4356426560337222498.key) 03:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:17 + git tag --points-at HEAD [Pipeline] } 03:55:17 $ docker exec --env ******** --env ******** af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a ssh-agent -k 03:55:17 unset SSH_AUTH_SOCK; 03:55:17 unset SSH_AGENT_PID; 03:55:17 echo Agent pid 38 killed; 03:55:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:17 [ssh-agent] Looking for ssh-agent implementation... 03:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:17 $ docker exec af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a ssh-agent 03:55:17 SSH_AUTH_SOCK=/tmp/ssh-pXCpTTcEpFxu/agent.70 03:55:17 SSH_AGENT_PID=76 03:55:17 Running ssh-add (command line suppressed) 03:55:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-173@tmp/private_key_5588847753618718772.key (/w/workspace/edgexfoundry_device-gpio_PR-173@tmp/private_key_5588847753618718772.key) 03:55:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:18 + git semver init 03:55:18 2023-05-08 03:55:18,621 [run_init] DEBUG init version:0.0.0 force:False 03:55:18 2023-05-08 03:55:18,622 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-173/.semver 03:55:18 2023-05-08 03:55:18,622 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-173/.semver 03:55:18 2023-05-08 03:55:18,623 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-173/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-173, universal_newlines=False, shell=None, istream=None) 03:55:19 2023-05-08 03:55:19,648 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-173/.git/info/exclude 03:55:19 2023-05-08 03:55:19,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-173/.semver/PR-173 with force:False 03:55:19 2023-05-08 03:55:19,649 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-173/.semver/PR-173 03:55:19 2023-05-08 03:55:19,653 [execute] INFO git cat-file --batch-check 03:55:19 2023-05-08 03:55:19,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-173/.semver, universal_newlines=False, shell=None, istream=) 03:55:19 2023-05-08 03:55:19,660 [execute] INFO git cat-file --batch 03:55:19 2023-05-08 03:55:19,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-173/.semver, universal_newlines=False, shell=None, istream=) 03:55:19 2023-05-08 03:55:19,665 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-173/.semver/PR-173 03:55:19 0.0.0 [Pipeline] } 03:55:19 $ docker exec --env ******** --env ******** af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a ssh-agent -k 03:55:20 unset SSH_AUTH_SOCK; 03:55:20 unset SSH_AGENT_PID; 03:55:20 echo Agent pid 76 killed; 03:55:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:55:20 + git semver [Pipeline] } 03:55:20 $ docker stop --time=1 af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a 03:55:22 $ docker rm -f --volumes af52b60766f4c6a6f9f4f6fb726a799af1f713068f279fdf77f66060595a041a [Pipeline] // withDockerContainer [Pipeline] sh 03:55:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:55:22 Stashed 1 file(s) [Pipeline] echo 03:55:22 [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 03:55:23 provisioning config files... 03:55:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp/config4348929739224031687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:23 ---> docker-login.sh 03:55:23 nexus3.edgexfoundry.org:10001 03:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:23 Configure a credential helper to remove this warning. See 03:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:23 03:55:23 Login Succeeded 03:55:23 nexus3.edgexfoundry.org:10002 03:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:23 Configure a credential helper to remove this warning. See 03:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:23 03:55:23 Login Succeeded 03:55:23 nexus3.edgexfoundry.org:10003 03:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:24 Configure a credential helper to remove this warning. See 03:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:24 03:55:24 Login Succeeded 03:55:24 nexus3.edgexfoundry.org:10004 03:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:24 Configure a credential helper to remove this warning. See 03:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:24 03:55:24 Login Succeeded 03:55:24 docker.io 03:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:24 Configure a credential helper to remove this warning. See 03:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:24 03:55:24 Login Succeeded 03:55:24 ---> docker-login.sh ends [Pipeline] } 03:55:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:55:24 ========================================================= 03:55:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:55:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:25 + 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 . 03:55:25 Sending build context to Docker daemon 16.12MB 03:55:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:55:25 Step 2/12 : FROM ${BASE} AS builder 03:55:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:55:25 f56be85fc22e: Pulling fs layer 03:55:25 85791d961cd3: Pulling fs layer 03:55:25 d694b5ae8c79: Pulling fs layer 03:55:25 9f32a84ed3da: Pulling fs layer 03:55:25 4d19c01a9841: Pulling fs layer 03:55:25 9325e15d5711: Pulling fs layer 03:55:25 556b6ee489ea: Pulling fs layer 03:55:25 c5a4b2cf53e6: Pulling fs layer 03:55:25 9f32a84ed3da: Waiting 03:55:25 9325e15d5711: Waiting 03:55:25 556b6ee489ea: Waiting 03:55:25 c5a4b2cf53e6: Waiting 03:55:25 85791d961cd3: Verifying Checksum 03:55:25 85791d961cd3: Download complete 03:55:25 9f32a84ed3da: Download complete 03:55:25 4d19c01a9841: Verifying Checksum 03:55:25 4d19c01a9841: Download complete 03:55:25 f56be85fc22e: Verifying Checksum 03:55:25 f56be85fc22e: Download complete 03:55:25 9325e15d5711: Verifying Checksum 03:55:25 9325e15d5711: Download complete 03:55:25 f56be85fc22e: Pull complete 03:55:25 85791d961cd3: Pull complete 03:55:25 c5a4b2cf53e6: Verifying Checksum 03:55:25 c5a4b2cf53e6: Download complete 03:55:25 d694b5ae8c79: Verifying Checksum 03:55:25 d694b5ae8c79: Download complete 03:55:26 556b6ee489ea: Verifying Checksum 03:55:26 556b6ee489ea: Download complete 03:55:29 d694b5ae8c79: Pull complete 03:55:29 9f32a84ed3da: Pull complete 03:55:29 4d19c01a9841: Pull complete 03:55:29 9325e15d5711: Pull complete 03:55:31 556b6ee489ea: Pull complete 03:55:32 c5a4b2cf53e6: Pull complete 03:55:32 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 03:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:55:32 ---> c4be618373d6 03:55:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:55:33 ---> Running in a584952e1a18 03:55:33 Removing intermediate container a584952e1a18 03:55:33 ---> fa5171da629c 03:55:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:33 ---> Running in 5bcf5f4caadf 03:55:33 Removing intermediate container 5bcf5f4caadf 03:55:33 ---> 29c4872bc333 03:55:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:55:33 ---> Running in 66ecec7e0af9 03:55:33 Removing intermediate container 66ecec7e0af9 03:55:33 ---> f175da32177a 03:55:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:55:33 ---> Running in 46a0a1131bec 03:55:33 Removing intermediate container 46a0a1131bec 03:55:33 ---> c881ea0c9be6 03:55:33 Step 7/12 : WORKDIR /device-gpio 03:55:33 ---> Running in aade69ebc01f 03:55:34 Removing intermediate container aade69ebc01f 03:55:34 ---> 2c8bc9b122d4 03:55:34 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:34 ---> Running in a1e834a80722 03:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:55:34 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:55:34 (2/4) Installing libedit (20221030.3.1-r0) 03:55:34 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:55:34 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:55:34 Executing busybox-1.35.0-r29.trigger 03:55:34 OK: 269 MiB in 57 packages 03:55:34 Removing intermediate container a1e834a80722 03:55:34 ---> 48626644bb6b 03:55:34 Step 9/12 : COPY go.mod vendor* ./ 03:55:35 ---> 30f765dddd70 03:55:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:35 ---> Running in 4f287ab95bcc 03:55:38 Still waiting to schedule task 03:55:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:56:01 Removing intermediate container 4f287ab95bcc 03:56:01 ---> 709ae64078c9 03:56:01 Step 11/12 : COPY . . 03:56:01 ---> 3cfa5cab2e2c 03:56:01 Step 12/12 : RUN ${MAKE} 03:56:02 ---> Running in 110f7ada8d01 03:56:02 noop 03:56:02 Removing intermediate container 110f7ada8d01 03:56:02 ---> 2ddd66cc9cba 03:56:02 Successfully built 2ddd66cc9cba 03:56:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:03 + docker inspect -f . ci-base-image-x86_64 03:56:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:03 prd-ubuntu20.04-docker-8c-8g-14423 does not seem to be running inside a container 03:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-173 -v /w/workspace/edgexfoundry_device-gpio_PR-173:/w/workspace/edgexfoundry_device-gpio_PR-173:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-173@tmp:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:56:03 $ docker top ac71d8918ddb042f7f18d9155cf4d9bfe5c75a5419f122cbcdc86839a9150983 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:04 + go version 03:56:04 go version go1.20.2 linux/amd64 [Pipeline] } 03:56:04 $ docker stop --time=1 ac71d8918ddb042f7f18d9155cf4d9bfe5c75a5419f122cbcdc86839a9150983 03:56:05 $ docker rm -f --volumes ac71d8918ddb042f7f18d9155cf4d9bfe5c75a5419f122cbcdc86839a9150983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:06 + docker inspect -f . ci-base-image-x86_64 03:56:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:06 prd-ubuntu20.04-docker-8c-8g-14423 does not seem to be running inside a container 03:56:06 $ 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-173 -v /w/workspace/edgexfoundry_device-gpio_PR-173:/w/workspace/edgexfoundry_device-gpio_PR-173:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-173@tmp:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:56:06 $ docker top 9c48cb24e002feb3dbcc8197576f9b2000ade6f0b33809d8b64a35032ca97b1a -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-173 [Pipeline] fileExists [Pipeline] sh 03:56:07 + make test 03:56:07 go test ./... -coverprofile=coverage.out ./... 03:56:12 ? github.com/edgexfoundry/device-gpio [no test files] 03:56:22 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 03:56:22 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 03:56:27 go vet ./... 03:56:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:56:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:56:30 ./bin/test-attribution-txt.sh [Pipeline] echo 03:56:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:56:30 $ docker stop --time=1 9c48cb24e002feb3dbcc8197576f9b2000ade6f0b33809d8b64a35032ca97b1a 03:56:32 $ docker rm -f --volumes 9c48cb24e002feb3dbcc8197576f9b2000ade6f0b33809d8b64a35032ca97b1a [Pipeline] // withDockerContainer [Pipeline] sh 03:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:56:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:56:34 + ls -al . 03:56:34 total 156 03:56:34 drwxrwxr-x 9 jenkins jenkins 4096 May 8 03:56 . 03:56:34 drwxrwxr-x 4 jenkins jenkins 4096 May 8 03:54 .. 03:56:34 -rw-rw-r-- 1 jenkins jenkins 120 May 8 03:54 .dockerignore 03:56:34 drwxrwxr-x 8 jenkins jenkins 4096 May 8 03:55 .git 03:56:34 drwxrwxr-x 3 jenkins jenkins 4096 May 8 03:54 .github 03:56:34 -rw-rw-r-- 1 jenkins jenkins 343 May 8 03:54 .gitignore 03:56:34 -rw-rw-r-- 1 jenkins jenkins 41 May 8 03:54 .golangci.yml 03:56:34 drwxr-xr-x 3 jenkins jenkins 4096 May 8 03:55 .semver 03:56:34 -rw-rw-r-- 1 jenkins jenkins 9702 May 8 03:54 Attribution.txt 03:56:34 -rw-rw-r-- 1 jenkins jenkins 4069 May 8 03:54 CHANGELOG.md 03:56:34 -rw-rw-r-- 1 jenkins jenkins 1542 May 8 03:54 Dockerfile 03:56:34 -rw-rw-r-- 1 jenkins jenkins 677 May 8 03:54 GOVERNANCE.md 03:56:34 -rw-rw-r-- 1 jenkins jenkins 657 May 8 03:54 Jenkinsfile 03:56:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 03:54 LICENSE 03:56:34 -rw-rw-r-- 1 jenkins jenkins 1692 May 8 03:54 Makefile 03:56:34 -rw-rw-r-- 1 jenkins jenkins 617 May 8 03:54 OWNERS.md 03:56:34 -rw-rw-r-- 1 jenkins jenkins 11790 May 8 03:54 README.md 03:56:34 -rw-rw-r-- 1 jenkins jenkins 5 May 8 03:55 VERSION 03:56:34 drwxrwxr-x 2 jenkins jenkins 4096 May 8 03:54 bin 03:56:34 drwxrwxr-x 3 jenkins jenkins 4096 May 8 03:54 cmd 03:56:34 -rw-r--r-- 1 jenkins jenkins 10 May 8 03:56 coverage.out 03:56:34 -rw-rw-r-- 1 jenkins jenkins 3269 May 8 03:54 go.mod 03:56:34 -rw-rw-r-- 1 jenkins jenkins 31585 May 8 03:54 go.sum 03:56:34 drwxrwxr-x 3 jenkins jenkins 4096 May 8 03:54 internal 03:56:34 drwxrwxr-x 4 jenkins jenkins 4096 May 8 03:54 snap 03:56:34 -rw-rw-r-- 1 jenkins jenkins 209 May 8 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:34 + 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=7bbd9980afc94b42b66d3a4f0522adf86ead6e9e --label arch=amd64 --label version=0.0.0 . 03:56:34 Sending build context to Docker daemon 16.12MB 03:56:34 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:56:34 Step 2/25 : FROM ${BASE} AS builder 03:56:34 ---> 2ddd66cc9cba 03:56:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:56:34 ---> Running in 58eb02707c19 03:56:34 Removing intermediate container 58eb02707c19 03:56:34 ---> 64aaeecabef4 03:56:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:56:34 ---> Running in b6e69e9eb53d 03:56:34 Removing intermediate container b6e69e9eb53d 03:56:34 ---> e86b7f15b3e3 03:56:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:56:34 ---> Running in 6433547fa645 03:56:34 Removing intermediate container 6433547fa645 03:56:34 ---> c00e50fe6999 03:56:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:56:34 ---> Running in c399978e205c 03:56:34 Removing intermediate container c399978e205c 03:56:34 ---> 9c117e329b6a 03:56:34 Step 7/25 : WORKDIR /device-gpio 03:56:34 ---> Running in ebcf7dfe7ba3 03:56:34 Removing intermediate container ebcf7dfe7ba3 03:56:34 ---> 7db3e4f56b9c 03:56:34 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:34 ---> Running in 76ce14f29468 03:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:56:35 OK: 269 MiB in 57 packages 03:56:35 Removing intermediate container 76ce14f29468 03:56:35 ---> e96805e4c205 03:56:35 Step 9/25 : COPY go.mod vendor* ./ 03:56:35 ---> 2f6e1e691358 03:56:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:35 ---> Running in 55dde98fd9ae 03:56:36 Removing intermediate container 55dde98fd9ae 03:56:36 ---> 7d31b7706d6c 03:56:36 Step 11/25 : COPY . . 03:56:36 ---> 3b445f575b5f 03:56:36 Step 12/25 : RUN ${MAKE} 03:56:36 ---> Running in 991b2ee3150c 03:56:37 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 03:56:55 Removing intermediate container 991b2ee3150c 03:56:55 ---> 2de28788834d 03:56:55 Step 13/25 : FROM alpine:3.17 03:56:55 3.17: Pulling from library/alpine 03:56:55 f56be85fc22e: Already exists 03:56:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:56:55 Status: Downloaded newer image for alpine:3.17 03:56:55 ---> 9ed4aefc74f6 03:56:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:56:55 ---> Running in 713224bee352 03:56:55 Removing intermediate container 713224bee352 03:56:55 ---> 8d841a6e9eef 03:56:55 Step 15/25 : RUN apk add --update --no-cache 03:56:55 ---> Running in a448e7042336 03:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:56:55 OK: 7 MiB in 15 packages 03:56:55 Removing intermediate container a448e7042336 03:56:55 ---> 0a3d3bbc9312 03:56:55 Step 16/25 : WORKDIR / 03:56:55 ---> Running in f9c6db5743d0 03:56:55 Removing intermediate container f9c6db5743d0 03:56:55 ---> c70eadae9986 03:56:55 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 03:56:55 ---> 945e421a2c89 03:56:55 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 03:56:55 ---> 2757f364624c 03:56:55 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 03:56:55 ---> 19b1578ea753 03:56:55 Step 20/25 : EXPOSE 59910 03:56:55 ---> Running in a376ef2ddd76 03:56:55 Removing intermediate container a376ef2ddd76 03:56:55 ---> 77892af66b2c 03:56:55 Step 21/25 : ENTRYPOINT ["/device-gpio"] 03:56:55 ---> Running in bf5d12b8bb38 03:56:55 Removing intermediate container bf5d12b8bb38 03:56:55 ---> de47cf41ff53 03:56:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:56:55 ---> Running in 17a88ce88aad 03:56:55 Removing intermediate container 17a88ce88aad 03:56:55 ---> 7c6ada755bb4 03:56:55 Step 23/25 : LABEL arch=amd64 03:56:55 ---> Running in f4c2c5c47fa7 03:56:55 Removing intermediate container f4c2c5c47fa7 03:56:55 ---> b0f057dfd756 03:56:55 Step 24/25 : LABEL git_sha=7bbd9980afc94b42b66d3a4f0522adf86ead6e9e 03:56:55 ---> Running in 144ea7ae330f 03:56:55 Removing intermediate container 144ea7ae330f 03:56:55 ---> 6a67ee13f454 03:56:55 Step 25/25 : LABEL version=0.0.0 03:56:55 ---> Running in 9b0b220d45cb 03:56:56 Removing intermediate container 9b0b220d45cb 03:56:56 ---> f768778375a1 03:56:56 [Warning] One or more build-args [ARCH] were not consumed 03:56:56 Successfully built f768778375a1 03:56:56 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 03:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:57 03:56:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:57 latest: Pulling from edgex-lftools-log-publisher 03:56:57 5eb5b503b376: Pulling fs layer 03:56:57 5c69ac0246d0: Pulling fs layer 03:56:57 ec43610c2a17: Pulling fs layer 03:56:57 3a2ae6a8a46f: Pulling fs layer 03:56:57 33b1e0a273af: Pulling fs layer 03:56:57 5d3b04190fa2: Pulling fs layer 03:56:57 2f39f015ded8: Pulling fs layer 03:56:57 33b1e0a273af: Waiting 03:56:57 2f39f015ded8: Waiting 03:56:57 5d3b04190fa2: Waiting 03:56:57 3a2ae6a8a46f: Waiting 03:56:57 5c69ac0246d0: Verifying Checksum 03:56:57 5c69ac0246d0: Download complete 03:56:57 3a2ae6a8a46f: Verifying Checksum 03:56:57 3a2ae6a8a46f: Download complete 03:56:57 33b1e0a273af: Verifying Checksum 03:56:57 33b1e0a273af: Download complete 03:56:57 5d3b04190fa2: Verifying Checksum 03:56:57 5d3b04190fa2: Download complete 03:56:57 ec43610c2a17: Verifying Checksum 03:56:57 ec43610c2a17: Download complete 03:56:57 5eb5b503b376: Download complete 03:56:58 2f39f015ded8: Download complete 03:56:58 5eb5b503b376: Pull complete 03:56:58 5c69ac0246d0: Pull complete 03:56:59 ec43610c2a17: Pull complete 03:56:59 3a2ae6a8a46f: Pull complete 03:56:59 33b1e0a273af: Pull complete 03:56:59 5d3b04190fa2: Pull complete 03:57:03 2f39f015ded8: Pull complete 03:57:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:57:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:03 prd-ubuntu20.04-docker-8c-8g-14423 does not seem to be running inside a container 03:57:03 $ 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-173 -v /w/workspace/edgexfoundry_device-gpio_PR-173:/w/workspace/edgexfoundry_device-gpio_PR-173:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-173@tmp:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:57:04 $ docker top 8ac9489a2590705932b34e1e508946abdb99dc531ff584731fd92a42ccdd6d1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:05 ---> job-cost.sh 03:57:05 lf-activate-venv: SKIPPING 03:57:05 INFO: No Stack... 03:57:05 INFO: Retrieving Pricing Info for: v3-standard-8 03:57:06 INFO: Archiving Costs [Pipeline] sh 03:57:06 + + cat /w/workspace/edgexfoundry_device-gpio_PR-173/archives/cost.csv 03:57:06 cut -d, -f6 [Pipeline] lock 03:57:06 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] 03:57:06 Resource [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] did not exist. Created. 03:57:06 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:57:06 + echo total: 0.2199999988079071 [Pipeline] stash 03:57:06 Stashed 1 file(s) [Pipeline] } 03:57:06 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:57:06 $ docker stop --time=1 8ac9489a2590705932b34e1e508946abdb99dc531ff584731fd92a42ccdd6d1c 03:57:08 $ docker rm -f --volumes 8ac9489a2590705932b34e1e508946abdb99dc531ff584731fd92a42ccdd6d1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:57:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14424 in /w/workspace/edgexfoundry_device-gpio_PR-173 [Pipeline] { [Pipeline] ws 03:57:15 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 03:57:15 The recommended git tool is: git 03:57:21 using credential edgex-jenkins-ssh 03:57:21 Cloning the remote Git repository 03:57:21 Cloning repository git@github.com:edgexfoundry/device-gpio.git 03:57:21 > git init /w/workspace/device-gpio/1 # timeout=10 03:57:21 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 03:57:21 > git --version # timeout=10 03:57:21 > git --version # 'git version 2.25.1' 03:57:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:23 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 03:57:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:24 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 03:57:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 03:57:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:57:24 Merging remotes/origin/main commit 4261d5835fa1c7b154f2687acc6f50b8a2a738f2 into PR head commit 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e 03:57:25 Merge succeeded, producing 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e 03:57:25 Checking out Revision 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e (PR-173) 03:57:24 > git config core.sparsecheckout # timeout=10 03:57:25 > git checkout -f 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e # timeout=10 03:57:25 > git remote # timeout=10 03:57:25 > git config --get remote.origin.url # timeout=10 03:57:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:25 > git merge 4261d5835fa1c7b154f2687acc6f50b8a2a738f2 # timeout=10 03:57:25 > git rev-parse HEAD^{commit} # timeout=10 03:57:25 > git config core.sparsecheckout # timeout=10 03:57:25 > git checkout -f 7bbd9980afc94b42b66d3a4f0522adf86ead6e9e # timeout=10 03:57:28 Commit message: "build: Ignore all go-mods except device-sdk-go" 03:57:28 > git --version # timeout=10 03:57:28 > git --version # 'git version 2.25.1' 03:57:28 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:57:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:57:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:57:29 Dload Upload Total Spent Left Speed 03:57:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 03:57:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:57:31 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 03:57:31 tee /etc/docker/daemon.new 03:57:31 { 03:57:31 "registry-mirrors": [ 03:57:31 "https://nexus3.edgexfoundry.org:10001" 03:57:31 ], 03:57:31 "bip": "10.250.0.254/24", 03:57:31 "hosts": [ 03:57:31 "tcp://0.0.0.0:5555", 03:57:31 "unix:///var/run/docker.sock" 03:57:31 ], 03:57:31 "mtu": 1458, 03:57:31 "selinux-enabled": true, 03:57:31 "seccomp-profile": "/etc/docker/seccomp.json" 03:57:31 } [Pipeline] sh 03:57:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:57:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:57:50 provisioning config files... 03:57:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2264912304688370801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:50 ---> docker-login.sh 03:57:50 nexus3.edgexfoundry.org:10001 03:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:51 Configure a credential helper to remove this warning. See 03:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:51 03:57:51 Login Succeeded 03:57:51 nexus3.edgexfoundry.org:10002 03:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:51 Configure a credential helper to remove this warning. See 03:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:51 03:57:51 Login Succeeded 03:57:51 nexus3.edgexfoundry.org:10003 03:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:51 Configure a credential helper to remove this warning. See 03:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:51 03:57:51 Login Succeeded 03:57:51 nexus3.edgexfoundry.org:10004 03:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:52 Configure a credential helper to remove this warning. See 03:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:52 03:57:52 Login Succeeded 03:57:52 docker.io 03:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:52 Configure a credential helper to remove this warning. See 03:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:52 03:57:52 Login Succeeded 03:57:52 ---> docker-login.sh ends [Pipeline] } 03:57:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:57:53 ========================================================= 03:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:53 + 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 . 03:57:53 Sending build context to Docker daemon 8.144MB 03:57:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:57:53 Step 2/12 : FROM ${BASE} AS builder 03:57:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:57:54 c41833b44d91: Pulling fs layer 03:57:54 ed15518f5707: Pulling fs layer 03:57:54 feae8fd75edb: Pulling fs layer 03:57:54 242c74f7c9fa: Pulling fs layer 03:57:54 3cdef696dda3: Pulling fs layer 03:57:54 2ced38df9373: Pulling fs layer 03:57:54 58f1dce35555: Pulling fs layer 03:57:54 3cdef696dda3: Waiting 03:57:54 2ced38df9373: Waiting 03:57:54 58f1dce35555: Waiting 03:57:54 242c74f7c9fa: Waiting 03:57:54 ed15518f5707: Download complete 03:57:54 242c74f7c9fa: Verifying Checksum 03:57:54 242c74f7c9fa: Download complete 03:57:54 3cdef696dda3: Verifying Checksum 03:57:54 3cdef696dda3: Download complete 03:57:54 c41833b44d91: Verifying Checksum 03:57:54 c41833b44d91: Download complete 03:57:55 c41833b44d91: Pull complete 03:57:55 58f1dce35555: Verifying Checksum 03:57:55 58f1dce35555: Download complete 03:57:57 feae8fd75edb: Verifying Checksum 03:57:57 feae8fd75edb: Download complete 03:57:57 2ced38df9373: Verifying Checksum 03:57:57 2ced38df9373: Download complete 03:57:57 ed15518f5707: Pull complete 03:58:10 feae8fd75edb: Pull complete 03:58:10 242c74f7c9fa: Pull complete 03:58:10 3cdef696dda3: Pull complete 03:58:15 2ced38df9373: Pull complete 03:58:17 58f1dce35555: Pull complete 03:58:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 03:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:58:17 ---> fadd8f120f05 03:58:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:58:19 ---> Running in 1c021edbee67 03:58:19 Removing intermediate container 1c021edbee67 03:58:19 ---> 820d107b2be4 03:58:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:58:19 ---> Running in 174414adde87 03:58:19 Removing intermediate container 174414adde87 03:58:19 ---> 19553d4ef905 03:58:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:58:19 ---> Running in 45d56d334665 03:58:20 Removing intermediate container 45d56d334665 03:58:20 ---> 1a82f7542d11 03:58:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:58:20 ---> Running in 795ca59baae0 03:58:20 Removing intermediate container 795ca59baae0 03:58:20 ---> 20b2d4f23401 03:58:20 Step 7/12 : WORKDIR /device-gpio 03:58:20 ---> Running in 0ca690f9c372 03:58:20 Removing intermediate container 0ca690f9c372 03:58:20 ---> a58b39b7aa62 03:58:20 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:20 ---> Running in 7e63e4ea250e 03:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:58:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:58:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:58:23 (2/4) Installing libedit (20221030.3.1-r0) 03:58:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:58:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:58:23 Executing busybox-1.35.0-r29.trigger 03:58:23 OK: 268 MiB in 57 packages 03:58:24 Removing intermediate container 7e63e4ea250e 03:58:24 ---> 25ec08c50344 03:58:24 Step 9/12 : COPY go.mod vendor* ./ 03:58:25 ---> 8796d1ea7301 03:58:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:25 ---> Running in 8f758a3df5f4 03:59:33 Removing intermediate container 8f758a3df5f4 03:59:33 ---> 4882b988401d 03:59:33 Step 11/12 : COPY . . 03:59:33 ---> 53e4d1250ecc 03:59:33 Step 12/12 : RUN ${MAKE} 03:59:33 ---> Running in 2a9ae8ed5da0 03:59:33 noop 03:59:33 Removing intermediate container 2a9ae8ed5da0 03:59:33 ---> f5cdc4edf53e 03:59:33 Successfully built f5cdc4edf53e 03:59:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:33 + docker inspect -f . ci-base-image-arm64 03:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:33 prd-ubuntu20.04-docker-arm64-4c-16g-14424 does not seem to be running inside a container 03:59:34 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:59:35 $ docker top 165f204bfcdc6999d3a00f123b63f8af5b9fac7496f3294c3d833b33fab46782 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:36 + go version 03:59:36 go version go1.20.2 linux/arm64 [Pipeline] } 03:59:36 $ docker stop --time=1 165f204bfcdc6999d3a00f123b63f8af5b9fac7496f3294c3d833b33fab46782 03:59:37 $ docker rm -f --volumes 165f204bfcdc6999d3a00f123b63f8af5b9fac7496f3294c3d833b33fab46782 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:38 + docker inspect -f . ci-base-image-arm64 03:59:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:38 prd-ubuntu20.04-docker-arm64-4c-16g-14424 does not seem to be running inside a container 03:59:39 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 03:59:40 $ docker top c553dc9f3df63aad00a7e394fcaaf690d597886d799cfe2c35e8d1969ed04954 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:41 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 03:59:41 + make test 03:59:41 go test ./... -coverprofile=coverage.out ./... 04:00:13 ? github.com/edgexfoundry/device-gpio [no test files] 04:01:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:01:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:01:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:01:50 go vet ./... 04:02:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:02:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:02:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:02:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:02:17 $ docker stop --time=1 c553dc9f3df63aad00a7e394fcaaf690d597886d799cfe2c35e8d1969ed04954 04:02:19 $ docker rm -f --volumes c553dc9f3df63aad00a7e394fcaaf690d597886d799cfe2c35e8d1969ed04954 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:20 Warning: overwriting stash ‘coverage-report’ 04:02:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:22 + ls -al . 04:02:22 total 152 04:02:22 drwxrwxr-x 8 jenkins jenkins 4096 May 8 03:59 . 04:02:22 drwxrwxr-x 4 jenkins jenkins 4096 May 8 03:57 .. 04:02:22 -rw-rw-r-- 1 jenkins jenkins 120 May 8 03:57 .dockerignore 04:02:22 drwxrwxr-x 8 jenkins jenkins 4096 May 8 03:57 .git 04:02:22 drwxrwxr-x 3 jenkins jenkins 4096 May 8 03:57 .github 04:02:22 -rw-rw-r-- 1 jenkins jenkins 343 May 8 03:57 .gitignore 04:02:22 -rw-rw-r-- 1 jenkins jenkins 41 May 8 03:57 .golangci.yml 04:02:22 -rw-rw-r-- 1 jenkins jenkins 9702 May 8 03:57 Attribution.txt 04:02:22 -rw-rw-r-- 1 jenkins jenkins 4069 May 8 03:57 CHANGELOG.md 04:02:22 -rw-rw-r-- 1 jenkins jenkins 1542 May 8 03:57 Dockerfile 04:02:22 -rw-rw-r-- 1 jenkins jenkins 677 May 8 03:57 GOVERNANCE.md 04:02:22 -rw-rw-r-- 1 jenkins jenkins 657 May 8 03:57 Jenkinsfile 04:02:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 03:57 LICENSE 04:02:22 -rw-rw-r-- 1 jenkins jenkins 1692 May 8 03:57 Makefile 04:02:22 -rw-rw-r-- 1 jenkins jenkins 617 May 8 03:57 OWNERS.md 04:02:22 -rw-rw-r-- 1 jenkins jenkins 11790 May 8 03:57 README.md 04:02:22 -rw-rw-r-- 1 jenkins jenkins 5 May 8 03:55 VERSION 04:02:22 drwxrwxr-x 2 jenkins jenkins 4096 May 8 03:57 bin 04:02:22 drwxrwxr-x 3 jenkins jenkins 4096 May 8 03:57 cmd 04:02:22 -rw-r--r-- 1 jenkins jenkins 10 May 8 03:59 coverage.out 04:02:22 -rw-rw-r-- 1 jenkins jenkins 3269 May 8 03:57 go.mod 04:02:22 -rw-rw-r-- 1 jenkins jenkins 31585 May 8 03:57 go.sum 04:02:22 drwxrwxr-x 3 jenkins jenkins 4096 May 8 03:57 internal 04:02:22 drwxrwxr-x 4 jenkins jenkins 4096 May 8 03:57 snap 04:02:22 -rw-rw-r-- 1 jenkins jenkins 209 May 8 03:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:22 + 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=7bbd9980afc94b42b66d3a4f0522adf86ead6e9e --label arch=arm64 --label version=0.0.0 . 04:02:23 Sending build context to Docker daemon 8.145MB 04:02:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:02:23 Step 2/25 : FROM ${BASE} AS builder 04:02:23 ---> f5cdc4edf53e 04:02:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:02:23 ---> Running in f498d63e2f6c 04:02:23 Removing intermediate container f498d63e2f6c 04:02:23 ---> 226a49572b25 04:02:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:23 ---> Running in 3b25cd291742 04:02:24 Removing intermediate container 3b25cd291742 04:02:24 ---> 7f8bd76421ab 04:02:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:02:24 ---> Running in ad316f19ff3f 04:02:24 Removing intermediate container ad316f19ff3f 04:02:24 ---> 948779aa9db3 04:02:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:02:24 ---> Running in 7c8aff2fc8f3 04:02:24 Removing intermediate container 7c8aff2fc8f3 04:02:24 ---> 9375f99f44f8 04:02:24 Step 7/25 : WORKDIR /device-gpio 04:02:24 ---> Running in 648b8c43f6c1 04:02:25 Removing intermediate container 648b8c43f6c1 04:02:25 ---> c0894c0bc74f 04:02:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:25 ---> Running in 039177ecf100 04:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:02:27 OK: 268 MiB in 57 packages 04:02:28 Removing intermediate container 039177ecf100 04:02:28 ---> a31e4b881951 04:02:28 Step 9/25 : COPY go.mod vendor* ./ 04:02:29 ---> 1942548a9e9b 04:02:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:29 ---> Running in a9f2490ab892 04:02:31 Removing intermediate container a9f2490ab892 04:02:31 ---> e40b0601aa1d 04:02:31 Step 11/25 : COPY . . 04:02:32 ---> f1892f44df00 04:02:32 Step 12/25 : RUN ${MAKE} 04:02:32 ---> Running in ed539bd5d204 04:02:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 04:04:40 Removing intermediate container ed539bd5d204 04:04:40 ---> dc07d16e9b1a 04:04:40 Step 13/25 : FROM alpine:3.17 04:04:40 3.17: Pulling from library/alpine 04:04:40 c41833b44d91: Already exists 04:04:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:04:40 Status: Downloaded newer image for alpine:3.17 04:04:40 ---> 51e60588ff2c 04:04:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:04:40 ---> Running in ed1a9b97db98 04:04:40 Removing intermediate container ed1a9b97db98 04:04:40 ---> 5c5dbd292887 04:04:40 Step 15/25 : RUN apk add --update --no-cache 04:04:40 ---> Running in d5813fcb6e5f 04:04:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:04:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:04:42 OK: 7 MiB in 15 packages 04:04:43 Removing intermediate container d5813fcb6e5f 04:04:43 ---> e3c563ce54bf 04:04:43 Step 16/25 : WORKDIR / 04:04:43 ---> Running in fc0fc575d73c 04:04:43 Removing intermediate container fc0fc575d73c 04:04:43 ---> 0a61cbf9a82d 04:04:43 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:04:44 ---> fee2fe8ffe7a 04:04:44 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:04:44 ---> 4be2684d56f5 04:04:44 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:04:46 ---> 265d48c48bdb 04:04:46 Step 20/25 : EXPOSE 59910 04:04:46 ---> Running in 5082c61069c2 04:04:46 Removing intermediate container 5082c61069c2 04:04:46 ---> fa3377f7c03b 04:04:46 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:04:46 ---> Running in 79443f9a0e45 04:04:46 Removing intermediate container 79443f9a0e45 04:04:46 ---> ac864001df0b 04:04:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:04:46 ---> Running in a90a42a10517 04:04:46 Removing intermediate container a90a42a10517 04:04:46 ---> ae7a83c56092 04:04:46 Step 23/25 : LABEL arch=arm64 04:04:46 ---> Running in 7e4bbb1074ec 04:04:47 Removing intermediate container 7e4bbb1074ec 04:04:47 ---> bc374642001f 04:04:47 Step 24/25 : LABEL git_sha=7bbd9980afc94b42b66d3a4f0522adf86ead6e9e 04:04:47 ---> Running in d93309845756 04:04:47 Removing intermediate container d93309845756 04:04:47 ---> e0c90a387f3c 04:04:47 Step 25/25 : LABEL version=0.0.0 04:04:47 ---> Running in abae2c1492e6 04:04:47 Removing intermediate container abae2c1492e6 04:04:47 ---> dc9732a304fc 04:04:47 [Warning] One or more build-args [ARCH] were not consumed 04:04:47 Successfully built dc9732a304fc 04:04:47 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:48 04:04:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:04:49 arm64: Pulling from edgex-lftools-log-publisher 04:04:49 8998bd30e6a1: Pulling fs layer 04:04:49 04944245beec: Pulling fs layer 04:04:49 699f458cf7ca: Pulling fs layer 04:04:49 765212b225bb: Pulling fs layer 04:04:49 f23df028b6ca: Pulling fs layer 04:04:49 d65c8cfc05b1: Pulling fs layer 04:04:49 2437ff75d9bd: Pulling fs layer 04:04:49 765212b225bb: Waiting 04:04:49 f23df028b6ca: Waiting 04:04:49 d65c8cfc05b1: Waiting 04:04:49 2437ff75d9bd: Waiting 04:04:49 04944245beec: Verifying Checksum 04:04:49 04944245beec: Download complete 04:04:49 765212b225bb: Verifying Checksum 04:04:49 765212b225bb: Download complete 04:04:49 f23df028b6ca: Verifying Checksum 04:04:49 f23df028b6ca: Download complete 04:04:49 d65c8cfc05b1: Verifying Checksum 04:04:49 d65c8cfc05b1: Download complete 04:04:49 699f458cf7ca: Verifying Checksum 04:04:49 699f458cf7ca: Download complete 04:04:49 8998bd30e6a1: Verifying Checksum 04:04:49 8998bd30e6a1: Download complete 04:04:51 2437ff75d9bd: Verifying Checksum 04:04:51 2437ff75d9bd: Download complete 04:04:53 8998bd30e6a1: Pull complete 04:04:54 04944245beec: Pull complete 04:04:55 699f458cf7ca: Pull complete 04:04:55 765212b225bb: Pull complete 04:04:56 f23df028b6ca: Pull complete 04:04:56 d65c8cfc05b1: Pull complete 04:05:11 2437ff75d9bd: Pull complete 04:05:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:05:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:05:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:11 prd-ubuntu20.04-docker-arm64-4c-16g-14424 does not seem to be running inside a container 04:05:11 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:05:14 $ docker top c8a295341f4942066245310f44dc0135f717591e24a1046ca49b3021632e1dc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:14 ---> job-cost.sh 04:05:15 lf-activate-venv: SKIPPING 04:05:15 INFO: No Stack... 04:05:15 INFO: Retrieving Pricing Info for: v3-standard-4 04:05:16 INFO: Archiving Costs [Pipeline] sh 04:05:16 + cat /w/workspace/device-gpio/1/archives/cost.csv 04:05:16 + cut -d, -f6 [Pipeline] lock 04:05:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] 04:05:16 Resource [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] did not exist. Created. 04:05:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:05:17 /w/workspace/device-gpio/1@tmp/durable-24e8b334/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:05:17 + echo total: 0.10999999940395355 [Pipeline] stash 04:05:17 Warning: overwriting stash ‘stack-cost’ 04:05:17 Stashed 1 file(s) [Pipeline] } 04:05:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:05:17 $ docker stop --time=1 c8a295341f4942066245310f44dc0135f717591e24a1046ca49b3021632e1dc4 04:05:19 $ docker rm -f --volumes c8a295341f4942066245310f44dc0135f717591e24a1046ca49b3021632e1dc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:05:20 provisioning config files... 04:05:20 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp/config5710586861135979938tmp [Pipeline] { [Pipeline] sh 04:05:20 + set +x 04:05:20 + curl -s https://codecov.io/bash 04:05:20 + bash -s -- 04:05:21 04:05:21 _____ _ 04:05:21 / ____| | | 04:05:21 | | ___ __| | ___ ___ _____ __ 04:05:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:05:21 | |___| (_) | (_| | __/ (_| (_) \ V / 04:05:21 \_____\___/ \__,_|\___|\___\___/ \_/ 04:05:21 Bash-1.0.6 04:05:21 04:05:21 04:05:21 ==> git version 2.25.1 found 04:05:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:05:21 Release-Date: 2020-01-08 04:05:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:05:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:05:21 ==> Jenkins CI detected. 04:05:21 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-173 04:05:21 project root: . 04:05:21 --> token set from env 04:05:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:05:21 ==> Running gcov in . (disable via -X gcov) 04:05:21 ==> Python coveragepy not found 04:05:21 ==> Searching for coverage reports in: 04:05:21 + . 04:05:21 -> Found 1 reports 04:05:21 ==> Detecting git/mercurial file structure 04:05:21 ==> Reading reports 04:05:21 + ./coverage.out bytes=10 04:05:21 ==> Appending adjustments 04:05:21 https://docs.codecov.io/docs/fixing-reports 04:05:21 + Found adjustments 04:05:21 ==> Gzipping contents 04:05:21 4.0K /tmp/codecov.GQvhgZ.gz 04:05:21 ==> Uploading reports 04:05:21 url: https://codecov.io 04:05:21 query: branch=PR-173&commit=7bbd9980afc94b42b66d3a4f0522adf86ead6e9e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=173&job=&cmd_args= 04:05:21 -> Pinging Codecov 04:05:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-173&commit=7bbd9980afc94b42b66d3a4f0522adf86ead6e9e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=173&job=&cmd_args= 04:05:21 -> Uploading to 04:05:21 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7bbd9980afc94b42b66d3a4f0522adf86ead6e9e/5e4e8c60-9b37-425b-94a1-9a07b3993f43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T040521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c814b38250d5d9f10f8447af443979cf3687580024cfa5fdc11916cb58507489 04:05:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:21 Dload Upload Total Spent Left Speed 04:05:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3016 --:--:-- --:--:-- --:--:-- 3004 04:05:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/7bbd9980afc94b42b66d3a4f0522adf86ead6e9e [Pipeline] } 04:05:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:05:23 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-173/archives ] 04:05:23 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-173/archives 04:05:23 total 16 04:05:23 drwxr-xr-x 3 root root 4096 May 8 03:57 . 04:05:23 drwxrwxr-x 10 jenkins jenkins 4096 May 8 03:57 .. 04:05:23 drwxr-xr-x 2 root root 4096 May 8 03:57 cost 04:05:23 -rw-r--r-- 1 root root 83 May 8 03:57 cost.csv 04:05:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-173/archives 04:05:23 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-173/archives 04:05:23 total 16 04:05:23 drwxr-xr-x 3 jenkins jenkins 4096 May 8 03:57 . 04:05:23 drwxrwxr-x 10 jenkins jenkins 4096 May 8 03:57 .. 04:05:23 drwxr-xr-x 2 jenkins jenkins 4096 May 8 03:57 cost 04:05:23 -rw-r--r-- 1 jenkins jenkins 83 May 8 03:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:05:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:05:24 ---> package-listing.sh 04:05:24 ++ facter osfamily 04:05:24 ++ tr '[:upper:]' '[:lower:]' 04:05:24 + OS_FAMILY=debian 04:05:24 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-173 04:05:24 + START_PACKAGES=/tmp/packages_start.txt 04:05:24 + END_PACKAGES=/tmp/packages_end.txt 04:05:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:05:24 + PACKAGES=/tmp/packages_start.txt 04:05:24 + '[' /w/workspace/edgexfoundry_device-gpio_PR-173 ']' 04:05:24 + PACKAGES=/tmp/packages_end.txt 04:05:24 + case "${OS_FAMILY}" in 04:05:24 + dpkg -l 04:05:24 + grep '^ii' 04:05:24 + '[' -f /tmp/packages_start.txt ']' 04:05:24 + '[' -f /tmp/packages_end.txt ']' 04:05:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:24 + '[' /w/workspace/edgexfoundry_device-gpio_PR-173 ']' 04:05:24 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-173/archives/ 04:05:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-173/archives/ [Pipeline] echo 04:05:24 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:05:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:25 prd-ubuntu20.04-docker-8c-8g-14423 does not seem to be running inside a container 04:05:25 $ 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-173/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-173 -v /w/workspace/edgexfoundry_device-gpio_PR-173:/w/workspace/edgexfoundry_device-gpio_PR-173:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-173@tmp:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:05:26 $ docker top 0452df552720a8150e73415756cf6ff5f373a6c3c8a2debe518d1331307208ef -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:26 + touch /tmp/pre-build-complete [Pipeline] sh 04:05:26 + mkdir -p /var/log/sysstat [Pipeline] sh 04:05:27 + ls /var/log/sa-host 04:05:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:27 provisioning config files... 04:05:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-173@tmp/config18331054903298599882tmp [Pipeline] { [Pipeline] echo 04:05:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:05:27 ---> create-netrc.sh [Pipeline] } 04:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:05:28 ---> python-tools-install.sh [Pipeline] echo 04:05:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:05:28 ---> sudo-logs.sh 04:05:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:05:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:05:28 ---> job-cost.sh 04:05:28 lf-activate-venv: SKIPPING 04:05:28 DEBUG: total: 0.2199999988079071 04:05:28 INFO: Retrieving Stack Cost... 04:05:29 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:29 INFO: Archiving Costs [Pipeline] echo 04:05:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:05:30 ---> logs-deploy.sh 04:05:30 lf-activate-venv: SKIPPING 04:05:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-173/1 04:05:30 INFO: archiving workspace using pattern(s): 04:05:30 Archives upload complete. 04:05:30 INFO: archiving logs to Nexus