Pull request #180 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b932e7a7307140c07984dc0ec87a203c21b9aee6+d4d34ba9beeefe5495b32c771fec1f024664e8aa (33d1786fa1b02eab147b4221b3c58443bfc5a73b) 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-ssh6903367861236886182.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10433415613161162646.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13773589276068597588.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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16993216930539730763.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5052718887746299512.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17413815441686705133.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-15966’ Running on prd-ubuntu20.04-docker-8c-8g-15973 in /w/workspace/edgexfoundry_device-gpio_PR-180 [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-180 # 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d4d34ba9beeefe5495b32c771fec1f024664e8aa into PR head commit b932e7a7307140c07984dc0ec87a203c21b9aee6 Merge succeeded, producing b932e7a7307140c07984dc0ec87a203c21b9aee6 Checking out Revision b932e7a7307140c07984dc0ec87a203c21b9aee6 (PR-180) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps > git config core.sparsecheckout # timeout=10 > git checkout -f b932e7a7307140c07984dc0ec87a203c21b9aee6 # 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 d4d34ba9beeefe5495b32c771fec1f024664e8aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b932e7a7307140c07984dc0ec87a203c21b9aee6 # timeout=10 [Pipeline] { [Pipeline] timeout 01:15:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:15:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:15:01 ========================================================= 01:15:01 EdgeX Global Pipelines Version Info 01:15:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:15:02 ------------------- 01:15:02 stable info: 01:15:02 ------------------- 01:15:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:15:02 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:15:02 Message: update stable to v1.0.249 01:15:03 ------------------- 01:15:03 experimental info: 01:15:03 ------------------- 01:15:03 Commited By: **** collab-it+edgex@linuxfoundation.org 01:15:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:15:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:15:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b932e7a7307140c07984dc0ec87a203c21b9aee6 [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b932e7a [Pipeline] echo 01:15:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:04 provisioning config files... 01:15:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-180@tmp/config16198068617566253769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:05 ---> docker-login.sh 01:15:05 nexus3.edgexfoundry.org:10001 01:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:05 Configure a credential helper to remove this warning. See 01:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:05 01:15:05 Login Succeeded 01:15:05 nexus3.edgexfoundry.org:10002 01:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:05 Configure a credential helper to remove this warning. See 01:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:05 01:15:05 Login Succeeded 01:15:05 nexus3.edgexfoundry.org:10003 01:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:05 Configure a credential helper to remove this warning. See 01:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:05 01:15:05 Login Succeeded 01:15:05 nexus3.edgexfoundry.org:10004 01:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:06 Configure a credential helper to remove this warning. See 01:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:06 01:15:06 Login Succeeded 01:15:06 docker.io 01:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:06 Configure a credential helper to remove this warning. See 01:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:06 01:15:06 Login Succeeded 01:15:06 ---> docker-login.sh ends [Pipeline] } 01:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:15:07 + git rev-list -1 --merges b932e7a7307140c07984dc0ec87a203c21b9aee6~1..b932e7a7307140c07984dc0ec87a203c21b9aee6 [Pipeline] echo 01:15:07 -----------> git rev-list -1 --merges b932e7a7307140c07984dc0ec87a203c21b9aee6~1..b932e7a7307140c07984dc0ec87a203c21b9aee6 b932e7a7307140c07984dc0ec87a203c21b9aee6 [false] [Pipeline] sh 01:15:07 + git log --format=format:%s -1 b932e7a7307140c07984dc0ec87a203c21b9aee6 [Pipeline] echo 01:15:07 ========================================================= 01:15:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:15:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:08 + git log --format=format:%s -1 b932e7a7307140c07984dc0ec87a203c21b9aee6 [Pipeline] echo 01:15:08 [semverPrep] GIT_COMMIT: b932e7a7307140c07984dc0ec87a203c21b9aee6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:15:08 [semverPrep] This is not a build commit. [Pipeline] sh 01:15:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:15:08 + grep -v github /etc/ssh/ssh_known_hosts 01:15:08 + [ -e /tmp/ssh_known_hosts ] 01:15:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:15:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:15:08 + sudo tee -a /etc/ssh/ssh_known_hosts 01:15:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:09 01:15:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:09 0.1.4: Pulling from edgex-devops/py-git-semver 01:15:09 b85a868b505f: Pulling fs layer 01:15:09 e2be974225ed: Pulling fs layer 01:15:09 339a4e72a1f5: Pulling fs layer 01:15:09 988bab9f4d93: Pulling fs layer 01:15:09 1469e6f7b9e6: Pulling fs layer 01:15:09 eaf3925da568: Pulling fs layer 01:15:09 bab4dde63d76: Pulling fs layer 01:15:09 bde34c3a00c8: Pulling fs layer 01:15:09 b352a97aabf1: Pulling fs layer 01:15:09 4872d77fe225: Pulling fs layer 01:15:09 5851b861e8e6: Pulling fs layer 01:15:09 988bab9f4d93: Waiting 01:15:09 bab4dde63d76: Waiting 01:15:09 bde34c3a00c8: Waiting 01:15:09 1469e6f7b9e6: Waiting 01:15:09 eaf3925da568: Waiting 01:15:09 b352a97aabf1: Waiting 01:15:09 e2be974225ed: Download complete 01:15:09 988bab9f4d93: Verifying Checksum 01:15:09 988bab9f4d93: Download complete 01:15:09 1469e6f7b9e6: Verifying Checksum 01:15:09 1469e6f7b9e6: Download complete 01:15:09 eaf3925da568: Download complete 01:15:09 339a4e72a1f5: Verifying Checksum 01:15:09 339a4e72a1f5: Download complete 01:15:09 bde34c3a00c8: Verifying Checksum 01:15:09 bde34c3a00c8: Download complete 01:15:09 b352a97aabf1: Download complete 01:15:09 4872d77fe225: Verifying Checksum 01:15:09 4872d77fe225: Download complete 01:15:09 5851b861e8e6: Verifying Checksum 01:15:09 5851b861e8e6: Download complete 01:15:09 b85a868b505f: Verifying Checksum 01:15:09 b85a868b505f: Download complete 01:15:10 bab4dde63d76: Download complete 01:15:11 b85a868b505f: Pull complete 01:15:11 e2be974225ed: Pull complete 01:15:11 339a4e72a1f5: Pull complete 01:15:11 988bab9f4d93: Pull complete 01:15:11 1469e6f7b9e6: Pull complete 01:15:11 eaf3925da568: Pull complete 01:15:13 bab4dde63d76: Pull complete 01:15:13 bde34c3a00c8: Pull complete 01:15:13 b352a97aabf1: Pull complete 01:15:13 4872d77fe225: Pull complete 01:15:13 5851b861e8e6: Pull complete 01:15:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:14 prd-ubuntu20.04-docker-8c-8g-15973 does not seem to be running inside a container 01:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-180 -v /w/workspace/edgexfoundry_device-gpio_PR-180:/w/workspace/edgexfoundry_device-gpio_PR-180:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-180@tmp:/w/workspace/edgexfoundry_device-gpio_PR-180@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:15:16 $ docker top 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c -eo pid,comm 01:15:16 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:15:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:15:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:16 [ssh-agent] Looking for ssh-agent implementation... 01:15:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:16 $ docker exec 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c ssh-agent 01:15:16 SSH_AUTH_SOCK=/tmp/ssh-FurfBHK5t7Ty/agent.31 01:15:16 SSH_AGENT_PID=37 01:15:16 Running ssh-add (command line suppressed) 01:15:17 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-180@tmp/private_key_7514318084023807110.key (/w/workspace/edgexfoundry_device-gpio_PR-180@tmp/private_key_7514318084023807110.key) 01:15:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:17 + git tag --points-at HEAD [Pipeline] } 01:15:17 $ docker exec --env ******** --env ******** 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c ssh-agent -k 01:15:17 unset SSH_AUTH_SOCK; 01:15:17 unset SSH_AGENT_PID; 01:15:17 echo Agent pid 37 killed; 01:15:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:15:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:17 [ssh-agent] Looking for ssh-agent implementation... 01:15:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:17 $ docker exec 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c ssh-agent 01:15:17 SSH_AUTH_SOCK=/tmp/ssh-BCVY8AwKtr5J/agent.70 01:15:17 SSH_AGENT_PID=76 01:15:17 Running ssh-add (command line suppressed) 01:15:17 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-180@tmp/private_key_4294121390770469914.key (/w/workspace/edgexfoundry_device-gpio_PR-180@tmp/private_key_4294121390770469914.key) 01:15:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:18 + git semver init 01:15:18 2023-05-18 01:15:18,439 [run_init] DEBUG init version:0.0.0 force:False 01:15:18 2023-05-18 01:15:18,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-180/.semver 01:15:18 2023-05-18 01:15:18,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-180/.semver 01:15:18 2023-05-18 01:15:18,443 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-180/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-180, universal_newlines=False, shell=None, istream=None) 01:15:19 2023-05-18 01:15:19,318 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-180/.git/info/exclude 01:15:19 2023-05-18 01:15:19,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-180/.semver/PR-180 with force:False 01:15:19 2023-05-18 01:15:19,319 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-180/.semver/PR-180 01:15:19 2023-05-18 01:15:19,323 [execute] INFO git cat-file --batch-check 01:15:19 2023-05-18 01:15:19,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-180/.semver, universal_newlines=False, shell=None, istream=) 01:15:19 2023-05-18 01:15:19,330 [execute] INFO git cat-file --batch 01:15:19 2023-05-18 01:15:19,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-180/.semver, universal_newlines=False, shell=None, istream=) 01:15:19 2023-05-18 01:15:19,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-180/.semver/PR-180 01:15:19 0.0.0 [Pipeline] } 01:15:19 $ docker exec --env ******** --env ******** 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c ssh-agent -k 01:15:19 unset SSH_AUTH_SOCK; 01:15:19 unset SSH_AGENT_PID; 01:15:19 echo Agent pid 76 killed; 01:15:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:15:20 + git semver [Pipeline] } 01:15:20 $ docker stop --time=1 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c 01:15:21 $ docker rm -f --volumes 61862c57fd0a51053f41270ee20b9336b2bd2c0cacb3e9763f8e57910637b29c [Pipeline] // withDockerContainer [Pipeline] sh 01:15:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:15:22 Stashed 1 file(s) [Pipeline] echo 01:15:22 [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:15:22 provisioning config files... 01:15:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-180@tmp/config7857623976872759646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:23 ---> docker-login.sh 01:15:23 nexus3.edgexfoundry.org:10001 01:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:23 Configure a credential helper to remove this warning. See 01:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:23 01:15:23 Login Succeeded 01:15:23 nexus3.edgexfoundry.org:10002 01:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:23 Configure a credential helper to remove this warning. See 01:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:23 01:15:23 Login Succeeded 01:15:23 nexus3.edgexfoundry.org:10003 01:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:23 Configure a credential helper to remove this warning. See 01:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:23 01:15:23 Login Succeeded 01:15:23 nexus3.edgexfoundry.org:10004 01:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:23 Configure a credential helper to remove this warning. See 01:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:23 01:15:23 Login Succeeded 01:15:23 docker.io 01:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:23 Configure a credential helper to remove this warning. See 01:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:23 01:15:23 Login Succeeded 01:15:23 ---> docker-login.sh ends [Pipeline] } 01:15:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:24 ========================================================= 01:15:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:15:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:24 + 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:15:24 Sending build context to Docker daemon 16.14MB 01:15:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:15:24 Step 2/12 : FROM ${BASE} AS builder 01:15:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:15:24 f56be85fc22e: Pulling fs layer 01:15:24 85791d961cd3: Pulling fs layer 01:15:24 d694b5ae8c79: Pulling fs layer 01:15:24 9f32a84ed3da: Pulling fs layer 01:15:24 4d19c01a9841: Pulling fs layer 01:15:24 9325e15d5711: Pulling fs layer 01:15:24 556b6ee489ea: Pulling fs layer 01:15:24 c5a4b2cf53e6: Pulling fs layer 01:15:24 4d19c01a9841: Waiting 01:15:24 9325e15d5711: Waiting 01:15:24 556b6ee489ea: Waiting 01:15:24 c5a4b2cf53e6: Waiting 01:15:24 9f32a84ed3da: Waiting 01:15:24 85791d961cd3: Verifying Checksum 01:15:24 85791d961cd3: Download complete 01:15:24 9f32a84ed3da: Verifying Checksum 01:15:24 9f32a84ed3da: Download complete 01:15:24 4d19c01a9841: Verifying Checksum 01:15:24 4d19c01a9841: Download complete 01:15:24 f56be85fc22e: Verifying Checksum 01:15:24 f56be85fc22e: Download complete 01:15:24 9325e15d5711: Verifying Checksum 01:15:24 9325e15d5711: Download complete 01:15:24 f56be85fc22e: Pull complete 01:15:25 85791d961cd3: Pull complete 01:15:25 c5a4b2cf53e6: Verifying Checksum 01:15:25 c5a4b2cf53e6: Download complete 01:15:25 d694b5ae8c79: Verifying Checksum 01:15:25 d694b5ae8c79: Download complete 01:15:25 556b6ee489ea: Verifying Checksum 01:15:25 556b6ee489ea: Download complete 01:15:29 d694b5ae8c79: Pull complete 01:15:29 9f32a84ed3da: Pull complete 01:15:29 4d19c01a9841: Pull complete 01:15:29 9325e15d5711: Pull complete 01:15:30 556b6ee489ea: Pull complete 01:15:31 c5a4b2cf53e6: Pull complete 01:15:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:15:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:15:31 ---> c4be618373d6 01:15:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:15:36 ---> Running in c21695b18918 01:15:36 Removing intermediate container c21695b18918 01:15:36 ---> 838f8211bee6 01:15:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:15:36 ---> Running in bb4d9d9ca1e3 01:15:36 Removing intermediate container bb4d9d9ca1e3 01:15:36 ---> 06b59b62dd14 01:15:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:15:36 ---> Running in 9134c06e12ea 01:15:36 Removing intermediate container 9134c06e12ea 01:15:36 ---> 42662b3d7b5f 01:15:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:15:36 ---> Running in 203391aca934 01:15:36 Removing intermediate container 203391aca934 01:15:36 ---> 16fcbe36ef10 01:15:36 Step 7/12 : WORKDIR /device-gpio 01:15:36 ---> Running in f59ab1940ddd 01:15:36 Removing intermediate container f59ab1940ddd 01:15:36 ---> 782d72beba92 01:15:36 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:36 ---> Running in df9b99d10ffe 01:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:15:37 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:15:37 (2/4) Installing libedit (20221030.3.1-r0) 01:15:37 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:15:37 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:15:37 Executing busybox-1.35.0-r29.trigger 01:15:37 OK: 269 MiB in 57 packages 01:15:37 Still waiting to schedule task 01:15:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15970’ 01:15:37 Removing intermediate container df9b99d10ffe 01:15:37 ---> fa0a58df9db6 01:15:37 Step 9/12 : COPY go.mod vendor* ./ 01:15:37 ---> cd866da4f9b6 01:15:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:37 ---> Running in d696c329c637 01:16:34 Removing intermediate container d696c329c637 01:16:34 ---> 9d0e4d7abdd0 01:16:34 Step 11/12 : COPY . . 01:16:34 ---> 9f6460f81162 01:16:34 Step 12/12 : RUN ${MAKE} 01:16:34 ---> Running in 5d3794957158 01:16:34 noop 01:16:34 Removing intermediate container 5d3794957158 01:16:34 ---> 88bef6dad23b 01:16:34 Successfully built 88bef6dad23b 01:16:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:34 + docker inspect -f . ci-base-image-x86_64 01:16:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:34 prd-ubuntu20.04-docker-8c-8g-15973 does not seem to be running inside a container 01:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-180 -v /w/workspace/edgexfoundry_device-gpio_PR-180:/w/workspace/edgexfoundry_device-gpio_PR-180:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-180@tmp:/w/workspace/edgexfoundry_device-gpio_PR-180@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:16:35 $ docker top 677f1df872ab9bd834a1f80b948242841e05c919ab45c939feaec8e99899ca8f -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:35 + go version 01:16:35 go version go1.20.2 linux/amd64 [Pipeline] } 01:16:35 $ docker stop --time=1 677f1df872ab9bd834a1f80b948242841e05c919ab45c939feaec8e99899ca8f 01:16:36 $ docker rm -f --volumes 677f1df872ab9bd834a1f80b948242841e05c919ab45c939feaec8e99899ca8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:37 + docker inspect -f . ci-base-image-x86_64 01:16:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:37 prd-ubuntu20.04-docker-8c-8g-15973 does not seem to be running inside a container 01:16:37 $ 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-180 -v /w/workspace/edgexfoundry_device-gpio_PR-180:/w/workspace/edgexfoundry_device-gpio_PR-180:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-180@tmp:/w/workspace/edgexfoundry_device-gpio_PR-180@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:16:38 $ docker top 9c0dbd1f60a9a2c5fbc260e9721db73fb6f0a4deea76322a3dc84d8f843d0b53 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-180 [Pipeline] fileExists [Pipeline] sh 01:16:38 + make test 01:16:38 go test ./... -coverprofile=coverage.out ./... 01:16:44 ? github.com/edgexfoundry/device-gpio [no test files] 01:16:54 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:16:54 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:16:59 go vet ./... 01:17:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:17:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:17:02 ./bin/test-attribution-txt.sh [Pipeline] echo 01:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:17:03 $ docker stop --time=1 9c0dbd1f60a9a2c5fbc260e9721db73fb6f0a4deea76322a3dc84d8f843d0b53 01:17:05 $ docker rm -f --volumes 9c0dbd1f60a9a2c5fbc260e9721db73fb6f0a4deea76322a3dc84d8f843d0b53 [Pipeline] // withDockerContainer [Pipeline] sh 01:17:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:17:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:17:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:07 + ls -al . 01:17:07 total 156 01:17:07 drwxrwxr-x 9 jenkins jenkins 4096 May 18 01:16 . 01:17:07 drwxrwxr-x 4 jenkins jenkins 4096 May 18 01:14 .. 01:17:07 -rw-rw-r-- 1 jenkins jenkins 120 May 18 01:15 .dockerignore 01:17:07 drwxrwxr-x 8 jenkins jenkins 4096 May 18 01:15 .git 01:17:07 drwxrwxr-x 3 jenkins jenkins 4096 May 18 01:15 .github 01:17:07 -rw-rw-r-- 1 jenkins jenkins 343 May 18 01:15 .gitignore 01:17:07 -rw-rw-r-- 1 jenkins jenkins 41 May 18 01:15 .golangci.yml 01:17:07 drwxr-xr-x 3 jenkins jenkins 4096 May 18 01:15 .semver 01:17:07 -rw-rw-r-- 1 jenkins jenkins 9702 May 18 01:15 Attribution.txt 01:17:07 -rw-rw-r-- 1 jenkins jenkins 4069 May 18 01:15 CHANGELOG.md 01:17:07 -rw-rw-r-- 1 jenkins jenkins 1542 May 18 01:15 Dockerfile 01:17:07 -rw-rw-r-- 1 jenkins jenkins 677 May 18 01:15 GOVERNANCE.md 01:17:07 -rw-rw-r-- 1 jenkins jenkins 657 May 18 01:15 Jenkinsfile 01:17:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 01:15 LICENSE 01:17:07 -rw-rw-r-- 1 jenkins jenkins 1692 May 18 01:15 Makefile 01:17:07 -rw-rw-r-- 1 jenkins jenkins 617 May 18 01:15 OWNERS.md 01:17:07 -rw-rw-r-- 1 jenkins jenkins 11790 May 18 01:15 README.md 01:17:07 -rw-rw-r-- 1 jenkins jenkins 5 May 18 01:15 VERSION 01:17:07 drwxrwxr-x 2 jenkins jenkins 4096 May 18 01:15 bin 01:17:07 drwxrwxr-x 3 jenkins jenkins 4096 May 18 01:15 cmd 01:17:07 -rw-r--r-- 1 jenkins jenkins 10 May 18 01:16 coverage.out 01:17:07 -rw-rw-r-- 1 jenkins jenkins 3269 May 18 01:15 go.mod 01:17:07 -rw-rw-r-- 1 jenkins jenkins 31585 May 18 01:15 go.sum 01:17:07 drwxrwxr-x 3 jenkins jenkins 4096 May 18 01:15 internal 01:17:07 drwxrwxr-x 4 jenkins jenkins 4096 May 18 01:15 snap 01:17:07 -rw-rw-r-- 1 jenkins jenkins 209 May 18 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:07 + 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=b932e7a7307140c07984dc0ec87a203c21b9aee6 --label arch=amd64 --label version=0.0.0 . 01:17:07 Sending build context to Docker daemon 16.14MB 01:17:07 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:17:07 Step 2/25 : FROM ${BASE} AS builder 01:17:07 ---> 88bef6dad23b 01:17:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:17:08 ---> Running in ba58f37f8041 01:17:08 Removing intermediate container ba58f37f8041 01:17:08 ---> eeb2b9b71875 01:17:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:17:08 ---> Running in 227a63f68c85 01:17:08 Removing intermediate container 227a63f68c85 01:17:08 ---> 8109c9ad33a9 01:17:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:17:08 ---> Running in 5beb19816ebc 01:17:08 Removing intermediate container 5beb19816ebc 01:17:08 ---> 2c799ef0c27a 01:17:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:17:08 ---> Running in 1b28ae48a674 01:17:08 Removing intermediate container 1b28ae48a674 01:17:08 ---> cfb297c45661 01:17:08 Step 7/25 : WORKDIR /device-gpio 01:17:08 ---> Running in 18e4508b7336 01:17:08 Removing intermediate container 18e4508b7336 01:17:08 ---> dcda35d100af 01:17:08 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:17:08 ---> Running in 9f96550a1c94 01:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:17:09 OK: 269 MiB in 57 packages 01:17:09 Removing intermediate container 9f96550a1c94 01:17:09 ---> 71055d35e2e8 01:17:09 Step 9/25 : COPY go.mod vendor* ./ 01:17:09 ---> 5adee5338919 01:17:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:17:09 ---> Running in b1cf98fe8f39 01:17:10 Removing intermediate container b1cf98fe8f39 01:17:10 ---> f2ce0988ca6d 01:17:10 Step 11/25 : COPY . . 01:17:10 ---> 932080217ba1 01:17:10 Step 12/25 : RUN ${MAKE} 01:17:10 ---> Running in 966764faaab6 01:17:11 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:17:29 Removing intermediate container 966764faaab6 01:17:29 ---> 520314a8a19f 01:17:29 Step 13/25 : FROM alpine:3.17 01:17:29 3.17: Pulling from library/alpine 01:17:29 f56be85fc22e: Already exists 01:17:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:17:29 Status: Downloaded newer image for alpine:3.17 01:17:29 ---> 9ed4aefc74f6 01:17:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:17:29 ---> Running in 7386019aff5e 01:17:29 Removing intermediate container 7386019aff5e 01:17:29 ---> 45cae5d47538 01:17:29 Step 15/25 : RUN apk add --update --no-cache 01:17:29 ---> Running in b2471d43d451 01:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:17:29 OK: 7 MiB in 15 packages 01:17:30 Removing intermediate container b2471d43d451 01:17:30 ---> a8382d17760a 01:17:30 Step 16/25 : WORKDIR / 01:17:30 ---> Running in 6af688c040dd 01:17:30 Removing intermediate container 6af688c040dd 01:17:30 ---> 50f2f9aadaad 01:17:30 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:17:30 ---> 5941a848924b 01:17:30 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:17:30 ---> 7288ee63384d 01:17:30 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:17:31 ---> d67d5711b259 01:17:31 Step 20/25 : EXPOSE 59910 01:17:31 ---> Running in 598168af6a1e 01:17:31 Removing intermediate container 598168af6a1e 01:17:31 ---> 54e5111403af 01:17:31 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:17:31 ---> Running in 7ba221151a7d 01:17:31 Removing intermediate container 7ba221151a7d 01:17:31 ---> 553b829614fe 01:17:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:17:31 ---> Running in 409dc31e9419 01:17:31 Removing intermediate container 409dc31e9419 01:17:31 ---> 2327b4610669 01:17:31 Step 23/25 : LABEL arch=amd64 01:17:31 ---> Running in b61e9b0a1947 01:17:31 Removing intermediate container b61e9b0a1947 01:17:31 ---> c2fa8b1c2c68 01:17:31 Step 24/25 : LABEL git_sha=b932e7a7307140c07984dc0ec87a203c21b9aee6 01:17:31 ---> Running in cc892051d104 01:17:31 Removing intermediate container cc892051d104 01:17:31 ---> f56a175b7731 01:17:31 Step 25/25 : LABEL version=0.0.0 01:17:31 ---> Running in 5dd22b17dbd4 01:17:31 Removing intermediate container 5dd22b17dbd4 01:17:31 ---> bb8424075ac2 01:17:31 [Warning] One or more build-args [ARCH] were not consumed 01:17:31 Successfully built bb8424075ac2 01:17:31 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:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:32 01:17:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:33 latest: Pulling from edgex-lftools-log-publisher 01:17:33 5eb5b503b376: Pulling fs layer 01:17:33 5c69ac0246d0: Pulling fs layer 01:17:33 ec43610c2a17: Pulling fs layer 01:17:33 3a2ae6a8a46f: Pulling fs layer 01:17:33 33b1e0a273af: Pulling fs layer 01:17:33 5d3b04190fa2: Pulling fs layer 01:17:33 2f39f015ded8: Pulling fs layer 01:17:33 33b1e0a273af: Waiting 01:17:33 5d3b04190fa2: Waiting 01:17:33 2f39f015ded8: Waiting 01:17:33 3a2ae6a8a46f: Waiting 01:17:33 5c69ac0246d0: Download complete 01:17:33 3a2ae6a8a46f: Download complete 01:17:33 33b1e0a273af: Verifying Checksum 01:17:33 33b1e0a273af: Download complete 01:17:33 5d3b04190fa2: Verifying Checksum 01:17:33 5d3b04190fa2: Download complete 01:17:33 ec43610c2a17: Verifying Checksum 01:17:33 ec43610c2a17: Download complete 01:17:33 5eb5b503b376: Verifying Checksum 01:17:33 5eb5b503b376: Download complete 01:17:33 2f39f015ded8: Verifying Checksum 01:17:33 2f39f015ded8: Download complete 01:17:34 5eb5b503b376: Pull complete 01:17:34 5c69ac0246d0: Pull complete 01:17:35 ec43610c2a17: Pull complete 01:17:35 3a2ae6a8a46f: Pull complete 01:17:35 33b1e0a273af: Pull complete 01:17:35 5d3b04190fa2: Pull complete 01:17:39 2f39f015ded8: Pull complete 01:17:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:40 prd-ubuntu20.04-docker-8c-8g-15973 does not seem to be running inside a container 01:17:40 $ 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-180 -v /w/workspace/edgexfoundry_device-gpio_PR-180:/w/workspace/edgexfoundry_device-gpio_PR-180:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-180@tmp:/w/workspace/edgexfoundry_device-gpio_PR-180@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:17:42 $ docker top 4c7126644dd92f51f346a0afa02c19a2bfa5c54153768f82fa2935375fa6f475 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:43 ---> job-cost.sh 01:17:43 lf-activate-venv: SKIPPING 01:17:43 INFO: No Stack... 01:17:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:17:43 INFO: Archiving Costs [Pipeline] sh 01:17:44 + cat /w/workspace/edgexfoundry_device-gpio_PR-180/archives/cost.csv 01:17:44 + cut -d, -f6 [Pipeline] lock 01:17:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] 01:17:44 Resource [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] did not exist. Created. 01:17:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:17:44 + echo total: 0.2199999988079071 [Pipeline] stash 01:17:44 Stashed 1 file(s) [Pipeline] } 01:17:44 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:17:44 $ docker stop --time=1 4c7126644dd92f51f346a0afa02c19a2bfa5c54153768f82fa2935375fa6f475 01:17:45 $ docker rm -f --volumes 4c7126644dd92f51f346a0afa02c19a2bfa5c54153768f82fa2935375fa6f475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:19:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15975 in /w/workspace/edgexfoundry_device-gpio_PR-180 [Pipeline] { [Pipeline] ws 01:19:12 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:19:12 The recommended git tool is: git 01:19:17 using credential edgex-jenkins-ssh 01:19:17 Cloning the remote Git repository 01:19:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:19:18 > git init /w/workspace/device-gpio/1 # timeout=10 01:19:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:19:18 > git --version # timeout=10 01:19:18 > git --version # 'git version 2.25.1' 01:19:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:19:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:20 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:19:20 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:19:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:19:21 Merging remotes/origin/main commit d4d34ba9beeefe5495b32c771fec1f024664e8aa into PR head commit b932e7a7307140c07984dc0ec87a203c21b9aee6 01:19:21 Merge succeeded, producing b932e7a7307140c07984dc0ec87a203c21b9aee6 01:19:21 Checking out Revision b932e7a7307140c07984dc0ec87a203c21b9aee6 (PR-180) 01:19:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 01:19:22 > git --version # timeout=10 01:19:22 > git --version # 'git version 2.25.1' 01:19:22 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:19:21 > git config core.sparsecheckout # timeout=10 01:19:21 > git checkout -f b932e7a7307140c07984dc0ec87a203c21b9aee6 # timeout=10 01:19:21 > git remote # timeout=10 01:19:21 > git config --get remote.origin.url # timeout=10 01:19:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:21 > git merge d4d34ba9beeefe5495b32c771fec1f024664e8aa # timeout=10 01:19:21 > git rev-parse HEAD^{commit} # timeout=10 01:19:21 > git config core.sparsecheckout # timeout=10 01:19:21 > git checkout -f b932e7a7307140c07984dc0ec87a203c21b9aee6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:19:23 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:23 Dload Upload Total Spent Left Speed 01:19:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 01:19:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:19:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:19:24 + sudo tee /etc/docker/daemon.new 01:19:24 { 01:19:24 "registry-mirrors": [ 01:19:24 "https://nexus3.edgexfoundry.org:10001" 01:19:24 ], 01:19:24 "bip": "10.250.0.254/24", 01:19:24 "hosts": [ 01:19:24 "tcp://0.0.0.0:5555", 01:19:24 "unix:///var/run/docker.sock" 01:19:24 ], 01:19:24 "mtu": 1458, 01:19:24 "selinux-enabled": true, 01:19:24 "seccomp-profile": "/etc/docker/seccomp.json" 01:19:24 } [Pipeline] sh 01:19:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:19:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:43 provisioning config files... 01:19:43 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config12939869256586081928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:43 ---> docker-login.sh 01:19:43 nexus3.edgexfoundry.org:10001 01:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:44 Configure a credential helper to remove this warning. See 01:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:44 01:19:44 Login Succeeded 01:19:44 nexus3.edgexfoundry.org:10002 01:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:44 Configure a credential helper to remove this warning. See 01:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:44 01:19:44 Login Succeeded 01:19:44 nexus3.edgexfoundry.org:10003 01:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:45 Configure a credential helper to remove this warning. See 01:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:45 01:19:45 Login Succeeded 01:19:45 nexus3.edgexfoundry.org:10004 01:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:45 Configure a credential helper to remove this warning. See 01:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:45 01:19:45 Login Succeeded 01:19:45 docker.io 01:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:46 Configure a credential helper to remove this warning. See 01:19:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:46 01:19:46 Login Succeeded 01:19:46 ---> docker-login.sh ends [Pipeline] } 01:19:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:46 ========================================================= 01:19:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:19:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:47 + 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 . 01:19:47 Sending build context to Docker daemon 8.154MB 01:19:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:19:47 Step 2/12 : FROM ${BASE} AS builder 01:19:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:19:47 c41833b44d91: Pulling fs layer 01:19:47 ed15518f5707: Pulling fs layer 01:19:47 feae8fd75edb: Pulling fs layer 01:19:47 242c74f7c9fa: Pulling fs layer 01:19:47 3cdef696dda3: Pulling fs layer 01:19:47 242c74f7c9fa: Waiting 01:19:47 3cdef696dda3: Waiting 01:19:47 2ced38df9373: Pulling fs layer 01:19:47 58f1dce35555: Pulling fs layer 01:19:47 2ced38df9373: Waiting 01:19:47 58f1dce35555: Waiting 01:19:47 ed15518f5707: Verifying Checksum 01:19:47 ed15518f5707: Download complete 01:19:47 242c74f7c9fa: Verifying Checksum 01:19:47 242c74f7c9fa: Download complete 01:19:47 3cdef696dda3: Verifying Checksum 01:19:47 3cdef696dda3: Download complete 01:19:47 c41833b44d91: Verifying Checksum 01:19:48 c41833b44d91: Pull complete 01:19:49 58f1dce35555: Verifying Checksum 01:19:49 58f1dce35555: Download complete 01:19:49 ed15518f5707: Pull complete 01:19:50 feae8fd75edb: Verifying Checksum 01:19:50 feae8fd75edb: Download complete 01:19:50 2ced38df9373: Verifying Checksum 01:19:50 2ced38df9373: Download complete 01:20:03 feae8fd75edb: Pull complete 01:20:03 242c74f7c9fa: Pull complete 01:20:03 3cdef696dda3: Pull complete 01:20:09 2ced38df9373: Pull complete 01:20:12 58f1dce35555: Pull complete 01:20:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:20:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:20:12 ---> fadd8f120f05 01:20:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:20:14 ---> Running in 50fd1b4f9bcd 01:20:14 Removing intermediate container 50fd1b4f9bcd 01:20:14 ---> 5087c08ae9b6 01:20:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:14 ---> Running in 0e30638760fa 01:20:14 Removing intermediate container 0e30638760fa 01:20:14 ---> ea0e1fc02cf0 01:20:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:20:14 ---> Running in 6e75782bcf3b 01:20:15 Removing intermediate container 6e75782bcf3b 01:20:15 ---> 04269a7738bb 01:20:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:20:15 ---> Running in 5c1fc1efb573 01:20:15 Removing intermediate container 5c1fc1efb573 01:20:15 ---> cebef86f83ac 01:20:15 Step 7/12 : WORKDIR /device-gpio 01:20:15 ---> Running in 69bd2a99b432 01:20:15 Removing intermediate container 69bd2a99b432 01:20:15 ---> 619a3ce43a4b 01:20:15 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:16 ---> Running in a2363593e7e0 01:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:20:18 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:20:18 (2/4) Installing libedit (20221030.3.1-r0) 01:20:18 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:20:18 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:20:18 Executing busybox-1.35.0-r29.trigger 01:20:18 OK: 268 MiB in 57 packages 01:20:19 Removing intermediate container a2363593e7e0 01:20:19 ---> eb3fa1c75add 01:20:19 Step 9/12 : COPY go.mod vendor* ./ 01:20:20 ---> b2e58bdb68db 01:20:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:20 ---> Running in f0ed1c609d03 01:21:57 Removing intermediate container f0ed1c609d03 01:21:57 ---> d3ba87922b72 01:21:57 Step 11/12 : COPY . . 01:21:57 ---> 36a2592ed390 01:21:57 Step 12/12 : RUN ${MAKE} 01:21:57 ---> Running in 73a03287619d 01:21:57 noop 01:21:57 Removing intermediate container 73a03287619d 01:21:57 ---> c0daf44a8eb9 01:21:57 Successfully built c0daf44a8eb9 01:21:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:57 + docker inspect -f . ci-base-image-arm64 01:21:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:57 prd-ubuntu20.04-docker-arm64-4c-16g-15975 does not seem to be running inside a container 01:21:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:21:59 $ docker top 1657a4c34e068406f516281b712c8ea3909418eb7d47df7654da86c3d9717ea9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:00 + go version 01:22:00 go version go1.20.2 linux/arm64 [Pipeline] } 01:22:00 $ docker stop --time=1 1657a4c34e068406f516281b712c8ea3909418eb7d47df7654da86c3d9717ea9 01:22:01 $ docker rm -f --volumes 1657a4c34e068406f516281b712c8ea3909418eb7d47df7654da86c3d9717ea9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:02 + docker inspect -f . ci-base-image-arm64 01:22:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:02 prd-ubuntu20.04-docker-arm64-4c-16g-15975 does not seem to be running inside a container 01:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:22:04 $ docker top f64ab04ebf221c5cee6732ed0ba165d6e4cacf58633fda74da9c2a409bc567f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:04 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:22:05 + make test 01:22:05 go test ./... -coverprofile=coverage.out ./... 01:22:37 ? github.com/edgexfoundry/device-gpio [no test files] 01:24:29 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:24:29 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:24:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:24:29 go vet ./... 01:24:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:24:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:24:47 ./bin/test-attribution-txt.sh [Pipeline] echo 01:24:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:24:47 $ docker stop --time=1 f64ab04ebf221c5cee6732ed0ba165d6e4cacf58633fda74da9c2a409bc567f0 01:24:49 $ docker rm -f --volumes f64ab04ebf221c5cee6732ed0ba165d6e4cacf58633fda74da9c2a409bc567f0 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:24:50 Warning: overwriting stash ‘coverage-report’ 01:24:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:24:51 + ls -al . 01:24:51 total 152 01:24:51 drwxrwxr-x 8 jenkins jenkins 4096 May 18 01:22 . 01:24:51 drwxrwxr-x 4 jenkins jenkins 4096 May 18 01:19 .. 01:24:51 -rw-rw-r-- 1 jenkins jenkins 120 May 18 01:19 .dockerignore 01:24:51 drwxrwxr-x 8 jenkins jenkins 4096 May 18 01:19 .git 01:24:51 drwxrwxr-x 3 jenkins jenkins 4096 May 18 01:19 .github 01:24:51 -rw-rw-r-- 1 jenkins jenkins 343 May 18 01:19 .gitignore 01:24:51 -rw-rw-r-- 1 jenkins jenkins 41 May 18 01:19 .golangci.yml 01:24:51 -rw-rw-r-- 1 jenkins jenkins 9702 May 18 01:19 Attribution.txt 01:24:51 -rw-rw-r-- 1 jenkins jenkins 4069 May 18 01:19 CHANGELOG.md 01:24:51 -rw-rw-r-- 1 jenkins jenkins 1542 May 18 01:19 Dockerfile 01:24:51 -rw-rw-r-- 1 jenkins jenkins 677 May 18 01:19 GOVERNANCE.md 01:24:51 -rw-rw-r-- 1 jenkins jenkins 657 May 18 01:19 Jenkinsfile 01:24:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 01:19 LICENSE 01:24:51 -rw-rw-r-- 1 jenkins jenkins 1692 May 18 01:19 Makefile 01:24:51 -rw-rw-r-- 1 jenkins jenkins 617 May 18 01:19 OWNERS.md 01:24:51 -rw-rw-r-- 1 jenkins jenkins 11790 May 18 01:19 README.md 01:24:51 -rw-rw-r-- 1 jenkins jenkins 5 May 18 01:15 VERSION 01:24:51 drwxrwxr-x 2 jenkins jenkins 4096 May 18 01:19 bin 01:24:51 drwxrwxr-x 3 jenkins jenkins 4096 May 18 01:19 cmd 01:24:51 -rw-r--r-- 1 jenkins jenkins 10 May 18 01:22 coverage.out 01:24:51 -rw-rw-r-- 1 jenkins jenkins 3269 May 18 01:19 go.mod 01:24:51 -rw-rw-r-- 1 jenkins jenkins 31585 May 18 01:19 go.sum 01:24:51 drwxrwxr-x 3 jenkins jenkins 4096 May 18 01:19 internal 01:24:51 drwxrwxr-x 4 jenkins jenkins 4096 May 18 01:19 snap 01:24:51 -rw-rw-r-- 1 jenkins jenkins 209 May 18 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:52 + 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=b932e7a7307140c07984dc0ec87a203c21b9aee6 --label arch=arm64 --label version=0.0.0 . 01:24:52 Sending build context to Docker daemon 8.155MB 01:24:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:24:52 Step 2/25 : FROM ${BASE} AS builder 01:24:52 ---> c0daf44a8eb9 01:24:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:24:52 ---> Running in ae0a6d22332b 01:24:53 Removing intermediate container ae0a6d22332b 01:24:53 ---> 078b7cd7bf04 01:24:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:24:53 ---> Running in fe00ba1ca754 01:24:53 Removing intermediate container fe00ba1ca754 01:24:53 ---> 8206bfd4b706 01:24:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:24:53 ---> Running in 97436911bbec 01:24:53 Removing intermediate container 97436911bbec 01:24:53 ---> 74a7043ef01c 01:24:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:24:53 ---> Running in 0c9a80ee9a47 01:24:53 Removing intermediate container 0c9a80ee9a47 01:24:53 ---> 2794a2b20f91 01:24:53 Step 7/25 : WORKDIR /device-gpio 01:24:54 ---> Running in b6f5a54e96fd 01:24:54 Removing intermediate container b6f5a54e96fd 01:24:54 ---> ce4af6a8b9e9 01:24:54 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:24:54 ---> Running in eb608f0875c6 01:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:24:56 OK: 268 MiB in 57 packages 01:24:57 Removing intermediate container eb608f0875c6 01:24:57 ---> 7eecc932a885 01:24:57 Step 9/25 : COPY go.mod vendor* ./ 01:24:58 ---> 8d571aff514f 01:24:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:24:58 ---> Running in 4ae145fbac4c 01:25:01 Removing intermediate container 4ae145fbac4c 01:25:01 ---> e7a014a690c1 01:25:01 Step 11/25 : COPY . . 01:25:01 ---> cbee20b9481e 01:25:01 Step 12/25 : RUN ${MAKE} 01:25:01 ---> Running in e777fbf4123f 01:25:02 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:27:09 Removing intermediate container e777fbf4123f 01:27:09 ---> 40c28d54f9ad 01:27:09 Step 13/25 : FROM alpine:3.17 01:27:09 3.17: Pulling from library/alpine 01:27:09 c41833b44d91: Already exists 01:27:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:27:09 Status: Downloaded newer image for alpine:3.17 01:27:09 ---> 51e60588ff2c 01:27:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:27:09 ---> Running in 2984d2bfe608 01:27:09 Removing intermediate container 2984d2bfe608 01:27:09 ---> 6c1792c40de6 01:27:09 Step 15/25 : RUN apk add --update --no-cache 01:27:09 ---> Running in 077c77bf023d 01:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:27:12 OK: 7 MiB in 15 packages 01:27:12 Removing intermediate container 077c77bf023d 01:27:12 ---> 409e19768e50 01:27:12 Step 16/25 : WORKDIR / 01:27:12 ---> Running in 89ebe28b01fe 01:27:13 Removing intermediate container 89ebe28b01fe 01:27:13 ---> 9564ec54a0be 01:27:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:27:13 ---> af7da931f193 01:27:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:27:14 ---> 8c3947193dd7 01:27:14 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:27:15 ---> 2fd91c27b038 01:27:15 Step 20/25 : EXPOSE 59910 01:27:15 ---> Running in 093667d274b4 01:27:15 Removing intermediate container 093667d274b4 01:27:15 ---> 6061f1b9fc81 01:27:15 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:27:15 ---> Running in f150b36b6125 01:27:16 Removing intermediate container f150b36b6125 01:27:16 ---> 00509642efe9 01:27:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:27:16 ---> Running in 9df300b9eb7a 01:27:16 Removing intermediate container 9df300b9eb7a 01:27:16 ---> 162e4e6d3e7c 01:27:16 Step 23/25 : LABEL arch=arm64 01:27:16 ---> Running in e1f36e463de8 01:27:17 Removing intermediate container e1f36e463de8 01:27:17 ---> c9b16956abf7 01:27:17 Step 24/25 : LABEL git_sha=b932e7a7307140c07984dc0ec87a203c21b9aee6 01:27:17 ---> Running in 838cc227cea0 01:27:17 Removing intermediate container 838cc227cea0 01:27:17 ---> 3ef068666b1b 01:27:17 Step 25/25 : LABEL version=0.0.0 01:27:17 ---> Running in ca284e0533ca 01:27:17 Removing intermediate container ca284e0533ca 01:27:17 ---> b4398d94c7de 01:27:17 [Warning] One or more build-args [ARCH] were not consumed 01:27:17 Successfully built b4398d94c7de 01:27:17 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 01:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:18 01:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:19 arm64: Pulling from edgex-lftools-log-publisher 01:27:19 8998bd30e6a1: Pulling fs layer 01:27:19 04944245beec: Pulling fs layer 01:27:19 699f458cf7ca: Pulling fs layer 01:27:19 765212b225bb: Pulling fs layer 01:27:19 f23df028b6ca: Pulling fs layer 01:27:19 d65c8cfc05b1: Pulling fs layer 01:27:19 2437ff75d9bd: Pulling fs layer 01:27:19 765212b225bb: Waiting 01:27:19 f23df028b6ca: Waiting 01:27:19 2437ff75d9bd: Waiting 01:27:19 04944245beec: Verifying Checksum 01:27:19 04944245beec: Download complete 01:27:19 765212b225bb: Verifying Checksum 01:27:19 765212b225bb: Download complete 01:27:19 f23df028b6ca: Download complete 01:27:19 d65c8cfc05b1: Verifying Checksum 01:27:19 d65c8cfc05b1: Download complete 01:27:19 699f458cf7ca: Verifying Checksum 01:27:19 699f458cf7ca: Download complete 01:27:19 8998bd30e6a1: Download complete 01:27:22 2437ff75d9bd: Verifying Checksum 01:27:22 2437ff75d9bd: Download complete 01:27:24 8998bd30e6a1: Pull complete 01:27:24 04944245beec: Pull complete 01:27:25 699f458cf7ca: Pull complete 01:27:25 765212b225bb: Pull complete 01:27:26 f23df028b6ca: Pull complete 01:27:26 d65c8cfc05b1: Pull complete 01:27:39 2437ff75d9bd: Pull complete 01:27:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:27:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:39 prd-ubuntu20.04-docker-arm64-4c-16g-15975 does not seem to be running inside a container 01:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:27:42 $ docker top 4e930a037f9d82f445b974df7d11aae1da593bb438bcce51aa5799cda60a16dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:43 ---> job-cost.sh 01:27:43 lf-activate-venv: SKIPPING 01:27:43 INFO: No Stack... 01:27:43 INFO: Retrieving Pricing Info for: v3-standard-4 01:27:44 INFO: Archiving Costs [Pipeline] sh 01:27:44 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:27:44 + cut -d, -f6 [Pipeline] lock 01:27:45 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] 01:27:45 Resource [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] did not exist. Created. 01:27:45 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:45 /w/workspace/device-gpio/1@tmp/durable-f8a2dc1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:27:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:27:46 Warning: overwriting stash ‘stack-cost’ 01:27:46 Stashed 1 file(s) [Pipeline] } 01:27:46 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-180-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:46 $ docker stop --time=1 4e930a037f9d82f445b974df7d11aae1da593bb438bcce51aa5799cda60a16dd 01:27:51 $ docker rm -f --volumes 4e930a037f9d82f445b974df7d11aae1da593bb438bcce51aa5799cda60a16dd [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 01:27:52 provisioning config files... 01:27:52 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-180@tmp/config15693692535122439196tmp [Pipeline] { [Pipeline] sh 01:27:52 + set +x 01:27:52 + bash -s -- 01:27:52 + curl -s https://codecov.io/bash 01:27:52 01:27:52 _____ _ 01:27:52 / ____| | | 01:27:52 | | ___ __| | ___ ___ _____ __ 01:27:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:27:52 | |___| (_) | (_| | __/ (_| (_) \ V / 01:27:52 \_____\___/ \__,_|\___|\___\___/ \_/ 01:27:52 Bash-1.0.6 01:27:52 01:27:52 01:27:52 ==> git version 2.25.1 found 01:27:52 ==> 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 01:27:52 Release-Date: 2020-01-08 01:27:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:27:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:27:52 ==> Jenkins CI detected. 01:27:52 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-180 01:27:52 project root: . 01:27:52 --> token set from env 01:27:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:27:52 ==> Running gcov in . (disable via -X gcov) 01:27:52 ==> Python coveragepy not found 01:27:52 ==> Searching for coverage reports in: 01:27:52 + . 01:27:52 -> Found 1 reports 01:27:52 ==> Detecting git/mercurial file structure 01:27:52 ==> Reading reports 01:27:52 + ./coverage.out bytes=10 01:27:52 ==> Appending adjustments 01:27:52 https://docs.codecov.io/docs/fixing-reports 01:27:52 + Found adjustments 01:27:52 ==> Gzipping contents 01:27:52 4.0K /tmp/codecov.Ik2hXd.gz 01:27:52 ==> Uploading reports 01:27:52 url: https://codecov.io 01:27:52 query: branch=PR-180&commit=b932e7a7307140c07984dc0ec87a203c21b9aee6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=180&job=&cmd_args= 01:27:52 -> Pinging Codecov 01:27:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-180&commit=b932e7a7307140c07984dc0ec87a203c21b9aee6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=180&job=&cmd_args= 01:27:52 -> Uploading to 01:27:52 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b932e7a7307140c07984dc0ec87a203c21b9aee6/04ab2ea7-621b-4bb3-a0c1-27be3ebc7e6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T012752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71a0f46b7bec04033e2c539933714ef1780cca8ec510c29a1f8fc667e4d1402d 01:27:52 % Total % Received % Xferd Average Speed Time Time Time Current 01:27:52 Dload Upload Total Spent Left Speed 01:27:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 2931 --:--:-- --:--:-- --:--:-- 2931 01:27:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/b932e7a7307140c07984dc0ec87a203c21b9aee6 [Pipeline] } 01:27:53 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 01:27:54 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-180/archives ] 01:27:54 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-180/archives 01:27:54 total 16 01:27:54 drwxr-xr-x 3 root root 4096 May 18 01:17 . 01:27:54 drwxrwxr-x 10 jenkins jenkins 4096 May 18 01:17 .. 01:27:54 drwxr-xr-x 2 root root 4096 May 18 01:17 cost 01:27:54 -rw-r--r-- 1 root root 83 May 18 01:17 cost.csv 01:27:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-180/archives 01:27:54 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-180/archives 01:27:54 total 16 01:27:54 drwxr-xr-x 3 jenkins jenkins 4096 May 18 01:17 . 01:27:54 drwxrwxr-x 10 jenkins jenkins 4096 May 18 01:17 .. 01:27:54 drwxr-xr-x 2 jenkins jenkins 4096 May 18 01:17 cost 01:27:54 -rw-r--r-- 1 jenkins jenkins 83 May 18 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:27:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:27:56 ---> package-listing.sh 01:27:56 ++ facter osfamily 01:27:56 ++ tr '[:upper:]' '[:lower:]' 01:27:56 + OS_FAMILY=debian 01:27:56 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-180 01:27:56 + START_PACKAGES=/tmp/packages_start.txt 01:27:56 + END_PACKAGES=/tmp/packages_end.txt 01:27:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:27:56 + PACKAGES=/tmp/packages_start.txt 01:27:56 + '[' /w/workspace/edgexfoundry_device-gpio_PR-180 ']' 01:27:56 + PACKAGES=/tmp/packages_end.txt 01:27:56 + case "${OS_FAMILY}" in 01:27:56 + dpkg -l 01:27:56 + grep '^ii' 01:27:56 + '[' -f /tmp/packages_start.txt ']' 01:27:56 + '[' -f /tmp/packages_end.txt ']' 01:27:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:27:56 + '[' /w/workspace/edgexfoundry_device-gpio_PR-180 ']' 01:27:56 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-180/archives/ 01:27:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-180/archives/ [Pipeline] echo 01:27:56 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:27:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:57 prd-ubuntu20.04-docker-8c-8g-15973 does not seem to be running inside a container 01:27:57 $ 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-180/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-180 -v /w/workspace/edgexfoundry_device-gpio_PR-180:/w/workspace/edgexfoundry_device-gpio_PR-180:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-180@tmp:/w/workspace/edgexfoundry_device-gpio_PR-180@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:27:57 $ docker top 6c6d5c2c43d878200e70ef5d1e659960bca6eb9566ac9163e5326eb2716c2ac0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:58 + touch /tmp/pre-build-complete [Pipeline] sh 01:27:58 + mkdir -p /var/log/sysstat [Pipeline] sh 01:27:58 + ls /var/log/sa-host 01:27:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:58 provisioning config files... 01:27:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-180@tmp/config10393063095160705549tmp [Pipeline] { [Pipeline] echo 01:27:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:27:59 ---> create-netrc.sh [Pipeline] } 01:27:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:27:59 ---> python-tools-install.sh [Pipeline] echo 01:27:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:28:00 ---> sudo-logs.sh 01:28:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:28:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:28:00 ---> job-cost.sh 01:28:00 lf-activate-venv: SKIPPING 01:28:00 DEBUG: total: 0.2199999988079071 01:28:00 INFO: Retrieving Stack Cost... 01:28:01 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:01 INFO: Archiving Costs [Pipeline] echo 01:28:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:28:01 ---> logs-deploy.sh 01:28:01 lf-activate-venv: SKIPPING 01:28:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-180/1 01:28:01 INFO: archiving workspace using pattern(s): 01:28:02 Archives upload complete. 01:28:02 INFO: archiving logs to Nexus