Pull request #211 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 98c261b57d60ce88cd0fe3fa531fc196c5eca331+7dc6282e6f484b8ebccec722045a9c6b5647f969 (700dfc760db5f58871b3bae5c8514242dc4ad3c1) 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-ssh12932856223072476050.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-ssh11049208136509594711.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-211/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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10470652057953315982.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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5660500680178081212.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-ssh10682909799583756374.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-211/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-211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2176675184811766065.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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15633 in /w/workspace/edgexfoundry_device-gpio_PR-211 [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-211 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7dc6282e6f484b8ebccec722045a9c6b5647f969 into PR head commit 98c261b57d60ce88cd0fe3fa531fc196c5eca331 Merge succeeded, producing 98c261b57d60ce88cd0fe3fa531fc196c5eca331 Checking out Revision 98c261b57d60ce88cd0fe3fa531fc196c5eca331 (PR-211) Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 98c261b57d60ce88cd0fe3fa531fc196c5eca331 # 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 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98c261b57d60ce88cd0fe3fa531fc196c5eca331 # timeout=10 [Pipeline] timeout 21:36:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:33 ========================================================= 21:36:33 EdgeX Global Pipelines Version Info 21:36:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:34 ------------------- 21:36:34 stable info: 21:36:34 ------------------- 21:36:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:34 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:36:34 Message: update stable to v1.0.254 21:36:35 ------------------- 21:36:35 experimental info: 21:36:35 ------------------- 21:36:35 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:35 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 21:36:35 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-211 [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-211 [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-211 [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98c261b57d60ce88cd0fe3fa531fc196c5eca331 [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98c261b [Pipeline] echo 21:36:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:37 provisioning config files... 21:36:37 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp/config14923431878397408176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:38 ---> docker-login.sh 21:36:38 nexus3.edgexfoundry.org:10001 21:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:40 Configure a credential helper to remove this warning. See 21:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:40 21:36:40 Login Succeeded 21:36:40 nexus3.edgexfoundry.org:10002 21:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:40 Configure a credential helper to remove this warning. See 21:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:40 21:36:40 Login Succeeded 21:36:40 nexus3.edgexfoundry.org:10003 21:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:40 Configure a credential helper to remove this warning. See 21:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:40 21:36:40 Login Succeeded 21:36:40 nexus3.edgexfoundry.org:10004 21:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:40 Configure a credential helper to remove this warning. See 21:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:40 21:36:40 Login Succeeded 21:36:40 docker.io 21:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:41 Configure a credential helper to remove this warning. See 21:36:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:41 21:36:41 Login Succeeded 21:36:41 ---> docker-login.sh ends [Pipeline] } 21:36:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:41 + git rev-list -1 --merges 98c261b57d60ce88cd0fe3fa531fc196c5eca331~1..98c261b57d60ce88cd0fe3fa531fc196c5eca331 [Pipeline] echo 21:36:41 -----------> git rev-list -1 --merges 98c261b57d60ce88cd0fe3fa531fc196c5eca331~1..98c261b57d60ce88cd0fe3fa531fc196c5eca331 98c261b57d60ce88cd0fe3fa531fc196c5eca331 [false] [Pipeline] sh 21:36:42 + git log --format=format:%s -1 98c261b57d60ce88cd0fe3fa531fc196c5eca331 [Pipeline] echo 21:36:42 ========================================================= 21:36:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:42 + git log --format=format:%s -1 98c261b57d60ce88cd0fe3fa531fc196c5eca331 [Pipeline] echo 21:36:43 [semverPrep] GIT_COMMIT: 98c261b57d60ce88cd0fe3fa531fc196c5eca331, Commit Message: build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo 21:36:43 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:43 + grep -v github /etc/ssh/ssh_known_hosts 21:36:43 + [ -e /tmp/ssh_known_hosts ] 21:36:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:44 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 21:36:44 -a /etc/ssh/ssh_known_hosts 21:36:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:44 21:36:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:49 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:49 b85a868b505f: Pulling fs layer 21:36:49 e2be974225ed: Pulling fs layer 21:36:49 339a4e72a1f5: Pulling fs layer 21:36:49 988bab9f4d93: Pulling fs layer 21:36:49 1469e6f7b9e6: Pulling fs layer 21:36:49 eaf3925da568: Pulling fs layer 21:36:49 bab4dde63d76: Pulling fs layer 21:36:49 bde34c3a00c8: Pulling fs layer 21:36:49 b352a97aabf1: Pulling fs layer 21:36:49 4872d77fe225: Pulling fs layer 21:36:49 5851b861e8e6: Pulling fs layer 21:36:49 b352a97aabf1: Waiting 21:36:49 bde34c3a00c8: Waiting 21:36:49 bab4dde63d76: Waiting 21:36:49 988bab9f4d93: Waiting 21:36:49 1469e6f7b9e6: Waiting 21:36:49 5851b861e8e6: Waiting 21:36:49 4872d77fe225: Waiting 21:36:49 eaf3925da568: Waiting 21:36:49 e2be974225ed: Verifying Checksum 21:36:49 e2be974225ed: Download complete 21:36:49 988bab9f4d93: Verifying Checksum 21:36:49 988bab9f4d93: Download complete 21:36:49 1469e6f7b9e6: Verifying Checksum 21:36:49 1469e6f7b9e6: Download complete 21:36:49 eaf3925da568: Verifying Checksum 21:36:49 eaf3925da568: Download complete 21:36:49 b85a868b505f: Verifying Checksum 21:36:49 b85a868b505f: Download complete 21:36:49 339a4e72a1f5: Verifying Checksum 21:36:49 339a4e72a1f5: Download complete 21:36:49 b352a97aabf1: Download complete 21:36:49 4872d77fe225: Verifying Checksum 21:36:49 4872d77fe225: Download complete 21:36:49 bde34c3a00c8: Download complete 21:36:49 5851b861e8e6: Verifying Checksum 21:36:49 5851b861e8e6: Download complete 21:36:49 bab4dde63d76: Verifying Checksum 21:36:49 bab4dde63d76: Download complete 21:36:53 b85a868b505f: Pull complete 21:36:57 e2be974225ed: Pull complete 21:36:59 339a4e72a1f5: Pull complete 21:37:02 988bab9f4d93: Pull complete 21:37:03 1469e6f7b9e6: Pull complete 21:37:05 eaf3925da568: Pull complete 21:37:10 bab4dde63d76: Pull complete 21:37:11 bde34c3a00c8: Pull complete 21:37:21 b352a97aabf1: Pull complete 21:37:21 4872d77fe225: Pull complete 21:37:21 5851b861e8e6: Pull complete 21:37:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:37:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:21 prd-ubuntu20.04-docker-8c-8g-15633 does not seem to be running inside a container 21:37:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-211 -v /w/workspace/edgexfoundry_device-gpio_PR-211:/w/workspace/edgexfoundry_device-gpio_PR-211:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-211@tmp:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:37:28 $ docker top 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 -eo pid,comm 21:37:28 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). 21:37:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:28 [ssh-agent] Looking for ssh-agent implementation... 21:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:28 $ docker exec 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 ssh-agent 21:37:28 SSH_AUTH_SOCK=/tmp/ssh-S6a0OpWU5SsL/agent.14 21:37:28 SSH_AGENT_PID=20 21:37:28 Running ssh-add (command line suppressed) 21:37:28 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-211@tmp/private_key_16530747356045007346.key (/w/workspace/edgexfoundry_device-gpio_PR-211@tmp/private_key_16530747356045007346.key) 21:37:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:29 + git tag --points-at HEAD [Pipeline] } 21:37:29 $ docker exec --env ******** --env ******** 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 ssh-agent -k 21:37:29 unset SSH_AUTH_SOCK; 21:37:29 unset SSH_AGENT_PID; 21:37:29 echo Agent pid 20 killed; 21:37:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:37:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:29 [ssh-agent] Looking for ssh-agent implementation... 21:37:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:29 $ docker exec 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 ssh-agent 21:37:29 SSH_AUTH_SOCK=/tmp/ssh-n1rMheAoCsRi/agent.71 21:37:29 SSH_AGENT_PID=77 21:37:29 Running ssh-add (command line suppressed) 21:37:29 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-211@tmp/private_key_1521357895811982802.key (/w/workspace/edgexfoundry_device-gpio_PR-211@tmp/private_key_1521357895811982802.key) 21:37:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:30 + git semver init 21:37:30 2023-10-31 21:37:30,456 [run_init] DEBUG init version:0.0.0 force:False 21:37:30 2023-10-31 21:37:30,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-211/.semver 21:37:30 2023-10-31 21:37:30,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-211/.semver 21:37:30 2023-10-31 21:37:30,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-211/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-211, universal_newlines=False, shell=None, istream=None) 21:37:31 2023-10-31 21:37:31,871 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-211/.git/info/exclude 21:37:31 2023-10-31 21:37:31,871 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-211/.semver/PR-211 with force:False 21:37:31 2023-10-31 21:37:31,871 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-211/.semver/PR-211 21:37:31 2023-10-31 21:37:31,876 [execute] INFO git cat-file --batch-check 21:37:31 2023-10-31 21:37:31,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-211/.semver, universal_newlines=False, shell=None, istream=) 21:37:31 2023-10-31 21:37:31,885 [execute] INFO git cat-file --batch 21:37:31 2023-10-31 21:37:31,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-211/.semver, universal_newlines=False, shell=None, istream=) 21:37:31 2023-10-31 21:37:31,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-211/.semver/PR-211 21:37:31 0.0.0 [Pipeline] } 21:37:31 $ docker exec --env ******** --env ******** 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 ssh-agent -k 21:37:32 unset SSH_AUTH_SOCK; 21:37:32 unset SSH_AGENT_PID; 21:37:32 echo Agent pid 77 killed; 21:37:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:32 + git semver [Pipeline] } 21:37:32 $ docker stop --time=1 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 21:37:34 $ docker rm -f --volumes 78703163d74bca7942eb470e3891d86aa5179deb21d971324016b3aca6ac3578 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:37:35 Stashed 1 file(s) [Pipeline] echo 21:37:35 [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 21:37:36 provisioning config files... 21:37:36 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp/config2647545226007768599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:36 ---> docker-login.sh 21:37:36 nexus3.edgexfoundry.org:10001 21:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:36 Configure a credential helper to remove this warning. See 21:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:36 21:37:36 Login Succeeded 21:37:36 nexus3.edgexfoundry.org:10002 21:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:36 Configure a credential helper to remove this warning. See 21:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:36 21:37:36 Login Succeeded 21:37:36 nexus3.edgexfoundry.org:10003 21:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:36 Configure a credential helper to remove this warning. See 21:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:36 21:37:36 Login Succeeded 21:37:36 nexus3.edgexfoundry.org:10004 21:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:36 Configure a credential helper to remove this warning. See 21:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:36 21:37:36 Login Succeeded 21:37:36 docker.io 21:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:37 Configure a credential helper to remove this warning. See 21:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:37 21:37:37 Login Succeeded 21:37:37 ---> docker-login.sh ends [Pipeline] } 21:37:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:37:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:37 ========================================================= 21:37:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:37:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:38 + 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 . 21:37:38 Sending build context to Docker daemon 16.16MB 21:37:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:37:38 Step 2/12 : FROM ${BASE} AS builder 21:37:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:37:38 7264a8db6415: Pulling fs layer 21:37:38 c4d48a809fc2: Pulling fs layer 21:37:38 4f1c88b9dad5: Pulling fs layer 21:37:38 ad3a456e5733: Pulling fs layer 21:37:38 33e27b845d1e: Pulling fs layer 21:37:38 c68163c4e522: Pulling fs layer 21:37:38 50da416c3ac9: Pulling fs layer 21:37:38 23d2d4c4bb30: Pulling fs layer 21:37:38 c68163c4e522: Waiting 21:37:38 50da416c3ac9: Waiting 21:37:38 23d2d4c4bb30: Waiting 21:37:38 33e27b845d1e: Waiting 21:37:38 ad3a456e5733: Waiting 21:37:38 c4d48a809fc2: Verifying Checksum 21:37:38 c4d48a809fc2: Download complete 21:37:38 ad3a456e5733: Verifying Checksum 21:37:38 ad3a456e5733: Download complete 21:37:38 33e27b845d1e: Verifying Checksum 21:37:38 33e27b845d1e: Download complete 21:37:38 7264a8db6415: Verifying Checksum 21:37:38 7264a8db6415: Download complete 21:37:38 c68163c4e522: Verifying Checksum 21:37:38 c68163c4e522: Download complete 21:37:39 23d2d4c4bb30: Verifying Checksum 21:37:39 23d2d4c4bb30: Download complete 21:37:39 7264a8db6415: Pull complete 21:37:39 4f1c88b9dad5: Verifying Checksum 21:37:39 4f1c88b9dad5: Download complete 21:37:39 50da416c3ac9: Verifying Checksum 21:37:39 50da416c3ac9: Download complete 21:37:39 c4d48a809fc2: Pull complete 21:37:43 4f1c88b9dad5: Pull complete 21:37:43 ad3a456e5733: Pull complete 21:37:43 33e27b845d1e: Pull complete 21:37:43 c68163c4e522: Pull complete 21:37:46 50da416c3ac9: Pull complete 21:37:47 23d2d4c4bb30: Pull complete 21:37:47 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:37:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:37:47 ---> 0786185ac409 21:37:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:37:51 Still waiting to schedule task 21:37:51 ‘prd-centos7-blackbox-4c-2g-12692’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:37:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15655’ is offline 21:38:02 ---> Running in c73288207d47 21:38:02 Removing intermediate container c73288207d47 21:38:02 ---> b481f26bca82 21:38:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:02 ---> Running in e4e9585e7c62 21:38:02 Removing intermediate container e4e9585e7c62 21:38:02 ---> 7e2894687b3b 21:38:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:38:02 ---> Running in 4f3ce0290bf5 21:38:02 Removing intermediate container 4f3ce0290bf5 21:38:02 ---> 7118065752e5 21:38:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:38:02 ---> Running in d5ace520c71a 21:38:02 Removing intermediate container d5ace520c71a 21:38:02 ---> 63f987f14941 21:38:02 Step 7/12 : WORKDIR /device-gpio 21:38:03 ---> Running in 5478fe4fa387 21:38:03 Removing intermediate container 5478fe4fa387 21:38:03 ---> 5dcc942584a7 21:38:03 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:04 ---> Running in 99ad14c79de6 21:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:38:04 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:38:04 (2/4) Installing libedit (20221030.3.1-r1) 21:38:04 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:38:04 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:38:04 Executing busybox-1.36.1-r2.trigger 21:38:04 OK: 268 MiB in 56 packages 21:38:06 Removing intermediate container 99ad14c79de6 21:38:06 ---> b9ba2cf8cd56 21:38:06 Step 9/12 : COPY go.mod vendor* ./ 21:38:06 ---> 7aa0bc6f5716 21:38:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:06 ---> Running in 031439d15e33 21:39:03 Removing intermediate container 031439d15e33 21:39:03 ---> c6c6d5acd093 21:39:03 Step 11/12 : COPY . . 21:39:03 ---> acde13a33d9e 21:39:03 Step 12/12 : RUN ${MAKE} 21:39:03 ---> Running in 09f3cb087db8 21:39:03 noop 21:39:03 Removing intermediate container 09f3cb087db8 21:39:03 ---> 6ef71e8479fb 21:39:03 Successfully built 6ef71e8479fb 21:39:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:03 + docker inspect -f . ci-base-image-x86_64 21:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:03 prd-ubuntu20.04-docker-8c-8g-15633 does not seem to be running inside a container 21:39:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-211 -v /w/workspace/edgexfoundry_device-gpio_PR-211:/w/workspace/edgexfoundry_device-gpio_PR-211:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-211@tmp:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:39:04 $ docker top 8ec2248d2d93fe22061470c9aa8f6663ec74a5b0e2e852e2bb343368e08526cf -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:04 + go version 21:39:04 go version go1.21.0 linux/amd64 [Pipeline] } 21:39:04 $ docker stop --time=1 8ec2248d2d93fe22061470c9aa8f6663ec74a5b0e2e852e2bb343368e08526cf 21:39:06 $ docker rm -f --volumes 8ec2248d2d93fe22061470c9aa8f6663ec74a5b0e2e852e2bb343368e08526cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:07 + docker inspect -f . ci-base-image-x86_64 21:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:07 prd-ubuntu20.04-docker-8c-8g-15633 does not seem to be running inside a container 21:39:07 $ 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-211 -v /w/workspace/edgexfoundry_device-gpio_PR-211:/w/workspace/edgexfoundry_device-gpio_PR-211:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-211@tmp:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:39:07 $ docker top 65dde7fbe0b6897022d1aefea612fa66e2860fcfcfa81f9d25a35f0355f3bd68 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-211 [Pipeline] fileExists [Pipeline] sh 21:39:08 + make test 21:39:08 go test ./... -coverprofile=coverage.out ./... 21:39:10 ? github.com/edgexfoundry/device-gpio [no test files] 21:39:20 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:39:20 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:39:26 go vet ./... 21:39:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:28 ./bin/test-attribution-txt.sh [Pipeline] echo 21:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:39:28 $ docker stop --time=1 65dde7fbe0b6897022d1aefea612fa66e2860fcfcfa81f9d25a35f0355f3bd68 21:39:32 $ docker rm -f --volumes 65dde7fbe0b6897022d1aefea612fa66e2860fcfcfa81f9d25a35f0355f3bd68 [Pipeline] // withDockerContainer [Pipeline] sh 21:39:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:39:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:39:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:39:34 + ls -al . 21:39:34 total 160 21:39:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:39 . 21:39:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:36 .. 21:39:34 -rw-rw-r-- 1 jenkins jenkins 120 Oct 31 21:36 .dockerignore 21:39:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:39 .git 21:39:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 .github 21:39:34 -rw-rw-r-- 1 jenkins jenkins 277 Oct 31 21:36 .gitignore 21:39:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:36 .golangci.yml 21:39:34 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:37 .semver 21:39:34 -rw-rw-r-- 1 jenkins jenkins 10671 Oct 31 21:36 Attribution.txt 21:39:34 -rw-rw-r-- 1 jenkins jenkins 6184 Oct 31 21:36 CHANGELOG.md 21:39:34 -rw-rw-r-- 1 jenkins jenkins 1542 Oct 31 21:36 Dockerfile 21:39:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:36 GOVERNANCE.md 21:39:34 -rw-rw-r-- 1 jenkins jenkins 657 Oct 31 21:36 Jenkinsfile 21:39:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:36 LICENSE 21:39:34 -rw-rw-r-- 1 jenkins jenkins 1923 Oct 31 21:36 Makefile 21:39:34 -rw-rw-r-- 1 jenkins jenkins 617 Oct 31 21:36 OWNERS.md 21:39:34 -rw-rw-r-- 1 jenkins jenkins 12217 Oct 31 21:36 README.md 21:39:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION 21:39:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 bin 21:39:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 cmd 21:39:34 -rw-r--r-- 1 jenkins jenkins 10 Oct 31 21:39 coverage.out 21:39:34 -rw-rw-r-- 1 jenkins jenkins 3698 Oct 31 21:36 go.mod 21:39:34 -rw-rw-r-- 1 jenkins jenkins 35450 Oct 31 21:36 go.sum 21:39:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 internal 21:39:34 -rw-rw-r-- 1 jenkins jenkins 209 Oct 31 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:34 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=98c261b57d60ce88cd0fe3fa531fc196c5eca331 --label arch=amd64 --label version=0.0.0 . 21:39:34 Sending build context to Docker daemon 16.16MB 21:39:34 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:39:34 Step 2/25 : FROM ${BASE} AS builder 21:39:34 ---> 6ef71e8479fb 21:39:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:39:35 ---> Running in f81289a63d20 21:39:35 Removing intermediate container f81289a63d20 21:39:35 ---> 0d795f476bff 21:39:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:35 ---> Running in fe7334b79c32 21:39:35 Removing intermediate container fe7334b79c32 21:39:35 ---> 486ea17f3505 21:39:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:39:35 ---> Running in cbb6d79c9885 21:39:35 Removing intermediate container cbb6d79c9885 21:39:35 ---> 96af67f8826d 21:39:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:39:35 ---> Running in d4e4d40641cb 21:39:35 Removing intermediate container d4e4d40641cb 21:39:35 ---> 5fc3ff972fd8 21:39:35 Step 7/25 : WORKDIR /device-gpio 21:39:35 ---> Running in bd61eabcb7c5 21:39:35 Removing intermediate container bd61eabcb7c5 21:39:35 ---> 9cede37a5344 21:39:35 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:35 ---> Running in 9d370cf6a733 21:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:39:36 OK: 268 MiB in 56 packages 21:39:36 Removing intermediate container 9d370cf6a733 21:39:36 ---> 4a24102ccf7c 21:39:36 Step 9/25 : COPY go.mod vendor* ./ 21:39:36 ---> 0168a33c03ac 21:39:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:36 ---> Running in 02111d8bfce9 21:39:37 Removing intermediate container 02111d8bfce9 21:39:37 ---> 1fd5fb589764 21:39:37 Step 11/25 : COPY . . 21:39:38 ---> 278bba0003a4 21:39:38 Step 12/25 : RUN ${MAKE} 21:39:38 ---> Running in 369cc165f201 21:39:38 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.37" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 21:40:00 Removing intermediate container 369cc165f201 21:40:00 ---> 1fec259c3b58 21:40:00 Step 13/25 : FROM alpine:3.18 21:40:00 3.18: Pulling from library/alpine 21:40:00 96526aa774ef: Pulling fs layer 21:40:00 96526aa774ef: Verifying Checksum 21:40:00 96526aa774ef: Download complete 21:40:00 96526aa774ef: Pull complete 21:40:00 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:40:00 Status: Downloaded newer image for alpine:3.18 21:40:00 ---> 8ca4688f4f35 21:40:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:40:00 ---> Running in ea04b33eef11 21:40:00 Removing intermediate container ea04b33eef11 21:40:00 ---> e26ac7bd6a97 21:40:00 Step 15/25 : RUN apk add --update --no-cache 21:40:00 ---> Running in 985840eee8e0 21:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:40:01 OK: 7 MiB in 15 packages 21:40:01 Removing intermediate container 985840eee8e0 21:40:01 ---> 5bc4f7fef668 21:40:01 Step 16/25 : WORKDIR / 21:40:01 ---> Running in ca390f30fb24 21:40:01 Removing intermediate container ca390f30fb24 21:40:01 ---> e138ff3c597e 21:40:01 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:40:01 ---> 0e11931ab61c 21:40:01 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:40:02 ---> a6a33cd3a351 21:40:02 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:40:03 ---> 80879f9d0951 21:40:03 Step 20/25 : EXPOSE 59910 21:40:03 ---> Running in 8c12c1381a5c 21:40:03 Removing intermediate container 8c12c1381a5c 21:40:03 ---> 631d48c356ed 21:40:03 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:40:03 ---> Running in 91c45ca8efe0 21:40:03 Removing intermediate container 91c45ca8efe0 21:40:03 ---> b17d5654434b 21:40:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:40:03 ---> Running in 8d172c72fb88 21:40:03 Removing intermediate container 8d172c72fb88 21:40:03 ---> 9a35138b37f4 21:40:03 Step 23/25 : LABEL arch=amd64 21:40:03 ---> Running in 3b0d922c4a8b 21:40:03 Removing intermediate container 3b0d922c4a8b 21:40:03 ---> 2d142697addc 21:40:03 Step 24/25 : LABEL git_sha=98c261b57d60ce88cd0fe3fa531fc196c5eca331 21:40:03 ---> Running in 01f4fdd7386d 21:40:03 Removing intermediate container 01f4fdd7386d 21:40:03 ---> 195141f9555e 21:40:03 Step 25/25 : LABEL version=0.0.0 21:40:03 ---> Running in 30da9587bd1f 21:40:03 Removing intermediate container 30da9587bd1f 21:40:03 ---> b872bf94fb18 21:40:03 [Warning] One or more build-args [ARCH] were not consumed 21:40:03 Successfully built b872bf94fb18 21:40:03 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 21:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:04 21:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:05 latest: Pulling from edgex-lftools-log-publisher 21:40:05 5eb5b503b376: Pulling fs layer 21:40:05 5c69ac0246d0: Pulling fs layer 21:40:05 ec43610c2a17: Pulling fs layer 21:40:05 3a2ae6a8a46f: Pulling fs layer 21:40:05 33b1e0a273af: Pulling fs layer 21:40:05 5d3b04190fa2: Pulling fs layer 21:40:05 2f39f015ded8: Pulling fs layer 21:40:05 33b1e0a273af: Waiting 21:40:05 5d3b04190fa2: Waiting 21:40:05 2f39f015ded8: Waiting 21:40:05 3a2ae6a8a46f: Waiting 21:40:05 5c69ac0246d0: Download complete 21:40:05 3a2ae6a8a46f: Verifying Checksum 21:40:05 3a2ae6a8a46f: Download complete 21:40:05 33b1e0a273af: Verifying Checksum 21:40:05 33b1e0a273af: Download complete 21:40:05 5d3b04190fa2: Verifying Checksum 21:40:05 5d3b04190fa2: Download complete 21:40:05 ec43610c2a17: Verifying Checksum 21:40:05 ec43610c2a17: Download complete 21:40:05 5eb5b503b376: Verifying Checksum 21:40:05 5eb5b503b376: Download complete 21:40:06 2f39f015ded8: Download complete 21:40:06 5eb5b503b376: Pull complete 21:40:07 5c69ac0246d0: Pull complete 21:40:07 ec43610c2a17: Pull complete 21:40:07 3a2ae6a8a46f: Pull complete 21:40:07 33b1e0a273af: Pull complete 21:40:08 5d3b04190fa2: Pull complete 21:40:12 2f39f015ded8: Pull complete 21:40:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:12 prd-ubuntu20.04-docker-8c-8g-15633 does not seem to be running inside a container 21:40:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-211 -v /w/workspace/edgexfoundry_device-gpio_PR-211:/w/workspace/edgexfoundry_device-gpio_PR-211:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-211@tmp:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:40:19 $ docker top 518d6cc889cb0feb06580f1fe0b0890bf0cadf61c19a8972dd11c5ccd196ad5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:20 ---> job-cost.sh 21:40:20 lf-activate-venv: SKIPPING 21:40:20 INFO: No Stack... 21:40:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:40:21 INFO: Archiving Costs [Pipeline] sh 21:40:21 + cat /w/workspace/edgexfoundry_device-gpio_PR-211/archives/cost.csv 21:40:21 + cut -d, -f6 [Pipeline] lock 21:40:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] 21:40:21 Resource [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] did not exist. Created. 21:40:21 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:22 + echo total: 0.2199999988079071 [Pipeline] stash 21:40:22 Stashed 1 file(s) [Pipeline] } 21:40:22 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:22 $ docker stop --time=1 518d6cc889cb0feb06580f1fe0b0890bf0cadf61c19a8972dd11c5ccd196ad5e 21:40:23 $ docker rm -f --volumes 518d6cc889cb0feb06580f1fe0b0890bf0cadf61c19a8972dd11c5ccd196ad5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:40:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15662 in /w/workspace/edgexfoundry_device-gpio_PR-211 [Pipeline] { [Pipeline] ws 21:40:49 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 21:40:49 The recommended git tool is: git 21:40:56 using credential edgex-jenkins-ssh 21:40:56 Cloning the remote Git repository 21:40:56 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:40:56 > git init /w/workspace/device-gpio/1 # timeout=10 21:40:57 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:40:57 > git --version # timeout=10 21:40:57 > git --version # 'git version 2.25.1' 21:40:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:59 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:40:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:00 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:41:00 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:41:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:41:01 Merging remotes/origin/main commit 7dc6282e6f484b8ebccec722045a9c6b5647f969 into PR head commit 98c261b57d60ce88cd0fe3fa531fc196c5eca331 21:41:01 Merge succeeded, producing 98c261b57d60ce88cd0fe3fa531fc196c5eca331 21:41:01 Checking out Revision 98c261b57d60ce88cd0fe3fa531fc196c5eca331 (PR-211) 21:41:02 Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 21:41:02 > git --version # timeout=10 21:41:02 > git --version # 'git version 2.25.1' 21:41:02 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 21:41:01 > git config core.sparsecheckout # timeout=10 21:41:01 > git checkout -f 98c261b57d60ce88cd0fe3fa531fc196c5eca331 # timeout=10 21:41:01 > git remote # timeout=10 21:41:01 > git config --get remote.origin.url # timeout=10 21:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:01 > git merge 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 21:41:01 > git rev-parse HEAD^{commit} # timeout=10 21:41:01 > git config core.sparsecheckout # timeout=10 21:41:01 > git checkout -f 98c261b57d60ce88cd0fe3fa531fc196c5eca331 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:41:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:41:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:09 Dload Upload Total Spent Left Speed 21:41:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 21:41:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:41:10 + + sudosudo tee jq /etc/docker/daemon.new 21:41:10 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:41:10 { 21:41:10 "registry-mirrors": [ 21:41:10 "https://nexus3.edgexfoundry.org:10001" 21:41:10 ], 21:41:10 "bip": "10.250.0.254/24", 21:41:10 "hosts": [ 21:41:10 "tcp://0.0.0.0:5555", 21:41:10 "unix:///var/run/docker.sock" 21:41:10 ], 21:41:10 "mtu": 1458, 21:41:10 "selinux-enabled": true, 21:41:10 "seccomp-profile": "/etc/docker/seccomp.json" 21:41:10 } [Pipeline] sh 21:41:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:41:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:29 provisioning config files... 21:41:30 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config16468734046856832916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:30 ---> docker-login.sh 21:41:30 nexus3.edgexfoundry.org:10001 21:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:31 Configure a credential helper to remove this warning. See 21:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:31 21:41:31 Login Succeeded 21:41:31 nexus3.edgexfoundry.org:10002 21:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:31 Configure a credential helper to remove this warning. See 21:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:31 21:41:31 Login Succeeded 21:41:31 nexus3.edgexfoundry.org:10003 21:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:32 Configure a credential helper to remove this warning. See 21:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:32 21:41:32 Login Succeeded 21:41:32 nexus3.edgexfoundry.org:10004 21:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:32 Configure a credential helper to remove this warning. See 21:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:32 21:41:32 Login Succeeded 21:41:32 docker.io 21:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:33 Configure a credential helper to remove this warning. See 21:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:33 21:41:33 Login Succeeded 21:41:33 ---> docker-login.sh ends [Pipeline] } 21:41:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:34 ========================================================= 21:41:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:41:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:41:35 Sending build context to Docker daemon 8.142MB 21:41:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:41:35 Step 2/12 : FROM ${BASE} AS builder 21:41:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:35 9fda8d8052c6: Pulling fs layer 21:41:35 5d54e960e981: Pulling fs layer 21:41:35 c4a7e357bf2a: Pulling fs layer 21:41:35 f0e02332f6b5: Pulling fs layer 21:41:35 cefa15bbcfad: Pulling fs layer 21:41:35 17808c966233: Pulling fs layer 21:41:35 f4c1fc716caa: Pulling fs layer 21:41:35 cefa15bbcfad: Waiting 21:41:35 17808c966233: Waiting 21:41:35 f4c1fc716caa: Waiting 21:41:35 f0e02332f6b5: Waiting 21:41:35 5d54e960e981: Verifying Checksum 21:41:35 5d54e960e981: Download complete 21:41:35 f0e02332f6b5: Verifying Checksum 21:41:35 f0e02332f6b5: Download complete 21:41:35 cefa15bbcfad: Verifying Checksum 21:41:35 cefa15bbcfad: Download complete 21:41:35 9fda8d8052c6: Verifying Checksum 21:41:35 9fda8d8052c6: Download complete 21:41:36 f4c1fc716caa: Verifying Checksum 21:41:36 f4c1fc716caa: Download complete 21:41:37 9fda8d8052c6: Pull complete 21:41:37 5d54e960e981: Pull complete 21:41:38 c4a7e357bf2a: Verifying Checksum 21:41:38 c4a7e357bf2a: Download complete 21:41:39 17808c966233: Verifying Checksum 21:41:39 17808c966233: Download complete 21:41:54 c4a7e357bf2a: Pull complete 21:41:54 f0e02332f6b5: Pull complete 21:41:54 cefa15bbcfad: Pull complete 21:42:01 17808c966233: Pull complete 21:42:02 f4c1fc716caa: Pull complete 21:42:02 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:42:02 ---> ea914061e18c 21:42:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:42:05 ---> Running in 33fbfb1b7497 21:42:05 Removing intermediate container 33fbfb1b7497 21:42:05 ---> 95ada603c96e 21:42:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:42:05 ---> Running in 5313a9c0e0d0 21:42:06 Removing intermediate container 5313a9c0e0d0 21:42:06 ---> 84a5d2a6360f 21:42:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:42:06 ---> Running in 3b955bd04dd5 21:42:06 Removing intermediate container 3b955bd04dd5 21:42:06 ---> 332a186b7e53 21:42:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:42:06 ---> Running in ff75d3baa3c7 21:42:07 Removing intermediate container ff75d3baa3c7 21:42:07 ---> 32502eef143b 21:42:07 Step 7/12 : WORKDIR /device-gpio 21:42:07 ---> Running in 70eb25327ad4 21:42:07 Removing intermediate container 70eb25327ad4 21:42:07 ---> 6ff5810149bc 21:42:07 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:42:07 ---> Running in a609023ead89 21:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:42:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:42:11 (2/4) Installing libedit (20221030.3.1-r1) 21:42:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:42:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:42:11 Executing busybox-1.36.1-r2.trigger 21:42:11 OK: 270 MiB in 56 packages 21:42:12 Removing intermediate container a609023ead89 21:42:12 ---> 1075111e872b 21:42:12 Step 9/12 : COPY go.mod vendor* ./ 21:42:13 ---> 082bce414a8b 21:42:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:42:13 ---> Running in f5d2f54d87f7 21:43:49 Removing intermediate container f5d2f54d87f7 21:43:49 ---> 09db6c0d6fa1 21:43:49 Step 11/12 : COPY . . 21:43:49 ---> 5ed989e88899 21:43:49 Step 12/12 : RUN ${MAKE} 21:43:49 ---> Running in 51c2e6de2ba3 21:43:49 noop 21:43:49 Removing intermediate container 51c2e6de2ba3 21:43:49 ---> 43773b4e4410 21:43:49 Successfully built 43773b4e4410 21:43:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:50 + docker inspect -f . ci-base-image-arm64 21:43:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:50 prd-ubuntu20.04-docker-arm64-4c-16g-15662 does not seem to be running inside a container 21:43:50 $ 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 21:43:52 $ docker top 5b1990cd874f2dd9ea67b8e0b340544191aaff11bfa19a253420fc273647b061 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:53 + go version 21:43:53 go version go1.21.0 linux/arm64 [Pipeline] } 21:43:53 $ docker stop --time=1 5b1990cd874f2dd9ea67b8e0b340544191aaff11bfa19a253420fc273647b061 21:43:55 $ docker rm -f --volumes 5b1990cd874f2dd9ea67b8e0b340544191aaff11bfa19a253420fc273647b061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:55 + docker inspect -f . ci-base-image-arm64 21:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:56 prd-ubuntu20.04-docker-arm64-4c-16g-15662 does not seem to be running inside a container 21:43:56 $ 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 21:43:57 $ docker top 88b76479eab8a027c7549ae62474a8b51590b9f1c4c38090275cd9192f30382d -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:58 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 21:43:59 + make test 21:43:59 go test ./... -coverprofile=coverage.out ./... 21:44:04 ? github.com/edgexfoundry/device-gpio [no test files] 21:46:41 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:46:41 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:46:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:46:41 go vet ./... 21:46:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:59 ./bin/test-attribution-txt.sh [Pipeline] echo 21:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:47:00 $ docker stop --time=1 88b76479eab8a027c7549ae62474a8b51590b9f1c4c38090275cd9192f30382d 21:47:02 $ docker rm -f --volumes 88b76479eab8a027c7549ae62474a8b51590b9f1c4c38090275cd9192f30382d [Pipeline] // withDockerContainer [Pipeline] sh 21:47:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:47:03 Warning: overwriting stash ‘coverage-report’ 21:47:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:47:05 + ls -al . 21:47:05 total 156 21:47:05 drwxrwxr-x 7 jenkins jenkins 4096 Oct 31 21:44 . 21:47:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:40 .. 21:47:05 -rw-rw-r-- 1 jenkins jenkins 120 Oct 31 21:41 .dockerignore 21:47:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:41 .git 21:47:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:41 .github 21:47:05 -rw-rw-r-- 1 jenkins jenkins 277 Oct 31 21:41 .gitignore 21:47:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:41 .golangci.yml 21:47:05 -rw-rw-r-- 1 jenkins jenkins 10671 Oct 31 21:41 Attribution.txt 21:47:05 -rw-rw-r-- 1 jenkins jenkins 6184 Oct 31 21:41 CHANGELOG.md 21:47:05 -rw-rw-r-- 1 jenkins jenkins 1542 Oct 31 21:41 Dockerfile 21:47:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:41 GOVERNANCE.md 21:47:05 -rw-rw-r-- 1 jenkins jenkins 657 Oct 31 21:41 Jenkinsfile 21:47:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:41 LICENSE 21:47:05 -rw-rw-r-- 1 jenkins jenkins 1923 Oct 31 21:41 Makefile 21:47:05 -rw-rw-r-- 1 jenkins jenkins 617 Oct 31 21:41 OWNERS.md 21:47:05 -rw-rw-r-- 1 jenkins jenkins 12217 Oct 31 21:41 README.md 21:47:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION 21:47:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:41 bin 21:47:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:41 cmd 21:47:05 -rw-r--r-- 1 jenkins jenkins 10 Oct 31 21:44 coverage.out 21:47:05 -rw-rw-r-- 1 jenkins jenkins 3698 Oct 31 21:41 go.mod 21:47:05 -rw-rw-r-- 1 jenkins jenkins 35450 Oct 31 21:41 go.sum 21:47:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:41 internal 21:47:05 -rw-rw-r-- 1 jenkins jenkins 209 Oct 31 21:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:05 + 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=98c261b57d60ce88cd0fe3fa531fc196c5eca331 --label arch=arm64 --label version=0.0.0 . 21:47:05 Sending build context to Docker daemon 8.143MB 21:47:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:47:05 Step 2/25 : FROM ${BASE} AS builder 21:47:05 ---> 43773b4e4410 21:47:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:47:06 ---> Running in 9875af1197e5 21:47:06 Removing intermediate container 9875af1197e5 21:47:06 ---> d6f429cb4634 21:47:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:06 ---> Running in 38b86067470a 21:47:06 Removing intermediate container 38b86067470a 21:47:06 ---> a7951c4c8d18 21:47:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:47:06 ---> Running in 9fe4fa5b8a97 21:47:07 Removing intermediate container 9fe4fa5b8a97 21:47:07 ---> c8dcedcf25c0 21:47:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:47:07 ---> Running in a3554456bbc4 21:47:07 Removing intermediate container a3554456bbc4 21:47:07 ---> aa38665f6700 21:47:07 Step 7/25 : WORKDIR /device-gpio 21:47:08 ---> Running in 1b2466024f61 21:47:08 Removing intermediate container 1b2466024f61 21:47:08 ---> 6a9a37b5686f 21:47:08 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:47:08 ---> Running in 44c5882672ff 21:47:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:47:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:47:11 OK: 270 MiB in 56 packages 21:47:14 Removing intermediate container 44c5882672ff 21:47:14 ---> ff25b2ed61fc 21:47:14 Step 9/25 : COPY go.mod vendor* ./ 21:47:14 ---> 37e74080ea0d 21:47:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:14 ---> Running in d739d537c10a 21:47:17 Removing intermediate container d739d537c10a 21:47:17 ---> dae930ec13da 21:47:17 Step 11/25 : COPY . . 21:47:18 ---> c7a78c4bce7f 21:47:18 Step 12/25 : RUN ${MAKE} 21:47:18 ---> Running in bb516b04bc4c 21:47:19 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.37" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 21:49:40 Removing intermediate container bb516b04bc4c 21:49:40 ---> fe218cae2613 21:49:40 Step 13/25 : FROM alpine:3.18 21:49:40 3.18: Pulling from library/alpine 21:49:40 579b34f0a95b: Pulling fs layer 21:49:40 579b34f0a95b: Verifying Checksum 21:49:40 579b34f0a95b: Download complete 21:49:40 579b34f0a95b: Pull complete 21:49:40 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:49:40 Status: Downloaded newer image for alpine:3.18 21:49:40 ---> 3cc203321400 21:49:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:49:40 ---> Running in 3ce8df5eab59 21:49:40 Removing intermediate container 3ce8df5eab59 21:49:40 ---> 516a5f4db5ec 21:49:40 Step 15/25 : RUN apk add --update --no-cache 21:49:40 ---> Running in 2b5c3567ad55 21:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:49:40 OK: 8 MiB in 15 packages 21:49:41 Removing intermediate container 2b5c3567ad55 21:49:41 ---> a3ffddd2532e 21:49:41 Step 16/25 : WORKDIR / 21:49:41 ---> Running in ebffe069bc68 21:49:42 Removing intermediate container ebffe069bc68 21:49:42 ---> 4f2770b698b7 21:49:42 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:49:42 ---> 2380d9a0d8c1 21:49:42 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:49:43 ---> 85abbcf8a698 21:49:43 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:49:45 ---> e7e80dbb4103 21:49:45 Step 20/25 : EXPOSE 59910 21:49:45 ---> Running in 35fa74b4e7d0 21:49:45 Removing intermediate container 35fa74b4e7d0 21:49:45 ---> 9cb419d7988a 21:49:45 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:49:45 ---> Running in 9775961ec97d 21:49:45 Removing intermediate container 9775961ec97d 21:49:45 ---> 339cb15fd685 21:49:45 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:49:45 ---> Running in f1f39b1ba681 21:49:46 Removing intermediate container f1f39b1ba681 21:49:46 ---> a4e87808fa2b 21:49:46 Step 23/25 : LABEL arch=arm64 21:49:46 ---> Running in c42d94c11284 21:49:46 Removing intermediate container c42d94c11284 21:49:46 ---> 04f9975dffb5 21:49:46 Step 24/25 : LABEL git_sha=98c261b57d60ce88cd0fe3fa531fc196c5eca331 21:49:46 ---> Running in f3daa83e62d2 21:49:47 Removing intermediate container f3daa83e62d2 21:49:47 ---> a2b55c0b3626 21:49:47 Step 25/25 : LABEL version=0.0.0 21:49:47 ---> Running in 9476140f6f59 21:49:47 Removing intermediate container 9476140f6f59 21:49:47 ---> 0e5ad2d873cb 21:49:47 [Warning] One or more build-args [ARCH] were not consumed 21:49:47 Successfully built 0e5ad2d873cb 21:49:47 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:48 21:49:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:48 arm64: Pulling from edgex-lftools-log-publisher 21:49:48 8998bd30e6a1: Pulling fs layer 21:49:48 04944245beec: Pulling fs layer 21:49:48 699f458cf7ca: Pulling fs layer 21:49:48 765212b225bb: Pulling fs layer 21:49:48 f23df028b6ca: Pulling fs layer 21:49:48 765212b225bb: Waiting 21:49:48 d65c8cfc05b1: Pulling fs layer 21:49:48 f23df028b6ca: Waiting 21:49:48 2437ff75d9bd: Pulling fs layer 21:49:48 d65c8cfc05b1: Waiting 21:49:48 2437ff75d9bd: Waiting 21:49:49 04944245beec: Verifying Checksum 21:49:49 04944245beec: Download complete 21:49:49 765212b225bb: Verifying Checksum 21:49:49 765212b225bb: Download complete 21:49:49 f23df028b6ca: Verifying Checksum 21:49:49 f23df028b6ca: Download complete 21:49:49 d65c8cfc05b1: Verifying Checksum 21:49:49 d65c8cfc05b1: Download complete 21:49:49 699f458cf7ca: Verifying Checksum 21:49:49 699f458cf7ca: Download complete 21:49:49 8998bd30e6a1: Verifying Checksum 21:49:49 8998bd30e6a1: Download complete 21:49:52 2437ff75d9bd: Verifying Checksum 21:49:52 2437ff75d9bd: Download complete 21:49:54 8998bd30e6a1: Pull complete 21:49:54 04944245beec: Pull complete 21:49:56 699f458cf7ca: Pull complete 21:49:56 765212b225bb: Pull complete 21:49:57 f23df028b6ca: Pull complete 21:49:57 d65c8cfc05b1: Pull complete 21:50:15 2437ff75d9bd: Pull complete 21:50:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:50:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:16 prd-ubuntu20.04-docker-arm64-4c-16g-15662 does not seem to be running inside a container 21:50:16 $ 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 21:50:19 $ docker top 90bad0b32d07a17103ccb8f9ab1455d300073b351e971d3a3441ecc602b4a8be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:20 ---> job-cost.sh 21:50:20 lf-activate-venv: SKIPPING 21:50:20 INFO: No Stack... 21:50:20 INFO: Retrieving Pricing Info for: v3-standard-4 21:50:21 INFO: Archiving Costs [Pipeline] sh 21:50:22 + cat /w/workspace/device-gpio/1/archives/cost.csv 21:50:22 + cut -d, -f6 [Pipeline] lock 21:50:22 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] 21:50:22 Resource [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] did not exist. Created. 21:50:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:23 /w/workspace/device-gpio/1@tmp/durable-473349a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:50:23 + echo total: 0.10999999940395355 [Pipeline] stash 21:50:23 Warning: overwriting stash ‘stack-cost’ 21:50:23 Stashed 1 file(s) [Pipeline] } 21:50:23 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:24 $ docker stop --time=1 90bad0b32d07a17103ccb8f9ab1455d300073b351e971d3a3441ecc602b4a8be 21:50:25 $ docker rm -f --volumes 90bad0b32d07a17103ccb8f9ab1455d300073b351e971d3a3441ecc602b4a8be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:50:26 provisioning config files... 21:50:26 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp/config6762133139463225286tmp [Pipeline] { [Pipeline] sh 21:50:27 + set +x 21:50:27 + curl -s https://codecov.io/bash 21:50:27 + bash -s -- 21:50:27 21:50:27 _____ _ 21:50:27 / ____| | | 21:50:27 | | ___ __| | ___ ___ _____ __ 21:50:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:50:27 | |___| (_) | (_| | __/ (_| (_) \ V / 21:50:27 \_____\___/ \__,_|\___|\___\___/ \_/ 21:50:27 Bash-1.0.6 21:50:27 21:50:27 21:50:27 ==> git version 2.25.1 found 21:50:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:50:27 Release-Date: 2020-01-08 21:50:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:50:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:50:27 ==> Jenkins CI detected. 21:50:27 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-211 21:50:27 project root: . 21:50:27 --> token set from env 21:50:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:50:27 ==> Running gcov in . (disable via -X gcov) 21:50:27 ==> Python coveragepy not found 21:50:27 ==> Searching for coverage reports in: 21:50:27 + . 21:50:27 -> Found 1 reports 21:50:27 ==> Detecting git/mercurial file structure 21:50:27 ==> Reading reports 21:50:27 + ./coverage.out bytes=10 21:50:27 ==> Appending adjustments 21:50:27 https://docs.codecov.io/docs/fixing-reports 21:50:27 + Found adjustments 21:50:27 ==> Gzipping contents 21:50:27 4.0K /tmp/codecov.mm5XSj.gz 21:50:27 ==> Uploading reports 21:50:27 url: https://codecov.io 21:50:27 query: branch=PR-211&commit=98c261b57d60ce88cd0fe3fa531fc196c5eca331&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=211&job=&cmd_args= 21:50:27 -> Pinging Codecov 21:50:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-211&commit=98c261b57d60ce88cd0fe3fa531fc196c5eca331&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=211&job=&cmd_args= 21:50:27 -> Uploading to 21:50:27 https://storage.googleapis.com/codecov/v4/raw/2023-10-31/3EC07B1A8CA8AF9BCAA0BB9F0134797F/98c261b57d60ce88cd0fe3fa531fc196c5eca331/259fcf3b-4aea-4831-92d9-654aa0f370d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T215027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6165a4f438765846bcab1da77e7189474a71c859192f56bbe8997f204efdede0 21:50:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:27 Dload Upload Total Spent Left Speed 21:50:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2207 --:--:-- --:--:-- --:--:-- 2216 21:50:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/98c261b57d60ce88cd0fe3fa531fc196c5eca331 [Pipeline] } 21:50:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:50:29 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-211/archives ] 21:50:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-211/archives 21:50:29 total 16 21:50:29 drwxr-xr-x 3 root root 4096 Oct 31 21:40 . 21:50:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:40 .. 21:50:29 drwxr-xr-x 2 root root 4096 Oct 31 21:40 cost 21:50:29 -rw-r--r-- 1 root root 83 Oct 31 21:40 cost.csv 21:50:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-211/archives 21:50:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-211/archives 21:50:29 total 16 21:50:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:40 . 21:50:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:40 .. 21:50:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:40 cost 21:50:29 -rw-r--r-- 1 jenkins jenkins 83 Oct 31 21:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:50:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:50:30 ---> package-listing.sh 21:50:30 ++ facter osfamily 21:50:30 ++ tr '[:upper:]' '[:lower:]' 21:50:31 + OS_FAMILY=debian 21:50:31 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-211 21:50:31 + START_PACKAGES=/tmp/packages_start.txt 21:50:31 + END_PACKAGES=/tmp/packages_end.txt 21:50:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:50:31 + PACKAGES=/tmp/packages_start.txt 21:50:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-211 ']' 21:50:31 + PACKAGES=/tmp/packages_end.txt 21:50:31 + case "${OS_FAMILY}" in 21:50:31 + dpkg -l 21:50:31 + grep '^ii' 21:50:31 + '[' -f /tmp/packages_start.txt ']' 21:50:31 + '[' -f /tmp/packages_end.txt ']' 21:50:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:50:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-211 ']' 21:50:31 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-211/archives/ 21:50:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-211/archives/ [Pipeline] echo 21:50:31 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-211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:50:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:32 prd-ubuntu20.04-docker-8c-8g-15633 does not seem to be running inside a container 21:50:32 $ 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-211/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-211 -v /w/workspace/edgexfoundry_device-gpio_PR-211:/w/workspace/edgexfoundry_device-gpio_PR-211:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-211@tmp:/w/workspace/edgexfoundry_device-gpio_PR-211@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 21:50:33 $ docker top 0fa35cf274ffca9288909a200e28f18a7962674bab800c94d2419e655898b6bf -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:33 + touch /tmp/pre-build-complete [Pipeline] sh 21:50:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:50:34 + ls /var/log/sa-host 21:50:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:34 provisioning config files... 21:50:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-211@tmp/config2726033585173074081tmp [Pipeline] { [Pipeline] echo 21:50:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:50:34 ---> create-netrc.sh [Pipeline] } 21:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:50:35 ---> python-tools-install.sh [Pipeline] echo 21:50:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:50:35 ---> sudo-logs.sh 21:50:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:50:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:50:36 ---> job-cost.sh 21:50:36 lf-activate-venv: SKIPPING 21:50:36 DEBUG: total: 0.2199999988079071 21:50:36 INFO: Retrieving Stack Cost... 21:50:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:50:36 INFO: Archiving Costs [Pipeline] echo 21:50:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:50:37 ---> logs-deploy.sh 21:50:37 lf-activate-venv: SKIPPING 21:50:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-211/1 21:50:37 INFO: archiving workspace using pattern(s): 21:50:38 Archives upload complete. 21:50:38 INFO: archiving logs to Nexus