Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80+15ac8934db983724a9e4ad688c07cba5566b1ed2 (5847851f4deb958bacff292522abed64f6c8d031) 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-ssh1712041809732157963.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-ssh11852851687740435630.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-183/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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2584214386867270730.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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6876296088870920178.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-ssh7345883005493671163.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-183/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-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17074308312994466066.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16888 in /w/workspace/edgexfoundry_device-gpio_PR-183 [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-183 # 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 15ac8934db983724a9e4ad688c07cba5566b1ed2 into PR head commit 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 Merge succeeded, producing 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 Checking out Revision 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 (PR-183) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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 00:50:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 # 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 15ac8934db983724a9e4ad688c07cba5566b1ed2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 # timeout=10 [Pipeline] withCredentials 00:50:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:50:29 ========================================================= 00:50:29 EdgeX Global Pipelines Version Info 00:50:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:50:30 ------------------- 00:50:30 stable info: 00:50:30 ------------------- 00:50:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:50:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:50:30 Message: update stable to v1.0.249 00:50:31 ------------------- 00:50:31 experimental info: 00:50:31 ------------------- 00:50:31 Commited By: **** collab-it+edgex@linuxfoundation.org 00:50:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:50:31 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:50:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bd1943 [Pipeline] echo 00:50:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:32 provisioning config files... 00:50:32 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-183@tmp/config6325908986465746389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:33 ---> docker-login.sh 00:50:33 nexus3.edgexfoundry.org:10001 00:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:33 Configure a credential helper to remove this warning. See 00:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:33 00:50:33 Login Succeeded 00:50:33 nexus3.edgexfoundry.org:10002 00:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:33 Configure a credential helper to remove this warning. See 00:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:33 00:50:33 Login Succeeded 00:50:33 nexus3.edgexfoundry.org:10003 00:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:33 Configure a credential helper to remove this warning. See 00:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:33 00:50:33 Login Succeeded 00:50:33 nexus3.edgexfoundry.org:10004 00:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:33 Configure a credential helper to remove this warning. See 00:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:33 00:50:33 Login Succeeded 00:50:33 docker.io 00:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:34 Configure a credential helper to remove this warning. See 00:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:34 00:50:34 Login Succeeded 00:50:34 ---> docker-login.sh ends [Pipeline] } 00:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:50:34 + git rev-list -1 --merges 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80~1..9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 [Pipeline] echo 00:50:34 -----------> git rev-list -1 --merges 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80~1..9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 [false] [Pipeline] sh 00:50:35 + git log --format=format:%s -1 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 [Pipeline] echo 00:50:35 ========================================================= 00:50:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:50:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:35 + git log --format=format:%s -1 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 [Pipeline] echo 00:50:35 [semverPrep] GIT_COMMIT: 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:50:35 [semverPrep] This is not a build commit. [Pipeline] sh 00:50:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:36 + grep -v github /etc/ssh/ssh_known_hosts 00:50:36 + [ -e /tmp/ssh_known_hosts ] 00:50:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:50:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:50:36 + sudo tee -a /etc/ssh/ssh_known_hosts 00:50:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:36 00:50:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:36 0.1.4: Pulling from edgex-devops/py-git-semver 00:50:36 b85a868b505f: Pulling fs layer 00:50:36 e2be974225ed: Pulling fs layer 00:50:36 339a4e72a1f5: Pulling fs layer 00:50:36 988bab9f4d93: Pulling fs layer 00:50:36 1469e6f7b9e6: Pulling fs layer 00:50:36 eaf3925da568: Pulling fs layer 00:50:36 bab4dde63d76: Pulling fs layer 00:50:36 bde34c3a00c8: Pulling fs layer 00:50:36 b352a97aabf1: Pulling fs layer 00:50:36 4872d77fe225: Pulling fs layer 00:50:36 5851b861e8e6: Pulling fs layer 00:50:36 bab4dde63d76: Waiting 00:50:36 bde34c3a00c8: Waiting 00:50:36 4872d77fe225: Waiting 00:50:36 5851b861e8e6: Waiting 00:50:36 1469e6f7b9e6: Waiting 00:50:36 eaf3925da568: Waiting 00:50:36 b352a97aabf1: Waiting 00:50:36 988bab9f4d93: Waiting 00:50:36 e2be974225ed: Download complete 00:50:36 988bab9f4d93: Download complete 00:50:37 1469e6f7b9e6: Verifying Checksum 00:50:37 1469e6f7b9e6: Download complete 00:50:37 eaf3925da568: Download complete 00:50:37 339a4e72a1f5: Verifying Checksum 00:50:37 339a4e72a1f5: Download complete 00:50:37 bde34c3a00c8: Verifying Checksum 00:50:37 bde34c3a00c8: Download complete 00:50:37 b352a97aabf1: Download complete 00:50:37 4872d77fe225: Verifying Checksum 00:50:37 4872d77fe225: Download complete 00:50:37 5851b861e8e6: Verifying Checksum 00:50:37 5851b861e8e6: Download complete 00:50:37 b85a868b505f: Verifying Checksum 00:50:37 b85a868b505f: Download complete 00:50:37 bab4dde63d76: Verifying Checksum 00:50:37 bab4dde63d76: Download complete 00:50:38 b85a868b505f: Pull complete 00:50:38 e2be974225ed: Pull complete 00:50:38 339a4e72a1f5: Pull complete 00:50:39 988bab9f4d93: Pull complete 00:50:39 1469e6f7b9e6: Pull complete 00:50:39 eaf3925da568: Pull complete 00:50:41 bab4dde63d76: Pull complete 00:50:41 bde34c3a00c8: Pull complete 00:50:41 b352a97aabf1: Pull complete 00:50:42 4872d77fe225: Pull complete 00:50:42 5851b861e8e6: Pull complete 00:50:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:50:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:42 prd-ubuntu20.04-docker-8c-8g-16888 does not seem to be running inside a container 00:50:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-183 -v /w/workspace/edgexfoundry_device-gpio_PR-183:/w/workspace/edgexfoundry_device-gpio_PR-183:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-183@tmp:/w/workspace/edgexfoundry_device-gpio_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:50:46 $ docker top d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd -eo pid,comm 00:50:46 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). 00:50:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:46 [ssh-agent] Looking for ssh-agent implementation... 00:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:46 $ docker exec d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd ssh-agent 00:50:46 SSH_AUTH_SOCK=/tmp/ssh-APd2VAukduh0/agent.32 00:50:46 SSH_AGENT_PID=38 00:50:46 Running ssh-add (command line suppressed) 00:50:46 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-183@tmp/private_key_11873149034009003860.key (/w/workspace/edgexfoundry_device-gpio_PR-183@tmp/private_key_11873149034009003860.key) 00:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:47 + git tag --points-at HEAD [Pipeline] } 00:50:47 $ docker exec --env ******** --env ******** d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd ssh-agent -k 00:50:47 unset SSH_AUTH_SOCK; 00:50:47 unset SSH_AGENT_PID; 00:50:47 echo Agent pid 38 killed; 00:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:50:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:47 [ssh-agent] Looking for ssh-agent implementation... 00:50:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:47 $ docker exec d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd ssh-agent 00:50:47 SSH_AUTH_SOCK=/tmp/ssh-0uykogcOdhwb/agent.70 00:50:47 SSH_AGENT_PID=76 00:50:47 Running ssh-add (command line suppressed) 00:50:47 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-183@tmp/private_key_4959769096676649296.key (/w/workspace/edgexfoundry_device-gpio_PR-183@tmp/private_key_4959769096676649296.key) 00:50:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:48 + git semver init 00:50:48 2023-05-25 00:50:48,295 [run_init] DEBUG init version:0.0.0 force:False 00:50:48 2023-05-25 00:50:48,296 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-183/.semver 00:50:48 2023-05-25 00:50:48,296 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-183/.semver 00:50:48 2023-05-25 00:50:48,297 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-183/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-183, universal_newlines=False, shell=None, istream=None) 00:50:49 2023-05-25 00:50:49,164 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-183/.git/info/exclude 00:50:49 2023-05-25 00:50:49,165 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-183/.semver/PR-183 with force:False 00:50:49 2023-05-25 00:50:49,165 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-183/.semver/PR-183 00:50:49 2023-05-25 00:50:49,169 [execute] INFO git cat-file --batch-check 00:50:49 2023-05-25 00:50:49,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-183/.semver, universal_newlines=False, shell=None, istream=) 00:50:49 2023-05-25 00:50:49,177 [execute] INFO git cat-file --batch 00:50:49 2023-05-25 00:50:49,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-183/.semver, universal_newlines=False, shell=None, istream=) 00:50:49 2023-05-25 00:50:49,184 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-183/.semver/PR-183 00:50:49 0.0.0 [Pipeline] } 00:50:49 $ docker exec --env ******** --env ******** d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd ssh-agent -k 00:50:49 unset SSH_AUTH_SOCK; 00:50:49 unset SSH_AGENT_PID; 00:50:49 echo Agent pid 76 killed; 00:50:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:49 + git semver [Pipeline] } 00:50:50 $ docker stop --time=1 d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd 00:50:51 $ docker rm -f --volumes d9a7609bc84bf68c5323c8c38e020291cc3eb97cfd77dbe464c36ca3734468fd [Pipeline] // withDockerContainer [Pipeline] sh 00:50:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:50:52 Stashed 1 file(s) [Pipeline] echo 00:50:52 [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 00:50:52 provisioning config files... 00:50:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-183@tmp/config2315610352845844620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:53 ---> docker-login.sh 00:50:53 nexus3.edgexfoundry.org:10001 00:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:53 Configure a credential helper to remove this warning. See 00:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:53 00:50:53 Login Succeeded 00:50:53 nexus3.edgexfoundry.org:10002 00:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:53 Configure a credential helper to remove this warning. See 00:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:53 00:50:53 Login Succeeded 00:50:53 nexus3.edgexfoundry.org:10003 00:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:53 Configure a credential helper to remove this warning. See 00:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:53 00:50:53 Login Succeeded 00:50:53 nexus3.edgexfoundry.org:10004 00:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:53 Configure a credential helper to remove this warning. See 00:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:53 00:50:53 Login Succeeded 00:50:53 docker.io 00:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:53 Configure a credential helper to remove this warning. See 00:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:53 00:50:53 Login Succeeded 00:50:53 ---> docker-login.sh ends [Pipeline] } 00:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:54 ========================================================= 00:50:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:50:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:54 + 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 . 00:50:54 Sending build context to Docker daemon 16.1MB 00:50:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:50:54 Step 2/12 : FROM ${BASE} AS builder 00:50:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:50:54 f56be85fc22e: Pulling fs layer 00:50:54 85791d961cd3: Pulling fs layer 00:50:54 d694b5ae8c79: Pulling fs layer 00:50:54 9f32a84ed3da: Pulling fs layer 00:50:54 4d19c01a9841: Pulling fs layer 00:50:54 9325e15d5711: Pulling fs layer 00:50:54 556b6ee489ea: Pulling fs layer 00:50:54 c5a4b2cf53e6: Pulling fs layer 00:50:54 9325e15d5711: Waiting 00:50:54 9f32a84ed3da: Waiting 00:50:54 4d19c01a9841: Waiting 00:50:54 85791d961cd3: Download complete 00:50:54 9f32a84ed3da: Download complete 00:50:54 4d19c01a9841: Verifying Checksum 00:50:54 4d19c01a9841: Download complete 00:50:54 f56be85fc22e: Verifying Checksum 00:50:54 f56be85fc22e: Download complete 00:50:54 9325e15d5711: Verifying Checksum 00:50:54 9325e15d5711: Download complete 00:50:54 f56be85fc22e: Pull complete 00:50:55 85791d961cd3: Pull complete 00:50:55 c5a4b2cf53e6: Verifying Checksum 00:50:55 c5a4b2cf53e6: Download complete 00:50:55 d694b5ae8c79: Verifying Checksum 00:50:55 d694b5ae8c79: Download complete 00:50:55 556b6ee489ea: Verifying Checksum 00:50:55 556b6ee489ea: Download complete 00:50:58 d694b5ae8c79: Pull complete 00:50:58 9f32a84ed3da: Pull complete 00:50:58 4d19c01a9841: Pull complete 00:50:58 9325e15d5711: Pull complete 00:51:01 556b6ee489ea: Pull complete 00:51:02 c5a4b2cf53e6: Pull complete 00:51:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:51:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:51:02 ---> c4be618373d6 00:51:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:51:07 Still waiting to schedule task 00:51:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:51:15 ---> Running in 851ed7203051 00:51:15 Removing intermediate container 851ed7203051 00:51:15 ---> 0e0d3e02e677 00:51:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:15 ---> Running in 4ece9b296509 00:51:15 Removing intermediate container 4ece9b296509 00:51:15 ---> 46a8b002b0d7 00:51:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:51:15 ---> Running in bf1df2eb8c49 00:51:15 Removing intermediate container bf1df2eb8c49 00:51:15 ---> c5d7ba2ed73a 00:51:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:51:15 ---> Running in 141a07230cef 00:51:15 Removing intermediate container 141a07230cef 00:51:15 ---> 12db3cad2b60 00:51:15 Step 7/12 : WORKDIR /device-gpio 00:51:15 ---> Running in 64a0b8d38c99 00:51:15 Removing intermediate container 64a0b8d38c99 00:51:15 ---> 0efdf5b070bb 00:51:15 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:15 ---> Running in 6ff1ad76edf8 00:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:51:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:51:15 (2/4) Installing libedit (20221030.3.1-r0) 00:51:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:51:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:51:15 Executing busybox-1.35.0-r29.trigger 00:51:15 OK: 269 MiB in 57 packages 00:51:15 Removing intermediate container 6ff1ad76edf8 00:51:15 ---> 0690cab7b85e 00:51:15 Step 9/12 : COPY go.mod vendor* ./ 00:51:15 ---> 53671da4b7bc 00:51:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:15 ---> Running in ac88b8b61ffd 00:52:02 Removing intermediate container ac88b8b61ffd 00:52:02 ---> 9d0268fff742 00:52:02 Step 11/12 : COPY . . 00:52:02 ---> f2b1a20d6e95 00:52:02 Step 12/12 : RUN ${MAKE} 00:52:02 ---> Running in 2a26dae9fc15 00:52:02 noop 00:52:02 Removing intermediate container 2a26dae9fc15 00:52:02 ---> 42d9aefc88c8 00:52:02 Successfully built 42d9aefc88c8 00:52:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:02 + docker inspect -f . ci-base-image-x86_64 00:52:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:02 prd-ubuntu20.04-docker-8c-8g-16888 does not seem to be running inside a container 00:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-183 -v /w/workspace/edgexfoundry_device-gpio_PR-183:/w/workspace/edgexfoundry_device-gpio_PR-183:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-183@tmp:/w/workspace/edgexfoundry_device-gpio_PR-183@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 ******** ci-base-image-x86_64 cat 00:52:03 $ docker top 399a0f9548d462a665a1d5d71d76bcc97c877fac5391e3e232c3a23bc2a7efb6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:03 + go version 00:52:03 go version go1.20.2 linux/amd64 [Pipeline] } 00:52:03 $ docker stop --time=1 399a0f9548d462a665a1d5d71d76bcc97c877fac5391e3e232c3a23bc2a7efb6 00:52:04 $ docker rm -f --volumes 399a0f9548d462a665a1d5d71d76bcc97c877fac5391e3e232c3a23bc2a7efb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:05 + docker inspect -f . ci-base-image-x86_64 00:52:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:05 prd-ubuntu20.04-docker-8c-8g-16888 does not seem to be running inside a container 00:52:05 $ 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-183 -v /w/workspace/edgexfoundry_device-gpio_PR-183:/w/workspace/edgexfoundry_device-gpio_PR-183:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-183@tmp:/w/workspace/edgexfoundry_device-gpio_PR-183@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 ******** ci-base-image-x86_64 cat 00:52:05 $ docker top 3de73c3abba42fbf63aaa2961c2f44afa747260fc5748fef4b1cf0eb466c5b3a -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-183 [Pipeline] fileExists [Pipeline] sh 00:52:06 + make test 00:52:06 go test ./... -coverprofile=coverage.out ./... 00:52:10 ? github.com/edgexfoundry/device-gpio [no test files] 00:52:21 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:52:21 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:52:25 go vet ./... 00:52:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:52:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:52:29 ./bin/test-attribution-txt.sh [Pipeline] echo 00:52:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:52:29 $ docker stop --time=1 3de73c3abba42fbf63aaa2961c2f44afa747260fc5748fef4b1cf0eb466c5b3a 00:52:33 $ docker rm -f --volumes 3de73c3abba42fbf63aaa2961c2f44afa747260fc5748fef4b1cf0eb466c5b3a [Pipeline] // withDockerContainer [Pipeline] sh 00:52:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:52:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:52:34 + ls -al . 00:52:34 total 156 00:52:34 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:52 . 00:52:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:50 .. 00:52:34 -rw-rw-r-- 1 jenkins jenkins 120 May 25 00:50 .dockerignore 00:52:34 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:50 .git 00:52:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:50 .github 00:52:34 -rw-rw-r-- 1 jenkins jenkins 343 May 25 00:50 .gitignore 00:52:34 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:50 .golangci.yml 00:52:34 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:50 .semver 00:52:34 -rw-rw-r-- 1 jenkins jenkins 9702 May 25 00:50 Attribution.txt 00:52:34 -rw-rw-r-- 1 jenkins jenkins 4069 May 25 00:50 CHANGELOG.md 00:52:34 -rw-rw-r-- 1 jenkins jenkins 1542 May 25 00:50 Dockerfile 00:52:34 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:50 GOVERNANCE.md 00:52:34 -rw-rw-r-- 1 jenkins jenkins 657 May 25 00:50 Jenkinsfile 00:52:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:50 LICENSE 00:52:34 -rw-rw-r-- 1 jenkins jenkins 1692 May 25 00:50 Makefile 00:52:34 -rw-rw-r-- 1 jenkins jenkins 617 May 25 00:50 OWNERS.md 00:52:34 -rw-rw-r-- 1 jenkins jenkins 11790 May 25 00:50 README.md 00:52:34 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:50 VERSION 00:52:34 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:50 bin 00:52:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:50 cmd 00:52:34 -rw-r--r-- 1 jenkins jenkins 10 May 25 00:52 coverage.out 00:52:34 -rw-rw-r-- 1 jenkins jenkins 3221 May 25 00:50 go.mod 00:52:34 -rw-rw-r-- 1 jenkins jenkins 31489 May 25 00:50 go.sum 00:52:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:50 internal 00:52:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:50 snap 00:52:34 -rw-rw-r-- 1 jenkins jenkins 209 May 25 00:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:35 + 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=9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 --label arch=amd64 --label version=0.0.0 . 00:52:35 Sending build context to Docker daemon 16.11MB 00:52:35 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:52:35 Step 2/25 : FROM ${BASE} AS builder 00:52:35 ---> 42d9aefc88c8 00:52:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:52:35 ---> Running in 497ebee5d68a 00:52:35 Removing intermediate container 497ebee5d68a 00:52:35 ---> 566b6d3d65c9 00:52:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:35 ---> Running in d34a41dfc856 00:52:35 Removing intermediate container d34a41dfc856 00:52:35 ---> 8b7df8fc59c2 00:52:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:52:35 ---> Running in 40dce5e5325e 00:52:35 Removing intermediate container 40dce5e5325e 00:52:35 ---> bb428488ce5d 00:52:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:52:35 ---> Running in 3801ecd48cbb 00:52:36 Removing intermediate container 3801ecd48cbb 00:52:36 ---> d8a964e79cb6 00:52:36 Step 7/25 : WORKDIR /device-gpio 00:52:36 ---> Running in 0cd8068a8da3 00:52:36 Removing intermediate container 0cd8068a8da3 00:52:36 ---> c0ebad192634 00:52:36 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:52:36 ---> Running in 0010a4829057 00:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:52:36 OK: 269 MiB in 57 packages 00:52:37 Removing intermediate container 0010a4829057 00:52:37 ---> c1f1027353f5 00:52:37 Step 9/25 : COPY go.mod vendor* ./ 00:52:37 ---> 88b126617a7c 00:52:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:52:37 ---> Running in 22481aef19f1 00:52:38 Removing intermediate container 22481aef19f1 00:52:38 ---> b0d3fc968133 00:52:38 Step 11/25 : COPY . . 00:52:38 ---> 597a2877d078 00:52:38 Step 12/25 : RUN ${MAKE} 00:52:38 ---> Running in f766988774da 00:52:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:53:00 Removing intermediate container f766988774da 00:53:00 ---> 8886dfbb5c12 00:53:00 Step 13/25 : FROM alpine:3.17 00:53:00 3.17: Pulling from library/alpine 00:53:00 f56be85fc22e: Already exists 00:53:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:53:00 Status: Downloaded newer image for alpine:3.17 00:53:00 ---> 9ed4aefc74f6 00:53:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:53:00 ---> Running in fbba5cc43e8f 00:53:00 Removing intermediate container fbba5cc43e8f 00:53:00 ---> 0608df9a0a3a 00:53:00 Step 15/25 : RUN apk add --update --no-cache 00:53:00 ---> Running in 5c4dbfd738e5 00:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:53:00 OK: 7 MiB in 15 packages 00:53:00 Removing intermediate container 5c4dbfd738e5 00:53:00 ---> 56230a0e02ed 00:53:00 Step 16/25 : WORKDIR / 00:53:00 ---> Running in 7e30dae2250b 00:53:00 Removing intermediate container 7e30dae2250b 00:53:00 ---> eeffb7e6308d 00:53:00 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:53:00 ---> b8fb12db3d7d 00:53:00 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:53:00 ---> 3d0daa34308a 00:53:00 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:53:00 ---> 2eaba4723a5b 00:53:00 Step 20/25 : EXPOSE 59910 00:53:01 ---> Running in faafd729e051 00:53:01 Removing intermediate container faafd729e051 00:53:01 ---> cfc3c7c5c2ed 00:53:01 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:53:01 ---> Running in da2e5bb3c860 00:53:01 Removing intermediate container da2e5bb3c860 00:53:01 ---> 25e229784e0b 00:53:01 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:53:01 ---> Running in c4d1409eff87 00:53:01 Removing intermediate container c4d1409eff87 00:53:01 ---> 202e0ab16208 00:53:01 Step 23/25 : LABEL arch=amd64 00:53:01 ---> Running in 1d8f64896a49 00:53:01 Removing intermediate container 1d8f64896a49 00:53:01 ---> 8edab8316b2b 00:53:01 Step 24/25 : LABEL git_sha=9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 00:53:01 ---> Running in c722c4225e3a 00:53:01 Removing intermediate container c722c4225e3a 00:53:01 ---> 036041d30435 00:53:01 Step 25/25 : LABEL version=0.0.0 00:53:01 ---> Running in e61920f4500a 00:53:01 Removing intermediate container e61920f4500a 00:53:01 ---> eb6cafc62abb 00:53:01 [Warning] One or more build-args [ARCH] were not consumed 00:53:01 Successfully built eb6cafc62abb 00:53:01 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 00:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:02 00:53:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:03 latest: Pulling from edgex-lftools-log-publisher 00:53:03 5eb5b503b376: Pulling fs layer 00:53:03 5c69ac0246d0: Pulling fs layer 00:53:03 ec43610c2a17: Pulling fs layer 00:53:03 3a2ae6a8a46f: Pulling fs layer 00:53:03 33b1e0a273af: Pulling fs layer 00:53:03 5d3b04190fa2: Pulling fs layer 00:53:03 2f39f015ded8: Pulling fs layer 00:53:03 3a2ae6a8a46f: Waiting 00:53:03 33b1e0a273af: Waiting 00:53:03 5d3b04190fa2: Waiting 00:53:03 2f39f015ded8: Waiting 00:53:03 5c69ac0246d0: Download complete 00:53:03 3a2ae6a8a46f: Verifying Checksum 00:53:03 3a2ae6a8a46f: Download complete 00:53:03 ec43610c2a17: Verifying Checksum 00:53:03 ec43610c2a17: Download complete 00:53:03 33b1e0a273af: Verifying Checksum 00:53:03 33b1e0a273af: Download complete 00:53:03 5d3b04190fa2: Verifying Checksum 00:53:03 5d3b04190fa2: Download complete 00:53:03 5eb5b503b376: Verifying Checksum 00:53:03 5eb5b503b376: Download complete 00:53:04 2f39f015ded8: Download complete 00:53:05 5eb5b503b376: Pull complete 00:53:05 5c69ac0246d0: Pull complete 00:53:06 ec43610c2a17: Pull complete 00:53:06 3a2ae6a8a46f: Pull complete 00:53:06 33b1e0a273af: Pull complete 00:53:06 5d3b04190fa2: Pull complete 00:53:10 2f39f015ded8: Pull complete 00:53:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:10 prd-ubuntu20.04-docker-8c-8g-16888 does not seem to be running inside a container 00:53:10 $ 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-183 -v /w/workspace/edgexfoundry_device-gpio_PR-183:/w/workspace/edgexfoundry_device-gpio_PR-183:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-183@tmp:/w/workspace/edgexfoundry_device-gpio_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:53:15 $ docker top 9eb4531ef016f15afb6a443d56236b48019b6c6895ba888f87900308ef21f6da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:15 ---> job-cost.sh 00:53:15 lf-activate-venv: SKIPPING 00:53:15 INFO: No Stack... 00:53:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:53:16 INFO: Archiving Costs [Pipeline] sh 00:53:17 + cat /w/workspace/edgexfoundry_device-gpio_PR-183/archives/cost.csv 00:53:17 + cut -d, -f6 [Pipeline] lock 00:53:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] 00:53:17 Resource [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] did not exist. Created. 00:53:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:53:17 + echo total: 0.2199999988079071 [Pipeline] stash 00:53:17 Stashed 1 file(s) [Pipeline] } 00:53:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:53:17 $ docker stop --time=1 9eb4531ef016f15afb6a443d56236b48019b6c6895ba888f87900308ef21f6da 00:53:18 $ docker rm -f --volumes 9eb4531ef016f15afb6a443d56236b48019b6c6895ba888f87900308ef21f6da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:54:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16892 in /w/workspace/edgexfoundry_device-gpio_PR-183 [Pipeline] { [Pipeline] ws 00:54:22 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:54:22 The recommended git tool is: git 00:54:30 using credential edgex-jenkins-ssh 00:54:30 Cloning the remote Git repository 00:54:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:54:30 > git init /w/workspace/device-gpio/1 # timeout=10 00:54:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:54:31 > git --version # timeout=10 00:54:31 > git --version # 'git version 2.25.1' 00:54:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:54:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:34 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:54:34 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:54:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:54:34 Merging remotes/origin/main commit 15ac8934db983724a9e4ad688c07cba5566b1ed2 into PR head commit 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 00:54:35 Merge succeeded, producing 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 00:54:35 Checking out Revision 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 (PR-183) 00:54:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 00:54:36 > git --version # timeout=10 00:54:36 > git --version # 'git version 2.25.1' 00:54:36 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:54:34 > git config core.sparsecheckout # timeout=10 00:54:35 > git checkout -f 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 # timeout=10 00:54:35 > git remote # timeout=10 00:54:35 > git config --get remote.origin.url # timeout=10 00:54:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:35 > git merge 15ac8934db983724a9e4ad688c07cba5566b1ed2 # timeout=10 00:54:35 > git rev-parse HEAD^{commit} # timeout=10 00:54:35 > git config core.sparsecheckout # timeout=10 00:54:35 > git checkout -f 9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:54:37 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:37 Dload Upload Total Spent Left Speed 00:54:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 00:54:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:54:38 + sudo tee /etc/docker/daemon.new 00:54:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:54:38 { 00:54:38 "registry-mirrors": [ 00:54:38 "https://nexus3.edgexfoundry.org:10001" 00:54:38 ], 00:54:38 "bip": "10.250.0.254/24", 00:54:38 "hosts": [ 00:54:38 "tcp://0.0.0.0:5555", 00:54:38 "unix:///var/run/docker.sock" 00:54:38 ], 00:54:38 "mtu": 1458, 00:54:38 "selinux-enabled": true, 00:54:38 "seccomp-profile": "/etc/docker/seccomp.json" 00:54:38 } [Pipeline] sh 00:54:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:54:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:57 provisioning config files... 00:54:57 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config12998211105632623679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:57 ---> docker-login.sh 00:54:57 nexus3.edgexfoundry.org:10001 00:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:58 Configure a credential helper to remove this warning. See 00:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:58 00:54:58 Login Succeeded 00:54:58 nexus3.edgexfoundry.org:10002 00:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:59 Configure a credential helper to remove this warning. See 00:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:59 00:54:59 Login Succeeded 00:54:59 nexus3.edgexfoundry.org:10003 00:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:59 Configure a credential helper to remove this warning. See 00:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:59 00:54:59 Login Succeeded 00:54:59 nexus3.edgexfoundry.org:10004 00:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:59 Configure a credential helper to remove this warning. See 00:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:59 00:54:59 Login Succeeded 00:54:59 docker.io 00:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:00 Configure a credential helper to remove this warning. See 00:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:00 00:55:00 Login Succeeded 00:55:00 ---> docker-login.sh ends [Pipeline] } 00:55:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:01 ========================================================= 00:55:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:55:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:01 + 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 . 00:55:01 Sending build context to Docker daemon 8.137MB 00:55:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:55:01 Step 2/12 : FROM ${BASE} AS builder 00:55:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:55:02 c41833b44d91: Pulling fs layer 00:55:02 ed15518f5707: Pulling fs layer 00:55:02 feae8fd75edb: Pulling fs layer 00:55:02 242c74f7c9fa: Pulling fs layer 00:55:02 3cdef696dda3: Pulling fs layer 00:55:02 2ced38df9373: Pulling fs layer 00:55:02 58f1dce35555: Pulling fs layer 00:55:02 3cdef696dda3: Waiting 00:55:02 2ced38df9373: Waiting 00:55:02 242c74f7c9fa: Waiting 00:55:02 58f1dce35555: Waiting 00:55:02 ed15518f5707: Verifying Checksum 00:55:02 ed15518f5707: Download complete 00:55:02 242c74f7c9fa: Verifying Checksum 00:55:02 242c74f7c9fa: Download complete 00:55:02 3cdef696dda3: Verifying Checksum 00:55:02 3cdef696dda3: Download complete 00:55:02 c41833b44d91: Download complete 00:55:03 58f1dce35555: Verifying Checksum 00:55:03 58f1dce35555: Download complete 00:55:05 feae8fd75edb: Verifying Checksum 00:55:05 feae8fd75edb: Download complete 00:55:05 2ced38df9373: Verifying Checksum 00:55:05 c41833b44d91: Pull complete 00:55:06 ed15518f5707: Pull complete 00:55:16 feae8fd75edb: Pull complete 00:55:16 242c74f7c9fa: Pull complete 00:55:16 3cdef696dda3: Pull complete 00:55:23 2ced38df9373: Pull complete 00:55:26 58f1dce35555: Pull complete 00:55:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:55:26 ---> fadd8f120f05 00:55:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:55:28 ---> Running in d8d6ce97943d 00:55:28 Removing intermediate container d8d6ce97943d 00:55:28 ---> 19716d3af9b6 00:55:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:28 ---> Running in cc824f8e0082 00:55:29 Removing intermediate container cc824f8e0082 00:55:29 ---> 55011898ecc5 00:55:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:55:29 ---> Running in 9b543e7e87ba 00:55:29 Removing intermediate container 9b543e7e87ba 00:55:29 ---> 74c38e7a2044 00:55:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:55:29 ---> Running in 7cb3a9817610 00:55:29 Removing intermediate container 7cb3a9817610 00:55:29 ---> 67be430364dc 00:55:29 Step 7/12 : WORKDIR /device-gpio 00:55:29 ---> Running in 633ec251e8ea 00:55:30 Removing intermediate container 633ec251e8ea 00:55:30 ---> ffa5dd6d9d27 00:55:30 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:30 ---> Running in 7b4207062469 00:55:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:55:33 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:55:33 (2/4) Installing libedit (20221030.3.1-r0) 00:55:33 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:55:33 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:55:33 Executing busybox-1.35.0-r29.trigger 00:55:33 OK: 268 MiB in 57 packages 00:55:34 Removing intermediate container 7b4207062469 00:55:34 ---> 918a5390c253 00:55:34 Step 9/12 : COPY go.mod vendor* ./ 00:55:35 ---> ad7d5eebe05d 00:55:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:35 ---> Running in a7623126bfe0 00:56:43 Removing intermediate container a7623126bfe0 00:56:43 ---> d696f31aee4d 00:56:43 Step 11/12 : COPY . . 00:56:43 ---> b1c490336527 00:56:43 Step 12/12 : RUN ${MAKE} 00:56:43 ---> Running in f52f4b61faf8 00:56:43 noop 00:56:44 Removing intermediate container f52f4b61faf8 00:56:44 ---> 7d0f9107cf4f 00:56:44 Successfully built 7d0f9107cf4f 00:56:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:44 + docker inspect -f . ci-base-image-arm64 00:56:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:45 prd-ubuntu20.04-docker-arm64-4c-16g-16892 does not seem to be running inside a container 00:56:45 $ 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 ******** ci-base-image-arm64 cat 00:56:46 $ docker top e2317a284aff1f3c5ae19232aa485dc9f0f777c1a4668e179568a50f912f5cf5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:47 + go version 00:56:47 go version go1.20.2 linux/arm64 [Pipeline] } 00:56:47 $ docker stop --time=1 e2317a284aff1f3c5ae19232aa485dc9f0f777c1a4668e179568a50f912f5cf5 00:56:49 $ docker rm -f --volumes e2317a284aff1f3c5ae19232aa485dc9f0f777c1a4668e179568a50f912f5cf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:50 + docker inspect -f . ci-base-image-arm64 00:56:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:50 prd-ubuntu20.04-docker-arm64-4c-16g-16892 does not seem to be running inside a container 00:56:50 $ 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 ******** ci-base-image-arm64 cat 00:56:51 $ docker top df8d3e68561ea7b40563e536b48c27cbae16e4f950363817ee2ff39153d5745e -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:52 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:56:53 + make test 00:56:53 go test ./... -coverprofile=coverage.out ./... 00:57:32 ? github.com/edgexfoundry/device-gpio [no test files] 01:00:09 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:00:09 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:00:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:00:09 go vet ./... 01:00:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:00:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:00:31 ./bin/test-attribution-txt.sh [Pipeline] echo 01:00:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:00:31 $ docker stop --time=1 df8d3e68561ea7b40563e536b48c27cbae16e4f950363817ee2ff39153d5745e 01:00:33 $ docker rm -f --volumes df8d3e68561ea7b40563e536b48c27cbae16e4f950363817ee2ff39153d5745e [Pipeline] // withDockerContainer [Pipeline] sh 01:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:00:34 Warning: overwriting stash ‘coverage-report’ 01:00:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:00:36 + ls -al . 01:00:36 total 152 01:00:36 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:56 . 01:00:36 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:54 .. 01:00:36 -rw-rw-r-- 1 jenkins jenkins 120 May 25 00:54 .dockerignore 01:00:36 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:54 .git 01:00:36 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:54 .github 01:00:36 -rw-rw-r-- 1 jenkins jenkins 343 May 25 00:54 .gitignore 01:00:36 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:54 .golangci.yml 01:00:36 -rw-rw-r-- 1 jenkins jenkins 9702 May 25 00:54 Attribution.txt 01:00:36 -rw-rw-r-- 1 jenkins jenkins 4069 May 25 00:54 CHANGELOG.md 01:00:36 -rw-rw-r-- 1 jenkins jenkins 1542 May 25 00:54 Dockerfile 01:00:36 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:54 GOVERNANCE.md 01:00:36 -rw-rw-r-- 1 jenkins jenkins 657 May 25 00:54 Jenkinsfile 01:00:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:54 LICENSE 01:00:36 -rw-rw-r-- 1 jenkins jenkins 1692 May 25 00:54 Makefile 01:00:36 -rw-rw-r-- 1 jenkins jenkins 617 May 25 00:54 OWNERS.md 01:00:36 -rw-rw-r-- 1 jenkins jenkins 11790 May 25 00:54 README.md 01:00:36 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:50 VERSION 01:00:36 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:54 bin 01:00:36 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:54 cmd 01:00:36 -rw-r--r-- 1 jenkins jenkins 10 May 25 00:56 coverage.out 01:00:36 -rw-rw-r-- 1 jenkins jenkins 3221 May 25 00:54 go.mod 01:00:36 -rw-rw-r-- 1 jenkins jenkins 31489 May 25 00:54 go.sum 01:00:36 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:54 internal 01:00:36 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:54 snap 01:00:36 -rw-rw-r-- 1 jenkins jenkins 209 May 25 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:36 + 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=9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 --label arch=arm64 --label version=0.0.0 . 01:00:37 Sending build context to Docker daemon 8.138MB 01:00:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:00:37 Step 2/25 : FROM ${BASE} AS builder 01:00:37 ---> 7d0f9107cf4f 01:00:37 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:00:37 ---> Running in 97aa2b572d6f 01:00:37 Removing intermediate container 97aa2b572d6f 01:00:37 ---> 67173b5ab05c 01:00:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:00:37 ---> Running in 92f84a28ac84 01:00:38 Removing intermediate container 92f84a28ac84 01:00:38 ---> 498d60b55cd3 01:00:38 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:00:38 ---> Running in 2a58826b9fff 01:00:38 Removing intermediate container 2a58826b9fff 01:00:38 ---> 39abb72083a1 01:00:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:00:38 ---> Running in 7886e6bcb5b5 01:00:39 Removing intermediate container 7886e6bcb5b5 01:00:39 ---> 96326a3419a5 01:00:39 Step 7/25 : WORKDIR /device-gpio 01:00:39 ---> Running in 7df506dc460b 01:00:39 Removing intermediate container 7df506dc460b 01:00:39 ---> f24760a20b3d 01:00:39 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:39 ---> Running in 3304762c8c5d 01:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:00:42 OK: 268 MiB in 57 packages 01:00:46 Removing intermediate container 3304762c8c5d 01:00:46 ---> f2e57b20ab9f 01:00:46 Step 9/25 : COPY go.mod vendor* ./ 01:00:46 ---> ae8ac16c912a 01:00:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:46 ---> Running in a2dbf05da221 01:00:49 Removing intermediate container a2dbf05da221 01:00:49 ---> b05f512853dd 01:00:49 Step 11/25 : COPY . . 01:00:50 ---> 297bc0612f21 01:00:50 Step 12/25 : RUN ${MAKE} 01:00:50 ---> Running in 5e5acc089623 01:00:51 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 01:03:27 Removing intermediate container 5e5acc089623 01:03:27 ---> b5b720ab08b7 01:03:27 Step 13/25 : FROM alpine:3.17 01:03:27 3.17: Pulling from library/alpine 01:03:27 c41833b44d91: Already exists 01:03:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:03:27 Status: Downloaded newer image for alpine:3.17 01:03:27 ---> 51e60588ff2c 01:03:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:03:27 ---> Running in e7f3e61875be 01:03:27 Removing intermediate container e7f3e61875be 01:03:27 ---> 3221ff9d3645 01:03:27 Step 15/25 : RUN apk add --update --no-cache 01:03:27 ---> Running in 9fd07446c7ac 01:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:03:27 OK: 7 MiB in 15 packages 01:03:27 Removing intermediate container 9fd07446c7ac 01:03:27 ---> 36a65255041d 01:03:27 Step 16/25 : WORKDIR / 01:03:27 ---> Running in b86afb9a3472 01:03:27 Removing intermediate container b86afb9a3472 01:03:27 ---> f1c13959c85d 01:03:27 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:03:27 ---> 28c2976392db 01:03:27 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:03:27 ---> f0c235a4a481 01:03:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:03:28 ---> 2c13f4ae9cc8 01:03:28 Step 20/25 : EXPOSE 59910 01:03:29 ---> Running in 8d782df52457 01:03:29 Removing intermediate container 8d782df52457 01:03:29 ---> 8aa10ce89489 01:03:29 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:03:29 ---> Running in 6f5082760273 01:03:29 Removing intermediate container 6f5082760273 01:03:29 ---> f0754e6918a1 01:03:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:03:29 ---> Running in 3338111701ce 01:03:30 Removing intermediate container 3338111701ce 01:03:30 ---> 5f9d29daa11f 01:03:30 Step 23/25 : LABEL arch=arm64 01:03:30 ---> Running in 9a7a6755b617 01:03:30 Removing intermediate container 9a7a6755b617 01:03:30 ---> c7f046567807 01:03:30 Step 24/25 : LABEL git_sha=9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 01:03:30 ---> Running in f3c5c7a22a43 01:03:30 Removing intermediate container f3c5c7a22a43 01:03:30 ---> a72f4f50799c 01:03:30 Step 25/25 : LABEL version=0.0.0 01:03:31 ---> Running in 0f7916234876 01:03:31 Removing intermediate container 0f7916234876 01:03:31 ---> d6aeb13ad94a 01:03:31 [Warning] One or more build-args [ARCH] were not consumed 01:03:31 Successfully built d6aeb13ad94a 01:03:31 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 01:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:32 01:03:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:32 arm64: Pulling from edgex-lftools-log-publisher 01:03:32 8998bd30e6a1: Pulling fs layer 01:03:32 04944245beec: Pulling fs layer 01:03:32 699f458cf7ca: Pulling fs layer 01:03:32 765212b225bb: Pulling fs layer 01:03:32 f23df028b6ca: Pulling fs layer 01:03:32 d65c8cfc05b1: Pulling fs layer 01:03:32 2437ff75d9bd: Pulling fs layer 01:03:32 765212b225bb: Waiting 01:03:32 f23df028b6ca: Waiting 01:03:32 d65c8cfc05b1: Waiting 01:03:32 2437ff75d9bd: Waiting 01:03:32 04944245beec: Verifying Checksum 01:03:32 04944245beec: Download complete 01:03:32 765212b225bb: Verifying Checksum 01:03:32 765212b225bb: Download complete 01:03:32 f23df028b6ca: Verifying Checksum 01:03:32 f23df028b6ca: Download complete 01:03:32 d65c8cfc05b1: Verifying Checksum 01:03:32 d65c8cfc05b1: Download complete 01:03:33 699f458cf7ca: Verifying Checksum 01:03:33 699f458cf7ca: Download complete 01:03:33 8998bd30e6a1: Verifying Checksum 01:03:33 8998bd30e6a1: Download complete 01:03:36 2437ff75d9bd: Verifying Checksum 01:03:36 2437ff75d9bd: Download complete 01:03:37 8998bd30e6a1: Pull complete 01:03:38 04944245beec: Pull complete 01:03:39 699f458cf7ca: Pull complete 01:03:39 765212b225bb: Pull complete 01:03:40 f23df028b6ca: Pull complete 01:03:40 d65c8cfc05b1: Pull complete 01:03:55 2437ff75d9bd: Pull complete 01:03:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:03:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:56 prd-ubuntu20.04-docker-arm64-4c-16g-16892 does not seem to be running inside a container 01:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:03:58 $ docker top dd99c8449e0f555213035d1e91ea3468ea90f431026a7c9be0f4dd64cbea9139 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:59 ---> job-cost.sh 01:03:59 lf-activate-venv: SKIPPING 01:03:59 INFO: No Stack... 01:03:59 INFO: Retrieving Pricing Info for: v3-standard-4 01:04:00 INFO: Archiving Costs [Pipeline] sh 01:04:01 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:04:01 + cut -d, -f6 [Pipeline] lock 01:04:01 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] 01:04:01 Resource [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] did not exist. Created. 01:04:01 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:04:02 /w/workspace/device-gpio/1@tmp/durable-233be976/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:04:02 + echo total: 0.10999999940395355 [Pipeline] stash 01:04:02 Warning: overwriting stash ‘stack-cost’ 01:04:02 Stashed 1 file(s) [Pipeline] } 01:04:02 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:04:02 $ docker stop --time=1 dd99c8449e0f555213035d1e91ea3468ea90f431026a7c9be0f4dd64cbea9139 01:04:04 $ docker rm -f --volumes dd99c8449e0f555213035d1e91ea3468ea90f431026a7c9be0f4dd64cbea9139 [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 01:04:05 provisioning config files... 01:04:05 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-183@tmp/config4612257570047158442tmp [Pipeline] { [Pipeline] sh 01:04:05 + set +x 01:04:05 + bash -s -- 01:04:05 + curl -s https://codecov.io/bash 01:04:05 01:04:05 _____ _ 01:04:05 / ____| | | 01:04:05 | | ___ __| | ___ ___ _____ __ 01:04:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:04:05 | |___| (_) | (_| | __/ (_| (_) \ V / 01:04:05 \_____\___/ \__,_|\___|\___\___/ \_/ 01:04:05 Bash-1.0.6 01:04:05 01:04:05 01:04:05 ==> git version 2.25.1 found 01:04:05 ==> 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 01:04:05 Release-Date: 2020-01-08 01:04:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:04:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:04:05 ==> Jenkins CI detected. 01:04:05 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-183 01:04:05 project root: . 01:04:05 --> token set from env 01:04:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:04:05 ==> Running gcov in . (disable via -X gcov) 01:04:05 ==> Python coveragepy not found 01:04:05 ==> Searching for coverage reports in: 01:04:05 + . 01:04:05 -> Found 1 reports 01:04:05 ==> Detecting git/mercurial file structure 01:04:05 ==> Reading reports 01:04:05 + ./coverage.out bytes=10 01:04:05 ==> Appending adjustments 01:04:05 https://docs.codecov.io/docs/fixing-reports 01:04:05 + Found adjustments 01:04:05 ==> Gzipping contents 01:04:05 4.0K /tmp/codecov.1e8tT2.gz 01:04:05 ==> Uploading reports 01:04:05 url: https://codecov.io 01:04:05 query: branch=PR-183&commit=9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=183&job=&cmd_args= 01:04:05 -> Pinging Codecov 01:04:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-183&commit=9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=183&job=&cmd_args= 01:04:06 -> Uploading to 01:04:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80/20f0b0ac-8c0f-407a-a0ee-f1d660ca0221.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T010405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=506cf724acae3f8951bdfd8a603e62bc6d638c0b8a2c4c16aaca08e3322f8046 01:04:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:04:06 Dload Upload Total Spent Left Speed 01:04:06 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 3790 --:--:-- --:--:-- --:--:-- 3770 01:04:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9bd1943670a7f11b4f7f7acf1b18f54db8f4ca80 [Pipeline] } 01:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:04:08 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-183/archives ] 01:04:08 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-183/archives 01:04:08 total 16 01:04:08 drwxr-xr-x 3 root root 4096 May 25 00:53 . 01:04:08 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:53 .. 01:04:08 drwxr-xr-x 2 root root 4096 May 25 00:53 cost 01:04:08 -rw-r--r-- 1 root root 83 May 25 00:53 cost.csv 01:04:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-183/archives 01:04:08 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-183/archives 01:04:08 total 16 01:04:08 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:53 . 01:04:08 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:53 .. 01:04:08 drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:53 cost 01:04:08 -rw-r--r-- 1 jenkins jenkins 83 May 25 00:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:04:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:04:10 ---> package-listing.sh 01:04:10 ++ facter osfamily 01:04:10 ++ tr '[:upper:]' '[:lower:]' 01:04:10 + OS_FAMILY=debian 01:04:10 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-183 01:04:10 + START_PACKAGES=/tmp/packages_start.txt 01:04:10 + END_PACKAGES=/tmp/packages_end.txt 01:04:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:04:10 + PACKAGES=/tmp/packages_start.txt 01:04:10 + '[' /w/workspace/edgexfoundry_device-gpio_PR-183 ']' 01:04:10 + PACKAGES=/tmp/packages_end.txt 01:04:10 + case "${OS_FAMILY}" in 01:04:10 + dpkg -l 01:04:10 + grep '^ii' 01:04:10 + '[' -f /tmp/packages_start.txt ']' 01:04:10 + '[' -f /tmp/packages_end.txt ']' 01:04:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:04:10 + '[' /w/workspace/edgexfoundry_device-gpio_PR-183 ']' 01:04:10 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-183/archives/ 01:04:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-183/archives/ [Pipeline] echo 01:04:10 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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:04:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:11 prd-ubuntu20.04-docker-8c-8g-16888 does not seem to be running inside a container 01:04:11 $ 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-183/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-183 -v /w/workspace/edgexfoundry_device-gpio_PR-183:/w/workspace/edgexfoundry_device-gpio_PR-183:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-183@tmp:/w/workspace/edgexfoundry_device-gpio_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:04:12 $ docker top 9a5d7297ab06af6078d7bbadd6235bbe1f1b63f734ef59fb97571a0705707c4a -eo pid,comm [Pipeline] { [Pipeline] sh 01:04:12 + touch /tmp/pre-build-complete [Pipeline] sh 01:04:13 + mkdir -p /var/log/sysstat [Pipeline] sh 01:04:13 + ls /var/log/sa-host 01:04:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:13 provisioning config files... 01:04:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-183@tmp/config11632665986680464746tmp [Pipeline] { [Pipeline] echo 01:04:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:04:13 ---> create-netrc.sh [Pipeline] } 01:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:04:14 ---> python-tools-install.sh [Pipeline] echo 01:04:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:04:14 ---> sudo-logs.sh 01:04:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:04:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:04:15 ---> job-cost.sh 01:04:15 lf-activate-venv: SKIPPING 01:04:15 DEBUG: total: 0.2199999988079071 01:04:15 INFO: Retrieving Stack Cost... 01:04:15 INFO: Retrieving Pricing Info for: v3-standard-8 01:04:15 INFO: Archiving Costs [Pipeline] echo 01:04:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:04:16 ---> logs-deploy.sh 01:04:16 lf-activate-venv: SKIPPING 01:04:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-183/1 01:04:16 INFO: archiving workspace using pattern(s): 01:04:17 Archives upload complete. 01:04:17 INFO: archiving logs to Nexus