Pull request #216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 2b1469130cd3c9a9267ebf3f83826b37b522d06c+1d94a7d1796027d80ed6cb298534afb37a5d1d1b (baeb3faa227bacb9a527e0ef22ee1a1d5f65a111) 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-ssh1626847543764466789.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh11985816804739370366.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh236320415274641938.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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8388331661786565506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh10111811074726343742.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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4675780456912591620.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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.21 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-17389 in /w/workspace/edgexfoundry_device-gpio_PR-216 [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-216 # 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/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1d94a7d1796027d80ed6cb298534afb37a5d1d1b into PR head commit 2b1469130cd3c9a9267ebf3f83826b37b522d06c Merge succeeded, producing 2b1469130cd3c9a9267ebf3f83826b37b522d06c Checking out Revision 2b1469130cd3c9a9267ebf3f83826b37b522d06c (PR-216) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b1469130cd3c9a9267ebf3f83826b37b522d06c # 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 1d94a7d1796027d80ed6cb298534afb37a5d1d1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b1469130cd3c9a9267ebf3f83826b37b522d06c # timeout=10 Commit message: "docs: Update README to link to new docs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:56:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:56:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:56:28 ========================================================= 20:56:28 EdgeX Global Pipelines Version Info 20:56:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:56:28 ------------------- 20:56:28 stable info: 20:56:28 ------------------- 20:56:28 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 20:56:28 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:56:28 Message: update stable to v1.0.257 20:56:29 ------------------- 20:56:29 experimental info: 20:56:29 ------------------- 20:56:29 Commited By: **** collab-it+edgex@linuxfoundation.org 20:56:29 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:56:29 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo 20:56:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b1469130cd3c9a9267ebf3f83826b37b522d06c [Pipeline] echo 20:56:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b14691 [Pipeline] echo 20:56:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:31 provisioning config files... 20:56:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp/config6236421085433909142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:31 ---> docker-login.sh 20:56:31 nexus3.edgexfoundry.org:10001 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:31 Configure a credential helper to remove this warning. See 20:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:31 20:56:31 Login Succeeded 20:56:31 nexus3.edgexfoundry.org:10002 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:32 Configure a credential helper to remove this warning. See 20:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:32 20:56:32 Login Succeeded 20:56:32 nexus3.edgexfoundry.org:10003 20:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:32 Configure a credential helper to remove this warning. See 20:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:32 20:56:32 Login Succeeded 20:56:32 nexus3.edgexfoundry.org:10004 20:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:32 Configure a credential helper to remove this warning. See 20:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:32 20:56:32 Login Succeeded 20:56:32 docker.io 20:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:32 Configure a credential helper to remove this warning. See 20:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:32 20:56:32 Login Succeeded 20:56:32 ---> docker-login.sh ends [Pipeline] } 20:56:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:56:33 + git rev-list -1 --merges 2b1469130cd3c9a9267ebf3f83826b37b522d06c~1..2b1469130cd3c9a9267ebf3f83826b37b522d06c [Pipeline] echo 20:56:33 -----------> git rev-list -1 --merges 2b1469130cd3c9a9267ebf3f83826b37b522d06c~1..2b1469130cd3c9a9267ebf3f83826b37b522d06c 2b1469130cd3c9a9267ebf3f83826b37b522d06c [false] [Pipeline] sh 20:56:33 + git log --format=format:%s -1 2b1469130cd3c9a9267ebf3f83826b37b522d06c [Pipeline] echo 20:56:33 ========================================================= 20:56:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:56:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:34 + git log --format=format:%s -1 2b1469130cd3c9a9267ebf3f83826b37b522d06c [Pipeline] echo 20:56:34 [semverPrep] GIT_COMMIT: 2b1469130cd3c9a9267ebf3f83826b37b522d06c, Commit Message: docs: Update README to link to new docs [Pipeline] echo 20:56:34 [semverPrep] This is not a build commit. [Pipeline] sh 20:56:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:34 + grep -v github /etc/ssh/ssh_known_hosts 20:56:34 + [ -e /tmp/ssh_known_hosts ] 20:56:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:56:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:56:34 + sudo tee -a /etc/ssh/ssh_known_hosts 20:56:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:35 20:56:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:35 0.1.4: Pulling from edgex-devops/py-git-semver 20:56:35 b85a868b505f: Pulling fs layer 20:56:35 e2be974225ed: Pulling fs layer 20:56:35 339a4e72a1f5: Pulling fs layer 20:56:35 988bab9f4d93: Pulling fs layer 20:56:35 1469e6f7b9e6: Pulling fs layer 20:56:35 eaf3925da568: Pulling fs layer 20:56:35 bab4dde63d76: Pulling fs layer 20:56:35 bde34c3a00c8: Pulling fs layer 20:56:35 b352a97aabf1: Pulling fs layer 20:56:35 4872d77fe225: Pulling fs layer 20:56:35 5851b861e8e6: Pulling fs layer 20:56:35 4872d77fe225: Waiting 20:56:35 988bab9f4d93: Waiting 20:56:35 bab4dde63d76: Waiting 20:56:35 5851b861e8e6: Waiting 20:56:35 eaf3925da568: Waiting 20:56:35 bde34c3a00c8: Waiting 20:56:35 b352a97aabf1: Waiting 20:56:35 1469e6f7b9e6: Waiting 20:56:35 e2be974225ed: Verifying Checksum 20:56:35 e2be974225ed: Download complete 20:56:35 988bab9f4d93: Verifying Checksum 20:56:35 988bab9f4d93: Download complete 20:56:35 1469e6f7b9e6: Verifying Checksum 20:56:35 1469e6f7b9e6: Download complete 20:56:35 339a4e72a1f5: Verifying Checksum 20:56:35 339a4e72a1f5: Download complete 20:56:35 eaf3925da568: Verifying Checksum 20:56:35 eaf3925da568: Download complete 20:56:35 bde34c3a00c8: Verifying Checksum 20:56:35 bde34c3a00c8: Download complete 20:56:35 b352a97aabf1: Download complete 20:56:35 4872d77fe225: Download complete 20:56:35 5851b861e8e6: Download complete 20:56:35 b85a868b505f: Verifying Checksum 20:56:35 b85a868b505f: Download complete 20:56:36 bab4dde63d76: Verifying Checksum 20:56:36 bab4dde63d76: Download complete 20:56:37 b85a868b505f: Pull complete 20:56:37 e2be974225ed: Pull complete 20:56:37 339a4e72a1f5: Pull complete 20:56:37 988bab9f4d93: Pull complete 20:56:38 1469e6f7b9e6: Pull complete 20:56:38 eaf3925da568: Pull complete 20:56:40 bab4dde63d76: Pull complete 20:56:40 bde34c3a00c8: Pull complete 20:56:40 b352a97aabf1: Pull complete 20:56:40 4872d77fe225: Pull complete 20:56:40 5851b861e8e6: Pull complete 20:56:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:40 prd-ubuntu20.04-docker-8c-8g-17389 does not seem to be running inside a container 20:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-216 -v /w/workspace/edgexfoundry_device-gpio_PR-216:/w/workspace/edgexfoundry_device-gpio_PR-216:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-216@tmp:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:56:43 $ docker top ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 -eo pid,comm 20:56:43 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). 20:56:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:44 [ssh-agent] Looking for ssh-agent implementation... 20:56:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:44 $ docker exec ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 ssh-agent 20:56:44 SSH_AUTH_SOCK=/tmp/ssh-nIWNwr1VH5mO/agent.32 20:56:44 SSH_AGENT_PID=38 20:56:44 Running ssh-add (command line suppressed) 20:56:44 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-216@tmp/private_key_13248798028723205819.key (/w/workspace/edgexfoundry_device-gpio_PR-216@tmp/private_key_13248798028723205819.key) 20:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:44 + git tag --points-at HEAD [Pipeline] } 20:56:44 $ docker exec --env ******** --env ******** ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 ssh-agent -k 20:56:44 unset SSH_AUTH_SOCK; 20:56:44 unset SSH_AGENT_PID; 20:56:44 echo Agent pid 38 killed; 20:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:44 [ssh-agent] Looking for ssh-agent implementation... 20:56:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:45 $ docker exec ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 ssh-agent 20:56:45 SSH_AUTH_SOCK=/tmp/ssh-62xG6L8JdLkk/agent.70 20:56:45 SSH_AGENT_PID=76 20:56:45 Running ssh-add (command line suppressed) 20:56:45 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-216@tmp/private_key_5775528084131781502.key (/w/workspace/edgexfoundry_device-gpio_PR-216@tmp/private_key_5775528084131781502.key) 20:56:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:45 + git semver init 20:56:46 2023-11-13 20:56:45,815 [run_init] DEBUG init version:0.0.0 force:False 20:56:46 2023-11-13 20:56:45,815 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-216/.semver 20:56:46 2023-11-13 20:56:45,816 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-216/.semver 20:56:46 2023-11-13 20:56:45,816 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-216/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-216, universal_newlines=False, shell=None, istream=None) 20:56:47 2023-11-13 20:56:47,004 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-216/.git/info/exclude 20:56:47 2023-11-13 20:56:47,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-216/.semver/PR-216 with force:False 20:56:47 2023-11-13 20:56:47,004 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-216/.semver/PR-216 20:56:47 2023-11-13 20:56:47,008 [execute] INFO git cat-file --batch-check 20:56:47 2023-11-13 20:56:47,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-216/.semver, universal_newlines=False, shell=None, istream=) 20:56:47 2023-11-13 20:56:47,014 [execute] INFO git cat-file --batch 20:56:47 2023-11-13 20:56:47,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-216/.semver, universal_newlines=False, shell=None, istream=) 20:56:47 2023-11-13 20:56:47,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-216/.semver/PR-216 20:56:47 0.0.0 [Pipeline] } 20:56:47 $ docker exec --env ******** --env ******** ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 ssh-agent -k 20:56:47 unset SSH_AUTH_SOCK; 20:56:47 unset SSH_AGENT_PID; 20:56:47 echo Agent pid 76 killed; 20:56:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:47 + git semver [Pipeline] } 20:56:47 $ docker stop --time=1 ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 20:56:49 $ docker rm -f --volumes ab313ed27e849902d7ce2e8664abf63aa0818ea76cb3c6cbba9376a9aa9e7b85 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:49 Stashed 1 file(s) [Pipeline] echo 20:56:49 [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 20:56:50 provisioning config files... 20:56:50 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp/config700540823613720425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:51 ---> docker-login.sh 20:56:51 nexus3.edgexfoundry.org:10001 20:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:51 Configure a credential helper to remove this warning. See 20:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:51 20:56:51 Login Succeeded 20:56:51 nexus3.edgexfoundry.org:10002 20:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:51 Configure a credential helper to remove this warning. See 20:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:51 20:56:51 Login Succeeded 20:56:51 nexus3.edgexfoundry.org:10003 20:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:51 Configure a credential helper to remove this warning. See 20:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:51 20:56:51 Login Succeeded 20:56:51 nexus3.edgexfoundry.org:10004 20:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:51 Configure a credential helper to remove this warning. See 20:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:51 20:56:51 Login Succeeded 20:56:51 docker.io 20:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:51 Configure a credential helper to remove this warning. See 20:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:51 20:56:51 Login Succeeded 20:56:51 ---> docker-login.sh ends [Pipeline] } 20:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:56:51 ========================================================= 20:56:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:56:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:56:52 Sending build context to Docker daemon 16.21MB 20:56:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:56:52 Step 2/12 : FROM ${BASE} AS builder 20:56:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:52 7264a8db6415: Pulling fs layer 20:56:52 c4d48a809fc2: Pulling fs layer 20:56:52 4f1c88b9dad5: Pulling fs layer 20:56:52 ad3a456e5733: Pulling fs layer 20:56:52 33e27b845d1e: Pulling fs layer 20:56:52 c68163c4e522: Pulling fs layer 20:56:52 50da416c3ac9: Pulling fs layer 20:56:52 23d2d4c4bb30: Pulling fs layer 20:56:52 33e27b845d1e: Waiting 20:56:52 c68163c4e522: Waiting 20:56:52 50da416c3ac9: Waiting 20:56:52 ad3a456e5733: Waiting 20:56:52 c4d48a809fc2: Download complete 20:56:52 ad3a456e5733: Verifying Checksum 20:56:52 ad3a456e5733: Download complete 20:56:52 33e27b845d1e: Download complete 20:56:52 7264a8db6415: Verifying Checksum 20:56:52 7264a8db6415: Download complete 20:56:52 c68163c4e522: Verifying Checksum 20:56:52 c68163c4e522: Download complete 20:56:52 7264a8db6415: Pull complete 20:56:52 23d2d4c4bb30: Verifying Checksum 20:56:52 23d2d4c4bb30: Download complete 20:56:52 c4d48a809fc2: Pull complete 20:56:52 4f1c88b9dad5: Verifying Checksum 20:56:53 50da416c3ac9: Verifying Checksum 20:56:53 50da416c3ac9: Download complete 20:56:55 4f1c88b9dad5: Pull complete 20:56:55 ad3a456e5733: Pull complete 20:56:55 33e27b845d1e: Pull complete 20:56:55 c68163c4e522: Pull complete 20:56:58 50da416c3ac9: Pull complete 20:56:58 23d2d4c4bb30: Pull complete 20:56:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:56:58 ---> 0786185ac409 20:56:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:57:04 ---> Running in e5b1fec69522 20:57:04 Removing intermediate container e5b1fec69522 20:57:04 ---> 9275ece9c952 20:57:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:04 ---> Running in ff601e184557 20:57:04 Removing intermediate container ff601e184557 20:57:04 ---> 5d485c834bc0 20:57:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 20:57:04 ---> Running in 40f890f2eeee 20:57:04 Removing intermediate container 40f890f2eeee 20:57:04 ---> 9174fec9b428 20:57:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:57:04 ---> Running in 700a8414337a 20:57:04 Removing intermediate container 700a8414337a 20:57:04 ---> 59db6e2442d9 20:57:04 Step 7/12 : WORKDIR /device-gpio 20:57:04 ---> Running in 3747723f1c4a 20:57:04 Removing intermediate container 3747723f1c4a 20:57:04 ---> bc0912c7143f 20:57:04 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:04 ---> Running in 615cdba6817d 20:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:57:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:57:05 (2/4) Installing libedit (20221030.3.1-r1) 20:57:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:57:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:57:05 Executing busybox-1.36.1-r2.trigger 20:57:05 OK: 268 MiB in 56 packages 20:57:05 Still waiting to schedule task 20:57:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:57:05 Removing intermediate container 615cdba6817d 20:57:05 ---> d75a2e01638c 20:57:05 Step 9/12 : COPY go.mod vendor* ./ 20:57:05 ---> dd72f54b7ad2 20:57:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:05 ---> Running in 16453d8680cf 20:57:52 Removing intermediate container 16453d8680cf 20:57:52 ---> 76f7203202f3 20:57:52 Step 11/12 : COPY . . 20:57:52 ---> 54e89aedce51 20:57:52 Step 12/12 : RUN ${MAKE} 20:57:52 ---> Running in 5cefafe49a93 20:57:52 noop 20:57:52 Removing intermediate container 5cefafe49a93 20:57:52 ---> 85f4c407f5e3 20:57:52 Successfully built 85f4c407f5e3 20:57:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:53 + docker inspect -f . ci-base-image-x86_64 20:57:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:53 prd-ubuntu20.04-docker-8c-8g-17389 does not seem to be running inside a container 20:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-216 -v /w/workspace/edgexfoundry_device-gpio_PR-216:/w/workspace/edgexfoundry_device-gpio_PR-216:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-216@tmp:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:53 $ docker top 9b7ca84c129ad01c2603b1cdc4cfbf69b8e04fb79753b31a87b525fd3f771811 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:53 + go version 20:57:53 go version go1.21.0 linux/amd64 [Pipeline] } 20:57:53 $ docker stop --time=1 9b7ca84c129ad01c2603b1cdc4cfbf69b8e04fb79753b31a87b525fd3f771811 20:57:55 $ docker rm -f --volumes 9b7ca84c129ad01c2603b1cdc4cfbf69b8e04fb79753b31a87b525fd3f771811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:55 + docker inspect -f . ci-base-image-x86_64 20:57:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:56 prd-ubuntu20.04-docker-8c-8g-17389 does not seem to be running inside a container 20:57:56 $ 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-216 -v /w/workspace/edgexfoundry_device-gpio_PR-216:/w/workspace/edgexfoundry_device-gpio_PR-216:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-216@tmp:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:56 $ docker top 92b3c5feaf99a0e324d672b01282e933813bc9540aa46c061ea0708dec36ba65 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-216 [Pipeline] fileExists [Pipeline] sh 20:57:57 + make test 20:57:57 go test ./... -coverprofile=coverage.out ./... 20:57:58 ? github.com/edgexfoundry/device-gpio [no test files] 20:58:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 20:58:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 20:58:12 go vet ./... 20:58:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:16 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:58:16 $ docker stop --time=1 92b3c5feaf99a0e324d672b01282e933813bc9540aa46c061ea0708dec36ba65 20:58:20 $ docker rm -f --volumes 92b3c5feaf99a0e324d672b01282e933813bc9540aa46c061ea0708dec36ba65 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:22 + ls -al . 20:58:22 total 152 20:58:22 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 20:57 . 20:58:22 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 20:56 .. 20:58:22 -rw-rw-r-- 1 jenkins jenkins 120 Nov 13 20:56 .dockerignore 20:58:22 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 20:58 .git 20:58:22 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:56 .github 20:58:22 -rw-rw-r-- 1 jenkins jenkins 277 Nov 13 20:56 .gitignore 20:58:22 -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 20:56 .golangci.yml 20:58:22 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 20:56 .semver 20:58:22 -rw-rw-r-- 1 jenkins jenkins 10671 Nov 13 20:56 Attribution.txt 20:58:22 -rw-rw-r-- 1 jenkins jenkins 7171 Nov 13 20:56 CHANGELOG.md 20:58:22 -rw-rw-r-- 1 jenkins jenkins 1542 Nov 13 20:56 Dockerfile 20:58:22 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 20:56 GOVERNANCE.md 20:58:22 -rw-rw-r-- 1 jenkins jenkins 657 Nov 13 20:56 Jenkinsfile 20:58:22 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 20:56 LICENSE 20:58:22 -rw-rw-r-- 1 jenkins jenkins 1923 Nov 13 20:56 Makefile 20:58:22 -rw-rw-r-- 1 jenkins jenkins 617 Nov 13 20:56 OWNERS.md 20:58:22 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 13 20:56 README.md 20:58:22 -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 20:56 VERSION 20:58:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 20:56 bin 20:58:22 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:56 cmd 20:58:22 -rw-r--r-- 1 jenkins jenkins 10 Nov 13 20:57 coverage.out 20:58:22 -rw-rw-r-- 1 jenkins jenkins 3651 Nov 13 20:56 go.mod 20:58:22 -rw-rw-r-- 1 jenkins jenkins 35356 Nov 13 20:56 go.sum 20:58:22 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:56 internal 20:58:22 -rw-rw-r-- 1 jenkins jenkins 209 Nov 13 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:22 + 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=2b1469130cd3c9a9267ebf3f83826b37b522d06c --label arch=amd64 --label version=0.0.0 . 20:58:22 Sending build context to Docker daemon 16.22MB 20:58:22 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:58:22 Step 2/25 : FROM ${BASE} AS builder 20:58:22 ---> 85f4c407f5e3 20:58:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:58:23 ---> Running in 50d44c4b6e8c 20:58:23 Removing intermediate container 50d44c4b6e8c 20:58:23 ---> 9e4ab6670274 20:58:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:23 ---> Running in 2e09caf340be 20:58:23 Removing intermediate container 2e09caf340be 20:58:23 ---> 269cee9c24b9 20:58:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 20:58:23 ---> Running in fed2effcb90b 20:58:23 Removing intermediate container fed2effcb90b 20:58:23 ---> ceed00e6ab95 20:58:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:58:23 ---> Running in eadb18161999 20:58:23 Removing intermediate container eadb18161999 20:58:23 ---> 58e6479bc075 20:58:23 Step 7/25 : WORKDIR /device-gpio 20:58:23 ---> Running in 72677b70468a 20:58:23 Removing intermediate container 72677b70468a 20:58:23 ---> 4e5ccd6ba706 20:58:23 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:23 ---> Running in 08eb7de622d5 20:58:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:23 OK: 268 MiB in 56 packages 20:58:24 Removing intermediate container 08eb7de622d5 20:58:24 ---> 655c2690643e 20:58:24 Step 9/25 : COPY go.mod vendor* ./ 20:58:24 ---> b034e709d631 20:58:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:24 ---> Running in 1ce06f883572 20:58:24 Removing intermediate container 1ce06f883572 20:58:24 ---> 01d4a405691f 20:58:24 Step 11/25 : COPY . . 20:58:25 ---> 559a4ab59ee6 20:58:25 Step 12/25 : RUN ${MAKE} 20:58:25 ---> Running in 7423c9a90f73 20:58:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 20:58:47 Removing intermediate container 7423c9a90f73 20:58:47 ---> a45c34490af0 20:58:47 Step 13/25 : FROM alpine:3.18 20:58:47 3.18: Pulling from library/alpine 20:58:47 96526aa774ef: Pulling fs layer 20:58:47 96526aa774ef: Verifying Checksum 20:58:47 96526aa774ef: Download complete 20:58:47 96526aa774ef: Pull complete 20:58:47 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:58:47 Status: Downloaded newer image for alpine:3.18 20:58:47 ---> 8ca4688f4f35 20:58:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:58:47 ---> Running in 80c2645d8ad2 20:58:47 Removing intermediate container 80c2645d8ad2 20:58:47 ---> feb8569b7aea 20:58:47 Step 15/25 : RUN apk add --update --no-cache 20:58:47 ---> Running in 447f957b0417 20:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:47 OK: 7 MiB in 15 packages 20:58:47 Removing intermediate container 447f957b0417 20:58:47 ---> 5b8fc7f9fc82 20:58:47 Step 16/25 : WORKDIR / 20:58:47 ---> Running in 9ecc11aa2f6c 20:58:47 Removing intermediate container 9ecc11aa2f6c 20:58:47 ---> 6d814c88930c 20:58:47 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 20:58:47 ---> 40f345d072ad 20:58:47 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 20:58:47 ---> 20e99594b24a 20:58:47 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 20:58:47 ---> 74c71f8336e4 20:58:47 Step 20/25 : EXPOSE 59910 20:58:47 ---> Running in 319b5f298c59 20:58:47 Removing intermediate container 319b5f298c59 20:58:47 ---> 1341d5ad2935 20:58:47 Step 21/25 : ENTRYPOINT ["/device-gpio"] 20:58:47 ---> Running in 1c149c9985a4 20:58:47 Removing intermediate container 1c149c9985a4 20:58:47 ---> 863f4a165f2e 20:58:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:58:47 ---> Running in 53555d9bdf29 20:58:47 Removing intermediate container 53555d9bdf29 20:58:47 ---> 7f53a20ccd3f 20:58:47 Step 23/25 : LABEL arch=amd64 20:58:47 ---> Running in b6918e1be2b9 20:58:47 Removing intermediate container b6918e1be2b9 20:58:47 ---> c43949b62aa3 20:58:47 Step 24/25 : LABEL git_sha=2b1469130cd3c9a9267ebf3f83826b37b522d06c 20:58:47 ---> Running in 27121168596f 20:58:48 Removing intermediate container 27121168596f 20:58:48 ---> 15fc8f9e1072 20:58:48 Step 25/25 : LABEL version=0.0.0 20:58:48 ---> Running in 4d891bff1af3 20:58:48 Removing intermediate container 4d891bff1af3 20:58:48 ---> ebc59d6e8102 20:58:48 [Warning] One or more build-args [ARCH] were not consumed 20:58:48 Successfully built ebc59d6e8102 20:58:48 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 20:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:48 20:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:49 latest: Pulling from edgex-lftools-log-publisher 20:58:49 5eb5b503b376: Pulling fs layer 20:58:49 5c69ac0246d0: Pulling fs layer 20:58:49 ec43610c2a17: Pulling fs layer 20:58:49 3a2ae6a8a46f: Pulling fs layer 20:58:49 33b1e0a273af: Pulling fs layer 20:58:49 5d3b04190fa2: Pulling fs layer 20:58:49 2f39f015ded8: Pulling fs layer 20:58:49 33b1e0a273af: Waiting 20:58:49 3a2ae6a8a46f: Waiting 20:58:49 5c69ac0246d0: Download complete 20:58:49 3a2ae6a8a46f: Verifying Checksum 20:58:49 3a2ae6a8a46f: Download complete 20:58:49 33b1e0a273af: Verifying Checksum 20:58:49 33b1e0a273af: Download complete 20:58:49 ec43610c2a17: Verifying Checksum 20:58:49 ec43610c2a17: Download complete 20:58:49 5d3b04190fa2: Download complete 20:58:49 5eb5b503b376: Verifying Checksum 20:58:49 5eb5b503b376: Download complete 20:58:50 2f39f015ded8: Verifying Checksum 20:58:50 2f39f015ded8: Download complete 20:58:50 5eb5b503b376: Pull complete 20:58:50 5c69ac0246d0: Pull complete 20:58:50 ec43610c2a17: Pull complete 20:58:51 3a2ae6a8a46f: Pull complete 20:58:51 33b1e0a273af: Pull complete 20:58:51 5d3b04190fa2: Pull complete 20:58:54 2f39f015ded8: Pull complete 20:58:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:55 prd-ubuntu20.04-docker-8c-8g-17389 does not seem to be running inside a container 20:58:55 $ 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-216 -v /w/workspace/edgexfoundry_device-gpio_PR-216:/w/workspace/edgexfoundry_device-gpio_PR-216:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-216@tmp:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:59 $ docker top 0bfa85f472cb36c75399d3c59a33b5ba5c49421ba28215753042b30a1aed2c03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:59 ---> job-cost.sh 20:58:59 lf-activate-venv: SKIPPING 20:58:59 INFO: No Stack... 20:59:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:00 INFO: Archiving Costs [Pipeline] sh 20:59:00 + cat /w/workspace/edgexfoundry_device-gpio_PR-216/archives/cost.csv 20:59:00 + cut -d, -f6 [Pipeline] lock 20:59:00 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] 20:59:00 Resource [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] did not exist. Created. 20:59:00 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:01 + echo total: 0.2199999988079071 [Pipeline] stash 20:59:01 Stashed 1 file(s) [Pipeline] } 20:59:01 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:01 $ docker stop --time=1 0bfa85f472cb36c75399d3c59a33b5ba5c49421ba28215753042b30a1aed2c03 20:59:02 $ docker rm -f --volumes 0bfa85f472cb36c75399d3c59a33b5ba5c49421ba28215753042b30a1aed2c03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17391 in /w/workspace/edgexfoundry_device-gpio_PR-216 [Pipeline] { [Pipeline] ws 20:59:25 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 20:59:25 The recommended git tool is: git 20:59:31 using credential edgex-jenkins-ssh 20:59:31 Cloning the remote Git repository 20:59:31 Cloning repository git@github.com:edgexfoundry/device-gpio.git 20:59:31 > git init /w/workspace/device-gpio/1 # timeout=10 20:59:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:59:31 > git --version # timeout=10 20:59:31 > git --version # 'git version 2.25.1' 20:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:59:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:35 Merging remotes/origin/main commit 1d94a7d1796027d80ed6cb298534afb37a5d1d1b into PR head commit 2b1469130cd3c9a9267ebf3f83826b37b522d06c 20:59:35 Merge succeeded, producing 2b1469130cd3c9a9267ebf3f83826b37b522d06c 20:59:35 Checking out Revision 2b1469130cd3c9a9267ebf3f83826b37b522d06c (PR-216) 20:59:34 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:59:34 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:59:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:59:35 > git config core.sparsecheckout # timeout=10 20:59:35 > git checkout -f 2b1469130cd3c9a9267ebf3f83826b37b522d06c # timeout=10 20:59:35 > git remote # timeout=10 20:59:35 > git config --get remote.origin.url # timeout=10 20:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:35 > git merge 1d94a7d1796027d80ed6cb298534afb37a5d1d1b # timeout=10 20:59:35 > git rev-parse HEAD^{commit} # timeout=10 20:59:35 > git config core.sparsecheckout # timeout=10 20:59:35 > git checkout -f 2b1469130cd3c9a9267ebf3f83826b37b522d06c # timeout=10 20:59:39 Commit message: "docs: Update README to link to new docs" 20:59:39 > git --version # timeout=10 20:59:39 > git --version # 'git version 2.25.1' 20:59:39 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:40 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:40 Dload Upload Total Spent Left Speed 20:59:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 51975 0 --:--:-- --:--:-- --:--:-- 51975 [Pipeline] sh 20:59:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:41 + sudo tee /etc/docker/daemon.new 20:59:41 { 20:59:41 "registry-mirrors": [ 20:59:41 "https://nexus3.edgexfoundry.org:10001" 20:59:41 ], 20:59:41 "bip": "10.250.0.254/24", 20:59:41 "hosts": [ 20:59:41 "tcp://0.0.0.0:5555", 20:59:41 "unix:///var/run/docker.sock" 20:59:41 ], 20:59:41 "mtu": 1458, 20:59:41 "selinux-enabled": true, 20:59:41 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:41 } [Pipeline] sh 20:59:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:00 provisioning config files... 21:00:00 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config12665697750267163067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:00 ---> docker-login.sh 21:00:00 nexus3.edgexfoundry.org:10001 21:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:01 Configure a credential helper to remove this warning. See 21:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:01 21:00:01 Login Succeeded 21:00:01 nexus3.edgexfoundry.org:10002 21:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:01 Configure a credential helper to remove this warning. See 21:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:01 21:00:01 Login Succeeded 21:00:01 nexus3.edgexfoundry.org:10003 21:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:02 Configure a credential helper to remove this warning. See 21:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:02 21:00:02 Login Succeeded 21:00:02 nexus3.edgexfoundry.org:10004 21:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:02 Configure a credential helper to remove this warning. See 21:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:02 21:00:02 Login Succeeded 21:00:02 docker.io 21:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:06 Configure a credential helper to remove this warning. See 21:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:06 21:00:06 Login Succeeded 21:00:06 ---> docker-login.sh ends [Pipeline] } 21:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:00:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:00:06 ========================================================= 21:00:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:00:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:00:07 Sending build context to Docker daemon 8.168MB 21:00:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:00:07 Step 2/12 : FROM ${BASE} AS builder 21:00:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:00:07 9fda8d8052c6: Pulling fs layer 21:00:07 5d54e960e981: Pulling fs layer 21:00:07 c4a7e357bf2a: Pulling fs layer 21:00:07 f0e02332f6b5: Pulling fs layer 21:00:07 cefa15bbcfad: Pulling fs layer 21:00:07 17808c966233: Pulling fs layer 21:00:07 f4c1fc716caa: Pulling fs layer 21:00:07 f0e02332f6b5: Waiting 21:00:07 cefa15bbcfad: Waiting 21:00:07 17808c966233: Waiting 21:00:07 f4c1fc716caa: Waiting 21:00:07 5d54e960e981: Verifying Checksum 21:00:07 5d54e960e981: Download complete 21:00:07 f0e02332f6b5: Verifying Checksum 21:00:07 f0e02332f6b5: Download complete 21:00:07 cefa15bbcfad: Verifying Checksum 21:00:07 cefa15bbcfad: Download complete 21:00:07 9fda8d8052c6: Verifying Checksum 21:00:07 9fda8d8052c6: Download complete 21:00:08 f4c1fc716caa: Verifying Checksum 21:00:08 f4c1fc716caa: Download complete 21:00:09 c4a7e357bf2a: Verifying Checksum 21:00:09 c4a7e357bf2a: Download complete 21:00:10 17808c966233: Verifying Checksum 21:00:10 17808c966233: Download complete 21:00:11 9fda8d8052c6: Pull complete 21:00:11 5d54e960e981: Pull complete 21:00:26 c4a7e357bf2a: Pull complete 21:00:26 f0e02332f6b5: Pull complete 21:00:26 cefa15bbcfad: Pull complete 21:00:35 17808c966233: Pull complete 21:00:43 f4c1fc716caa: Pull complete 21:00:43 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:00:43 ---> ea914061e18c 21:00:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:00:43 ---> Running in 37d1b5560f72 21:00:43 Removing intermediate container 37d1b5560f72 21:00:43 ---> 3aeeac341edb 21:00:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:43 ---> Running in 5c274fcbbeb7 21:00:43 Removing intermediate container 5c274fcbbeb7 21:00:43 ---> 1529b121406f 21:00:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:00:43 ---> Running in 16a9bf501233 21:00:43 Removing intermediate container 16a9bf501233 21:00:43 ---> 9baa8ef19d81 21:00:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:00:43 ---> Running in 92dc7eb2f4b7 21:00:43 Removing intermediate container 92dc7eb2f4b7 21:00:43 ---> 5f2cd882088d 21:00:43 Step 7/12 : WORKDIR /device-gpio 21:00:43 ---> Running in b055ee880af3 21:00:43 Removing intermediate container b055ee880af3 21:00:43 ---> c79a548d6b36 21:00:43 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:43 ---> Running in 4fa25aff940e 21:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:44 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:00:44 (2/4) Installing libedit (20221030.3.1-r1) 21:00:44 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:00:44 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:00:44 Executing busybox-1.36.1-r2.trigger 21:00:45 OK: 270 MiB in 56 packages 21:00:46 Removing intermediate container 4fa25aff940e 21:00:46 ---> a704b8e76821 21:00:46 Step 9/12 : COPY go.mod vendor* ./ 21:00:46 ---> 9ab5c68a03b5 21:00:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:46 ---> Running in 79b190b2e5b6 21:02:08 Removing intermediate container 79b190b2e5b6 21:02:08 ---> e3399c425454 21:02:08 Step 11/12 : COPY . . 21:02:08 ---> 7d29ef320f6e 21:02:08 Step 12/12 : RUN ${MAKE} 21:02:08 ---> Running in 2b4a459678a2 21:02:08 noop 21:02:08 Removing intermediate container 2b4a459678a2 21:02:08 ---> b97a0756bfc3 21:02:08 Successfully built b97a0756bfc3 21:02:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:08 + docker inspect -f . ci-base-image-arm64 21:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:09 prd-ubuntu20.04-docker-arm64-4c-16g-17391 does not seem to be running inside a container 21:02:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:10 $ docker top 5263a76c8ccfe49e8a44809fcfa26d0f9cd57045c86d3e9bf42592e78089dc8c -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:11 + go version 21:02:11 go version go1.21.0 linux/arm64 [Pipeline] } 21:02:11 $ docker stop --time=1 5263a76c8ccfe49e8a44809fcfa26d0f9cd57045c86d3e9bf42592e78089dc8c 21:02:13 $ docker rm -f --volumes 5263a76c8ccfe49e8a44809fcfa26d0f9cd57045c86d3e9bf42592e78089dc8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:13 + docker inspect -f . ci-base-image-arm64 21:02:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-17391 does not seem to be running inside a container 21:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:15 $ docker top fff322f2fc36f97bd849275086e80ea66db6687199fd5e00bc7ea001fef0dfb1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:16 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 21:02:17 + make test 21:02:17 go test ./... -coverprofile=coverage.out ./... 21:02:22 ? github.com/edgexfoundry/device-gpio [no test files] 21:03:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:03:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:03:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:03:59 go vet ./... 21:04:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:11 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:04:11 $ docker stop --time=1 fff322f2fc36f97bd849275086e80ea66db6687199fd5e00bc7ea001fef0dfb1 21:04:13 $ docker rm -f --volumes fff322f2fc36f97bd849275086e80ea66db6687199fd5e00bc7ea001fef0dfb1 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:14 Warning: overwriting stash ‘coverage-report’ 21:04:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:16 + ls -al . 21:04:16 total 148 21:04:16 drwxrwxr-x 7 jenkins jenkins 4096 Nov 13 21:02 . 21:04:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 20:59 .. 21:04:16 -rw-rw-r-- 1 jenkins jenkins 120 Nov 13 20:59 .dockerignore 21:04:16 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 20:59 .git 21:04:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:59 .github 21:04:16 -rw-rw-r-- 1 jenkins jenkins 277 Nov 13 20:59 .gitignore 21:04:16 -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 20:59 .golangci.yml 21:04:16 -rw-rw-r-- 1 jenkins jenkins 10671 Nov 13 20:59 Attribution.txt 21:04:16 -rw-rw-r-- 1 jenkins jenkins 7171 Nov 13 20:59 CHANGELOG.md 21:04:16 -rw-rw-r-- 1 jenkins jenkins 1542 Nov 13 20:59 Dockerfile 21:04:16 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 20:59 GOVERNANCE.md 21:04:16 -rw-rw-r-- 1 jenkins jenkins 657 Nov 13 20:59 Jenkinsfile 21:04:16 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 20:59 LICENSE 21:04:16 -rw-rw-r-- 1 jenkins jenkins 1923 Nov 13 20:59 Makefile 21:04:16 -rw-rw-r-- 1 jenkins jenkins 617 Nov 13 20:59 OWNERS.md 21:04:16 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 13 20:59 README.md 21:04:16 -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 20:56 VERSION 21:04:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 20:59 bin 21:04:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:59 cmd 21:04:16 -rw-r--r-- 1 jenkins jenkins 10 Nov 13 21:02 coverage.out 21:04:16 -rw-rw-r-- 1 jenkins jenkins 3651 Nov 13 20:59 go.mod 21:04:16 -rw-rw-r-- 1 jenkins jenkins 35356 Nov 13 20:59 go.sum 21:04:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:59 internal 21:04:16 -rw-rw-r-- 1 jenkins jenkins 209 Nov 13 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:16 + 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=2b1469130cd3c9a9267ebf3f83826b37b522d06c --label arch=arm64 --label version=0.0.0 . 21:04:17 Sending build context to Docker daemon 8.169MB 21:04:17 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:04:17 Step 2/25 : FROM ${BASE} AS builder 21:04:17 ---> b97a0756bfc3 21:04:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:04:17 ---> Running in 63e1ff5d4280 21:04:17 Removing intermediate container 63e1ff5d4280 21:04:17 ---> 590bfe5092c4 21:04:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:17 ---> Running in 8e1aba16646b 21:04:18 Removing intermediate container 8e1aba16646b 21:04:18 ---> a12403dc1058 21:04:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:04:18 ---> Running in af2e8ec0e7d9 21:04:18 Removing intermediate container af2e8ec0e7d9 21:04:18 ---> 1556e8d0c107 21:04:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:04:18 ---> Running in bcd26db983b8 21:04:18 Removing intermediate container bcd26db983b8 21:04:18 ---> f1fafb21f4b1 21:04:18 Step 7/25 : WORKDIR /device-gpio 21:04:19 ---> Running in ea2ccf32ec47 21:04:19 Removing intermediate container ea2ccf32ec47 21:04:19 ---> 108f1682c4d1 21:04:19 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:19 ---> Running in 29e2b9f826b2 21:04:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:04:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:04:21 OK: 270 MiB in 56 packages 21:04:22 Removing intermediate container 29e2b9f826b2 21:04:22 ---> dedce1440272 21:04:22 Step 9/25 : COPY go.mod vendor* ./ 21:04:28 ---> 12d014d5a211 21:04:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:28 ---> Running in 9be4c499f8a3 21:04:29 Removing intermediate container 9be4c499f8a3 21:04:29 ---> 0c7d12afda69 21:04:29 Step 11/25 : COPY . . 21:04:30 ---> 028a36a33420 21:04:30 Step 12/25 : RUN ${MAKE} 21:04:30 ---> Running in 9a02a5539910 21:04:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 21:06:23 Removing intermediate container 9a02a5539910 21:06:23 ---> 902df2d150b6 21:06:23 Step 13/25 : FROM alpine:3.18 21:06:23 3.18: Pulling from library/alpine 21:06:23 579b34f0a95b: Pulling fs layer 21:06:24 579b34f0a95b: Verifying Checksum 21:06:24 579b34f0a95b: Download complete 21:06:24 579b34f0a95b: Pull complete 21:06:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:06:24 Status: Downloaded newer image for alpine:3.18 21:06:24 ---> 3cc203321400 21:06:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:06:25 ---> Running in d2cfc0dfff38 21:06:25 Removing intermediate container d2cfc0dfff38 21:06:25 ---> 9e983cd4916e 21:06:25 Step 15/25 : RUN apk add --update --no-cache 21:06:25 ---> Running in 8ffd38615160 21:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:06:27 OK: 8 MiB in 15 packages 21:06:28 Removing intermediate container 8ffd38615160 21:06:28 ---> bf5e15fc1b02 21:06:28 Step 16/25 : WORKDIR / 21:06:28 ---> Running in c9f68da9ccb3 21:06:29 Removing intermediate container c9f68da9ccb3 21:06:29 ---> 7fefac5b7e41 21:06:29 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:06:29 ---> 34dae1c36bb9 21:06:29 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:06:30 ---> cda4de6559df 21:06:30 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:06:33 ---> 123904a2c51c 21:06:33 Step 20/25 : EXPOSE 59910 21:06:33 ---> Running in fcff86f8937e 21:06:33 Removing intermediate container fcff86f8937e 21:06:33 ---> aceb84881aa1 21:06:33 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:06:33 ---> Running in 69a319cc8d44 21:06:34 Removing intermediate container 69a319cc8d44 21:06:34 ---> 4dc02646090f 21:06:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:06:34 ---> Running in 7d7800a67a3f 21:06:34 Removing intermediate container 7d7800a67a3f 21:06:34 ---> e556a2671d16 21:06:34 Step 23/25 : LABEL arch=arm64 21:06:34 ---> Running in 4f201f69227c 21:06:34 Removing intermediate container 4f201f69227c 21:06:34 ---> 262d759c6ebe 21:06:34 Step 24/25 : LABEL git_sha=2b1469130cd3c9a9267ebf3f83826b37b522d06c 21:06:34 ---> Running in d774c3514365 21:06:35 Removing intermediate container d774c3514365 21:06:35 ---> 4efcd9f16821 21:06:35 Step 25/25 : LABEL version=0.0.0 21:06:35 ---> Running in 98af7d95da90 21:06:35 Removing intermediate container 98af7d95da90 21:06:35 ---> 4e1a6851d027 21:06:35 [Warning] One or more build-args [ARCH] were not consumed 21:06:35 Successfully built 4e1a6851d027 21:06:35 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 21:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:36 21:06:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:36 arm64: Pulling from edgex-lftools-log-publisher 21:06:36 8998bd30e6a1: Pulling fs layer 21:06:36 04944245beec: Pulling fs layer 21:06:36 699f458cf7ca: Pulling fs layer 21:06:36 765212b225bb: Pulling fs layer 21:06:36 f23df028b6ca: Pulling fs layer 21:06:36 d65c8cfc05b1: Pulling fs layer 21:06:36 2437ff75d9bd: Pulling fs layer 21:06:36 765212b225bb: Waiting 21:06:36 f23df028b6ca: Waiting 21:06:36 d65c8cfc05b1: Waiting 21:06:36 2437ff75d9bd: Waiting 21:06:37 04944245beec: Verifying Checksum 21:06:37 04944245beec: Download complete 21:06:37 765212b225bb: Verifying Checksum 21:06:37 765212b225bb: Download complete 21:06:37 f23df028b6ca: Verifying Checksum 21:06:37 f23df028b6ca: Download complete 21:06:37 d65c8cfc05b1: Verifying Checksum 21:06:37 d65c8cfc05b1: Download complete 21:06:37 699f458cf7ca: Verifying Checksum 21:06:37 699f458cf7ca: Download complete 21:06:37 8998bd30e6a1: Download complete 21:06:40 2437ff75d9bd: Download complete 21:06:42 8998bd30e6a1: Pull complete 21:06:42 04944245beec: Pull complete 21:06:44 699f458cf7ca: Pull complete 21:06:44 765212b225bb: Pull complete 21:06:47 f23df028b6ca: Pull complete 21:06:47 d65c8cfc05b1: Pull complete 21:07:05 2437ff75d9bd: Pull complete 21:07:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:05 prd-ubuntu20.04-docker-arm64-4c-16g-17391 does not seem to be running inside a container 21:07:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:07:08 $ docker top 0740dfe928e9e59f6e042eecfd1c42303f113e1831d42aa438fe2a973dc6c4ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:09 ---> job-cost.sh 21:07:09 lf-activate-venv: SKIPPING 21:07:09 INFO: No Stack... 21:07:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:07:10 INFO: Archiving Costs [Pipeline] sh 21:07:11 + cat /w/workspace/device-gpio/1/archives/cost.csv 21:07:11 + cut -d, -f6 [Pipeline] lock 21:07:11 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] 21:07:11 Resource [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] did not exist. Created. 21:07:11 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:07:12 /w/workspace/device-gpio/1@tmp/durable-401a31c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:07:12 + echo total: 0.10999999940395355 [Pipeline] stash 21:07:12 Warning: overwriting stash ‘stack-cost’ 21:07:13 Stashed 1 file(s) [Pipeline] } 21:07:13 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:07:13 $ docker stop --time=1 0740dfe928e9e59f6e042eecfd1c42303f113e1831d42aa438fe2a973dc6c4ae 21:07:15 $ docker rm -f --volumes 0740dfe928e9e59f6e042eecfd1c42303f113e1831d42aa438fe2a973dc6c4ae [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 21:07:16 provisioning config files... 21:07:16 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp/config2311108394280443832tmp [Pipeline] { [Pipeline] sh 21:07:17 + set +x 21:07:17 + curl -s https://codecov.io/bash 21:07:17 + bash -s -- 21:07:17 21:07:17 _____ _ 21:07:17 / ____| | | 21:07:17 | | ___ __| | ___ ___ _____ __ 21:07:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:07:17 | |___| (_) | (_| | __/ (_| (_) \ V / 21:07:17 \_____\___/ \__,_|\___|\___\___/ \_/ 21:07:17 Bash-1.0.6 21:07:17 21:07:17 21:07:17 ==> git version 2.25.1 found 21:07:17 ==> 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 21:07:17 Release-Date: 2020-01-08 21:07:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:07:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:07:17 ==> Jenkins CI detected. 21:07:17 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-216 21:07:17 project root: . 21:07:17 --> token set from env 21:07:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:07:17 ==> Running gcov in . (disable via -X gcov) 21:07:17 ==> Python coveragepy not found 21:07:17 ==> Searching for coverage reports in: 21:07:17 + . 21:07:17 -> Found 1 reports 21:07:17 ==> Detecting git/mercurial file structure 21:07:17 ==> Reading reports 21:07:17 + ./coverage.out bytes=10 21:07:17 ==> Appending adjustments 21:07:17 https://docs.codecov.io/docs/fixing-reports 21:07:17 + Found adjustments 21:07:17 ==> Gzipping contents 21:07:17 4.0K /tmp/codecov.dPgT1p.gz 21:07:17 ==> Uploading reports 21:07:17 url: https://codecov.io 21:07:17 query: branch=PR-216&commit=2b1469130cd3c9a9267ebf3f83826b37b522d06c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=216&job=&cmd_args= 21:07:17 -> Pinging Codecov 21:07:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-216&commit=2b1469130cd3c9a9267ebf3f83826b37b522d06c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=216&job=&cmd_args= 21:07:17 -> Uploading to 21:07:17 https://storage.googleapis.com/codecov/v4/raw/2023-11-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2b1469130cd3c9a9267ebf3f83826b37b522d06c/3fd712f0-1951-41b2-9390-286c584b8fd6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231113T210717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5d53a19007c7fb9ed0f74f8c7ba23352dae8da68a65710d2bc4156fcc331c7b 21:07:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:07:17 Dload Upload Total Spent Left Speed 21:07:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2199 --:--:-- --:--:-- --:--:-- 2199 21:07:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/2b1469130cd3c9a9267ebf3f83826b37b522d06c [Pipeline] } 21:07:17 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 21:07:19 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-216/archives ] 21:07:19 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-216/archives 21:07:19 total 16 21:07:19 drwxr-xr-x 3 root root 4096 Nov 13 20:59 . 21:07:19 drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 20:59 .. 21:07:19 drwxr-xr-x 2 root root 4096 Nov 13 20:59 cost 21:07:19 -rw-r--r-- 1 root root 83 Nov 13 20:59 cost.csv 21:07:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-216/archives 21:07:19 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-216/archives 21:07:19 total 16 21:07:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 20:59 . 21:07:19 drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 20:59 .. 21:07:19 drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 20:59 cost 21:07:19 -rw-r--r-- 1 jenkins jenkins 83 Nov 13 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:07:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:07:21 ---> package-listing.sh 21:07:21 ++ facter osfamily 21:07:21 ++ tr '[:upper:]' '[:lower:]' 21:07:21 + OS_FAMILY=debian 21:07:21 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-216 21:07:21 + START_PACKAGES=/tmp/packages_start.txt 21:07:21 + END_PACKAGES=/tmp/packages_end.txt 21:07:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:07:21 + PACKAGES=/tmp/packages_start.txt 21:07:21 + '[' /w/workspace/edgexfoundry_device-gpio_PR-216 ']' 21:07:21 + PACKAGES=/tmp/packages_end.txt 21:07:21 + case "${OS_FAMILY}" in 21:07:21 + dpkg -l 21:07:21 + grep '^ii' 21:07:21 + '[' -f /tmp/packages_start.txt ']' 21:07:21 + '[' -f /tmp/packages_end.txt ']' 21:07:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:07:21 + '[' /w/workspace/edgexfoundry_device-gpio_PR-216 ']' 21:07:21 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-216/archives/ 21:07:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-216/archives/ [Pipeline] echo 21:07:21 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:07:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:22 prd-ubuntu20.04-docker-8c-8g-17389 does not seem to be running inside a container 21:07:22 $ 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-216/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-216 -v /w/workspace/edgexfoundry_device-gpio_PR-216:/w/workspace/edgexfoundry_device-gpio_PR-216:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-216@tmp:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:07:22 $ docker top 6f0b5d45c736b6bbf06b7fc6a197bb18f4e560e82661f09df0d1c58cf1853834 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:23 + touch /tmp/pre-build-complete [Pipeline] sh 21:07:23 + mkdir -p /var/log/sysstat [Pipeline] sh 21:07:23 + ls /var/log/sa-host 21:07:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:24 provisioning config files... 21:07:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-216@tmp/config9366627559176811222tmp [Pipeline] { [Pipeline] echo 21:07:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:07:24 ---> create-netrc.sh [Pipeline] } 21:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:07:24 ---> python-tools-install.sh [Pipeline] echo 21:07:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:07:25 ---> sudo-logs.sh 21:07:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:07:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:07:25 ---> job-cost.sh 21:07:25 lf-activate-venv: SKIPPING 21:07:25 DEBUG: total: 0.2199999988079071 21:07:25 INFO: Retrieving Stack Cost... 21:07:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:26 INFO: Archiving Costs [Pipeline] echo 21:07:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:07:26 ---> logs-deploy.sh 21:07:26 lf-activate-venv: SKIPPING 21:07:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-216/1 21:07:26 INFO: archiving workspace using pattern(s): 21:07:27 Archives upload complete. 21:07:27 INFO: archiving logs to Nexus