Pull request #148 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f0ba33643b2b8835a3764ba9793a2532c7fc533+95b01347c682c509c5ba1ad757ba8b1f414ff9ba (81dbbac1b85473ccac8e807e905d4288ec82f36e) 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-ssh12765500869999313833.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10341864203602981413.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-148/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-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2890881505235818006.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-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4227903688492127648.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8612098948273850140.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-148/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-148/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14412272135979661692.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 ‘prd-ubuntu20.04-docker-8c-8g-7040’ Running on prd-ubuntu20.04-docker-8c-8g-7046 in /w/workspace/edgexfoundry_device-gpio_PR-148 [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-148 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 95b01347c682c509c5ba1ad757ba8b1f414ff9ba into PR head commit 8f0ba33643b2b8835a3764ba9793a2532c7fc533 Merge succeeded, producing 8f0ba33643b2b8835a3764ba9793a2532c7fc533 Checking out Revision 8f0ba33643b2b8835a3764ba9793a2532c7fc533 (PR-148) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8f0ba33643b2b8835a3764ba9793a2532c7fc533 # 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 95b01347c682c509c5ba1ad757ba8b1f414ff9ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f0ba33643b2b8835a3764ba9793a2532c7fc533 # timeout=10 [Pipeline] timeout 01:04:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:12 ========================================================= 01:04:12 EdgeX Global Pipelines Version Info 01:04:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:12 ------------------- 01:04:12 stable info: 01:04:12 ------------------- 01:04:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:12 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 01:04:12 Message: update stable to v1.0.245 01:04:13 ------------------- 01:04:13 experimental info: 01:04:13 ------------------- 01:04:13 Commited By: **** collab-it+edgex@linuxfoundation.org 01:04:13 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 01:04:13 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo 01:04:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f0ba33643b2b8835a3764ba9793a2532c7fc533 [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f0ba33 [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:15 provisioning config files... 01:04:15 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp/config3489986373222147789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:15 ---> docker-login.sh 01:04:15 nexus3.edgexfoundry.org:10001 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10002 01:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:16 Configure a credential helper to remove this warning. See 01:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:16 01:04:16 Login Succeeded 01:04:16 nexus3.edgexfoundry.org:10003 01:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:16 Configure a credential helper to remove this warning. See 01:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:16 01:04:16 Login Succeeded 01:04:16 nexus3.edgexfoundry.org:10004 01:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:16 Configure a credential helper to remove this warning. See 01:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:16 01:04:16 Login Succeeded 01:04:16 docker.io 01:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:16 Configure a credential helper to remove this warning. See 01:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:16 01:04:16 Login Succeeded 01:04:16 ---> docker-login.sh ends [Pipeline] } 01:04:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:17 + git rev-list -1 --merges 8f0ba33643b2b8835a3764ba9793a2532c7fc533~1..8f0ba33643b2b8835a3764ba9793a2532c7fc533 [Pipeline] echo 01:04:17 -----------> git rev-list -1 --merges 8f0ba33643b2b8835a3764ba9793a2532c7fc533~1..8f0ba33643b2b8835a3764ba9793a2532c7fc533 8f0ba33643b2b8835a3764ba9793a2532c7fc533 [false] [Pipeline] sh 01:04:17 + git log --format=format:%s -1 8f0ba33643b2b8835a3764ba9793a2532c7fc533 [Pipeline] echo 01:04:17 ========================================================= 01:04:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:18 + git log --format=format:%s -1 8f0ba33643b2b8835a3764ba9793a2532c7fc533 [Pipeline] echo 01:04:18 [semverPrep] GIT_COMMIT: 8f0ba33643b2b8835a3764ba9793a2532c7fc533, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:04:18 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:18 + grep -v github /etc/ssh/ssh_known_hosts 01:04:18 + [ -e /tmp/ssh_known_hosts ] 01:04:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:18 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:18 sudo tee -a /etc/ssh/ssh_known_hosts 01:04:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:19 01:04:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:19 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:19 b85a868b505f: Pulling fs layer 01:04:19 e2be974225ed: Pulling fs layer 01:04:19 339a4e72a1f5: Pulling fs layer 01:04:19 988bab9f4d93: Pulling fs layer 01:04:19 1469e6f7b9e6: Pulling fs layer 01:04:19 eaf3925da568: Pulling fs layer 01:04:19 bab4dde63d76: Pulling fs layer 01:04:19 bde34c3a00c8: Pulling fs layer 01:04:19 b352a97aabf1: Pulling fs layer 01:04:19 4872d77fe225: Pulling fs layer 01:04:19 5851b861e8e6: Pulling fs layer 01:04:19 bab4dde63d76: Waiting 01:04:19 bde34c3a00c8: Waiting 01:04:19 b352a97aabf1: Waiting 01:04:19 4872d77fe225: Waiting 01:04:19 5851b861e8e6: Waiting 01:04:19 988bab9f4d93: Waiting 01:04:19 1469e6f7b9e6: Waiting 01:04:19 eaf3925da568: Waiting 01:04:19 e2be974225ed: Verifying Checksum 01:04:19 e2be974225ed: Download complete 01:04:19 988bab9f4d93: Verifying Checksum 01:04:19 988bab9f4d93: Download complete 01:04:19 1469e6f7b9e6: Verifying Checksum 01:04:19 1469e6f7b9e6: Download complete 01:04:19 339a4e72a1f5: Verifying Checksum 01:04:19 339a4e72a1f5: Download complete 01:04:19 eaf3925da568: Verifying Checksum 01:04:19 eaf3925da568: Download complete 01:04:19 bde34c3a00c8: Verifying Checksum 01:04:19 bde34c3a00c8: Download complete 01:04:19 b352a97aabf1: Verifying Checksum 01:04:19 b352a97aabf1: Download complete 01:04:19 4872d77fe225: Download complete 01:04:19 b85a868b505f: Download complete 01:04:19 5851b861e8e6: Download complete 01:04:20 bab4dde63d76: Verifying Checksum 01:04:20 bab4dde63d76: Download complete 01:04:21 b85a868b505f: Pull complete 01:04:21 e2be974225ed: Pull complete 01:04:22 339a4e72a1f5: Pull complete 01:04:22 988bab9f4d93: Pull complete 01:04:22 1469e6f7b9e6: Pull complete 01:04:22 eaf3925da568: Pull complete 01:04:24 bab4dde63d76: Pull complete 01:04:24 bde34c3a00c8: Pull complete 01:04:24 b352a97aabf1: Pull complete 01:04:24 4872d77fe225: Pull complete 01:04:24 5851b861e8e6: Pull complete 01:04:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:04:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:25 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 01:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-148 -v /w/workspace/edgexfoundry_device-gpio_PR-148:/w/workspace/edgexfoundry_device-gpio_PR-148:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-148@tmp:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:04:27 $ docker top a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe -eo pid,comm 01:04:27 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). 01:04:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:28 [ssh-agent] Looking for ssh-agent implementation... 01:04:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:28 $ docker exec a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe ssh-agent 01:04:28 SSH_AUTH_SOCK=/tmp/ssh-mlIklSaG9BVy/agent.32 01:04:28 SSH_AGENT_PID=38 01:04:28 Running ssh-add (command line suppressed) 01:04:28 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-148@tmp/private_key_11202729645342799189.key (/w/workspace/edgexfoundry_device-gpio_PR-148@tmp/private_key_11202729645342799189.key) 01:04:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:28 + git tag --points-at HEAD [Pipeline] } 01:04:28 $ docker exec --env ******** --env ******** a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe ssh-agent -k 01:04:29 unset SSH_AUTH_SOCK; 01:04:29 unset SSH_AGENT_PID; 01:04:29 echo Agent pid 38 killed; 01:04:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:29 [ssh-agent] Looking for ssh-agent implementation... 01:04:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:29 $ docker exec a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe ssh-agent 01:04:29 SSH_AUTH_SOCK=/tmp/ssh-cxgFEuroS7Oi/agent.70 01:04:29 SSH_AGENT_PID=76 01:04:29 Running ssh-add (command line suppressed) 01:04:29 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-148@tmp/private_key_3411785659099188911.key (/w/workspace/edgexfoundry_device-gpio_PR-148@tmp/private_key_3411785659099188911.key) 01:04:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:30 + git semver init 01:04:30 2023-04-07 01:04:30,218 [run_init] DEBUG init version:0.0.0 force:False 01:04:30 2023-04-07 01:04:30,219 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-148/.semver 01:04:30 2023-04-07 01:04:30,219 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-148/.semver 01:04:30 2023-04-07 01:04:30,219 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-148/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-148, universal_newlines=False, shell=None, istream=None) 01:04:31 2023-04-07 01:04:31,101 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-148/.git/info/exclude 01:04:31 2023-04-07 01:04:31,101 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-148/.semver/PR-148 with force:False 01:04:31 2023-04-07 01:04:31,102 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-148/.semver/PR-148 01:04:31 2023-04-07 01:04:31,106 [execute] INFO git cat-file --batch-check 01:04:31 2023-04-07 01:04:31,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-148/.semver, universal_newlines=False, shell=None, istream=) 01:04:31 2023-04-07 01:04:31,113 [execute] INFO git cat-file --batch 01:04:31 2023-04-07 01:04:31,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-148/.semver, universal_newlines=False, shell=None, istream=) 01:04:31 2023-04-07 01:04:31,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-148/.semver/PR-148 01:04:31 0.0.0 [Pipeline] } 01:04:31 $ docker exec --env ******** --env ******** a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe ssh-agent -k 01:04:31 unset SSH_AUTH_SOCK; 01:04:31 unset SSH_AGENT_PID; 01:04:31 echo Agent pid 76 killed; 01:04:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:31 + git semver [Pipeline] } 01:04:32 $ docker stop --time=1 a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe 01:04:33 $ docker rm -f --volumes a57eedcb635984e3a4c71b534610262ab4a2046ea896a2f8bc76be17742bdfbe [Pipeline] // withDockerContainer [Pipeline] sh 01:04:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:34 Stashed 1 file(s) [Pipeline] echo 01:04:34 [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 01:04:34 provisioning config files... 01:04:34 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp/config2001037758140877936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:35 ---> docker-login.sh 01:04:35 nexus3.edgexfoundry.org:10001 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 nexus3.edgexfoundry.org:10002 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 nexus3.edgexfoundry.org:10003 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 nexus3.edgexfoundry.org:10004 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 docker.io 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 ---> docker-login.sh ends [Pipeline] } 01:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:35 ========================================================= 01:04:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:04:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:36 + 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 . 01:04:36 Sending build context to Docker daemon 16.04MB 01:04:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:04:36 Step 2/12 : FROM ${BASE} AS builder 01:04:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:04:36 63b65145d645: Pulling fs layer 01:04:36 a2d21d5440eb: Pulling fs layer 01:04:36 935e6c44a52c: Pulling fs layer 01:04:36 94cc34f8dd06: Pulling fs layer 01:04:36 30dea6a524f1: Pulling fs layer 01:04:36 a2aff8979fd8: Pulling fs layer 01:04:36 6808be2612f2: Pulling fs layer 01:04:36 f25807f1079a: Pulling fs layer 01:04:36 30dea6a524f1: Waiting 01:04:36 a2aff8979fd8: Waiting 01:04:36 6808be2612f2: Waiting 01:04:36 94cc34f8dd06: Waiting 01:04:36 a2d21d5440eb: Verifying Checksum 01:04:36 94cc34f8dd06: Verifying Checksum 01:04:36 94cc34f8dd06: Download complete 01:04:36 30dea6a524f1: Verifying Checksum 01:04:36 30dea6a524f1: Download complete 01:04:36 63b65145d645: Verifying Checksum 01:04:36 63b65145d645: Download complete 01:04:36 a2aff8979fd8: Verifying Checksum 01:04:36 a2aff8979fd8: Download complete 01:04:36 63b65145d645: Pull complete 01:04:36 a2d21d5440eb: Pull complete 01:04:36 f25807f1079a: Verifying Checksum 01:04:36 f25807f1079a: Download complete 01:04:37 935e6c44a52c: Verifying Checksum 01:04:37 935e6c44a52c: Download complete 01:04:37 6808be2612f2: Verifying Checksum 01:04:37 6808be2612f2: Download complete 01:04:40 935e6c44a52c: Pull complete 01:04:41 94cc34f8dd06: Pull complete 01:04:41 30dea6a524f1: Pull complete 01:04:41 a2aff8979fd8: Pull complete 01:04:43 6808be2612f2: Pull complete 01:04:44 f25807f1079a: Pull complete 01:04:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:04:44 ---> 3b553350e43f 01:04:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:04:49 Still waiting to schedule task 01:04:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7044’ 01:04:49 ---> Running in 0e83171ab0bd 01:04:49 Removing intermediate container 0e83171ab0bd 01:04:49 ---> d31db374c517 01:04:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:49 ---> Running in c14cd702260b 01:04:49 Removing intermediate container c14cd702260b 01:04:49 ---> 2b08d2647b00 01:04:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:04:49 ---> Running in 2ca33a846b25 01:04:49 Removing intermediate container 2ca33a846b25 01:04:49 ---> 0e6c5b882247 01:04:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:04:49 ---> Running in 0d4b411397ad 01:04:49 Removing intermediate container 0d4b411397ad 01:04:49 ---> db146420be9a 01:04:49 Step 7/12 : WORKDIR /device-gpio 01:04:49 ---> Running in 88eb9be1adbd 01:04:49 Removing intermediate container 88eb9be1adbd 01:04:49 ---> 4d9063801801 01:04:49 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:49 ---> Running in 5a0dda803f1f 01:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:04:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:04:51 (2/4) Installing libedit (20221030.3.1-r0) 01:04:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:04:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:04:51 Executing busybox-1.35.0-r29.trigger 01:04:51 OK: 269 MiB in 57 packages 01:04:52 Removing intermediate container 5a0dda803f1f 01:04:52 ---> b8292982cae7 01:04:52 Step 9/12 : COPY go.mod vendor* ./ 01:04:52 ---> 5e10a7d0815e 01:04:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:52 ---> Running in 54e24f60dd56 01:05:24 Removing intermediate container 54e24f60dd56 01:05:24 ---> a8c63223922e 01:05:24 Step 11/12 : COPY . . 01:05:24 ---> a8efc813476f 01:05:24 Step 12/12 : RUN ${MAKE} 01:05:24 ---> Running in 9634befa51eb 01:05:24 noop 01:05:24 Removing intermediate container 9634befa51eb 01:05:24 ---> 987e9f4d4c79 01:05:24 Successfully built 987e9f4d4c79 01:05:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:24 + docker inspect -f . ci-base-image-x86_64 01:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:24 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 01:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-148 -v /w/workspace/edgexfoundry_device-gpio_PR-148:/w/workspace/edgexfoundry_device-gpio_PR-148:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-148@tmp:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:25 $ docker top 0823cbb2e28697dc1d67b7ab28ece0e324f0e2022bd1aafcdcc26c25e8a594ed -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:25 + go version 01:05:25 go version go1.20.2 linux/amd64 [Pipeline] } 01:05:25 $ docker stop --time=1 0823cbb2e28697dc1d67b7ab28ece0e324f0e2022bd1aafcdcc26c25e8a594ed 01:05:27 $ docker rm -f --volumes 0823cbb2e28697dc1d67b7ab28ece0e324f0e2022bd1aafcdcc26c25e8a594ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:27 + docker inspect -f . ci-base-image-x86_64 01:05:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:28 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 01:05:28 $ 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-148 -v /w/workspace/edgexfoundry_device-gpio_PR-148:/w/workspace/edgexfoundry_device-gpio_PR-148:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-148@tmp:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:28 $ docker top 47f12308afd29e92d6b5a9fbe4362f2f0c649efe01f7e5484a0dfcb2b4f17f86 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-148 [Pipeline] fileExists [Pipeline] sh 01:05:29 + make test 01:05:29 go test ./... -coverprofile=coverage.out ./... 01:05:34 ? github.com/edgexfoundry/device-gpio [no test files] 01:05:44 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:05:44 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:05:50 go vet ./... 01:05:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:55 ./bin/test-attribution-txt.sh 01:05:55 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 01:05:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:55 $ docker stop --time=1 47f12308afd29e92d6b5a9fbe4362f2f0c649efe01f7e5484a0dfcb2b4f17f86 01:05:58 $ docker rm -f --volumes 47f12308afd29e92d6b5a9fbe4362f2f0c649efe01f7e5484a0dfcb2b4f17f86 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:05:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:05:59 + ls -al . 01:05:59 total 156 01:05:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 01:05 . 01:05:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 01:04 .. 01:05:59 -rw-rw-r-- 1 jenkins jenkins 120 Apr 7 01:04 .dockerignore 01:05:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 01:04 .git 01:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 01:04 .github 01:05:59 -rw-rw-r-- 1 jenkins jenkins 343 Apr 7 01:04 .gitignore 01:05:59 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 01:04 .golangci.yml 01:05:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 01:04 .semver 01:05:59 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 7 01:04 Attribution.txt 01:05:59 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 7 01:04 CHANGELOG.md 01:05:59 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 7 01:04 Dockerfile 01:05:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 01:04 GOVERNANCE.md 01:05:59 -rw-rw-r-- 1 jenkins jenkins 657 Apr 7 01:04 Jenkinsfile 01:05:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 01:04 LICENSE 01:05:59 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 7 01:04 Makefile 01:05:59 -rw-rw-r-- 1 jenkins jenkins 617 Apr 7 01:04 OWNERS.md 01:05:59 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 7 01:04 README.md 01:05:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 01:04 VERSION 01:05:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 01:04 bin 01:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 01:04 cmd 01:05:59 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 01:05 coverage.out 01:05:59 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 7 01:04 go.mod 01:05:59 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 7 01:04 go.sum 01:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 01:04 internal 01:05:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 01:04 snap 01:05:59 -rw-rw-r-- 1 jenkins jenkins 209 Apr 7 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:00 + 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=8f0ba33643b2b8835a3764ba9793a2532c7fc533 --label arch=amd64 --label version=0.0.0 . 01:06:00 Sending build context to Docker daemon 16.04MB 01:06:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:06:00 Step 2/25 : FROM ${BASE} AS builder 01:06:00 ---> 987e9f4d4c79 01:06:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:06:00 ---> Running in c8bf4695d8df 01:06:00 Removing intermediate container c8bf4695d8df 01:06:00 ---> b4d5091ecdac 01:06:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:00 ---> Running in 4eecd899a8d2 01:06:00 Removing intermediate container 4eecd899a8d2 01:06:00 ---> 33d52f4fee6c 01:06:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:06:00 ---> Running in bb65e3684321 01:06:00 Removing intermediate container bb65e3684321 01:06:00 ---> 62d6ca54ef00 01:06:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:06:00 ---> Running in b5f72dd6df07 01:06:00 Removing intermediate container b5f72dd6df07 01:06:00 ---> c2eb969e9f09 01:06:00 Step 7/25 : WORKDIR /device-gpio 01:06:00 ---> Running in 711aaa307bc3 01:06:01 Removing intermediate container 711aaa307bc3 01:06:01 ---> 17b6d5ef2801 01:06:01 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:01 ---> Running in 5a7503ba1738 01:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:01 OK: 269 MiB in 57 packages 01:06:02 Removing intermediate container 5a7503ba1738 01:06:02 ---> ea8956496081 01:06:02 Step 9/25 : COPY go.mod vendor* ./ 01:06:02 ---> b3963e5f9c7f 01:06:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:02 ---> Running in 7fc7a07d1644 01:06:03 Removing intermediate container 7fc7a07d1644 01:06:03 ---> b2532c6d375f 01:06:03 Step 11/25 : COPY . . 01:06:03 ---> c7bac522a8f6 01:06:03 Step 12/25 : RUN ${MAKE} 01:06:03 ---> Running in 3889f3183904 01:06:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:06:26 Removing intermediate container 3889f3183904 01:06:26 ---> 8e1449975dfc 01:06:26 Step 13/25 : FROM alpine:3.17 01:06:26 3.17: Pulling from library/alpine 01:06:26 f56be85fc22e: Pulling fs layer 01:06:26 f56be85fc22e: Verifying Checksum 01:06:26 f56be85fc22e: Download complete 01:06:26 f56be85fc22e: Pull complete 01:06:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:06:26 Status: Downloaded newer image for alpine:3.17 01:06:26 ---> 9ed4aefc74f6 01:06:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:06:26 ---> Running in aa678d197a1d 01:06:26 Removing intermediate container aa678d197a1d 01:06:26 ---> 561082eacbbf 01:06:26 Step 15/25 : RUN apk add --update --no-cache 01:06:26 ---> Running in df0a214d45e4 01:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:26 OK: 7 MiB in 15 packages 01:06:26 Removing intermediate container df0a214d45e4 01:06:26 ---> 0b1a4a8683bc 01:06:26 Step 16/25 : WORKDIR / 01:06:26 ---> Running in 3085f8122e7f 01:06:26 Removing intermediate container 3085f8122e7f 01:06:26 ---> e895b7b7eae6 01:06:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:06:26 ---> 44553384a1b1 01:06:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:06:26 ---> c45434a6f932 01:06:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:06:27 ---> b7e9968ae607 01:06:27 Step 20/25 : EXPOSE 59910 01:06:27 ---> Running in 542a6cb465de 01:06:27 Removing intermediate container 542a6cb465de 01:06:27 ---> db03d29ffa9b 01:06:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:06:27 ---> Running in 8160e4fca0bc 01:06:27 Removing intermediate container 8160e4fca0bc 01:06:27 ---> 8dab8a2cd4a3 01:06:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:06:27 ---> Running in 236a13340f95 01:06:27 Removing intermediate container 236a13340f95 01:06:27 ---> 7aabc78c07fa 01:06:27 Step 23/25 : LABEL arch=amd64 01:06:27 ---> Running in c3525f251c6a 01:06:27 Removing intermediate container c3525f251c6a 01:06:27 ---> 8c768347e13d 01:06:27 Step 24/25 : LABEL git_sha=8f0ba33643b2b8835a3764ba9793a2532c7fc533 01:06:27 ---> Running in eb8114ecf5fe 01:06:27 Removing intermediate container eb8114ecf5fe 01:06:27 ---> 014d484967ff 01:06:27 Step 25/25 : LABEL version=0.0.0 01:06:27 ---> Running in 3e1df7797b44 01:06:27 Removing intermediate container 3e1df7797b44 01:06:27 ---> b67e56d9a154 01:06:27 [Warning] One or more build-args [ARCH] were not consumed 01:06:27 Successfully built b67e56d9a154 01:06:27 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 01:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:28 01:06:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:29 latest: Pulling from edgex-lftools-log-publisher 01:06:29 5eb5b503b376: Pulling fs layer 01:06:29 5c69ac0246d0: Pulling fs layer 01:06:29 ec43610c2a17: Pulling fs layer 01:06:29 3a2ae6a8a46f: Pulling fs layer 01:06:29 33b1e0a273af: Pulling fs layer 01:06:29 5d3b04190fa2: Pulling fs layer 01:06:29 2f39f015ded8: Pulling fs layer 01:06:29 3a2ae6a8a46f: Waiting 01:06:29 33b1e0a273af: Waiting 01:06:29 2f39f015ded8: Waiting 01:06:29 5d3b04190fa2: Waiting 01:06:29 5c69ac0246d0: Verifying Checksum 01:06:29 5c69ac0246d0: Download complete 01:06:29 3a2ae6a8a46f: Verifying Checksum 01:06:29 3a2ae6a8a46f: Download complete 01:06:29 33b1e0a273af: Verifying Checksum 01:06:29 ec43610c2a17: Verifying Checksum 01:06:29 ec43610c2a17: Download complete 01:06:29 5d3b04190fa2: Verifying Checksum 01:06:29 5d3b04190fa2: Download complete 01:06:29 5eb5b503b376: Verifying Checksum 01:06:29 5eb5b503b376: Download complete 01:06:30 2f39f015ded8: Download complete 01:06:30 5eb5b503b376: Pull complete 01:06:30 5c69ac0246d0: Pull complete 01:06:31 ec43610c2a17: Pull complete 01:06:31 3a2ae6a8a46f: Pull complete 01:06:31 33b1e0a273af: Pull complete 01:06:31 5d3b04190fa2: Pull complete 01:06:35 2f39f015ded8: Pull complete 01:06:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:36 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 01:06:36 $ 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-148 -v /w/workspace/edgexfoundry_device-gpio_PR-148:/w/workspace/edgexfoundry_device-gpio_PR-148:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-148@tmp:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:06:40 $ docker top c579074bacf4e506ffee1937e0580e41cba1648a0624e0d88737e1b9d1815fc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:40 ---> job-cost.sh 01:06:40 lf-activate-venv: SKIPPING 01:06:40 INFO: No Stack... 01:06:42 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:42 INFO: Archiving Costs [Pipeline] sh 01:06:42 + cat /w/workspace/edgexfoundry_device-gpio_PR-148/archives/cost.csv 01:06:42 + cut -d, -f6 [Pipeline] lock 01:06:42 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-148-1-stack-cost] 01:06:42 Resource [jenkins-edgexfoundry-device-gpio-PR-148-1-stack-cost] did not exist. Created. 01:06:42 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:43 + echo total: 0.2199999988079071 [Pipeline] stash 01:06:43 Stashed 1 file(s) [Pipeline] } 01:06:43 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:43 $ docker stop --time=1 c579074bacf4e506ffee1937e0580e41cba1648a0624e0d88737e1b9d1815fc9 01:06:44 $ docker rm -f --volumes c579074bacf4e506ffee1937e0580e41cba1648a0624e0d88737e1b9d1815fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7047 in /w/workspace/edgexfoundry_device-gpio_PR-148 [Pipeline] { [Pipeline] ws 01:08:32 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:08:32 The recommended git tool is: git 01:08:39 using credential edgex-jenkins-ssh 01:08:39 Cloning the remote Git repository 01:08:39 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:08:39 > git init /w/workspace/device-gpio/1 # timeout=10 01:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:08:39 > git --version # timeout=10 01:08:39 > git --version # 'git version 2.25.1' 01:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:43 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:08:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:44 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:08:44 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:08:44 Merging remotes/origin/main commit 95b01347c682c509c5ba1ad757ba8b1f414ff9ba into PR head commit 8f0ba33643b2b8835a3764ba9793a2532c7fc533 01:08:45 Merge succeeded, producing 8f0ba33643b2b8835a3764ba9793a2532c7fc533 01:08:45 Checking out Revision 8f0ba33643b2b8835a3764ba9793a2532c7fc533 (PR-148) 01:08:45 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:08:45 > git --version # timeout=10 01:08:45 > git --version # 'git version 2.25.1' 01:08:45 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 01:08:44 > git config core.sparsecheckout # timeout=10 01:08:45 > git checkout -f 8f0ba33643b2b8835a3764ba9793a2532c7fc533 # timeout=10 01:08:45 > git remote # timeout=10 01:08:45 > git config --get remote.origin.url # timeout=10 01:08:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:45 > git merge 95b01347c682c509c5ba1ad757ba8b1f414ff9ba # timeout=10 01:08:45 > git rev-parse HEAD^{commit} # timeout=10 01:08:45 > git config core.sparsecheckout # timeout=10 01:08:45 > git checkout -f 8f0ba33643b2b8835a3764ba9793a2532c7fc533 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:08:47 % Total % Received % Xferd Average Speed Time Time Time Current 01:08:47 Dload Upload Total Spent Left Speed 01:08:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 01:08:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:08:48 + sudo tee /etc/docker/daemon.new 01:08:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:08:48 { 01:08:48 "registry-mirrors": [ 01:08:48 "https://nexus3.edgexfoundry.org:10001" 01:08:48 ], 01:08:48 "bip": "10.250.0.254/24", 01:08:48 "hosts": [ 01:08:48 "tcp://0.0.0.0:5555", 01:08:48 "unix:///var/run/docker.sock" 01:08:48 ], 01:08:48 "mtu": 1458, 01:08:48 "selinux-enabled": true, 01:08:48 "seccomp-profile": "/etc/docker/seccomp.json" 01:08:48 } [Pipeline] sh 01:08:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:08:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:07 provisioning config files... 01:09:07 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2732760440542802365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:07 ---> docker-login.sh 01:09:07 nexus3.edgexfoundry.org:10001 01:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:23 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10001/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) [Pipeline] } 01:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:24 01:09:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:43 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:09:44 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:09:46 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-148/archives ] 01:09:46 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-148/archives 01:09:46 total 16 01:09:46 drwxr-xr-x 3 root root 4096 Apr 7 01:06 . 01:09:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 01:06 .. 01:09:46 drwxr-xr-x 2 root root 4096 Apr 7 01:06 cost 01:09:46 -rw-r--r-- 1 root root 83 Apr 7 01:06 cost.csv 01:09:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-148/archives 01:09:46 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-148/archives 01:09:46 total 16 01:09:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 01:06 . 01:09:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 01:06 .. 01:09:46 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 01:06 cost 01:09:46 -rw-r--r-- 1 jenkins jenkins 83 Apr 7 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:09:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:09:47 ---> package-listing.sh 01:09:47 ++ facter osfamily 01:09:47 ++ tr '[:upper:]' '[:lower:]' 01:09:47 + OS_FAMILY=debian 01:09:47 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-148 01:09:47 + START_PACKAGES=/tmp/packages_start.txt 01:09:47 + END_PACKAGES=/tmp/packages_end.txt 01:09:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:09:47 + PACKAGES=/tmp/packages_start.txt 01:09:47 + '[' /w/workspace/edgexfoundry_device-gpio_PR-148 ']' 01:09:47 + PACKAGES=/tmp/packages_end.txt 01:09:47 + case "${OS_FAMILY}" in 01:09:47 + dpkg -l 01:09:47 + grep '^ii' 01:09:47 + '[' -f /tmp/packages_start.txt ']' 01:09:47 + '[' -f /tmp/packages_end.txt ']' 01:09:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:09:47 + '[' /w/workspace/edgexfoundry_device-gpio_PR-148 ']' 01:09:47 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-148/archives/ 01:09:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-148/archives/ [Pipeline] echo 01:09:47 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-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:09:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:48 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 01:09:48 $ 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-148/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-148 -v /w/workspace/edgexfoundry_device-gpio_PR-148:/w/workspace/edgexfoundry_device-gpio_PR-148:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-148@tmp:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:09:49 $ docker top e11a3a8526a5989a56c9fb010b9cd200b0f5792eb24d7bae754951d745185c2e -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:50 + touch /tmp/pre-build-complete [Pipeline] sh 01:09:50 + mkdir -p /var/log/sysstat [Pipeline] sh 01:09:50 + ls /var/log/sa-host 01:09:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:50 provisioning config files... 01:09:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-148@tmp/config9910791758439979257tmp [Pipeline] { [Pipeline] echo 01:09:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:09:51 ---> create-netrc.sh [Pipeline] } 01:09:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:09:51 ---> python-tools-install.sh [Pipeline] echo 01:09:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:09:52 ---> sudo-logs.sh 01:09:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:09:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:09:52 ---> job-cost.sh 01:09:52 lf-activate-venv: SKIPPING 01:09:52 DEBUG: total: 0.2199999988079071 01:09:52 INFO: Retrieving Stack Cost... 01:09:53 INFO: Retrieving Pricing Info for: v3-standard-8 01:09:53 INFO: Archiving Costs [Pipeline] echo 01:09:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:09:53 ---> logs-deploy.sh 01:09:53 lf-activate-venv: SKIPPING 01:09:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-148/1 01:09:53 INFO: archiving workspace using pattern(s): 01:09:54 Archives upload complete. 01:09:54 INFO: archiving logs to Nexus