Pull request #187 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-gpio Loading trusted files from base branch main at 7e40bb2e43e068414aa907f761b2c3a1e6facb42 rather than d50190667d9917666c10920bc3d6643c5e388fd4 Obtained Jenkinsfile from 7e40bb2e43e068414aa907f761b2c3a1e6facb42 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-ssh9206980430173477548.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9094264347477047328.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-187/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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12058439174372954059.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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11726830916528919232.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6811326573937391339.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-187/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-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16409275984528259707.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3214 in /w/workspace/edgexfoundry_device-gpio_PR-187 [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-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7e40bb2e43e068414aa907f761b2c3a1e6facb42 into PR head commit d50190667d9917666c10920bc3d6643c5e388fd4 Merge succeeded, producing d50190667d9917666c10920bc3d6643c5e388fd4 Checking out Revision d50190667d9917666c10920bc3d6643c5e388fd4 (PR-187) > 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/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d50190667d9917666c10920bc3d6643c5e388fd4 # 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 7e40bb2e43e068414aa907f761b2c3a1e6facb42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d50190667d9917666c10920bc3d6643c5e388fd4 # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:18:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:18:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:18:25 ========================================================= 10:18:25 EdgeX Global Pipelines Version Info 10:18:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:18:25 ------------------- 10:18:25 stable info: 10:18:25 ------------------- 10:18:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:18:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:18:25 Message: update stable to v1.0.250 10:18:26 ------------------- 10:18:26 experimental info: 10:18:26 ------------------- 10:18:26 Commited By: **** collab-it+edgex@linuxfoundation.org 10:18:26 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:18:26 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:18:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:18:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:18:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:18:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:18:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:18:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 10:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 10:18:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 10:18:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d50190667d9917666c10920bc3d6643c5e388fd4 [Pipeline] echo 10:18:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d501906 [Pipeline] echo 10:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:28 provisioning config files... 10:18:28 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp/config18010848733468493105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:28 ---> docker-login.sh 10:18:28 nexus3.edgexfoundry.org:10001 10:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:28 Configure a credential helper to remove this warning. See 10:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:28 10:18:28 Login Succeeded 10:18:28 nexus3.edgexfoundry.org:10002 10:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:29 Configure a credential helper to remove this warning. See 10:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:29 10:18:29 Login Succeeded 10:18:29 nexus3.edgexfoundry.org:10003 10:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:29 Configure a credential helper to remove this warning. See 10:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:29 10:18:29 Login Succeeded 10:18:29 nexus3.edgexfoundry.org:10004 10:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:29 Configure a credential helper to remove this warning. See 10:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:29 10:18:29 Login Succeeded 10:18:29 docker.io 10:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:29 Configure a credential helper to remove this warning. See 10:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:29 10:18:29 Login Succeeded 10:18:29 ---> docker-login.sh ends [Pipeline] } 10:18:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:18:30 + git rev-list -1 --merges d50190667d9917666c10920bc3d6643c5e388fd4~1..d50190667d9917666c10920bc3d6643c5e388fd4 [Pipeline] echo 10:18:30 -----------> git rev-list -1 --merges d50190667d9917666c10920bc3d6643c5e388fd4~1..d50190667d9917666c10920bc3d6643c5e388fd4 d50190667d9917666c10920bc3d6643c5e388fd4 [false] [Pipeline] sh 10:18:30 + git log --format=format:%s -1 d50190667d9917666c10920bc3d6643c5e388fd4 [Pipeline] echo 10:18:30 ========================================================= 10:18:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:18:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:31 + git log --format=format:%s -1 d50190667d9917666c10920bc3d6643c5e388fd4 [Pipeline] echo 10:18:31 [semverPrep] GIT_COMMIT: d50190667d9917666c10920bc3d6643c5e388fd4, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 10:18:31 [semverPrep] This is not a build commit. [Pipeline] sh 10:18:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:18:31 + grep -v github /etc/ssh/ssh_known_hosts 10:18:31 + [ -e /tmp/ssh_known_hosts ] 10:18:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:18:31 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:18:31 sudo tee -a /etc/ssh/ssh_known_hosts 10:18:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:32 10:18:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:32 0.1.4: Pulling from edgex-devops/py-git-semver 10:18:32 b85a868b505f: Pulling fs layer 10:18:32 e2be974225ed: Pulling fs layer 10:18:32 339a4e72a1f5: Pulling fs layer 10:18:32 988bab9f4d93: Pulling fs layer 10:18:32 1469e6f7b9e6: Pulling fs layer 10:18:32 eaf3925da568: Pulling fs layer 10:18:32 bab4dde63d76: Pulling fs layer 10:18:32 bde34c3a00c8: Pulling fs layer 10:18:32 b352a97aabf1: Pulling fs layer 10:18:32 4872d77fe225: Pulling fs layer 10:18:32 5851b861e8e6: Pulling fs layer 10:18:32 988bab9f4d93: Waiting 10:18:32 1469e6f7b9e6: Waiting 10:18:32 eaf3925da568: Waiting 10:18:32 bab4dde63d76: Waiting 10:18:32 bde34c3a00c8: Waiting 10:18:32 b352a97aabf1: Waiting 10:18:32 4872d77fe225: Waiting 10:18:32 5851b861e8e6: Waiting 10:18:32 e2be974225ed: Download complete 10:18:32 988bab9f4d93: Verifying Checksum 10:18:32 988bab9f4d93: Download complete 10:18:32 1469e6f7b9e6: Verifying Checksum 10:18:32 1469e6f7b9e6: Download complete 10:18:32 eaf3925da568: Download complete 10:18:32 339a4e72a1f5: Verifying Checksum 10:18:32 339a4e72a1f5: Download complete 10:18:32 bde34c3a00c8: Verifying Checksum 10:18:32 b352a97aabf1: Download complete 10:18:32 4872d77fe225: Download complete 10:18:32 5851b861e8e6: Verifying Checksum 10:18:32 5851b861e8e6: Download complete 10:18:33 b85a868b505f: Verifying Checksum 10:18:33 b85a868b505f: Download complete 10:18:33 bab4dde63d76: Verifying Checksum 10:18:33 bab4dde63d76: Download complete 10:18:34 b85a868b505f: Pull complete 10:18:34 e2be974225ed: Pull complete 10:18:34 339a4e72a1f5: Pull complete 10:18:34 988bab9f4d93: Pull complete 10:18:35 1469e6f7b9e6: Pull complete 10:18:35 eaf3925da568: Pull complete 10:18:37 bab4dde63d76: Pull complete 10:18:37 bde34c3a00c8: Pull complete 10:18:37 b352a97aabf1: Pull complete 10:18:37 4872d77fe225: Pull complete 10:18:37 5851b861e8e6: Pull complete 10:18:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:37 prd-ubuntu20.04-docker-8c-8g-3214 does not seem to be running inside a container 10:18:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-187 -v /w/workspace/edgexfoundry_device-gpio_PR-187:/w/workspace/edgexfoundry_device-gpio_PR-187:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-187@tmp:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:18:40 $ docker top e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 -eo pid,comm 10:18:40 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). 10:18:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:40 [ssh-agent] Looking for ssh-agent implementation... 10:18:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:41 $ docker exec e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 ssh-agent 10:18:41 SSH_AUTH_SOCK=/tmp/ssh-S0WiadeQqXiW/agent.32 10:18:41 SSH_AGENT_PID=38 10:18:41 Running ssh-add (command line suppressed) 10:18:41 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-187@tmp/private_key_9972628493412201812.key (/w/workspace/edgexfoundry_device-gpio_PR-187@tmp/private_key_9972628493412201812.key) 10:18:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:41 + git tag --points-at HEAD [Pipeline] } 10:18:41 $ docker exec --env ******** --env ******** e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 ssh-agent -k 10:18:41 unset SSH_AUTH_SOCK; 10:18:41 unset SSH_AGENT_PID; 10:18:41 echo Agent pid 38 killed; 10:18:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:18:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:41 [ssh-agent] Looking for ssh-agent implementation... 10:18:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:41 $ docker exec e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 ssh-agent 10:18:42 SSH_AUTH_SOCK=/tmp/ssh-P5NGppMm33XH/agent.70 10:18:42 SSH_AGENT_PID=76 10:18:42 Running ssh-add (command line suppressed) 10:18:42 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-187@tmp/private_key_10599369572373183077.key (/w/workspace/edgexfoundry_device-gpio_PR-187@tmp/private_key_10599369572373183077.key) 10:18:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:42 + git semver init 10:18:42 2023-08-09 10:18:42,710 [run_init] DEBUG init version:0.0.0 force:False 10:18:42 2023-08-09 10:18:42,711 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-187/.semver 10:18:42 2023-08-09 10:18:42,712 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-187/.semver 10:18:42 2023-08-09 10:18:42,713 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-187/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-187, universal_newlines=False, shell=None, istream=None) 10:18:43 2023-08-09 10:18:43,620 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-187/.git/info/exclude 10:18:43 2023-08-09 10:18:43,620 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-187/.semver/PR-187 with force:False 10:18:43 2023-08-09 10:18:43,620 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-187/.semver/PR-187 10:18:43 2023-08-09 10:18:43,624 [execute] INFO git cat-file --batch-check 10:18:43 2023-08-09 10:18:43,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-187/.semver, universal_newlines=False, shell=None, istream=) 10:18:43 2023-08-09 10:18:43,629 [execute] INFO git cat-file --batch 10:18:43 2023-08-09 10:18:43,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-187/.semver, universal_newlines=False, shell=None, istream=) 10:18:43 2023-08-09 10:18:43,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-187/.semver/PR-187 10:18:43 0.0.0 [Pipeline] } 10:18:43 $ docker exec --env ******** --env ******** e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 ssh-agent -k 10:18:43 unset SSH_AUTH_SOCK; 10:18:43 unset SSH_AGENT_PID; 10:18:43 echo Agent pid 76 killed; 10:18:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:44 + git semver [Pipeline] } 10:18:44 $ docker stop --time=1 e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 10:18:45 $ docker rm -f --volumes e40efda814575e2ebf1160df19cd1ee9b585f4a73c74dc1649f36623a3097153 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:18:46 Stashed 1 file(s) [Pipeline] echo 10:18:46 [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 10:18:47 provisioning config files... 10:18:47 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp/config7853257269783799296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:47 ---> docker-login.sh 10:18:47 nexus3.edgexfoundry.org:10001 10:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:47 Configure a credential helper to remove this warning. See 10:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:47 10:18:47 Login Succeeded 10:18:47 nexus3.edgexfoundry.org:10002 10:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:47 Configure a credential helper to remove this warning. See 10:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:47 10:18:47 Login Succeeded 10:18:47 nexus3.edgexfoundry.org:10003 10:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:47 Configure a credential helper to remove this warning. See 10:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:47 10:18:47 Login Succeeded 10:18:47 nexus3.edgexfoundry.org:10004 10:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:47 Configure a credential helper to remove this warning. See 10:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:47 10:18:47 Login Succeeded 10:18:47 docker.io 10:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:48 Configure a credential helper to remove this warning. See 10:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:48 10:18:48 Login Succeeded 10:18:48 ---> docker-login.sh ends [Pipeline] } 10:18:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:18:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:48 ========================================================= 10:18:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:18:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:18:48 Sending build context to Docker daemon 16.03MB 10:18:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:18:48 Step 2/12 : FROM ${BASE} AS builder 10:18:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:18:49 4db1b89c0bd1: Pulling fs layer 10:18:49 6911f1a30b25: Pulling fs layer 10:18:49 e194b8c5c2a9: Pulling fs layer 10:18:49 6863d3e3a2b1: Pulling fs layer 10:18:49 6863d3e3a2b1: Waiting 10:18:49 ec0bb842ea78: Pulling fs layer 10:18:49 40a00589a448: Pulling fs layer 10:18:49 ec0bb842ea78: Waiting 10:18:49 6c08303d61cc: Pulling fs layer 10:18:49 798269fcf238: Pulling fs layer 10:18:49 6c08303d61cc: Waiting 10:18:49 40a00589a448: Waiting 10:18:49 798269fcf238: Waiting 10:18:49 6911f1a30b25: Download complete 10:18:49 6863d3e3a2b1: Download complete 10:18:49 ec0bb842ea78: Verifying Checksum 10:18:49 ec0bb842ea78: Download complete 10:18:49 4db1b89c0bd1: Download complete 10:18:49 40a00589a448: Verifying Checksum 10:18:49 40a00589a448: Download complete 10:18:49 4db1b89c0bd1: Pull complete 10:18:49 6911f1a30b25: Pull complete 10:18:49 e194b8c5c2a9: Download complete 10:18:50 798269fcf238: Verifying Checksum 10:18:50 798269fcf238: Download complete 10:18:50 6c08303d61cc: Verifying Checksum 10:18:50 6c08303d61cc: Download complete 10:18:53 e194b8c5c2a9: Pull complete 10:18:53 6863d3e3a2b1: Pull complete 10:18:53 ec0bb842ea78: Pull complete 10:18:53 40a00589a448: Pull complete 10:18:56 6c08303d61cc: Pull complete 10:18:56 798269fcf238: Pull complete 10:18:56 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:18:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:18:56 ---> ec979cd7f677 10:18:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:19:01 Still waiting to schedule task 10:19:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:19:02 ---> Running in 334f31873228 10:19:02 Removing intermediate container 334f31873228 10:19:02 ---> 9c73131f2f21 10:19:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:19:02 ---> Running in 85e32c2f1d5e 10:19:02 Removing intermediate container 85e32c2f1d5e 10:19:02 ---> c8aa663a2169 10:19:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:19:02 ---> Running in fdf348ce205e 10:19:02 Removing intermediate container fdf348ce205e 10:19:02 ---> f06135745469 10:19:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:19:02 ---> Running in 5ad9ab6d3506 10:19:02 Removing intermediate container 5ad9ab6d3506 10:19:02 ---> 51c8f953bb33 10:19:02 Step 7/12 : WORKDIR /device-gpio 10:19:02 ---> Running in 58118b175dba 10:19:02 Removing intermediate container 58118b175dba 10:19:02 ---> 519903840aac 10:19:02 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:02 ---> Running in 46ab6e47eb25 10:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:19:03 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:19:03 (2/4) Installing libedit (20221030.3.1-r0) 10:19:03 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:19:03 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:19:03 Executing busybox-1.35.0-r29.trigger 10:19:03 OK: 269 MiB in 57 packages 10:19:03 Removing intermediate container 46ab6e47eb25 10:19:03 ---> 9b29d293b51d 10:19:03 Step 9/12 : COPY go.mod vendor* ./ 10:19:04 ---> 5028d5764019 10:19:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:04 ---> Running in 923760468fc6 10:19:50 Removing intermediate container 923760468fc6 10:19:50 ---> 9d801e9eb391 10:19:50 Step 11/12 : COPY . . 10:19:51 ---> d66a0e717b63 10:19:51 Step 12/12 : RUN ${MAKE} 10:19:51 ---> Running in fcc7a901e8cd 10:19:52 noop 10:19:53 Removing intermediate container fcc7a901e8cd 10:19:53 ---> fde3c022b7da 10:19:53 Successfully built fde3c022b7da 10:19:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:54 + docker inspect -f . ci-base-image-x86_64 10:19:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:54 prd-ubuntu20.04-docker-8c-8g-3214 does not seem to be running inside a container 10:19:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-187 -v /w/workspace/edgexfoundry_device-gpio_PR-187:/w/workspace/edgexfoundry_device-gpio_PR-187:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-187@tmp:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:19:55 $ docker top 365cdc9c480ae7f00439f9354e73f3438f1ec0235bd221b491bd6c9092933ee3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:55 + go version 10:19:55 go version go1.20.6 linux/amd64 [Pipeline] } 10:19:55 $ docker stop --time=1 365cdc9c480ae7f00439f9354e73f3438f1ec0235bd221b491bd6c9092933ee3 10:19:57 $ docker rm -f --volumes 365cdc9c480ae7f00439f9354e73f3438f1ec0235bd221b491bd6c9092933ee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:58 + docker inspect -f . ci-base-image-x86_64 10:19:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:58 prd-ubuntu20.04-docker-8c-8g-3214 does not seem to be running inside a container 10:19:58 $ 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-187 -v /w/workspace/edgexfoundry_device-gpio_PR-187:/w/workspace/edgexfoundry_device-gpio_PR-187:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-187@tmp:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:19:58 $ docker top d0de5aba38097ca33a44bc2bbbe53b9ddca7490903698b18540c529b649704c7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-187 [Pipeline] fileExists [Pipeline] sh 10:19:59 + make test 10:19:59 go test ./... -coverprofile=coverage.out ./... 10:20:04 ? github.com/edgexfoundry/device-gpio [no test files] 10:20:14 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:20:14 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:20:21 go vet ./... 10:20:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:20:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:20:25 ./bin/test-attribution-txt.sh [Pipeline] echo 10:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:20:25 $ docker stop --time=1 d0de5aba38097ca33a44bc2bbbe53b9ddca7490903698b18540c529b649704c7 10:20:31 $ docker rm -f --volumes d0de5aba38097ca33a44bc2bbbe53b9ddca7490903698b18540c529b649704c7 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:20:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:20:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:20:32 + ls -al . 10:20:32 total 164 10:20:32 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:19 . 10:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:18 .. 10:20:32 -rw-rw-r-- 1 jenkins jenkins 120 Aug 9 10:18 .dockerignore 10:20:32 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:18 .git 10:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:18 .github 10:20:32 -rw-rw-r-- 1 jenkins jenkins 343 Aug 9 10:18 .gitignore 10:20:32 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:18 .golangci.yml 10:20:32 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:18 .semver 10:20:32 -rw-rw-r-- 1 jenkins jenkins 9602 Aug 9 10:18 Attribution.txt 10:20:32 -rw-rw-r-- 1 jenkins jenkins 6184 Aug 9 10:18 CHANGELOG.md 10:20:32 -rw-rw-r-- 1 jenkins jenkins 1542 Aug 9 10:18 Dockerfile 10:20:32 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:18 GOVERNANCE.md 10:20:32 -rw-rw-r-- 1 jenkins jenkins 657 Aug 9 10:18 Jenkinsfile 10:20:32 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:18 LICENSE 10:20:32 -rw-rw-r-- 1 jenkins jenkins 1692 Aug 9 10:18 Makefile 10:20:32 -rw-rw-r-- 1 jenkins jenkins 617 Aug 9 10:18 OWNERS.md 10:20:32 -rw-rw-r-- 1 jenkins jenkins 12293 Aug 9 10:18 README.md 10:20:32 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:18 VERSION 10:20:32 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:18 bin 10:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:18 cmd 10:20:32 -rw-r--r-- 1 jenkins jenkins 10 Aug 9 10:19 coverage.out 10:20:32 -rw-rw-r-- 1 jenkins jenkins 3222 Aug 9 10:18 go.mod 10:20:32 -rw-rw-r-- 1 jenkins jenkins 31495 Aug 9 10:18 go.sum 10:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:18 internal 10:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:18 snap 10:20:32 -rw-rw-r-- 1 jenkins jenkins 209 Aug 9 10:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:33 + 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=d50190667d9917666c10920bc3d6643c5e388fd4 --label arch=amd64 --label version=0.0.0 . 10:20:33 Sending build context to Docker daemon 16.03MB 10:20:33 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:20:33 Step 2/25 : FROM ${BASE} AS builder 10:20:33 ---> fde3c022b7da 10:20:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:20:34 ---> Running in ff7aaba37181 10:20:34 Removing intermediate container ff7aaba37181 10:20:34 ---> aa67f0870fc1 10:20:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:20:35 ---> Running in dd4f58467f92 10:20:36 Removing intermediate container dd4f58467f92 10:20:36 ---> 3f31137476b9 10:20:36 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:20:37 ---> Running in b6d89e679eb8 10:20:38 Removing intermediate container b6d89e679eb8 10:20:38 ---> 833cc9694343 10:20:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:20:38 ---> Running in b31369c932bc 10:20:39 Removing intermediate container b31369c932bc 10:20:39 ---> a04b72e5cfc0 10:20:39 Step 7/25 : WORKDIR /device-gpio 10:20:40 ---> Running in e7ad6c224c4d 10:20:40 Removing intermediate container e7ad6c224c4d 10:20:40 ---> ccd2215add12 10:20:40 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:40 ---> Running in cf04258fa0ac 10:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:20:41 OK: 269 MiB in 57 packages 10:20:41 Removing intermediate container cf04258fa0ac 10:20:41 ---> 5f01825f6d7d 10:20:41 Step 9/25 : COPY go.mod vendor* ./ 10:20:41 ---> 88d0f80e777f 10:20:41 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:42 ---> Running in bc1d4b5d49cf 10:20:43 Removing intermediate container bc1d4b5d49cf 10:20:43 ---> 7d66d730b6a0 10:20:43 Step 11/25 : COPY . . 10:20:44 ---> 18b361020324 10:20:44 Step 12/25 : RUN ${MAKE} 10:20:44 ---> Running in 845a970e4139 10:20:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 10:21:06 Removing intermediate container 845a970e4139 10:21:06 ---> f4ab8713da6d 10:21:06 Step 13/25 : FROM alpine:3.17 10:21:06 3.17: Pulling from library/alpine 10:21:06 9398808236ff: Pulling fs layer 10:21:06 9398808236ff: Download complete 10:21:06 9398808236ff: Pull complete 10:21:06 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:21:06 Status: Downloaded newer image for alpine:3.17 10:21:06 ---> 1e0b8b5322fc 10:21:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:21:06 ---> Running in 7d73f984d0e7 10:21:06 Removing intermediate container 7d73f984d0e7 10:21:06 ---> 62d181be0f65 10:21:06 Step 15/25 : RUN apk add --update --no-cache 10:21:06 ---> Running in 057481252f1c 10:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:21:06 OK: 7 MiB in 15 packages 10:21:06 Removing intermediate container 057481252f1c 10:21:06 ---> 035fed0b03e6 10:21:06 Step 16/25 : WORKDIR / 10:21:06 ---> Running in 3e240e7ac432 10:21:06 Removing intermediate container 3e240e7ac432 10:21:06 ---> 151a78b784a5 10:21:06 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:21:06 ---> be3c81c81e05 10:21:06 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:21:06 ---> 87fe91bf960d 10:21:06 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:21:07 ---> f9761fb9b638 10:21:07 Step 20/25 : EXPOSE 59910 10:21:07 ---> Running in e43171d9d9e5 10:21:07 Removing intermediate container e43171d9d9e5 10:21:07 ---> 1479f9bd98ee 10:21:07 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:21:07 ---> Running in fa6fb2db07fd 10:21:08 Removing intermediate container fa6fb2db07fd 10:21:08 ---> 132f21e871b4 10:21:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:21:08 ---> Running in ba14b9bfeb7d 10:21:08 Removing intermediate container ba14b9bfeb7d 10:21:08 ---> 9326b7d98fde 10:21:08 Step 23/25 : LABEL arch=amd64 10:21:08 ---> Running in f434a3b98029 10:21:08 Removing intermediate container f434a3b98029 10:21:08 ---> d4bbc2b40e38 10:21:08 Step 24/25 : LABEL git_sha=d50190667d9917666c10920bc3d6643c5e388fd4 10:21:08 ---> Running in bc86da5182bf 10:21:08 Removing intermediate container bc86da5182bf 10:21:08 ---> 89a042268892 10:21:08 Step 25/25 : LABEL version=0.0.0 10:21:08 ---> Running in d0d48c4d056b 10:21:08 Removing intermediate container d0d48c4d056b 10:21:08 ---> b53e6f35590f 10:21:08 [Warning] One or more build-args [ARCH] were not consumed 10:21:08 Successfully built b53e6f35590f 10:21:08 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 10:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:09 10:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:09 latest: Pulling from edgex-lftools-log-publisher 10:21:09 5eb5b503b376: Pulling fs layer 10:21:09 5c69ac0246d0: Pulling fs layer 10:21:09 ec43610c2a17: Pulling fs layer 10:21:09 3a2ae6a8a46f: Pulling fs layer 10:21:09 33b1e0a273af: Pulling fs layer 10:21:09 5d3b04190fa2: Pulling fs layer 10:21:09 3a2ae6a8a46f: Waiting 10:21:09 33b1e0a273af: Waiting 10:21:09 2f39f015ded8: Pulling fs layer 10:21:09 5c69ac0246d0: Verifying Checksum 10:21:09 5c69ac0246d0: Download complete 10:21:09 3a2ae6a8a46f: Verifying Checksum 10:21:09 33b1e0a273af: Verifying Checksum 10:21:09 33b1e0a273af: Download complete 10:21:09 5d3b04190fa2: Verifying Checksum 10:21:09 5d3b04190fa2: Download complete 10:21:09 ec43610c2a17: Verifying Checksum 10:21:09 ec43610c2a17: Download complete 10:21:10 5eb5b503b376: Verifying Checksum 10:21:10 5eb5b503b376: Download complete 10:21:10 2f39f015ded8: Download complete 10:21:11 5eb5b503b376: Pull complete 10:21:11 5c69ac0246d0: Pull complete 10:21:11 ec43610c2a17: Pull complete 10:21:12 3a2ae6a8a46f: Pull complete 10:21:12 33b1e0a273af: Pull complete 10:21:12 5d3b04190fa2: Pull complete 10:21:16 2f39f015ded8: Pull complete 10:21:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:16 prd-ubuntu20.04-docker-8c-8g-3214 does not seem to be running inside a container 10:21: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/edgexfoundry_device-gpio_PR-187 -v /w/workspace/edgexfoundry_device-gpio_PR-187:/w/workspace/edgexfoundry_device-gpio_PR-187:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-187@tmp:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:21 $ docker top b11dc845aee9f0ecfe860d3b2aacdeed0d420f8de8442537e734f4b8e5048e7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:22 ---> job-cost.sh 10:21:22 lf-activate-venv: SKIPPING 10:21:22 INFO: No Stack... 10:21:22 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:23 INFO: Archiving Costs [Pipeline] sh 10:21:23 + cat /w/workspace/edgexfoundry_device-gpio_PR-187/archives/cost.csv 10:21:23 + cut -d, -f6 [Pipeline] lock 10:21:23 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] 10:21:23 Resource [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] did not exist. Created. 10:21:23 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:21:23 + echo total: 0.2199999988079071 [Pipeline] stash 10:21:23 Stashed 1 file(s) [Pipeline] } 10:21:23 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:21:24 $ docker stop --time=1 b11dc845aee9f0ecfe860d3b2aacdeed0d420f8de8442537e734f4b8e5048e7f 10:21:25 $ docker rm -f --volumes b11dc845aee9f0ecfe860d3b2aacdeed0d420f8de8442537e734f4b8e5048e7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:21:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3216 in /w/workspace/edgexfoundry_device-gpio_PR-187 [Pipeline] { [Pipeline] ws 10:21:44 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 10:21:44 The recommended git tool is: git 10:21:51 using credential edgex-jenkins-ssh 10:21:51 Cloning the remote Git repository 10:21:51 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:21:51 > git init /w/workspace/device-gpio/1 # timeout=10 10:21:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:21:51 > git --version # timeout=10 10:21:51 > git --version # 'git version 2.25.1' 10:21:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:21:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:21:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:21:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:21:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:21:54 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:21:54 using GIT_SSH to set credentials SSH Credentials for GitHub 10:21:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:21:55 Merging remotes/origin/main commit 7e40bb2e43e068414aa907f761b2c3a1e6facb42 into PR head commit d50190667d9917666c10920bc3d6643c5e388fd4 10:21:55 Merge succeeded, producing d50190667d9917666c10920bc3d6643c5e388fd4 10:21:55 Checking out Revision d50190667d9917666c10920bc3d6643c5e388fd4 (PR-187) 10:21:55 > git config core.sparsecheckout # timeout=10 10:21:55 > git checkout -f d50190667d9917666c10920bc3d6643c5e388fd4 # timeout=10 10:21:55 > git remote # timeout=10 10:21:55 > git config --get remote.origin.url # timeout=10 10:21:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:21:55 > git merge 7e40bb2e43e068414aa907f761b2c3a1e6facb42 # timeout=10 10:21:55 > git rev-parse HEAD^{commit} # timeout=10 10:21:55 > git config core.sparsecheckout # timeout=10 10:21:55 > git checkout -f d50190667d9917666c10920bc3d6643c5e388fd4 # timeout=10 10:21:59 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" 10:21:59 > git --version # timeout=10 10:21:59 > git --version # 'git version 2.25.1' 10:21:59 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:22:00 % Total % Received % Xferd Average Speed Time Time Time Current 10:22:00 Dload Upload Total Spent Left Speed 10:22:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 10:22:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:22:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:22:01 + sudo tee /etc/docker/daemon.new 10:22:01 { 10:22:01 "registry-mirrors": [ 10:22:01 "https://nexus3.edgexfoundry.org:10001" 10:22:01 ], 10:22:01 "bip": "10.250.0.254/24", 10:22:01 "hosts": [ 10:22:01 "tcp://0.0.0.0:5555", 10:22:01 "unix:///var/run/docker.sock" 10:22:01 ], 10:22:01 "mtu": 1458, 10:22:01 "selinux-enabled": true, 10:22:01 "seccomp-profile": "/etc/docker/seccomp.json" 10:22:01 } [Pipeline] sh 10:22:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:22:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:20 provisioning config files... 10:22:20 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config14066231774005415092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:21 ---> docker-login.sh 10:22:21 nexus3.edgexfoundry.org:10001 10:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:21 Configure a credential helper to remove this warning. See 10:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:21 10:22:21 Login Succeeded 10:22:21 nexus3.edgexfoundry.org:10002 10:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:22 Configure a credential helper to remove this warning. See 10:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:22 10:22:22 Login Succeeded 10:22:22 nexus3.edgexfoundry.org:10003 10:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:22 Configure a credential helper to remove this warning. See 10:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:22 10:22:22 Login Succeeded 10:22:22 nexus3.edgexfoundry.org:10004 10:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:23 Configure a credential helper to remove this warning. See 10:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:23 10:22:23 Login Succeeded 10:22:23 docker.io 10:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:23 Configure a credential helper to remove this warning. See 10:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:23 10:22:23 Login Succeeded 10:22:23 ---> docker-login.sh ends [Pipeline] } 10:22:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:22:24 ========================================================= 10:22:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:22:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:24 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:22:25 Sending build context to Docker daemon 8.075MB 10:22:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:22:25 Step 2/12 : FROM ${BASE} AS builder 10:22:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:22:25 edb6bdbacee9: Pulling fs layer 10:22:25 5f9638ab2659: Pulling fs layer 10:22:25 8d51d6327a98: Pulling fs layer 10:22:25 8b374f2dd631: Pulling fs layer 10:22:25 ec14aa9079de: Pulling fs layer 10:22:25 2f466654f4bb: Pulling fs layer 10:22:25 554e91adad29: Pulling fs layer 10:22:25 8b374f2dd631: Waiting 10:22:25 ec14aa9079de: Waiting 10:22:25 554e91adad29: Waiting 10:22:25 2f466654f4bb: Waiting 10:22:25 5f9638ab2659: Verifying Checksum 10:22:25 5f9638ab2659: Download complete 10:22:25 8b374f2dd631: Verifying Checksum 10:22:25 8b374f2dd631: Download complete 10:22:25 ec14aa9079de: Verifying Checksum 10:22:25 ec14aa9079de: Download complete 10:22:25 edb6bdbacee9: Verifying Checksum 10:22:27 edb6bdbacee9: Pull complete 10:22:27 5f9638ab2659: Pull complete 10:22:28 554e91adad29: Verifying Checksum 10:22:28 554e91adad29: Download complete 10:22:29 2f466654f4bb: Download complete 10:22:29 8d51d6327a98: Verifying Checksum 10:22:29 8d51d6327a98: Download complete 10:22:41 8d51d6327a98: Pull complete 10:22:41 8b374f2dd631: Pull complete 10:22:41 ec14aa9079de: Pull complete 10:22:48 2f466654f4bb: Pull complete 10:22:50 554e91adad29: Pull complete 10:22:50 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:22:50 ---> 1e15ea492957 10:22:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:22:52 ---> Running in c2796dc5b429 10:22:52 Removing intermediate container c2796dc5b429 10:22:52 ---> ade5b0177674 10:22:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:22:52 ---> Running in c005a71cabbf 10:22:52 Removing intermediate container c005a71cabbf 10:22:52 ---> dce7c08bf3bb 10:22:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:22:52 ---> Running in 704db659a542 10:22:53 Removing intermediate container 704db659a542 10:22:53 ---> fd9d8e580826 10:22:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:22:53 ---> Running in 0dabdb7fefad 10:22:53 Removing intermediate container 0dabdb7fefad 10:22:53 ---> 38382531ce9b 10:22:53 Step 7/12 : WORKDIR /device-gpio 10:22:53 ---> Running in a3edf10a6cb1 10:22:53 Removing intermediate container a3edf10a6cb1 10:22:53 ---> 93ea4c414d22 10:22:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:54 ---> Running in c878971f9d83 10:22:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:22:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:22:57 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:22:57 (2/4) Installing libedit (20221030.3.1-r0) 10:22:57 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:22:57 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:22:57 Executing busybox-1.35.0-r29.trigger 10:22:57 OK: 268 MiB in 57 packages 10:22:58 Removing intermediate container c878971f9d83 10:22:58 ---> 58e20e974a99 10:22:58 Step 9/12 : COPY go.mod vendor* ./ 10:22:59 ---> ea6b6bfd886a 10:22:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:59 ---> Running in bd22f40217b9 10:24:07 Removing intermediate container bd22f40217b9 10:24:07 ---> 36718af34659 10:24:07 Step 11/12 : COPY . . 10:24:07 ---> b2ed851b83eb 10:24:07 Step 12/12 : RUN ${MAKE} 10:24:07 ---> Running in 20fd1fa3016b 10:24:07 noop 10:24:07 Removing intermediate container 20fd1fa3016b 10:24:07 ---> 271d2d72eaa8 10:24:07 Successfully built 271d2d72eaa8 10:24:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:07 + docker inspect -f . ci-base-image-arm64 10:24:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:07 prd-ubuntu20.04-docker-arm64-4c-16g-3216 does not seem to be running inside a container 10:24:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:09 $ docker top 63286bcd9336726bddb87a5cfdc07ba596354fc945ac7419290bdc61162a11ba -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:10 + go version 10:24:10 go version go1.20.6 linux/arm64 [Pipeline] } 10:24:10 $ docker stop --time=1 63286bcd9336726bddb87a5cfdc07ba596354fc945ac7419290bdc61162a11ba 10:24:13 $ docker rm -f --volumes 63286bcd9336726bddb87a5cfdc07ba596354fc945ac7419290bdc61162a11ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:14 + docker inspect -f . ci-base-image-arm64 10:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:14 prd-ubuntu20.04-docker-arm64-4c-16g-3216 does not seem to be running inside a container 10:24:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:16 $ docker top b678d0104da06540b8f10a44bf45107e592984858fa3e1dff2482ee6f54e885c -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:17 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 10:24:17 + make test 10:24:17 go test ./... -coverprofile=coverage.out ./... 10:24:50 ? github.com/edgexfoundry/device-gpio [no test files] 10:26:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:26:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:26:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:26:56 go vet ./... 10:27:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:27:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:27:35 ./bin/test-attribution-txt.sh [Pipeline] echo 10:27:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:27:35 $ docker stop --time=1 b678d0104da06540b8f10a44bf45107e592984858fa3e1dff2482ee6f54e885c 10:27:37 $ docker rm -f --volumes b678d0104da06540b8f10a44bf45107e592984858fa3e1dff2482ee6f54e885c [Pipeline] // withDockerContainer [Pipeline] sh 10:27:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:38 Warning: overwriting stash ‘coverage-report’ 10:27:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:40 + ls -al . 10:27:40 total 160 10:27:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:24 . 10:27:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:21 .. 10:27:40 -rw-rw-r-- 1 jenkins jenkins 120 Aug 9 10:21 .dockerignore 10:27:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:21 .git 10:27:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:21 .github 10:27:40 -rw-rw-r-- 1 jenkins jenkins 343 Aug 9 10:21 .gitignore 10:27:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:21 .golangci.yml 10:27:40 -rw-rw-r-- 1 jenkins jenkins 9602 Aug 9 10:21 Attribution.txt 10:27:40 -rw-rw-r-- 1 jenkins jenkins 6184 Aug 9 10:21 CHANGELOG.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 1542 Aug 9 10:21 Dockerfile 10:27:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:21 GOVERNANCE.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 657 Aug 9 10:21 Jenkinsfile 10:27:40 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:21 LICENSE 10:27:40 -rw-rw-r-- 1 jenkins jenkins 1692 Aug 9 10:21 Makefile 10:27:40 -rw-rw-r-- 1 jenkins jenkins 617 Aug 9 10:21 OWNERS.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 12293 Aug 9 10:21 README.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:18 VERSION 10:27:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:21 bin 10:27:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:21 cmd 10:27:40 -rw-r--r-- 1 jenkins jenkins 10 Aug 9 10:24 coverage.out 10:27:40 -rw-rw-r-- 1 jenkins jenkins 3222 Aug 9 10:21 go.mod 10:27:40 -rw-rw-r-- 1 jenkins jenkins 31495 Aug 9 10:21 go.sum 10:27:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:21 internal 10:27:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:21 snap 10:27:40 -rw-rw-r-- 1 jenkins jenkins 209 Aug 9 10:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:40 + 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=d50190667d9917666c10920bc3d6643c5e388fd4 --label arch=arm64 --label version=0.0.0 . 10:27:41 Sending build context to Docker daemon 8.076MB 10:27:41 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:27:41 Step 2/25 : FROM ${BASE} AS builder 10:27:41 ---> 271d2d72eaa8 10:27:41 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:27:41 ---> Running in 8c5dfc148daf 10:27:41 Removing intermediate container 8c5dfc148daf 10:27:41 ---> f97d732114af 10:27:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:27:41 ---> Running in 60a6341d0020 10:27:41 Removing intermediate container 60a6341d0020 10:27:41 ---> edea4749ab90 10:27:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:27:42 ---> Running in c5ec1109fced 10:27:42 Removing intermediate container c5ec1109fced 10:27:42 ---> a6cbcbedc410 10:27:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:27:42 ---> Running in db9ed2a38e99 10:27:42 Removing intermediate container db9ed2a38e99 10:27:42 ---> a5f6e90583aa 10:27:42 Step 7/25 : WORKDIR /device-gpio 10:27:42 ---> Running in 6eb741672d91 10:27:42 Removing intermediate container 6eb741672d91 10:27:42 ---> 1e8c701794b8 10:27:42 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:43 ---> Running in 3fbb146e34ba 10:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:27:45 OK: 268 MiB in 57 packages 10:27:46 Removing intermediate container 3fbb146e34ba 10:27:46 ---> c93303fa1984 10:27:46 Step 9/25 : COPY go.mod vendor* ./ 10:27:48 ---> 3d7c6aac3565 10:27:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:48 ---> Running in 52f3e6600c2b 10:27:50 Removing intermediate container 52f3e6600c2b 10:27:50 ---> b34b0349d55c 10:27:50 Step 11/25 : COPY . . 10:27:51 ---> ebee11e4e11a 10:27:51 Step 12/25 : RUN ${MAKE} 10:27:51 ---> Running in 4c00ecf6ddea 10:27:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 10:30:14 Removing intermediate container 4c00ecf6ddea 10:30:14 ---> 3c29a2cc8fbb 10:30:14 Step 13/25 : FROM alpine:3.17 10:30:14 3.17: Pulling from library/alpine 10:30:14 4060ece20d7a: Pulling fs layer 10:30:14 4060ece20d7a: Verifying Checksum 10:30:14 4060ece20d7a: Download complete 10:30:14 4060ece20d7a: Pull complete 10:30:14 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:30:14 Status: Downloaded newer image for alpine:3.17 10:30:14 ---> 8650cd65339b 10:30:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:30:14 ---> Running in 0f0f8fa9bbde 10:30:14 Removing intermediate container 0f0f8fa9bbde 10:30:14 ---> 1302ebddd891 10:30:14 Step 15/25 : RUN apk add --update --no-cache 10:30:14 ---> Running in fcaa69b34fc0 10:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:30:14 OK: 7 MiB in 15 packages 10:30:14 Removing intermediate container fcaa69b34fc0 10:30:14 ---> 99940e63b2a2 10:30:14 Step 16/25 : WORKDIR / 10:30:14 ---> Running in 5bc490469a14 10:30:14 Removing intermediate container 5bc490469a14 10:30:14 ---> 027f326f05e4 10:30:14 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:30:14 ---> 1a3333a71345 10:30:14 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:30:14 ---> 0813d28a33c9 10:30:14 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:30:14 ---> 783f2cbc8ee7 10:30:14 Step 20/25 : EXPOSE 59910 10:30:14 ---> Running in 38b726d3a509 10:30:14 Removing intermediate container 38b726d3a509 10:30:14 ---> 82a49b3e6ee0 10:30:14 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:30:14 ---> Running in 8778564f99ee 10:30:14 Removing intermediate container 8778564f99ee 10:30:14 ---> 4a99cbc63fe2 10:30:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:30:14 ---> Running in eb048298654d 10:30:14 Removing intermediate container eb048298654d 10:30:14 ---> 3faf90541703 10:30:14 Step 23/25 : LABEL arch=arm64 10:30:14 ---> Running in 5b3cd11af4e7 10:30:14 Removing intermediate container 5b3cd11af4e7 10:30:14 ---> 7781c24b1cef 10:30:14 Step 24/25 : LABEL git_sha=d50190667d9917666c10920bc3d6643c5e388fd4 10:30:14 ---> Running in fc5f10637d2b 10:30:14 Removing intermediate container fc5f10637d2b 10:30:14 ---> 4816a9d6c888 10:30:14 Step 25/25 : LABEL version=0.0.0 10:30:14 ---> Running in 95b12c96e072 10:30:14 Removing intermediate container 95b12c96e072 10:30:14 ---> 8c59aa8b2a19 10:30:14 [Warning] One or more build-args [ARCH] were not consumed 10:30:14 Successfully built 8c59aa8b2a19 10:30:14 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 10:30:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:15 10:30:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:15 arm64: Pulling from edgex-lftools-log-publisher 10:30:15 8998bd30e6a1: Pulling fs layer 10:30:15 04944245beec: Pulling fs layer 10:30:15 699f458cf7ca: Pulling fs layer 10:30:15 765212b225bb: Pulling fs layer 10:30:15 f23df028b6ca: Pulling fs layer 10:30:15 d65c8cfc05b1: Pulling fs layer 10:30:15 2437ff75d9bd: Pulling fs layer 10:30:15 765212b225bb: Waiting 10:30:15 2437ff75d9bd: Waiting 10:30:15 f23df028b6ca: Waiting 10:30:15 d65c8cfc05b1: Waiting 10:30:15 04944245beec: Verifying Checksum 10:30:15 04944245beec: Download complete 10:30:15 765212b225bb: Verifying Checksum 10:30:15 765212b225bb: Download complete 10:30:15 f23df028b6ca: Verifying Checksum 10:30:15 f23df028b6ca: Download complete 10:30:15 d65c8cfc05b1: Verifying Checksum 10:30:15 d65c8cfc05b1: Download complete 10:30:15 699f458cf7ca: Verifying Checksum 10:30:15 699f458cf7ca: Download complete 10:30:16 8998bd30e6a1: Verifying Checksum 10:30:16 8998bd30e6a1: Download complete 10:30:19 2437ff75d9bd: Verifying Checksum 10:30:19 2437ff75d9bd: Download complete 10:30:20 8998bd30e6a1: Pull complete 10:30:21 04944245beec: Pull complete 10:30:22 699f458cf7ca: Pull complete 10:30:22 765212b225bb: Pull complete 10:30:23 f23df028b6ca: Pull complete 10:30:23 d65c8cfc05b1: Pull complete 10:30:38 2437ff75d9bd: Pull complete 10:30:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:38 prd-ubuntu20.04-docker-arm64-4c-16g-3216 does not seem to be running inside a container 10:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:30:41 $ docker top 78bafd440ccc1d6e27eb58e2baad7c3438f1a55fbfeefe62f87ce808817de8a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:42 ---> job-cost.sh 10:30:42 lf-activate-venv: SKIPPING 10:30:42 INFO: No Stack... 10:30:42 INFO: Retrieving Pricing Info for: v3-standard-4 10:30:43 INFO: Archiving Costs [Pipeline] sh 10:30:43 + cut -d, -f6 10:30:43 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 10:30:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] 10:30:44 Resource [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] did not exist. Created. 10:30:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:30:44 /w/workspace/device-gpio/1@tmp/durable-45d0e506/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:30:45 + echo total: 0.10999999940395355 [Pipeline] stash 10:30:45 Warning: overwriting stash ‘stack-cost’ 10:30:45 Stashed 1 file(s) [Pipeline] } 10:30:45 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:30:45 $ docker stop --time=1 78bafd440ccc1d6e27eb58e2baad7c3438f1a55fbfeefe62f87ce808817de8a5 10:30:46 $ docker rm -f --volumes 78bafd440ccc1d6e27eb58e2baad7c3438f1a55fbfeefe62f87ce808817de8a5 [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 10:30:48 provisioning config files... 10:30:48 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp/config14984508102515619569tmp [Pipeline] { [Pipeline] sh 10:30:48 + set +x 10:30:48 + + curl -s https://codecov.io/bash 10:30:48 bash -s -- 10:30:48 10:30:48 _____ _ 10:30:48 / ____| | | 10:30:48 | | ___ __| | ___ ___ _____ __ 10:30:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:30:48 | |___| (_) | (_| | __/ (_| (_) \ V / 10:30:48 \_____\___/ \__,_|\___|\___\___/ \_/ 10:30:48 Bash-1.0.6 10:30:48 10:30:48 10:30:48 ==> git version 2.25.1 found 10:30:48 ==> 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 10:30:48 Release-Date: 2020-01-08 10:30:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:30:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:30:48 ==> Jenkins CI detected. 10:30:48 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-187 10:30:48 project root: . 10:30:48 --> token set from env 10:30:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:30:48 ==> Running gcov in . (disable via -X gcov) 10:30:48 ==> Python coveragepy not found 10:30:48 ==> Searching for coverage reports in: 10:30:48 + . 10:30:48 -> Found 1 reports 10:30:48 ==> Detecting git/mercurial file structure 10:30:48 ==> Reading reports 10:30:48 + ./coverage.out bytes=10 10:30:48 ==> Appending adjustments 10:30:48 https://docs.codecov.io/docs/fixing-reports 10:30:48 + Found adjustments 10:30:48 ==> Gzipping contents 10:30:48 4.0K /tmp/codecov.lQJymz.gz 10:30:48 ==> Uploading reports 10:30:48 url: https://codecov.io 10:30:48 query: branch=PR-187&commit=d50190667d9917666c10920bc3d6643c5e388fd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=187&job=&cmd_args= 10:30:48 -> Pinging Codecov 10:30:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-187&commit=d50190667d9917666c10920bc3d6643c5e388fd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=187&job=&cmd_args= 10:30:48 -> Uploading to 10:30:48 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d50190667d9917666c10920bc3d6643c5e388fd4/24d9df11-3cf5-4346-b74d-e0f67888f57e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T103048Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89e707570794c0beb87a2a7761cb95388e3863917c32b7b3a4694a20e0060a22 10:30:48 % Total % Received % Xferd Average Speed Time Time Time Current 10:30:48 Dload Upload Total Spent Left Speed 10:30:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3934 --:--:-- --:--:-- --:--:-- 3934 10:30:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/d50190667d9917666c10920bc3d6643c5e388fd4 [Pipeline] } 10:30:48 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 10:30:50 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-187/archives ] 10:30:50 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-187/archives 10:30:50 total 16 10:30:50 drwxr-xr-x 3 root root 4096 Aug 9 10:21 . 10:30:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:21 .. 10:30:50 drwxr-xr-x 2 root root 4096 Aug 9 10:21 cost 10:30:50 -rw-r--r-- 1 root root 83 Aug 9 10:21 cost.csv 10:30:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-187/archives 10:30:50 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-187/archives 10:30:50 total 16 10:30:50 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:21 . 10:30:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:21 .. 10:30:50 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:21 cost 10:30:50 -rw-r--r-- 1 jenkins jenkins 83 Aug 9 10:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:30:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:30:51 ---> package-listing.sh 10:30:51 ++ facter osfamily 10:30:51 ++ tr '[:upper:]' '[:lower:]' 10:30:52 + OS_FAMILY=debian 10:30:52 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-187 10:30:52 + START_PACKAGES=/tmp/packages_start.txt 10:30:52 + END_PACKAGES=/tmp/packages_end.txt 10:30:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:30:52 + PACKAGES=/tmp/packages_start.txt 10:30:52 + '[' /w/workspace/edgexfoundry_device-gpio_PR-187 ']' 10:30:52 + PACKAGES=/tmp/packages_end.txt 10:30:52 + case "${OS_FAMILY}" in 10:30:52 + dpkg -l 10:30:52 + grep '^ii' 10:30:52 + '[' -f /tmp/packages_start.txt ']' 10:30:52 + '[' -f /tmp/packages_end.txt ']' 10:30:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:30:52 + '[' /w/workspace/edgexfoundry_device-gpio_PR-187 ']' 10:30:52 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-187/archives/ 10:30:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-187/archives/ [Pipeline] echo 10:30:52 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:30:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:53 prd-ubuntu20.04-docker-8c-8g-3214 does not seem to be running inside a container 10:30:53 $ 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-187/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-187 -v /w/workspace/edgexfoundry_device-gpio_PR-187:/w/workspace/edgexfoundry_device-gpio_PR-187:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-187@tmp:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:30:53 $ docker top c66bebe795a3e6168b66d7647e6e4a9da029e17b75bb11e7b19c473ca5b7ebe4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:53 + touch /tmp/pre-build-complete [Pipeline] sh 10:30:54 + mkdir -p /var/log/sysstat [Pipeline] sh 10:30:54 + ls /var/log/sa-host 10:30:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:54 provisioning config files... 10:30:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-187@tmp/config6154967230765459824tmp [Pipeline] { [Pipeline] echo 10:30:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:30:55 ---> create-netrc.sh [Pipeline] } 10:30:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:30:55 ---> python-tools-install.sh [Pipeline] echo 10:30:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:30:56 ---> sudo-logs.sh 10:30:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:30:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:30:56 ---> job-cost.sh 10:30:56 lf-activate-venv: SKIPPING 10:30:56 DEBUG: total: 0.2199999988079071 10:30:56 INFO: Retrieving Stack Cost... 10:30:56 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:57 INFO: Archiving Costs [Pipeline] echo 10:30:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:30:57 ---> logs-deploy.sh 10:30:57 lf-activate-venv: SKIPPING 10:30:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-187/1 10:30:57 INFO: archiving workspace using pattern(s): 10:30:58 Archives upload complete. 10:30:58 INFO: archiving logs to Nexus