Pull request #206 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e3e76b883e61e841453c96bbd5dba64dfbe921e+1df392e582ed32cc3ab577300f501a2f57a85edb (e417e3c43da37d9b1cc0db0906de16f20ce29dc4) 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-ssh11389292768488975733.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7372282269818740083.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-206/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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10426000645337642920.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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16489925259290204676.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17268800484714386174.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-206/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-206/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12895371971133377524.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 Running on prd-ubuntu20.04-docker-8c-8g-9994 in /w/workspace/edgexfoundry_device-gpio_PR-206 [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-206 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1df392e582ed32cc3ab577300f501a2f57a85edb into PR head commit 0e3e76b883e61e841453c96bbd5dba64dfbe921e Merge succeeded, producing 0e3e76b883e61e841453c96bbd5dba64dfbe921e Checking out Revision 0e3e76b883e61e841453c96bbd5dba64dfbe921e (PR-206) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } > 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/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e3e76b883e61e841453c96bbd5dba64dfbe921e # 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 1df392e582ed32cc3ab577300f501a2f57a85edb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e3e76b883e61e841453c96bbd5dba64dfbe921e # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:11:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:11:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:26 ========================================================= 18:11:26 EdgeX Global Pipelines Version Info 18:11:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:11:27 ------------------- 18:11:27 stable info: 18:11:27 ------------------- 18:11:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:11:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:11:27 Message: update stable to v1.0.254 18:11:28 ------------------- 18:11:28 experimental info: 18:11:28 ------------------- 18:11:28 Commited By: **** collab-it+edgex@linuxfoundation.org 18:11:28 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:11:28 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:11:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e3e76b883e61e841453c96bbd5dba64dfbe921e [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e3e76b [Pipeline] echo 18:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:29 provisioning config files... 18:11:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-206@tmp/config15320896875897514521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:30 ---> docker-login.sh 18:11:30 nexus3.edgexfoundry.org:10001 18:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:30 Configure a credential helper to remove this warning. See 18:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:30 18:11:30 Login Succeeded 18:11:30 nexus3.edgexfoundry.org:10002 18:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:30 Configure a credential helper to remove this warning. See 18:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:30 18:11:30 Login Succeeded 18:11:30 nexus3.edgexfoundry.org:10003 18:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:30 Configure a credential helper to remove this warning. See 18:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:30 18:11:30 Login Succeeded 18:11:30 nexus3.edgexfoundry.org:10004 18:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:30 Configure a credential helper to remove this warning. See 18:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:30 18:11:30 Login Succeeded 18:11:30 docker.io 18:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:31 Configure a credential helper to remove this warning. See 18:11:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:31 18:11:31 Login Succeeded 18:11:31 ---> docker-login.sh ends [Pipeline] } 18:11:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:11:31 + git rev-list -1 --merges 0e3e76b883e61e841453c96bbd5dba64dfbe921e~1..0e3e76b883e61e841453c96bbd5dba64dfbe921e [Pipeline] echo 18:11:31 -----------> git rev-list -1 --merges 0e3e76b883e61e841453c96bbd5dba64dfbe921e~1..0e3e76b883e61e841453c96bbd5dba64dfbe921e 0e3e76b883e61e841453c96bbd5dba64dfbe921e [false] [Pipeline] sh 18:11:32 + git log --format=format:%s -1 0e3e76b883e61e841453c96bbd5dba64dfbe921e [Pipeline] echo 18:11:32 ========================================================= 18:11:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:32 + git log --format=format:%s -1 0e3e76b883e61e841453c96bbd5dba64dfbe921e [Pipeline] echo 18:11:32 [semverPrep] GIT_COMMIT: 0e3e76b883e61e841453c96bbd5dba64dfbe921e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:11:32 [semverPrep] This is not a build commit. [Pipeline] sh 18:11:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:33 + grep -v github /etc/ssh/ssh_known_hosts 18:11:33 + [ -e /tmp/ssh_known_hosts ] 18:11:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:11:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:11:33 + sudo tee -a /etc/ssh/ssh_known_hosts 18:11:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:33 18:11:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:33 0.1.4: Pulling from edgex-devops/py-git-semver 18:11:33 b85a868b505f: Pulling fs layer 18:11:33 e2be974225ed: Pulling fs layer 18:11:33 339a4e72a1f5: Pulling fs layer 18:11:33 988bab9f4d93: Pulling fs layer 18:11:33 1469e6f7b9e6: Pulling fs layer 18:11:33 eaf3925da568: Pulling fs layer 18:11:33 988bab9f4d93: Waiting 18:11:33 1469e6f7b9e6: Waiting 18:11:33 bab4dde63d76: Pulling fs layer 18:11:33 bde34c3a00c8: Pulling fs layer 18:11:33 eaf3925da568: Waiting 18:11:33 bab4dde63d76: Waiting 18:11:33 b352a97aabf1: Pulling fs layer 18:11:33 bde34c3a00c8: Waiting 18:11:33 4872d77fe225: Pulling fs layer 18:11:33 b352a97aabf1: Waiting 18:11:33 5851b861e8e6: Pulling fs layer 18:11:33 4872d77fe225: Waiting 18:11:33 e2be974225ed: Verifying Checksum 18:11:33 e2be974225ed: Download complete 18:11:33 988bab9f4d93: Verifying Checksum 18:11:33 988bab9f4d93: Download complete 18:11:33 1469e6f7b9e6: Verifying Checksum 18:11:33 1469e6f7b9e6: Download complete 18:11:33 eaf3925da568: Verifying Checksum 18:11:33 eaf3925da568: Download complete 18:11:34 339a4e72a1f5: Verifying Checksum 18:11:34 339a4e72a1f5: Download complete 18:11:34 bde34c3a00c8: Verifying Checksum 18:11:34 bde34c3a00c8: Download complete 18:11:34 b352a97aabf1: Verifying Checksum 18:11:34 b352a97aabf1: Download complete 18:11:34 4872d77fe225: Download complete 18:11:34 5851b861e8e6: Verifying Checksum 18:11:34 5851b861e8e6: Download complete 18:11:34 b85a868b505f: Verifying Checksum 18:11:34 b85a868b505f: Download complete 18:11:34 bab4dde63d76: Verifying Checksum 18:11:34 bab4dde63d76: Download complete 18:11:35 b85a868b505f: Pull complete 18:11:35 e2be974225ed: Pull complete 18:11:35 339a4e72a1f5: Pull complete 18:11:35 988bab9f4d93: Pull complete 18:11:36 1469e6f7b9e6: Pull complete 18:11:36 eaf3925da568: Pull complete 18:11:38 bab4dde63d76: Pull complete 18:11:38 bde34c3a00c8: Pull complete 18:11:38 b352a97aabf1: Pull complete 18:11:38 4872d77fe225: Pull complete 18:11:38 5851b861e8e6: Pull complete 18:11:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:11:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:38 prd-ubuntu20.04-docker-8c-8g-9994 does not seem to be running inside a container 18:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-206 -v /w/workspace/edgexfoundry_device-gpio_PR-206:/w/workspace/edgexfoundry_device-gpio_PR-206:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-206@tmp:/w/workspace/edgexfoundry_device-gpio_PR-206@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:11:41 $ docker top d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 -eo pid,comm 18:11:41 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). 18:11:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:41 [ssh-agent] Looking for ssh-agent implementation... 18:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:41 $ docker exec d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 ssh-agent 18:11:42 SSH_AUTH_SOCK=/tmp/ssh-4jiEZCFv7UEZ/agent.32 18:11:42 SSH_AGENT_PID=38 18:11:42 Running ssh-add (command line suppressed) 18:11:42 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-206@tmp/private_key_5970818167967194320.key (/w/workspace/edgexfoundry_device-gpio_PR-206@tmp/private_key_5970818167967194320.key) 18:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:42 + git tag --points-at HEAD [Pipeline] } 18:11:42 $ docker exec --env ******** --env ******** d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 ssh-agent -k 18:11:42 unset SSH_AUTH_SOCK; 18:11:42 unset SSH_AGENT_PID; 18:11:42 echo Agent pid 38 killed; 18:11:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:11:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:42 [ssh-agent] Looking for ssh-agent implementation... 18:11:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:42 $ docker exec d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 ssh-agent 18:11:42 SSH_AUTH_SOCK=/tmp/ssh-RDaRBOQy3svJ/agent.70 18:11:42 SSH_AGENT_PID=76 18:11:43 Running ssh-add (command line suppressed) 18:11:43 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-206@tmp/private_key_13915248230259357279.key (/w/workspace/edgexfoundry_device-gpio_PR-206@tmp/private_key_13915248230259357279.key) 18:11:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:43 + git semver init 18:11:43 2023-10-24 18:11:43,622 [run_init] DEBUG init version:0.0.0 force:False 18:11:43 2023-10-24 18:11:43,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-206/.semver 18:11:43 2023-10-24 18:11:43,624 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-206/.semver 18:11:43 2023-10-24 18:11:43,624 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-206/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-206, universal_newlines=False, shell=None, istream=None) 18:11:45 2023-10-24 18:11:44,756 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-206/.git/info/exclude 18:11:45 2023-10-24 18:11:44,756 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-206/.semver/PR-206 with force:False 18:11:45 2023-10-24 18:11:44,757 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-206/.semver/PR-206 18:11:45 2023-10-24 18:11:44,761 [execute] INFO git cat-file --batch-check 18:11:45 2023-10-24 18:11:44,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-206/.semver, universal_newlines=False, shell=None, istream=) 18:11:45 2023-10-24 18:11:44,767 [execute] INFO git cat-file --batch 18:11:45 2023-10-24 18:11:44,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-206/.semver, universal_newlines=False, shell=None, istream=) 18:11:45 2023-10-24 18:11:44,772 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-206/.semver/PR-206 18:11:45 0.0.0 [Pipeline] } 18:11:45 $ docker exec --env ******** --env ******** d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 ssh-agent -k 18:11:45 unset SSH_AUTH_SOCK; 18:11:45 unset SSH_AGENT_PID; 18:11:45 echo Agent pid 76 killed; 18:11:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:45 + git semver [Pipeline] } 18:11:45 $ docker stop --time=1 d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 18:11:47 $ docker rm -f --volumes d506800c503998cc5b4624dc2fcf5a2545dbaf4cb09a6d704b8e8c3d45a49981 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:11:47 Stashed 1 file(s) [Pipeline] echo 18:11:47 [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 18:11:48 provisioning config files... 18:11:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-206@tmp/config6576391775492803798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:48 ---> docker-login.sh 18:11:48 nexus3.edgexfoundry.org:10001 18:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:48 Configure a credential helper to remove this warning. See 18:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:48 18:11:48 Login Succeeded 18:11:48 nexus3.edgexfoundry.org:10002 18:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:48 Configure a credential helper to remove this warning. See 18:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:48 18:11:48 Login Succeeded 18:11:48 nexus3.edgexfoundry.org:10003 18:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:49 Configure a credential helper to remove this warning. See 18:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:49 18:11:49 Login Succeeded 18:11:49 nexus3.edgexfoundry.org:10004 18:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:49 Configure a credential helper to remove this warning. See 18:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:49 18:11:49 Login Succeeded 18:11:49 docker.io 18:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:49 Configure a credential helper to remove this warning. See 18:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:49 18:11:49 Login Succeeded 18:11:49 ---> docker-login.sh ends [Pipeline] } 18:11:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:49 ========================================================= 18:11:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:11:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:50 + 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 . 18:11:50 Sending build context to Docker daemon 16.16MB 18:11:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:11:50 Step 2/12 : FROM ${BASE} AS builder 18:11:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:11:50 7264a8db6415: Pulling fs layer 18:11:50 c4d48a809fc2: Pulling fs layer 18:11:50 4f1c88b9dad5: Pulling fs layer 18:11:50 ad3a456e5733: Pulling fs layer 18:11:50 33e27b845d1e: Pulling fs layer 18:11:50 c68163c4e522: Pulling fs layer 18:11:50 50da416c3ac9: Pulling fs layer 18:11:50 23d2d4c4bb30: Pulling fs layer 18:11:50 33e27b845d1e: Waiting 18:11:50 23d2d4c4bb30: Waiting 18:11:50 c68163c4e522: Waiting 18:11:50 50da416c3ac9: Waiting 18:11:50 ad3a456e5733: Waiting 18:11:50 c4d48a809fc2: Download complete 18:11:50 ad3a456e5733: Download complete 18:11:50 33e27b845d1e: Verifying Checksum 18:11:50 33e27b845d1e: Download complete 18:11:50 7264a8db6415: Verifying Checksum 18:11:50 7264a8db6415: Download complete 18:11:50 c68163c4e522: Verifying Checksum 18:11:50 c68163c4e522: Download complete 18:11:50 7264a8db6415: Pull complete 18:11:50 23d2d4c4bb30: Verifying Checksum 18:11:50 23d2d4c4bb30: Download complete 18:11:50 c4d48a809fc2: Pull complete 18:11:50 4f1c88b9dad5: Verifying Checksum 18:11:50 4f1c88b9dad5: Download complete 18:11:51 50da416c3ac9: Verifying Checksum 18:11:51 50da416c3ac9: Download complete 18:11:54 4f1c88b9dad5: Pull complete 18:11:54 ad3a456e5733: Pull complete 18:11:54 33e27b845d1e: Pull complete 18:11:54 c68163c4e522: Pull complete 18:11:56 50da416c3ac9: Pull complete 18:11:57 23d2d4c4bb30: Pull complete 18:11:57 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:11:57 ---> 0786185ac409 18:11:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:12:01 ---> Running in 1aaf67840ca0 18:12:01 Removing intermediate container 1aaf67840ca0 18:12:01 ---> 7e398aab1dc0 18:12:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:01 ---> Running in 8426d546e549 18:12:01 Removing intermediate container 8426d546e549 18:12:01 ---> 535f5f8bcf40 18:12:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:12:01 ---> Running in 99941010fbf7 18:12:01 Removing intermediate container 99941010fbf7 18:12:01 ---> b5330ca3b348 18:12:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:12:01 ---> Running in daaf2f0afd06 18:12:01 Removing intermediate container daaf2f0afd06 18:12:01 ---> c89307cd28b9 18:12:01 Step 7/12 : WORKDIR /device-gpio 18:12:01 ---> Running in 72a57a05f01f 18:12:01 Removing intermediate container 72a57a05f01f 18:12:01 ---> 12aa8e75afc2 18:12:01 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:01 ---> Running in 5b0bc387d72f 18:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:12:02 (2/4) Installing libedit (20221030.3.1-r1) 18:12:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:12:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:12:02 Executing busybox-1.36.1-r2.trigger 18:12:02 OK: 268 MiB in 56 packages 18:12:03 Removing intermediate container 5b0bc387d72f 18:12:03 ---> 7615dcfb6fa9 18:12:03 Step 9/12 : COPY go.mod vendor* ./ 18:12:03 Still waiting to schedule task 18:12:03 ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:12:03 ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:12:03 ‘prd-centos7-builder-2c-1g-9982’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:12:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9995’ is offline 18:12:03 ---> 1278c11b0f5b 18:12:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:03 ---> Running in 0cfbf47c3448 18:12:59 Removing intermediate container 0cfbf47c3448 18:12:59 ---> 012b29199fd9 18:12:59 Step 11/12 : COPY . . 18:12:59 ---> b079791fe432 18:12:59 Step 12/12 : RUN ${MAKE} 18:12:59 ---> Running in efdbb08a0867 18:12:59 noop 18:12:59 Removing intermediate container efdbb08a0867 18:12:59 ---> 8b47593fed64 18:12:59 Successfully built 8b47593fed64 18:12:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:00 + docker inspect -f . ci-base-image-x86_64 18:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:00 prd-ubuntu20.04-docker-8c-8g-9994 does not seem to be running inside a container 18:13:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-206 -v /w/workspace/edgexfoundry_device-gpio_PR-206:/w/workspace/edgexfoundry_device-gpio_PR-206:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-206@tmp:/w/workspace/edgexfoundry_device-gpio_PR-206@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 ******** ci-base-image-x86_64 cat 18:13:00 $ docker top 03eca02247ab87d9022fd678bba3536ccb1a6a99ae26331555d8c431f88f673d -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:01 + go version 18:13:01 go version go1.21.0 linux/amd64 [Pipeline] } 18:13:01 $ docker stop --time=1 03eca02247ab87d9022fd678bba3536ccb1a6a99ae26331555d8c431f88f673d 18:13:02 $ docker rm -f --volumes 03eca02247ab87d9022fd678bba3536ccb1a6a99ae26331555d8c431f88f673d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:03 + docker inspect -f . ci-base-image-x86_64 18:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:03 prd-ubuntu20.04-docker-8c-8g-9994 does not seem to be running inside a container 18:13:03 $ 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-206 -v /w/workspace/edgexfoundry_device-gpio_PR-206:/w/workspace/edgexfoundry_device-gpio_PR-206:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-206@tmp:/w/workspace/edgexfoundry_device-gpio_PR-206@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 ******** ci-base-image-x86_64 cat 18:13:03 $ docker top 64d50457a86a76c34270bb8d7be98a06159ffab0aaafe7400eaa23950eebc808 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-206 [Pipeline] fileExists [Pipeline] sh 18:13:04 + make test 18:13:04 go test ./... -coverprofile=coverage.out ./... 18:13:05 ? github.com/edgexfoundry/device-gpio [no test files] 18:13:15 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:13:15 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:13:22 go vet ./... 18:13:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:25 ./bin/test-attribution-txt.sh [Pipeline] echo 18:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:13:25 $ docker stop --time=1 64d50457a86a76c34270bb8d7be98a06159ffab0aaafe7400eaa23950eebc808 18:13:28 $ docker rm -f --volumes 64d50457a86a76c34270bb8d7be98a06159ffab0aaafe7400eaa23950eebc808 [Pipeline] // withDockerContainer [Pipeline] sh 18:13:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:29 + ls -al . 18:13:29 total 160 18:13:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 . 18:13:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 .. 18:13:29 -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 18:11 .dockerignore 18:13:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .git 18:13:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 .github 18:13:29 -rw-rw-r-- 1 jenkins jenkins 256 Oct 24 18:11 .gitignore 18:13:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:11 .golangci.yml 18:13:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:11 .semver 18:13:29 -rw-rw-r-- 1 jenkins jenkins 10671 Oct 24 18:11 Attribution.txt 18:13:29 -rw-rw-r-- 1 jenkins jenkins 6184 Oct 24 18:11 CHANGELOG.md 18:13:29 -rw-rw-r-- 1 jenkins jenkins 1542 Oct 24 18:11 Dockerfile 18:13:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:11 GOVERNANCE.md 18:13:29 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:11 Jenkinsfile 18:13:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:11 LICENSE 18:13:29 -rw-rw-r-- 1 jenkins jenkins 1923 Oct 24 18:11 Makefile 18:13:29 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 18:11 OWNERS.md 18:13:29 -rw-rw-r-- 1 jenkins jenkins 12217 Oct 24 18:11 README.md 18:13:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:11 VERSION 18:13:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:11 bin 18:13:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 cmd 18:13:29 -rw-r--r-- 1 jenkins jenkins 10 Oct 24 18:13 coverage.out 18:13:29 -rw-rw-r-- 1 jenkins jenkins 3698 Oct 24 18:11 go.mod 18:13:29 -rw-rw-r-- 1 jenkins jenkins 35450 Oct 24 18:11 go.sum 18:13:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 internal 18:13:29 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:30 + 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=0e3e76b883e61e841453c96bbd5dba64dfbe921e --label arch=amd64 --label version=0.0.0 . 18:13:30 Sending build context to Docker daemon 16.16MB 18:13:30 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:13:30 Step 2/25 : FROM ${BASE} AS builder 18:13:30 ---> 8b47593fed64 18:13:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:13:30 ---> Running in 34d7ca69f412 18:13:30 Removing intermediate container 34d7ca69f412 18:13:30 ---> 995c44d7c1ff 18:13:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:30 ---> Running in b5c729ae1d70 18:13:30 Removing intermediate container b5c729ae1d70 18:13:30 ---> 352d06a3eaf1 18:13:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:13:30 ---> Running in 675034d2a715 18:13:30 Removing intermediate container 675034d2a715 18:13:30 ---> 1e90c8a7918e 18:13:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:13:30 ---> Running in 4b932042c970 18:13:30 Removing intermediate container 4b932042c970 18:13:30 ---> 7edf969c4d8a 18:13:30 Step 7/25 : WORKDIR /device-gpio 18:13:30 ---> Running in fa0c6d965355 18:13:30 Removing intermediate container fa0c6d965355 18:13:30 ---> d66e89e52314 18:13:30 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:30 ---> Running in 62f9be6d3489 18:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:31 OK: 268 MiB in 56 packages 18:13:31 Removing intermediate container 62f9be6d3489 18:13:31 ---> 35e05cc122f6 18:13:31 Step 9/25 : COPY go.mod vendor* ./ 18:13:31 ---> ad36404feae8 18:13:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:31 ---> Running in ea0665679c46 18:13:32 Removing intermediate container ea0665679c46 18:13:32 ---> 358854d5704b 18:13:32 Step 11/25 : COPY . . 18:13:33 ---> 12e5a3c0016c 18:13:33 Step 12/25 : RUN ${MAKE} 18:13:33 ---> Running in f002b4de5eac 18:13:33 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-dev.36" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 18:13:55 Removing intermediate container f002b4de5eac 18:13:55 ---> f221c30c3931 18:13:55 Step 13/25 : FROM alpine:3.18 18:13:55 3.18: Pulling from library/alpine 18:13:55 96526aa774ef: Pulling fs layer 18:13:55 96526aa774ef: Verifying Checksum 18:13:55 96526aa774ef: Download complete 18:13:55 96526aa774ef: Pull complete 18:13:55 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:13:55 Status: Downloaded newer image for alpine:3.18 18:13:55 ---> 8ca4688f4f35 18:13:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:13:55 ---> Running in 731894f795d4 18:13:55 Removing intermediate container 731894f795d4 18:13:55 ---> cae177cf1e4b 18:13:55 Step 15/25 : RUN apk add --update --no-cache 18:13:55 ---> Running in 83304977a350 18:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:55 OK: 7 MiB in 15 packages 18:13:55 Removing intermediate container 83304977a350 18:13:55 ---> f6f1f512f164 18:13:55 Step 16/25 : WORKDIR / 18:13:55 ---> Running in e580fc603ccc 18:13:55 Removing intermediate container e580fc603ccc 18:13:55 ---> d77c0012c4b9 18:13:55 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 18:13:55 ---> 3addaaf6066c 18:13:55 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 18:13:56 ---> 51c8a9f03e34 18:13:56 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 18:13:57 ---> e6495d1a1bd5 18:13:57 Step 20/25 : EXPOSE 59910 18:13:57 ---> Running in 7a8d2b35d2e5 18:13:57 Removing intermediate container 7a8d2b35d2e5 18:13:57 ---> f5230b08ee18 18:13:57 Step 21/25 : ENTRYPOINT ["/device-gpio"] 18:13:57 ---> Running in 0c555e4b506c 18:13:57 Removing intermediate container 0c555e4b506c 18:13:57 ---> a01f1ed0dde1 18:13:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:13:57 ---> Running in 7f88d3bbe873 18:13:57 Removing intermediate container 7f88d3bbe873 18:13:57 ---> 702c18f4ad99 18:13:57 Step 23/25 : LABEL arch=amd64 18:13:57 ---> Running in 1db318b48d34 18:13:57 Removing intermediate container 1db318b48d34 18:13:57 ---> 5166199a258e 18:13:57 Step 24/25 : LABEL git_sha=0e3e76b883e61e841453c96bbd5dba64dfbe921e 18:13:57 ---> Running in 0ef377e55315 18:13:57 Removing intermediate container 0ef377e55315 18:13:57 ---> d9659dd16e43 18:13:57 Step 25/25 : LABEL version=0.0.0 18:13:57 ---> Running in 8ea67d90fa8a 18:13:57 Removing intermediate container 8ea67d90fa8a 18:13:57 ---> d079444fac86 18:13:57 [Warning] One or more build-args [ARCH] were not consumed 18:13:57 Successfully built d079444fac86 18:13:57 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 18:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:58 18:13:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:58 latest: Pulling from edgex-lftools-log-publisher 18:13:58 5eb5b503b376: Pulling fs layer 18:13:58 5c69ac0246d0: Pulling fs layer 18:13:58 ec43610c2a17: Pulling fs layer 18:13:58 3a2ae6a8a46f: Pulling fs layer 18:13:58 33b1e0a273af: Pulling fs layer 18:13:58 5d3b04190fa2: Pulling fs layer 18:13:58 3a2ae6a8a46f: Waiting 18:13:58 33b1e0a273af: Waiting 18:13:58 2f39f015ded8: Pulling fs layer 18:13:58 5d3b04190fa2: Waiting 18:13:58 2f39f015ded8: Waiting 18:13:58 5c69ac0246d0: Verifying Checksum 18:13:58 5c69ac0246d0: Download complete 18:13:58 3a2ae6a8a46f: Verifying Checksum 18:13:58 3a2ae6a8a46f: Download complete 18:13:58 33b1e0a273af: Verifying Checksum 18:13:58 33b1e0a273af: Download complete 18:13:58 ec43610c2a17: Verifying Checksum 18:13:58 ec43610c2a17: Download complete 18:13:58 5d3b04190fa2: Verifying Checksum 18:13:58 5d3b04190fa2: Download complete 18:13:59 5eb5b503b376: Verifying Checksum 18:13:59 5eb5b503b376: Download complete 18:13:59 2f39f015ded8: Download complete 18:14:00 5eb5b503b376: Pull complete 18:14:00 5c69ac0246d0: Pull complete 18:14:01 ec43610c2a17: Pull complete 18:14:01 3a2ae6a8a46f: Pull complete 18:14:01 33b1e0a273af: Pull complete 18:14:01 5d3b04190fa2: Pull complete 18:14:06 2f39f015ded8: Pull complete 18:14:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:06 prd-ubuntu20.04-docker-8c-8g-9994 does not seem to be running inside a container 18:14:06 $ 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-206 -v /w/workspace/edgexfoundry_device-gpio_PR-206:/w/workspace/edgexfoundry_device-gpio_PR-206:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-206@tmp:/w/workspace/edgexfoundry_device-gpio_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:14:10 $ docker top 40281e03dfe98863c29e6dc802b4d51ce20161efddd4f340844ad8491d1b258d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:11 ---> job-cost.sh 18:14:11 lf-activate-venv: SKIPPING 18:14:11 INFO: No Stack... 18:14:11 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:11 INFO: Archiving Costs [Pipeline] sh 18:14:12 + cat /w/workspace/edgexfoundry_device-gpio_PR-206/archives/cost.csv 18:14:12 + cut -d, -f6 [Pipeline] lock 18:14:12 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] 18:14:12 Resource [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] did not exist. Created. 18:14:12 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:12 + echo total: 0.2199999988079071 [Pipeline] stash 18:14:12 Stashed 1 file(s) [Pipeline] } 18:14:12 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:12 $ docker stop --time=1 40281e03dfe98863c29e6dc802b4d51ce20161efddd4f340844ad8491d1b258d 18:14:14 $ docker rm -f --volumes 40281e03dfe98863c29e6dc802b4d51ce20161efddd4f340844ad8491d1b258d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:27:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10128 in /w/workspace/edgexfoundry_device-gpio_PR-206 [Pipeline] { [Pipeline] ws 18:27:58 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 18:27:58 The recommended git tool is: git 18:28:05 using credential edgex-jenkins-ssh 18:28:05 Cloning the remote Git repository 18:28:05 Cloning repository git@github.com:edgexfoundry/device-gpio.git 18:28:06 > git init /w/workspace/device-gpio/1 # timeout=10 18:28:06 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:28:06 > git --version # timeout=10 18:28:06 > git --version # 'git version 2.25.1' 18:28:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:28:09 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:28:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:28:11 Merging remotes/origin/main commit 1df392e582ed32cc3ab577300f501a2f57a85edb into PR head commit 0e3e76b883e61e841453c96bbd5dba64dfbe921e 18:28:11 Merge succeeded, producing 0e3e76b883e61e841453c96bbd5dba64dfbe921e 18:28:11 Checking out Revision 0e3e76b883e61e841453c96bbd5dba64dfbe921e (PR-206) 18:28:10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:28:10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:28:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:28:11 > git config core.sparsecheckout # timeout=10 18:28:11 > git checkout -f 0e3e76b883e61e841453c96bbd5dba64dfbe921e # timeout=10 18:28:11 > git remote # timeout=10 18:28:11 > git config --get remote.origin.url # timeout=10 18:28:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:11 > git merge 1df392e582ed32cc3ab577300f501a2f57a85edb # timeout=10 18:28:11 > git rev-parse HEAD^{commit} # timeout=10 18:28:11 > git config core.sparsecheckout # timeout=10 18:28:11 > git checkout -f 0e3e76b883e61e841453c96bbd5dba64dfbe921e # timeout=10 18:28:12 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 18:28:12 > git --version # timeout=10 18:28:12 > git --version # 'git version 2.25.1' 18:28:12 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:28:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:28:13 % Total % Received % Xferd Average Speed Time Time Time Current 18:28:13 Dload Upload Total Spent Left Speed 18:28:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 18:28:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:28:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:28:14 + sudo tee /etc/docker/daemon.new 18:28:14 { 18:28:14 "registry-mirrors": [ 18:28:14 "https://nexus3.edgexfoundry.org:10001" 18:28:14 ], 18:28:14 "bip": "10.250.0.254/24", 18:28:14 "hosts": [ 18:28:14 "tcp://0.0.0.0:5555", 18:28:14 "unix:///var/run/docker.sock" 18:28:14 ], 18:28:14 "mtu": 1458, 18:28:14 "selinux-enabled": true, 18:28:14 "seccomp-profile": "/etc/docker/seccomp.json" 18:28:14 } [Pipeline] sh 18:28:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:28:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:37 provisioning config files... 18:28:37 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config11762960832680923220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:38 ---> docker-login.sh 18:28:38 nexus3.edgexfoundry.org:10001 18:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:38 Configure a credential helper to remove this warning. See 18:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:38 18:28:38 Login Succeeded 18:28:38 nexus3.edgexfoundry.org:10002 18:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:39 Configure a credential helper to remove this warning. See 18:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:39 18:28:39 Login Succeeded 18:28:39 nexus3.edgexfoundry.org:10003 18:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:39 Configure a credential helper to remove this warning. See 18:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:39 18:28:39 Login Succeeded 18:28:39 nexus3.edgexfoundry.org:10004 18:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:40 Configure a credential helper to remove this warning. See 18:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:40 18:28:40 Login Succeeded 18:28:40 docker.io 18:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:40 Configure a credential helper to remove this warning. See 18:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:40 18:28:40 Login Succeeded 18:28:40 ---> docker-login.sh ends [Pipeline] } 18:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:41 ========================================================= 18:28:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:28:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:41 + 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 . 18:28:41 Sending build context to Docker daemon 8.132MB 18:28:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:28:41 Step 2/12 : FROM ${BASE} AS builder 18:28:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:28:42 9fda8d8052c6: Pulling fs layer 18:28:42 5d54e960e981: Pulling fs layer 18:28:42 c4a7e357bf2a: Pulling fs layer 18:28:42 f0e02332f6b5: Pulling fs layer 18:28:42 cefa15bbcfad: Pulling fs layer 18:28:42 17808c966233: Pulling fs layer 18:28:42 f4c1fc716caa: Pulling fs layer 18:28:42 cefa15bbcfad: Waiting 18:28:42 17808c966233: Waiting 18:28:42 f4c1fc716caa: Waiting 18:28:42 f0e02332f6b5: Waiting 18:28:42 5d54e960e981: Verifying Checksum 18:28:42 5d54e960e981: Download complete 18:28:42 f0e02332f6b5: Verifying Checksum 18:28:42 f0e02332f6b5: Download complete 18:28:42 cefa15bbcfad: Verifying Checksum 18:28:42 cefa15bbcfad: Download complete 18:28:42 9fda8d8052c6: Verifying Checksum 18:28:42 9fda8d8052c6: Download complete 18:28:42 f4c1fc716caa: Verifying Checksum 18:28:42 f4c1fc716caa: Download complete 18:28:43 9fda8d8052c6: Pull complete 18:28:44 5d54e960e981: Pull complete 18:28:44 c4a7e357bf2a: Verifying Checksum 18:28:44 c4a7e357bf2a: Download complete 18:28:45 17808c966233: Download complete 18:28:57 c4a7e357bf2a: Pull complete 18:28:57 f0e02332f6b5: Pull complete 18:28:58 cefa15bbcfad: Pull complete 18:29:06 17808c966233: Pull complete 18:29:08 f4c1fc716caa: Pull complete 18:29:08 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:29:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:29:08 ---> ea914061e18c 18:29:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:29:09 ---> Running in dd901ab3c40a 18:29:09 Removing intermediate container dd901ab3c40a 18:29:09 ---> 6c7c7e9c0ede 18:29:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:29:09 ---> Running in 55c5a0eb40c8 18:29:09 Removing intermediate container 55c5a0eb40c8 18:29:09 ---> b6bb31c4985e 18:29:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:29:10 ---> Running in 4b5eba184f6f 18:29:10 Removing intermediate container 4b5eba184f6f 18:29:10 ---> dc447903cfa1 18:29:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:29:10 ---> Running in 400a1f37ff18 18:29:10 Removing intermediate container 400a1f37ff18 18:29:10 ---> 5d9918f134ca 18:29:10 Step 7/12 : WORKDIR /device-gpio 18:29:10 ---> Running in 2a31577e3768 18:29:11 Removing intermediate container 2a31577e3768 18:29:11 ---> fc07bf45abf7 18:29:11 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:11 ---> Running in ed0d7b87d753 18:29:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:29:14 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:29:14 (2/4) Installing libedit (20221030.3.1-r1) 18:29:14 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:29:14 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:29:14 Executing busybox-1.36.1-r2.trigger 18:29:14 OK: 270 MiB in 56 packages 18:29:16 Removing intermediate container ed0d7b87d753 18:29:16 ---> 140110ea0661 18:29:16 Step 9/12 : COPY go.mod vendor* ./ 18:29:16 ---> 782565bc8b75 18:29:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:16 ---> Running in cd554525c31f 18:30:53 Removing intermediate container cd554525c31f 18:30:53 ---> 6410fac45c9f 18:30:53 Step 11/12 : COPY . . 18:30:53 ---> c7d9bc852455 18:30:53 Step 12/12 : RUN ${MAKE} 18:30:53 ---> Running in a75e17fcd69a 18:30:54 noop 18:30:54 Removing intermediate container a75e17fcd69a 18:30:54 ---> aac5dec2df0e 18:30:55 Successfully built aac5dec2df0e 18:30:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:55 + docker inspect -f . ci-base-image-arm64 18:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-10128 does not seem to be running inside a container 18:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:30:57 $ docker top 80e49d60ff6dc293c53fb8bc4435d13219472813c3d2aa729d15d4acd1ac92e1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:58 + go version 18:30:58 go version go1.21.0 linux/arm64 [Pipeline] } 18:30:58 $ docker stop --time=1 80e49d60ff6dc293c53fb8bc4435d13219472813c3d2aa729d15d4acd1ac92e1 18:31:00 $ docker rm -f --volumes 80e49d60ff6dc293c53fb8bc4435d13219472813c3d2aa729d15d4acd1ac92e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:01 + docker inspect -f . ci-base-image-arm64 18:31:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:01 prd-ubuntu20.04-docker-arm64-4c-16g-10128 does not seem to be running inside a container 18:31:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:31:02 $ docker top c0a60df3bcf8635ca2c1338aa4042489d399ff371fc4f05cf5f9790f7b31e4e0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:03 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 18:31:04 + make test 18:31:04 go test ./... -coverprofile=coverage.out ./... 18:31:10 ? github.com/edgexfoundry/device-gpio [no test files] 18:33:19 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:33:19 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:33:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:33:19 go vet ./... 18:33:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:33:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:33:42 ./bin/test-attribution-txt.sh [Pipeline] echo 18:33:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:33:42 $ docker stop --time=1 c0a60df3bcf8635ca2c1338aa4042489d399ff371fc4f05cf5f9790f7b31e4e0 18:33:44 $ docker rm -f --volumes c0a60df3bcf8635ca2c1338aa4042489d399ff371fc4f05cf5f9790f7b31e4e0 [Pipeline] // withDockerContainer [Pipeline] sh 18:33:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:33:45 Warning: overwriting stash ‘coverage-report’ 18:33:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:33:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:33:47 + ls -al . 18:33:47 total 156 18:33:47 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:31 . 18:33:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:28 .. 18:33:47 -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 18:28 .dockerignore 18:33:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:28 .git 18:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 .github 18:33:47 -rw-rw-r-- 1 jenkins jenkins 256 Oct 24 18:28 .gitignore 18:33:47 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:28 .golangci.yml 18:33:47 -rw-rw-r-- 1 jenkins jenkins 10671 Oct 24 18:28 Attribution.txt 18:33:47 -rw-rw-r-- 1 jenkins jenkins 6184 Oct 24 18:28 CHANGELOG.md 18:33:47 -rw-rw-r-- 1 jenkins jenkins 1542 Oct 24 18:28 Dockerfile 18:33:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:28 GOVERNANCE.md 18:33:47 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:28 Jenkinsfile 18:33:47 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:28 LICENSE 18:33:47 -rw-rw-r-- 1 jenkins jenkins 1923 Oct 24 18:28 Makefile 18:33:47 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 18:28 OWNERS.md 18:33:47 -rw-rw-r-- 1 jenkins jenkins 12217 Oct 24 18:28 README.md 18:33:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:11 VERSION 18:33:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:28 bin 18:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 cmd 18:33:47 -rw-r--r-- 1 jenkins jenkins 10 Oct 24 18:31 coverage.out 18:33:47 -rw-rw-r-- 1 jenkins jenkins 3698 Oct 24 18:28 go.mod 18:33:47 -rw-rw-r-- 1 jenkins jenkins 35450 Oct 24 18:28 go.sum 18:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 internal 18:33:47 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:48 + 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=0e3e76b883e61e841453c96bbd5dba64dfbe921e --label arch=arm64 --label version=0.0.0 . 18:33:48 Sending build context to Docker daemon 8.133MB 18:33:48 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:33:48 Step 2/25 : FROM ${BASE} AS builder 18:33:48 ---> aac5dec2df0e 18:33:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:33:48 ---> Running in 967722cacfb2 18:33:49 Removing intermediate container 967722cacfb2 18:33:49 ---> c7ca0a4a55ed 18:33:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:33:49 ---> Running in 782c958bf93a 18:33:49 Removing intermediate container 782c958bf93a 18:33:49 ---> 6c717873df29 18:33:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:33:49 ---> Running in 380d0494d614 18:33:50 Removing intermediate container 380d0494d614 18:33:50 ---> 942c47eb2f28 18:33:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:33:50 ---> Running in ad1fc783541a 18:33:50 Removing intermediate container ad1fc783541a 18:33:50 ---> c9464e1b34b4 18:33:50 Step 7/25 : WORKDIR /device-gpio 18:33:50 ---> Running in e771a4b4098d 18:33:51 Removing intermediate container e771a4b4098d 18:33:51 ---> 70ddcfbb1722 18:33:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:51 ---> Running in 53bf2cf06a18 18:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:33:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:33:54 OK: 270 MiB in 56 packages 18:33:55 Removing intermediate container 53bf2cf06a18 18:33:55 ---> 8e64bc87ae11 18:33:55 Step 9/25 : COPY go.mod vendor* ./ 18:33:56 ---> 35840a87f52b 18:33:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:56 ---> Running in 5f2f46ae868e 18:33:59 Removing intermediate container 5f2f46ae868e 18:33:59 ---> 3a71a0618d30 18:33:59 Step 11/25 : COPY . . 18:34:00 ---> ad4a90af4f70 18:34:00 Step 12/25 : RUN ${MAKE} 18:34:00 ---> Running in 4035543b32bb 18:34:01 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-dev.36" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 18:36:23 Removing intermediate container 4035543b32bb 18:36:23 ---> e51bb9501739 18:36:23 Step 13/25 : FROM alpine:3.18 18:36:23 3.18: Pulling from library/alpine 18:36:23 579b34f0a95b: Pulling fs layer 18:36:23 579b34f0a95b: Verifying Checksum 18:36:23 579b34f0a95b: Download complete 18:36:23 579b34f0a95b: Pull complete 18:36:23 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:36:23 Status: Downloaded newer image for alpine:3.18 18:36:23 ---> 3cc203321400 18:36:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:36:23 ---> Running in 5304bff7280a 18:36:23 Removing intermediate container 5304bff7280a 18:36:23 ---> 36ea7772e9d4 18:36:23 Step 15/25 : RUN apk add --update --no-cache 18:36:23 ---> Running in 7c818b1cfa0f 18:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:36:23 OK: 8 MiB in 15 packages 18:36:23 Removing intermediate container 7c818b1cfa0f 18:36:23 ---> 89b0fac265a2 18:36:23 Step 16/25 : WORKDIR / 18:36:23 ---> Running in 2bfde350736d 18:36:23 Removing intermediate container 2bfde350736d 18:36:23 ---> d8c8a388ee00 18:36:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 18:36:23 ---> e01a7cb74e7e 18:36:23 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 18:36:23 ---> 10d704a8b059 18:36:23 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 18:36:23 ---> f4306bfdbb0d 18:36:23 Step 20/25 : EXPOSE 59910 18:36:23 ---> Running in 40eb0441d5f7 18:36:23 Removing intermediate container 40eb0441d5f7 18:36:23 ---> 2615c6a6e5b7 18:36:23 Step 21/25 : ENTRYPOINT ["/device-gpio"] 18:36:23 ---> Running in 9d56141a787f 18:36:23 Removing intermediate container 9d56141a787f 18:36:23 ---> cb635a41cb11 18:36:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:36:23 ---> Running in 0e15a6f379bb 18:36:23 Removing intermediate container 0e15a6f379bb 18:36:23 ---> d53dc91b635d 18:36:23 Step 23/25 : LABEL arch=arm64 18:36:23 ---> Running in 5887893314a9 18:36:23 Removing intermediate container 5887893314a9 18:36:23 ---> 8342e93e1743 18:36:23 Step 24/25 : LABEL git_sha=0e3e76b883e61e841453c96bbd5dba64dfbe921e 18:36:23 ---> Running in d6a39ff91497 18:36:23 Removing intermediate container d6a39ff91497 18:36:23 ---> 44d8c94e15c3 18:36:23 Step 25/25 : LABEL version=0.0.0 18:36:23 ---> Running in 05d712aa4634 18:36:24 Removing intermediate container 05d712aa4634 18:36:24 ---> dd1a3131288f 18:36:24 [Warning] One or more build-args [ARCH] were not consumed 18:36:24 Successfully built dd1a3131288f 18:36:24 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 18:36:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:36:25 18:36:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:36:25 arm64: Pulling from edgex-lftools-log-publisher 18:36:25 8998bd30e6a1: Pulling fs layer 18:36:25 04944245beec: Pulling fs layer 18:36:25 699f458cf7ca: Pulling fs layer 18:36:25 765212b225bb: Pulling fs layer 18:36:25 f23df028b6ca: Pulling fs layer 18:36:25 d65c8cfc05b1: Pulling fs layer 18:36:25 2437ff75d9bd: Pulling fs layer 18:36:25 765212b225bb: Waiting 18:36:25 d65c8cfc05b1: Waiting 18:36:25 2437ff75d9bd: Waiting 18:36:25 f23df028b6ca: Waiting 18:36:25 04944245beec: Verifying Checksum 18:36:25 04944245beec: Download complete 18:36:25 765212b225bb: Download complete 18:36:25 f23df028b6ca: Verifying Checksum 18:36:25 f23df028b6ca: Download complete 18:36:25 d65c8cfc05b1: Verifying Checksum 18:36:25 d65c8cfc05b1: Download complete 18:36:26 699f458cf7ca: Verifying Checksum 18:36:26 699f458cf7ca: Download complete 18:36:26 8998bd30e6a1: Verifying Checksum 18:36:26 8998bd30e6a1: Download complete 18:36:29 2437ff75d9bd: Verifying Checksum 18:36:29 2437ff75d9bd: Download complete 18:36:32 8998bd30e6a1: Pull complete 18:36:32 04944245beec: Pull complete 18:36:36 699f458cf7ca: Pull complete 18:36:36 765212b225bb: Pull complete 18:36:37 f23df028b6ca: Pull complete 18:36:37 d65c8cfc05b1: Pull complete 18:36:59 2437ff75d9bd: Pull complete 18:36:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:36:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:36:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:00 prd-ubuntu20.04-docker-arm64-4c-16g-10128 does not seem to be running inside a container 18:37:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:37:03 $ docker top ac530254bf4dfefb68b43bd93e3824531cb4d6fd460e9ce8205b749bbbc9fe0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:04 ---> job-cost.sh 18:37:04 lf-activate-venv: SKIPPING 18:37:04 INFO: No Stack... 18:37:04 INFO: Retrieving Pricing Info for: v3-standard-4 18:37:05 INFO: Archiving Costs [Pipeline] sh 18:37:06 + cat /w/workspace/device-gpio/1/archives/cost.csv 18:37:06 + cut -d, -f6 [Pipeline] lock 18:37:06 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] 18:37:06 Resource [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] did not exist. Created. 18:37:06 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:37:07 /w/workspace/device-gpio/1@tmp/durable-0f27faf4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:37:08 + echo total: 0.10999999940395355 [Pipeline] stash 18:37:08 Warning: overwriting stash ‘stack-cost’ 18:37:08 Stashed 1 file(s) [Pipeline] } 18:37:08 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:37:08 $ docker stop --time=1 ac530254bf4dfefb68b43bd93e3824531cb4d6fd460e9ce8205b749bbbc9fe0f 18:37:09 $ docker rm -f --volumes ac530254bf4dfefb68b43bd93e3824531cb4d6fd460e9ce8205b749bbbc9fe0f [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 18:37:11 provisioning config files... 18:37:11 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-206@tmp/config1149712941099920059tmp [Pipeline] { [Pipeline] sh 18:37:11 + set +x 18:37:11 + bash -s -- 18:37:11 + curl -s https://codecov.io/bash 18:37:11 18:37:11 _____ _ 18:37:11 / ____| | | 18:37:11 | | ___ __| | ___ ___ _____ __ 18:37:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:37:11 | |___| (_) | (_| | __/ (_| (_) \ V / 18:37:11 \_____\___/ \__,_|\___|\___\___/ \_/ 18:37:11 Bash-1.0.6 18:37:11 18:37:11 18:37:11 ==> git version 2.25.1 found 18:37:11 ==> 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 18:37:11 Release-Date: 2020-01-08 18:37:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:37:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:37:11 ==> Jenkins CI detected. 18:37:11 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-206 18:37:11 project root: . 18:37:11 --> token set from env 18:37:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:37:11 ==> Running gcov in . (disable via -X gcov) 18:37:11 ==> Python coveragepy not found 18:37:11 ==> Searching for coverage reports in: 18:37:11 + . 18:37:11 -> Found 1 reports 18:37:11 ==> Detecting git/mercurial file structure 18:37:11 ==> Reading reports 18:37:11 + ./coverage.out bytes=10 18:37:11 ==> Appending adjustments 18:37:11 https://docs.codecov.io/docs/fixing-reports 18:37:11 + Found adjustments 18:37:11 ==> Gzipping contents 18:37:11 4.0K /tmp/codecov.FlGKk0.gz 18:37:11 ==> Uploading reports 18:37:11 url: https://codecov.io 18:37:11 query: branch=PR-206&commit=0e3e76b883e61e841453c96bbd5dba64dfbe921e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=206&job=&cmd_args= 18:37:11 -> Pinging Codecov 18:37:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-206&commit=0e3e76b883e61e841453c96bbd5dba64dfbe921e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=206&job=&cmd_args= 18:37:11 -> Uploading to 18:37:11 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/0e3e76b883e61e841453c96bbd5dba64dfbe921e/5462fe48-444b-4ac8-82b9-cb600e04d790.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T183711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3d7cf8f0a8e997be4bf72cdad329aec60a1e6ea672221464b6198010740eee7 18:37:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:37:11 Dload Upload Total Spent Left Speed 18:37:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 1716 --:--:-- --:--:-- --:--:-- 1716 18:37:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/0e3e76b883e61e841453c96bbd5dba64dfbe921e [Pipeline] } 18:37:12 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 18:37:13 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-206/archives ] 18:37:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-206/archives 18:37:13 total 16 18:37:13 drwxr-xr-x 3 root root 4096 Oct 24 18:14 . 18:37:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:14 .. 18:37:13 drwxr-xr-x 2 root root 4096 Oct 24 18:14 cost 18:37:13 -rw-r--r-- 1 root root 83 Oct 24 18:14 cost.csv 18:37:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-206/archives 18:37:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-206/archives 18:37:13 total 16 18:37:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:14 . 18:37:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:14 .. 18:37:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:14 cost 18:37:13 -rw-r--r-- 1 jenkins jenkins 83 Oct 24 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:37:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:37:15 ---> package-listing.sh 18:37:15 ++ facter osfamily 18:37:15 ++ tr '[:upper:]' '[:lower:]' 18:37:15 + OS_FAMILY=debian 18:37:15 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-206 18:37:15 + START_PACKAGES=/tmp/packages_start.txt 18:37:15 + END_PACKAGES=/tmp/packages_end.txt 18:37:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:37:15 + PACKAGES=/tmp/packages_start.txt 18:37:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-206 ']' 18:37:15 + PACKAGES=/tmp/packages_end.txt 18:37:15 + case "${OS_FAMILY}" in 18:37:15 + dpkg -l 18:37:15 + grep '^ii' 18:37:15 + '[' -f /tmp/packages_start.txt ']' 18:37:15 + '[' -f /tmp/packages_end.txt ']' 18:37:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:37:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-206 ']' 18:37:15 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-206/archives/ 18:37:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-206/archives/ [Pipeline] echo 18:37:15 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:37:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:16 prd-ubuntu20.04-docker-8c-8g-9994 does not seem to be running inside a container 18:37:16 $ 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-206/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-206 -v /w/workspace/edgexfoundry_device-gpio_PR-206:/w/workspace/edgexfoundry_device-gpio_PR-206:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-206@tmp:/w/workspace/edgexfoundry_device-gpio_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:37:16 $ docker top 84f45ce12a0fdedd54f790681ad2615367f3906d81b8647722e4c6aede2567e6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:16 + touch /tmp/pre-build-complete [Pipeline] sh 18:37:17 + mkdir -p /var/log/sysstat [Pipeline] sh 18:37:17 + ls /var/log/sa-host 18:37:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:17 provisioning config files... 18:37:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-206@tmp/config1743880343954014422tmp [Pipeline] { [Pipeline] echo 18:37:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:37:18 ---> create-netrc.sh [Pipeline] } 18:37:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:37:18 ---> python-tools-install.sh [Pipeline] echo 18:37:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:37:18 ---> sudo-logs.sh 18:37:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:37:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:37:19 ---> job-cost.sh 18:37:19 lf-activate-venv: SKIPPING 18:37:19 DEBUG: total: 0.2199999988079071 18:37:19 INFO: Retrieving Stack Cost... 18:37:19 INFO: Retrieving Pricing Info for: v3-standard-8 18:37:20 INFO: Archiving Costs [Pipeline] echo 18:37:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:37:20 ---> logs-deploy.sh 18:37:20 lf-activate-venv: SKIPPING 18:37:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-206/1 18:37:20 INFO: archiving workspace using pattern(s): 18:37:21 Archives upload complete. 18:37:21 INFO: archiving logs to Nexus