Pull request #177 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a070ea6d9af4d8805c457b1c8b8095277775e61b+3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 (deaef568edbd45474392cf305307e79baee78389) 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-ssh7789645856105703299.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-ssh15309497047227089850.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10527404882241004636.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 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-ssh2494292291994248499.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9498094716812245215.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15991 in /w/workspace/edgexfoundry_device-gpio_PR-177 [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-177 # 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 into PR head commit a070ea6d9af4d8805c457b1c8b8095277775e61b Merge succeeded, producing a070ea6d9af4d8805c457b1c8b8095277775e61b Checking out Revision a070ea6d9af4d8805c457b1c8b8095277775e61b (PR-177) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:03:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:03:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:03:42 ========================================================= 04:03:42 EdgeX Global Pipelines Version Info 04:03:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a070ea6d9af4d8805c457b1c8b8095277775e61b # 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 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a070ea6d9af4d8805c457b1c8b8095277775e61b # timeout=10 > git rev-list --no-walk 499f477bb1ad7603f24aa72e560e6409aed5e742 # timeout=10 04:03:42 ------------------- 04:03:42 stable info: 04:03:42 ------------------- 04:03:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:03:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:03:42 Message: update stable to v1.0.249 04:03:43 ------------------- 04:03:43 experimental info: 04:03:43 ------------------- 04:03:43 Commited By: **** collab-it+edgex@linuxfoundation.org 04:03:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:03:43 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a070ea6d9af4d8805c457b1c8b8095277775e61b [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a070ea6 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:44 provisioning config files... 04:03:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config17512540194799479380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:44 ---> docker-login.sh 04:03:44 nexus3.edgexfoundry.org:10001 04:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:45 Configure a credential helper to remove this warning. See 04:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:45 04:03:45 Login Succeeded 04:03:45 nexus3.edgexfoundry.org:10002 04:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:45 Configure a credential helper to remove this warning. See 04:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:45 04:03:45 Login Succeeded 04:03:45 nexus3.edgexfoundry.org:10003 04:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:45 Configure a credential helper to remove this warning. See 04:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:45 04:03:45 Login Succeeded 04:03:45 nexus3.edgexfoundry.org:10004 04:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:45 Configure a credential helper to remove this warning. See 04:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:45 04:03:45 Login Succeeded 04:03:45 docker.io 04:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:46 Configure a credential helper to remove this warning. See 04:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:46 04:03:46 Login Succeeded 04:03:46 ---> docker-login.sh ends [Pipeline] } 04:03:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:03:46 + git rev-list -1 --merges a070ea6d9af4d8805c457b1c8b8095277775e61b~1..a070ea6d9af4d8805c457b1c8b8095277775e61b [Pipeline] echo 04:03:46 -----------> git rev-list -1 --merges a070ea6d9af4d8805c457b1c8b8095277775e61b~1..a070ea6d9af4d8805c457b1c8b8095277775e61b a070ea6d9af4d8805c457b1c8b8095277775e61b [false] [Pipeline] sh 04:03:46 + git log --format=format:%s -1 a070ea6d9af4d8805c457b1c8b8095277775e61b [Pipeline] echo 04:03:46 ========================================================= 04:03:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:03:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:47 + git log --format=format:%s -1 a070ea6d9af4d8805c457b1c8b8095277775e61b [Pipeline] echo 04:03:47 [semverPrep] GIT_COMMIT: a070ea6d9af4d8805c457b1c8b8095277775e61b, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 04:03:47 [semverPrep] This is not a build commit. [Pipeline] sh 04:03:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:03:47 + grep -v github /etc/ssh/ssh_known_hosts 04:03:47 + [ -e /tmp/ssh_known_hosts ] 04:03:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:03:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:03:47 + sudo tee -a /etc/ssh/ssh_known_hosts 04:03:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:47 04:03:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:48 0.1.4: Pulling from edgex-devops/py-git-semver 04:03:48 b85a868b505f: Pulling fs layer 04:03:48 e2be974225ed: Pulling fs layer 04:03:48 339a4e72a1f5: Pulling fs layer 04:03:48 988bab9f4d93: Pulling fs layer 04:03:48 1469e6f7b9e6: Pulling fs layer 04:03:48 eaf3925da568: Pulling fs layer 04:03:48 bab4dde63d76: Pulling fs layer 04:03:48 bde34c3a00c8: Pulling fs layer 04:03:48 b352a97aabf1: Pulling fs layer 04:03:48 4872d77fe225: Pulling fs layer 04:03:48 5851b861e8e6: Pulling fs layer 04:03:48 988bab9f4d93: Waiting 04:03:48 bab4dde63d76: Waiting 04:03:48 1469e6f7b9e6: Waiting 04:03:48 bde34c3a00c8: Waiting 04:03:48 b352a97aabf1: Waiting 04:03:48 eaf3925da568: Waiting 04:03:48 4872d77fe225: Waiting 04:03:48 e2be974225ed: Download complete 04:03:48 988bab9f4d93: Verifying Checksum 04:03:48 988bab9f4d93: Download complete 04:03:48 1469e6f7b9e6: Verifying Checksum 04:03:48 1469e6f7b9e6: Download complete 04:03:48 339a4e72a1f5: Verifying Checksum 04:03:48 339a4e72a1f5: Download complete 04:03:48 eaf3925da568: Download complete 04:03:48 bde34c3a00c8: Download complete 04:03:48 b352a97aabf1: Download complete 04:03:48 4872d77fe225: Download complete 04:03:48 5851b861e8e6: Download complete 04:03:48 b85a868b505f: Verifying Checksum 04:03:48 b85a868b505f: Download complete 04:03:48 bab4dde63d76: Verifying Checksum 04:03:48 bab4dde63d76: Download complete 04:03:50 b85a868b505f: Pull complete 04:03:50 e2be974225ed: Pull complete 04:03:50 339a4e72a1f5: Pull complete 04:03:50 988bab9f4d93: Pull complete 04:03:50 1469e6f7b9e6: Pull complete 04:03:50 eaf3925da568: Pull complete 04:03:52 bab4dde63d76: Pull complete 04:03:52 bde34c3a00c8: Pull complete 04:03:52 b352a97aabf1: Pull complete 04:03:53 4872d77fe225: Pull complete 04:03:53 5851b861e8e6: Pull complete 04:03:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:03:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:53 prd-ubuntu20.04-docker-8c-8g-15991 does not seem to be running inside a container 04:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:03:55 $ docker top b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 -eo pid,comm 04:03:55 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). 04:03:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:55 [ssh-agent] Looking for ssh-agent implementation... 04:03:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:56 $ docker exec b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 ssh-agent 04:03:56 SSH_AUTH_SOCK=/tmp/ssh-DlSMjHvziK2W/agent.31 04:03:56 SSH_AGENT_PID=37 04:03:56 Running ssh-add (command line suppressed) 04:03:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_10993927886978472584.key (/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_10993927886978472584.key) 04:03:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:56 + git tag --points-at HEAD [Pipeline] } 04:03:56 $ docker exec --env ******** --env ******** b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 ssh-agent -k 04:03:56 unset SSH_AUTH_SOCK; 04:03:56 unset SSH_AGENT_PID; 04:03:56 echo Agent pid 37 killed; 04:03:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:03:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:56 [ssh-agent] Looking for ssh-agent implementation... 04:03:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:56 $ docker exec b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 ssh-agent 04:03:57 SSH_AUTH_SOCK=/tmp/ssh-YDUOB5YafEUU/agent.69 04:03:57 SSH_AGENT_PID=75 04:03:57 Running ssh-add (command line suppressed) 04:03:57 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_1126202156848191506.key (/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_1126202156848191506.key) 04:03:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:57 + git semver init 04:03:57 2023-05-18 04:03:57,592 [run_init] DEBUG init version:0.0.0 force:False 04:03:57 2023-05-18 04:03:57,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver 04:03:57 2023-05-18 04:03:57,594 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-177/.semver 04:03:57 2023-05-18 04:03:57,594 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-177/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177, universal_newlines=False, shell=None, istream=None) 04:03:58 2023-05-18 04:03:58,593 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-177/.git/info/exclude 04:03:58 2023-05-18 04:03:58,593 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 with force:False 04:03:58 2023-05-18 04:03:58,593 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 04:03:58 2023-05-18 04:03:58,599 [execute] INFO git cat-file --batch-check 04:03:58 2023-05-18 04:03:58,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177/.semver, universal_newlines=False, shell=None, istream=) 04:03:58 2023-05-18 04:03:58,606 [execute] INFO git cat-file --batch 04:03:58 2023-05-18 04:03:58,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177/.semver, universal_newlines=False, shell=None, istream=) 04:03:58 2023-05-18 04:03:58,612 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 04:03:58 0.0.0 [Pipeline] } 04:03:58 $ docker exec --env ******** --env ******** b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 ssh-agent -k 04:03:59 unset SSH_AUTH_SOCK; 04:03:59 unset SSH_AGENT_PID; 04:03:59 echo Agent pid 75 killed; 04:03:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:59 + git semver [Pipeline] } 04:03:59 $ docker stop --time=1 b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 04:04:01 $ docker rm -f --volumes b6ba1793fe0ffe75f76fd7ce17738543a5b363bd363e4bf1785a0fcc452a2f32 [Pipeline] // withDockerContainer [Pipeline] sh 04:04:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:01 Stashed 1 file(s) [Pipeline] echo 04:04:01 [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 04:04:01 provisioning config files... 04:04:01 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config10580652837375104910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:02 ---> docker-login.sh 04:04:02 nexus3.edgexfoundry.org:10001 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 nexus3.edgexfoundry.org:10002 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 nexus3.edgexfoundry.org:10003 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 nexus3.edgexfoundry.org:10004 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 docker.io 04:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:02 Configure a credential helper to remove this warning. See 04:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:02 04:04:02 Login Succeeded 04:04:02 ---> docker-login.sh ends [Pipeline] } 04:04:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:02 ========================================================= 04:04:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:04:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:02 + 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 . 04:04:02 Sending build context to Docker daemon 16.14MB 04:04:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:04:02 Step 2/12 : FROM ${BASE} AS builder 04:04:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:02 f56be85fc22e: Pulling fs layer 04:04:02 85791d961cd3: Pulling fs layer 04:04:02 d694b5ae8c79: Pulling fs layer 04:04:02 9f32a84ed3da: Pulling fs layer 04:04:02 4d19c01a9841: Pulling fs layer 04:04:02 9325e15d5711: Pulling fs layer 04:04:02 9f32a84ed3da: Waiting 04:04:02 4d19c01a9841: Waiting 04:04:02 556b6ee489ea: Pulling fs layer 04:04:02 c5a4b2cf53e6: Pulling fs layer 04:04:02 9325e15d5711: Waiting 04:04:02 556b6ee489ea: Waiting 04:04:02 c5a4b2cf53e6: Waiting 04:04:02 85791d961cd3: Verifying Checksum 04:04:02 85791d961cd3: Download complete 04:04:02 9f32a84ed3da: Verifying Checksum 04:04:02 9f32a84ed3da: Download complete 04:04:03 4d19c01a9841: Verifying Checksum 04:04:03 4d19c01a9841: Download complete 04:04:03 f56be85fc22e: Verifying Checksum 04:04:03 f56be85fc22e: Download complete 04:04:03 9325e15d5711: Verifying Checksum 04:04:03 9325e15d5711: Download complete 04:04:03 f56be85fc22e: Pull complete 04:04:03 85791d961cd3: Pull complete 04:04:03 d694b5ae8c79: Verifying Checksum 04:04:03 d694b5ae8c79: Download complete 04:04:03 c5a4b2cf53e6: Verifying Checksum 04:04:03 c5a4b2cf53e6: Download complete 04:04:03 556b6ee489ea: Verifying Checksum 04:04:03 556b6ee489ea: Download complete 04:04:07 d694b5ae8c79: Pull complete 04:04:07 9f32a84ed3da: Pull complete 04:04:07 4d19c01a9841: Pull complete 04:04:07 9325e15d5711: Pull complete 04:04:09 556b6ee489ea: Pull complete 04:04:10 c5a4b2cf53e6: Pull complete 04:04:10 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:04:10 ---> c4be618373d6 04:04:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:04:15 ---> Running in 58255aeecb39 04:04:15 Removing intermediate container 58255aeecb39 04:04:15 ---> 01a81ad8fdd7 04:04:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:15 ---> Running in 1faf24a15d8c 04:04:15 Removing intermediate container 1faf24a15d8c 04:04:15 ---> 0a079546108a 04:04:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:04:15 ---> Running in 23964e9545d9 04:04:15 Removing intermediate container 23964e9545d9 04:04:15 ---> f27dbb76b949 04:04:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:04:15 ---> Running in f303631ae367 04:04:15 Removing intermediate container f303631ae367 04:04:15 ---> 44668fb0aa0d 04:04:15 Step 7/12 : WORKDIR /device-gpio 04:04:15 ---> Running in 700d5f3e7d3d 04:04:15 Removing intermediate container 700d5f3e7d3d 04:04:15 ---> fd91d1696283 04:04:15 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:15 ---> Running in 108ef37bf3ee 04:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 04:04:15 (2/4) Installing libedit (20221030.3.1-r0) 04:04:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 04:04:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 04:04:15 Executing busybox-1.35.0-r29.trigger 04:04:15 OK: 269 MiB in 57 packages 04:04:16 Removing intermediate container 108ef37bf3ee 04:04:16 ---> 94e19715b2c3 04:04:16 Step 9/12 : COPY go.mod vendor* ./ 04:04:16 ---> 8ccc802463a8 04:04:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:16 ---> Running in 33c1015c06fc 04:04:16 Still waiting to schedule task 04:04:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15990’ 04:04:43 Removing intermediate container 33c1015c06fc 04:04:43 ---> 9f55c6521376 04:04:43 Step 11/12 : COPY . . 04:04:43 ---> b43d43b76000 04:04:43 Step 12/12 : RUN ${MAKE} 04:04:43 ---> Running in 7b1f3b805724 04:04:43 noop 04:04:43 Removing intermediate container 7b1f3b805724 04:04:43 ---> 8c80c4018c87 04:04:43 Successfully built 8c80c4018c87 04:04:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:43 + docker inspect -f . ci-base-image-x86_64 04:04:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:43 prd-ubuntu20.04-docker-8c-8g-15991 does not seem to be running inside a container 04:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:04:43 $ docker top 68626d249173be8b82958978f81aa0412c38b2c6b33a5d4f66f2c3dad5306daf -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:44 + go version 04:04:44 go version go1.20.2 linux/amd64 [Pipeline] } 04:04:44 $ docker stop --time=1 68626d249173be8b82958978f81aa0412c38b2c6b33a5d4f66f2c3dad5306daf 04:04:45 $ docker rm -f --volumes 68626d249173be8b82958978f81aa0412c38b2c6b33a5d4f66f2c3dad5306daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:45 + docker inspect -f . ci-base-image-x86_64 04:04:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:46 prd-ubuntu20.04-docker-8c-8g-15991 does not seem to be running inside a container 04:04:46 $ 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-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:04:46 $ docker top f27642d34c45d71088ef43a8d5f8f9d50654caf29c14f8e525860240d677a97c -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-177 [Pipeline] fileExists [Pipeline] sh 04:04:47 + make test 04:04:47 go test ./... -coverprofile=coverage.out ./... 04:04:52 ? github.com/edgexfoundry/device-gpio [no test files] 04:05:02 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:05:02 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:05:08 go vet ./... 04:05:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:13 ./bin/test-attribution-txt.sh [Pipeline] echo 04:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:05:13 $ docker stop --time=1 f27642d34c45d71088ef43a8d5f8f9d50654caf29c14f8e525860240d677a97c 04:05:16 $ docker rm -f --volumes f27642d34c45d71088ef43a8d5f8f9d50654caf29c14f8e525860240d677a97c [Pipeline] // withDockerContainer [Pipeline] sh 04:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:05:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:17 + ls -al . 04:05:17 total 156 04:05:17 drwxrwxr-x 9 jenkins jenkins 4096 May 18 04:04 . 04:05:17 drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:03 .. 04:05:17 -rw-rw-r-- 1 jenkins jenkins 120 May 18 04:03 .dockerignore 04:05:17 drwxrwxr-x 8 jenkins jenkins 4096 May 18 04:03 .git 04:05:17 drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:03 .github 04:05:17 -rw-rw-r-- 1 jenkins jenkins 343 May 18 04:03 .gitignore 04:05:17 -rw-rw-r-- 1 jenkins jenkins 41 May 18 04:03 .golangci.yml 04:05:17 drwxr-xr-x 3 jenkins jenkins 4096 May 18 04:03 .semver 04:05:17 -rw-rw-r-- 1 jenkins jenkins 9702 May 18 04:03 Attribution.txt 04:05:17 -rw-rw-r-- 1 jenkins jenkins 4069 May 18 04:03 CHANGELOG.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 1542 May 18 04:03 Dockerfile 04:05:17 -rw-rw-r-- 1 jenkins jenkins 677 May 18 04:03 GOVERNANCE.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 657 May 18 04:03 Jenkinsfile 04:05:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 04:03 LICENSE 04:05:17 -rw-rw-r-- 1 jenkins jenkins 1692 May 18 04:03 Makefile 04:05:17 -rw-rw-r-- 1 jenkins jenkins 617 May 18 04:03 OWNERS.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 11790 May 18 04:03 README.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 5 May 18 04:04 VERSION 04:05:17 drwxrwxr-x 2 jenkins jenkins 4096 May 18 04:03 bin 04:05:17 drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:03 cmd 04:05:17 -rw-r--r-- 1 jenkins jenkins 10 May 18 04:04 coverage.out 04:05:17 -rw-rw-r-- 1 jenkins jenkins 3269 May 18 04:03 go.mod 04:05:17 -rw-rw-r-- 1 jenkins jenkins 31585 May 18 04:03 go.sum 04:05:17 drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:03 internal 04:05:17 drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:03 snap 04:05:17 -rw-rw-r-- 1 jenkins jenkins 209 May 18 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:17 + 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=a070ea6d9af4d8805c457b1c8b8095277775e61b --label arch=amd64 --label version=0.0.0 . 04:05:17 Sending build context to Docker daemon 16.14MB 04:05:17 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:05:17 Step 2/25 : FROM ${BASE} AS builder 04:05:17 ---> 8c80c4018c87 04:05:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:05:18 ---> Running in 9543884b2398 04:05:18 Removing intermediate container 9543884b2398 04:05:18 ---> 1349530af2bd 04:05:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:05:18 ---> Running in d61ffec9cc59 04:05:18 Removing intermediate container d61ffec9cc59 04:05:18 ---> 834bf9616510 04:05:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:05:18 ---> Running in bedea13fb4e6 04:05:18 Removing intermediate container bedea13fb4e6 04:05:18 ---> 4fb56d3775cb 04:05:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:05:18 ---> Running in 6fb9a22ada0c 04:05:18 Removing intermediate container 6fb9a22ada0c 04:05:18 ---> 059e9a91244d 04:05:18 Step 7/25 : WORKDIR /device-gpio 04:05:18 ---> Running in 6c3c6280ab03 04:05:18 Removing intermediate container 6c3c6280ab03 04:05:18 ---> 53eb23f6371a 04:05:18 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:05:18 ---> Running in e46a91da37bf 04:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:05:19 OK: 269 MiB in 57 packages 04:05:20 Removing intermediate container e46a91da37bf 04:05:20 ---> 8a4ee81d58a5 04:05:20 Step 9/25 : COPY go.mod vendor* ./ 04:05:20 ---> 3e2b2cfb565a 04:05:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:20 ---> Running in abbde3324f99 04:05:21 Removing intermediate container abbde3324f99 04:05:21 ---> 57a04f73cbf7 04:05:21 Step 11/25 : COPY . . 04:05:21 ---> 089b40c4bbdf 04:05:21 Step 12/25 : RUN ${MAKE} 04:05:21 ---> Running in 0d5cd0eb9aac 04:05:21 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 04:05:43 Removing intermediate container 0d5cd0eb9aac 04:05:43 ---> 1e3725b0991c 04:05:43 Step 13/25 : FROM alpine:3.17 04:05:43 3.17: Pulling from library/alpine 04:05:43 f56be85fc22e: Already exists 04:05:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:05:43 Status: Downloaded newer image for alpine:3.17 04:05:43 ---> 9ed4aefc74f6 04:05:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:05:43 ---> Running in 8e16ba95c1fe 04:05:43 Removing intermediate container 8e16ba95c1fe 04:05:43 ---> 3b9891014463 04:05:43 Step 15/25 : RUN apk add --update --no-cache 04:05:43 ---> Running in c01ea2699e77 04:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:05:43 OK: 7 MiB in 15 packages 04:05:43 Removing intermediate container c01ea2699e77 04:05:43 ---> efd0881353c2 04:05:43 Step 16/25 : WORKDIR / 04:05:43 ---> Running in 9495b415a622 04:05:43 Removing intermediate container 9495b415a622 04:05:43 ---> ead68f9dcd19 04:05:43 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:05:43 ---> d5a0c2b90038 04:05:43 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:05:43 ---> 6e459f925c6a 04:05:43 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:05:44 ---> 3081aa094872 04:05:44 Step 20/25 : EXPOSE 59910 04:05:44 ---> Running in dd1a678858c7 04:05:44 Removing intermediate container dd1a678858c7 04:05:44 ---> e5542d51bd1d 04:05:44 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:05:44 ---> Running in f591bb0afa40 04:05:44 Removing intermediate container f591bb0afa40 04:05:44 ---> e30f934d8bff 04:05:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:05:44 ---> Running in 9d6a9b82ecc6 04:05:44 Removing intermediate container 9d6a9b82ecc6 04:05:44 ---> 003f6c1f6d64 04:05:44 Step 23/25 : LABEL arch=amd64 04:05:44 ---> Running in 73345a8ede26 04:05:44 Removing intermediate container 73345a8ede26 04:05:44 ---> 415c60cc2574 04:05:44 Step 24/25 : LABEL git_sha=a070ea6d9af4d8805c457b1c8b8095277775e61b 04:05:44 ---> Running in ef03aca96058 04:05:44 Removing intermediate container ef03aca96058 04:05:44 ---> c1e46dc6015a 04:05:44 Step 25/25 : LABEL version=0.0.0 04:05:44 ---> Running in a53ec881468d 04:05:44 Removing intermediate container a53ec881468d 04:05:44 ---> fe923ea752d4 04:05:44 [Warning] One or more build-args [ARCH] were not consumed 04:05:44 Successfully built fe923ea752d4 04:05:44 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 04:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:45 04:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:45 latest: Pulling from edgex-lftools-log-publisher 04:05:45 5eb5b503b376: Pulling fs layer 04:05:45 5c69ac0246d0: Pulling fs layer 04:05:45 ec43610c2a17: Pulling fs layer 04:05:45 3a2ae6a8a46f: Pulling fs layer 04:05:45 33b1e0a273af: Pulling fs layer 04:05:45 5d3b04190fa2: Pulling fs layer 04:05:45 2f39f015ded8: Pulling fs layer 04:05:45 3a2ae6a8a46f: Waiting 04:05:45 5d3b04190fa2: Waiting 04:05:45 33b1e0a273af: Waiting 04:05:45 2f39f015ded8: Waiting 04:05:45 5c69ac0246d0: Download complete 04:05:45 3a2ae6a8a46f: Download complete 04:05:45 33b1e0a273af: Verifying Checksum 04:05:45 33b1e0a273af: Download complete 04:05:45 5d3b04190fa2: Verifying Checksum 04:05:45 5d3b04190fa2: Download complete 04:05:45 ec43610c2a17: Verifying Checksum 04:05:45 ec43610c2a17: Download complete 04:05:45 5eb5b503b376: Verifying Checksum 04:05:45 5eb5b503b376: Download complete 04:05:46 2f39f015ded8: Download complete 04:05:46 5eb5b503b376: Pull complete 04:05:46 5c69ac0246d0: Pull complete 04:05:47 ec43610c2a17: Pull complete 04:05:47 3a2ae6a8a46f: Pull complete 04:05:47 33b1e0a273af: Pull complete 04:05:47 5d3b04190fa2: Pull complete 04:05:51 2f39f015ded8: Pull complete 04:05:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:52 prd-ubuntu20.04-docker-8c-8g-15991 does not seem to be running inside a container 04:05:52 $ 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-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:05:56 $ docker top 16c6f7608d69f165c84c8dd3e1f71f1066856b2b3bf3a735d45ef19c381f770e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:57 ---> job-cost.sh 04:05:57 lf-activate-venv: SKIPPING 04:05:57 INFO: No Stack... 04:05:57 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:58 INFO: Archiving Costs [Pipeline] sh 04:05:58 + cat /w/workspace/edgexfoundry_device-gpio_PR-177/archives/cost.csv 04:05:58 + cut -d, -f6 [Pipeline] lock 04:05:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] 04:05:58 Resource [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] did not exist. Created. 04:05:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:05:58 + echo total: 0.2199999988079071 [Pipeline] stash 04:05:58 Stashed 1 file(s) [Pipeline] } 04:05:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:05:58 $ docker stop --time=1 16c6f7608d69f165c84c8dd3e1f71f1066856b2b3bf3a735d45ef19c381f770e 04:05:59 $ docker rm -f --volumes 16c6f7608d69f165c84c8dd3e1f71f1066856b2b3bf3a735d45ef19c381f770e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15993 in /w/workspace/edgexfoundry_device-gpio_PR-177 [Pipeline] { [Pipeline] ws 04:07:17 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 04:07:18 The recommended git tool is: git 04:07:24 using credential edgex-jenkins-ssh 04:07:24 Cloning the remote Git repository 04:07:24 Cloning repository git@github.com:edgexfoundry/device-gpio.git 04:07:24 > git init /w/workspace/device-gpio/4 # timeout=10 04:07:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 04:07:24 > git --version # timeout=10 04:07:24 > git --version # 'git version 2.25.1' 04:07:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 04:07:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:27 Merging remotes/origin/main commit 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 into PR head commit a070ea6d9af4d8805c457b1c8b8095277775e61b 04:07:27 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 04:07:27 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 04:07:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:27 > git config core.sparsecheckout # timeout=10 04:07:28 > git checkout -f a070ea6d9af4d8805c457b1c8b8095277775e61b # timeout=10 04:07:28 > git remote # timeout=10 04:07:28 > git config --get remote.origin.url # timeout=10 04:07:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:28 > git merge 3c1f7bd23bc5ef1470c76ac430e20867f10a2b38 # timeout=10 04:07:28 Merge succeeded, producing a070ea6d9af4d8805c457b1c8b8095277775e61b 04:07:28 Checking out Revision a070ea6d9af4d8805c457b1c8b8095277775e61b (PR-177) 04:07:28 Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:28 > git rev-parse HEAD^{commit} # timeout=10 04:07:28 > git config core.sparsecheckout # timeout=10 04:07:28 > git checkout -f a070ea6d9af4d8805c457b1c8b8095277775e61b # timeout=10 04:07:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:29 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:29 Dload Upload Total Spent Left Speed 04:07:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 04:07:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:30 + sudo tee /etc/docker/daemon.new 04:07:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:30 { 04:07:30 "registry-mirrors": [ 04:07:30 "https://nexus3.edgexfoundry.org:10001" 04:07:30 ], 04:07:30 "bip": "10.250.0.254/24", 04:07:30 "hosts": [ 04:07:30 "tcp://0.0.0.0:5555", 04:07:30 "unix:///var/run/docker.sock" 04:07:30 ], 04:07:30 "mtu": 1458, 04:07:30 "selinux-enabled": true, 04:07:30 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:30 } [Pipeline] sh 04:07:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:53 provisioning config files... 04:07:53 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config8512484106903702160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:53 ---> docker-login.sh 04:07:53 nexus3.edgexfoundry.org:10001 04:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:54 Configure a credential helper to remove this warning. See 04:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:54 04:07:54 Login Succeeded 04:07:54 nexus3.edgexfoundry.org:10002 04:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:55 Configure a credential helper to remove this warning. See 04:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:55 04:07:55 Login Succeeded 04:07:55 nexus3.edgexfoundry.org:10003 04:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:55 Configure a credential helper to remove this warning. See 04:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:55 04:07:55 Login Succeeded 04:07:55 nexus3.edgexfoundry.org:10004 04:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:55 Configure a credential helper to remove this warning. See 04:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:55 04:07:55 Login Succeeded 04:07:55 docker.io 04:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:56 Configure a credential helper to remove this warning. See 04:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:56 04:07:56 Login Succeeded 04:07:56 ---> docker-login.sh ends [Pipeline] } 04:07:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:56 ========================================================= 04:07:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:07:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:57 + 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 . 04:07:57 Sending build context to Docker daemon 8.151MB 04:07:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:07:57 Step 2/12 : FROM ${BASE} AS builder 04:07:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:57 c41833b44d91: Pulling fs layer 04:07:57 ed15518f5707: Pulling fs layer 04:07:57 feae8fd75edb: Pulling fs layer 04:07:57 242c74f7c9fa: Pulling fs layer 04:07:57 3cdef696dda3: Pulling fs layer 04:07:57 2ced38df9373: Pulling fs layer 04:07:57 58f1dce35555: Pulling fs layer 04:07:57 3cdef696dda3: Waiting 04:07:57 242c74f7c9fa: Waiting 04:07:57 2ced38df9373: Waiting 04:07:57 58f1dce35555: Waiting 04:07:57 ed15518f5707: Download complete 04:07:57 242c74f7c9fa: Verifying Checksum 04:07:57 242c74f7c9fa: Download complete 04:07:57 3cdef696dda3: Verifying Checksum 04:07:57 3cdef696dda3: Download complete 04:07:57 c41833b44d91: Verifying Checksum 04:07:57 c41833b44d91: Download complete 04:07:58 c41833b44d91: Pull complete 04:07:59 58f1dce35555: Verifying Checksum 04:07:59 58f1dce35555: Download complete 04:07:59 ed15518f5707: Pull complete 04:08:00 feae8fd75edb: Verifying Checksum 04:08:00 feae8fd75edb: Download complete 04:08:00 2ced38df9373: Verifying Checksum 04:08:00 2ced38df9373: Download complete 04:08:10 feae8fd75edb: Pull complete 04:08:10 242c74f7c9fa: Pull complete 04:08:10 3cdef696dda3: Pull complete 04:08:17 2ced38df9373: Pull complete 04:08:19 58f1dce35555: Pull complete 04:08:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:08:19 ---> fadd8f120f05 04:08:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:08:21 ---> Running in c257ab555c69 04:08:21 Removing intermediate container c257ab555c69 04:08:21 ---> fa9f2c7b2df3 04:08:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:22 ---> Running in 867e5c186535 04:08:22 Removing intermediate container 867e5c186535 04:08:22 ---> acbf503244b6 04:08:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:08:22 ---> Running in bea3c67e0871 04:08:22 Removing intermediate container bea3c67e0871 04:08:22 ---> 1a97f2775f79 04:08:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:08:22 ---> Running in ca1024f0dc75 04:08:23 Removing intermediate container ca1024f0dc75 04:08:23 ---> 9b213566eb9a 04:08:23 Step 7/12 : WORKDIR /device-gpio 04:08:23 ---> Running in 230a75704217 04:08:23 Removing intermediate container 230a75704217 04:08:23 ---> 81bf6b8faa05 04:08:23 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:23 ---> Running in d0b62df5d764 04:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:08:26 (1/4) Installing openssh-keygen (9.1_p1-r3) 04:08:26 (2/4) Installing libedit (20221030.3.1-r0) 04:08:26 (3/4) Installing openssh-client-common (9.1_p1-r3) 04:08:26 (4/4) Installing openssh-client-default (9.1_p1-r3) 04:08:26 Executing busybox-1.35.0-r29.trigger 04:08:26 OK: 268 MiB in 57 packages 04:08:27 Removing intermediate container d0b62df5d764 04:08:27 ---> 732a0057f334 04:08:27 Step 9/12 : COPY go.mod vendor* ./ 04:08:28 ---> e002c4dd2a38 04:08:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:28 ---> Running in 4178cfa20164 04:09:49 Removing intermediate container 4178cfa20164 04:09:49 ---> 17d8be8930f9 04:09:49 Step 11/12 : COPY . . 04:09:49 ---> 6ec4e1a64c5c 04:09:49 Step 12/12 : RUN ${MAKE} 04:09:49 ---> Running in 5626d661a8e5 04:09:49 noop 04:09:49 Removing intermediate container 5626d661a8e5 04:09:49 ---> b2a778bbc0a3 04:09:49 Successfully built b2a778bbc0a3 04:09:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:50 + docker inspect -f . ci-base-image-arm64 04:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:50 prd-ubuntu20.04-docker-arm64-4c-16g-15993 does not seem to be running inside a container 04:09:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:09:51 $ docker top 32fc178e4dd44d057acc9aaa5eddcfa9b34281907514b8bd923128597197e7a9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:52 + go version 04:09:52 go version go1.20.2 linux/arm64 [Pipeline] } 04:09:52 $ docker stop --time=1 32fc178e4dd44d057acc9aaa5eddcfa9b34281907514b8bd923128597197e7a9 04:09:54 $ docker rm -f --volumes 32fc178e4dd44d057acc9aaa5eddcfa9b34281907514b8bd923128597197e7a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:54 + docker inspect -f . ci-base-image-arm64 04:09:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:54 prd-ubuntu20.04-docker-arm64-4c-16g-15993 does not seem to be running inside a container 04:09:55 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:09:56 $ docker top cfaa4e5bcfab93f767ea4fbf589c2d4dd981d203a0f66f589211007b19077f32 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:57 + git config --global --add safe.directory /w/workspace/device-gpio/4 [Pipeline] fileExists [Pipeline] sh 04:09:57 + make test 04:09:57 go test ./... -coverprofile=coverage.out ./... 04:10:30 ? github.com/edgexfoundry/device-gpio [no test files] 04:12:36 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:12:36 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:12:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:36 go vet ./... 04:12:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:12:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:12:51 ./bin/test-attribution-txt.sh [Pipeline] echo 04:12:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:12:51 $ docker stop --time=1 cfaa4e5bcfab93f767ea4fbf589c2d4dd981d203a0f66f589211007b19077f32 04:12:53 $ docker rm -f --volumes cfaa4e5bcfab93f767ea4fbf589c2d4dd981d203a0f66f589211007b19077f32 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:12:54 Warning: overwriting stash ‘coverage-report’ 04:12:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:12:55 + ls -al . 04:12:55 total 152 04:12:55 drwxrwxr-x 8 jenkins jenkins 4096 May 18 04:10 . 04:12:55 drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:07 .. 04:12:55 -rw-rw-r-- 1 jenkins jenkins 120 May 18 04:07 .dockerignore 04:12:55 drwxrwxr-x 8 jenkins jenkins 4096 May 18 04:07 .git 04:12:55 drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:07 .github 04:12:55 -rw-rw-r-- 1 jenkins jenkins 343 May 18 04:07 .gitignore 04:12:55 -rw-rw-r-- 1 jenkins jenkins 41 May 18 04:07 .golangci.yml 04:12:55 -rw-rw-r-- 1 jenkins jenkins 9702 May 18 04:07 Attribution.txt 04:12:55 -rw-rw-r-- 1 jenkins jenkins 4069 May 18 04:07 CHANGELOG.md 04:12:55 -rw-rw-r-- 1 jenkins jenkins 1542 May 18 04:07 Dockerfile 04:12:55 -rw-rw-r-- 1 jenkins jenkins 677 May 18 04:07 GOVERNANCE.md 04:12:55 -rw-rw-r-- 1 jenkins jenkins 657 May 18 04:07 Jenkinsfile 04:12:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 04:07 LICENSE 04:12:55 -rw-rw-r-- 1 jenkins jenkins 1692 May 18 04:07 Makefile 04:12:55 -rw-rw-r-- 1 jenkins jenkins 617 May 18 04:07 OWNERS.md 04:12:55 -rw-rw-r-- 1 jenkins jenkins 11790 May 18 04:07 README.md 04:12:55 -rw-rw-r-- 1 jenkins jenkins 5 May 18 04:04 VERSION 04:12:55 drwxrwxr-x 2 jenkins jenkins 4096 May 18 04:07 bin 04:12:55 drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:07 cmd 04:12:55 -rw-r--r-- 1 jenkins jenkins 10 May 18 04:10 coverage.out 04:12:55 -rw-rw-r-- 1 jenkins jenkins 3269 May 18 04:07 go.mod 04:12:55 -rw-rw-r-- 1 jenkins jenkins 31585 May 18 04:07 go.sum 04:12:55 drwxrwxr-x 3 jenkins jenkins 4096 May 18 04:07 internal 04:12:55 drwxrwxr-x 4 jenkins jenkins 4096 May 18 04:07 snap 04:12:55 -rw-rw-r-- 1 jenkins jenkins 209 May 18 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:56 + 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=a070ea6d9af4d8805c457b1c8b8095277775e61b --label arch=arm64 --label version=0.0.0 . 04:12:56 Sending build context to Docker daemon 8.152MB 04:12:56 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:12:56 Step 2/25 : FROM ${BASE} AS builder 04:12:56 ---> b2a778bbc0a3 04:12:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:12:56 ---> Running in 75398fb8b140 04:12:57 Removing intermediate container 75398fb8b140 04:12:57 ---> b24c70de54c0 04:12:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:12:57 ---> Running in 8e921b53cbbe 04:12:57 Removing intermediate container 8e921b53cbbe 04:12:57 ---> de6495bc76b7 04:12:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:12:57 ---> Running in 598ae1f30c58 04:12:57 Removing intermediate container 598ae1f30c58 04:12:57 ---> 0370bf715864 04:12:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:12:57 ---> Running in d3502f3a3222 04:12:58 Removing intermediate container d3502f3a3222 04:12:58 ---> 6a91374de7a2 04:12:58 Step 7/25 : WORKDIR /device-gpio 04:12:58 ---> Running in 81515d13d3b0 04:12:58 Removing intermediate container 81515d13d3b0 04:12:58 ---> 889c93e747d8 04:12:58 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:12:58 ---> Running in 55e6f871fe44 04:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:13:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:13:01 OK: 268 MiB in 57 packages 04:13:02 Removing intermediate container 55e6f871fe44 04:13:02 ---> 0cc2df0d8d28 04:13:02 Step 9/25 : COPY go.mod vendor* ./ 04:13:02 ---> 38ad99cfcc83 04:13:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:02 ---> Running in ea6dfad31c8b 04:13:05 Removing intermediate container ea6dfad31c8b 04:13:05 ---> cc822916b1f9 04:13:05 Step 11/25 : COPY . . 04:13:06 ---> 785de8ecf08a 04:13:06 Step 12/25 : RUN ${MAKE} 04:13:06 ---> Running in 1be4a01cd188 04:13:07 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 04:15:14 Removing intermediate container 1be4a01cd188 04:15:14 ---> 1c19124e6cf3 04:15:14 Step 13/25 : FROM alpine:3.17 04:15:15 3.17: Pulling from library/alpine 04:15:15 c41833b44d91: Already exists 04:15:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:15:15 Status: Downloaded newer image for alpine:3.17 04:15:15 ---> 51e60588ff2c 04:15:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:15:16 ---> Running in 199db214deb2 04:15:16 Removing intermediate container 199db214deb2 04:15:16 ---> e42afedc2529 04:15:16 Step 15/25 : RUN apk add --update --no-cache 04:15:16 ---> Running in a8056f6564df 04:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:15:19 OK: 7 MiB in 15 packages 04:15:20 Removing intermediate container a8056f6564df 04:15:20 ---> fab620b7e1ae 04:15:20 Step 16/25 : WORKDIR / 04:15:20 ---> Running in f42718d47c82 04:15:20 Removing intermediate container f42718d47c82 04:15:20 ---> 1c0947224162 04:15:20 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:15:21 ---> c5da55aaaf4c 04:15:21 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:15:21 ---> 78d8aa004d8c 04:15:21 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:15:23 ---> 4adf0136b3b0 04:15:23 Step 20/25 : EXPOSE 59910 04:15:23 ---> Running in c329a54aa60b 04:15:23 Removing intermediate container c329a54aa60b 04:15:23 ---> 359a81b08e83 04:15:23 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:15:23 ---> Running in 80a5e68150ff 04:15:23 Removing intermediate container 80a5e68150ff 04:15:23 ---> 8061ff45c3bb 04:15:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:15:23 ---> Running in 66aa75ddf24e 04:15:23 Removing intermediate container 66aa75ddf24e 04:15:23 ---> d2bc33fd1222 04:15:23 Step 23/25 : LABEL arch=arm64 04:15:23 ---> Running in 94f6356b75a8 04:15:24 Removing intermediate container 94f6356b75a8 04:15:24 ---> 2d50170eb07d 04:15:24 Step 24/25 : LABEL git_sha=a070ea6d9af4d8805c457b1c8b8095277775e61b 04:15:24 ---> Running in 8730fa9f7b01 04:15:24 Removing intermediate container 8730fa9f7b01 04:15:24 ---> ab071ad5bd53 04:15:24 Step 25/25 : LABEL version=0.0.0 04:15:24 ---> Running in e175ab02ffac 04:15:25 Removing intermediate container e175ab02ffac 04:15:25 ---> 2fd9583ad493 04:15:25 [Warning] One or more build-args [ARCH] were not consumed 04:15:25 Successfully built 2fd9583ad493 04:15:25 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 04:15:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:25 04:15:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:26 arm64: Pulling from edgex-lftools-log-publisher 04:15:26 8998bd30e6a1: Pulling fs layer 04:15:26 04944245beec: Pulling fs layer 04:15:26 699f458cf7ca: Pulling fs layer 04:15:26 765212b225bb: Pulling fs layer 04:15:26 f23df028b6ca: Pulling fs layer 04:15:26 d65c8cfc05b1: Pulling fs layer 04:15:26 2437ff75d9bd: Pulling fs layer 04:15:26 765212b225bb: Waiting 04:15:26 f23df028b6ca: Waiting 04:15:26 d65c8cfc05b1: Waiting 04:15:26 2437ff75d9bd: Waiting 04:15:26 04944245beec: Verifying Checksum 04:15:26 04944245beec: Download complete 04:15:26 765212b225bb: Verifying Checksum 04:15:26 765212b225bb: Download complete 04:15:26 f23df028b6ca: Verifying Checksum 04:15:26 f23df028b6ca: Download complete 04:15:26 d65c8cfc05b1: Verifying Checksum 04:15:26 d65c8cfc05b1: Download complete 04:15:26 699f458cf7ca: Verifying Checksum 04:15:26 699f458cf7ca: Download complete 04:15:26 8998bd30e6a1: Verifying Checksum 04:15:26 8998bd30e6a1: Download complete 04:15:29 2437ff75d9bd: Verifying Checksum 04:15:29 2437ff75d9bd: Download complete 04:15:30 8998bd30e6a1: Pull complete 04:15:31 04944245beec: Pull complete 04:15:32 699f458cf7ca: Pull complete 04:15:32 765212b225bb: Pull complete 04:15:33 f23df028b6ca: Pull complete 04:15:33 d65c8cfc05b1: Pull complete 04:15:48 2437ff75d9bd: Pull complete 04:15:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:15:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:48 prd-ubuntu20.04-docker-arm64-4c-16g-15993 does not seem to be running inside a container 04:15:48 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:15:51 $ docker top fe2871676854e61a059fffeda493ab4dc6b9de6b89d6b0e9bf208cd93618fb24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:52 ---> job-cost.sh 04:15:52 lf-activate-venv: SKIPPING 04:15:52 INFO: No Stack... 04:15:52 INFO: Retrieving Pricing Info for: v3-standard-4 04:15:53 INFO: Archiving Costs [Pipeline] sh 04:15:53 + cat /w/workspace/device-gpio/4/archives/cost.csv 04:15:53 + cut -d, -f6 [Pipeline] lock 04:15:53 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] 04:15:53 Resource [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] did not exist. Created. 04:15:53 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:15:54 /w/workspace/device-gpio/4@tmp/durable-792838cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:15:54 + echo total: 0.10999999940395355 [Pipeline] stash 04:15:54 Warning: overwriting stash ‘stack-cost’ 04:15:54 Stashed 1 file(s) [Pipeline] } 04:15:54 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-177-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:15:54 $ docker stop --time=1 fe2871676854e61a059fffeda493ab4dc6b9de6b89d6b0e9bf208cd93618fb24 04:15:56 $ docker rm -f --volumes fe2871676854e61a059fffeda493ab4dc6b9de6b89d6b0e9bf208cd93618fb24 [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 04:15:57 provisioning config files... 04:15:57 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config18014839934096572754tmp [Pipeline] { [Pipeline] sh 04:15:57 + set +x 04:15:57 + curl -s https://codecov.io/bash 04:15:57 + bash -s -- 04:15:57 04:15:57 _____ _ 04:15:57 / ____| | | 04:15:57 | | ___ __| | ___ ___ _____ __ 04:15:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:15:57 | |___| (_) | (_| | __/ (_| (_) \ V / 04:15:57 \_____\___/ \__,_|\___|\___\___/ \_/ 04:15:57 Bash-1.0.6 04:15:57 04:15:57 04:15:57 ==> git version 2.25.1 found 04:15:57 ==> 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 04:15:57 Release-Date: 2020-01-08 04:15:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:15:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:15:57 ==> Jenkins CI detected. 04:15:57 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-177 04:15:57 project root: . 04:15:57 --> token set from env 04:15:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:15:57 ==> Running gcov in . (disable via -X gcov) 04:15:57 ==> Python coveragepy not found 04:15:57 ==> Searching for coverage reports in: 04:15:57 + . 04:15:57 -> Found 1 reports 04:15:57 ==> Detecting git/mercurial file structure 04:15:57 ==> Reading reports 04:15:57 + ./coverage.out bytes=10 04:15:57 ==> Appending adjustments 04:15:57 https://docs.codecov.io/docs/fixing-reports 04:15:57 + Found adjustments 04:15:57 ==> Gzipping contents 04:15:57 4.0K /tmp/codecov.CMpUBM.gz 04:15:57 ==> Uploading reports 04:15:57 url: https://codecov.io 04:15:57 query: branch=PR-177&commit=a070ea6d9af4d8805c457b1c8b8095277775e61b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-177%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=177&job=&cmd_args= 04:15:57 -> Pinging Codecov 04:15:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-177&commit=a070ea6d9af4d8805c457b1c8b8095277775e61b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-177%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=177&job=&cmd_args= 04:15:57 -> Uploading to 04:15:57 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/a070ea6d9af4d8805c457b1c8b8095277775e61b/b6fc2b13-c5aa-406f-bb4d-70823e651fbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T041557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=577d0107a13938953132d3df6555a48e574247765663ba2ad4ab6fe71273be8d 04:15:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:57 Dload Upload Total Spent Left Speed 04:15:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3080 --:--:-- --:--:-- --:--:-- 3067 04:15:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/a070ea6d9af4d8805c457b1c8b8095277775e61b [Pipeline] } 04:15:57 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 04:15:58 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-177/archives ] 04:15:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-177/archives 04:15:58 total 16 04:15:58 drwxr-xr-x 3 root root 4096 May 18 04:05 . 04:15:58 drwxrwxr-x 10 jenkins jenkins 4096 May 18 04:05 .. 04:15:58 drwxr-xr-x 2 root root 4096 May 18 04:05 cost 04:15:58 -rw-r--r-- 1 root root 83 May 18 04:05 cost.csv 04:15:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-177/archives 04:15:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-177/archives 04:15:58 total 16 04:15:58 drwxr-xr-x 3 jenkins jenkins 4096 May 18 04:05 . 04:15:58 drwxrwxr-x 10 jenkins jenkins 4096 May 18 04:05 .. 04:15:58 drwxr-xr-x 2 jenkins jenkins 4096 May 18 04:05 cost 04:15:58 -rw-r--r-- 1 jenkins jenkins 83 May 18 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:15:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:15:59 ---> package-listing.sh 04:15:59 ++ facter osfamily 04:15:59 ++ tr '[:upper:]' '[:lower:]' 04:15:59 + OS_FAMILY=debian 04:15:59 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-177 04:15:59 + START_PACKAGES=/tmp/packages_start.txt 04:15:59 + END_PACKAGES=/tmp/packages_end.txt 04:15:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:15:59 + PACKAGES=/tmp/packages_start.txt 04:15:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-177 ']' 04:15:59 + PACKAGES=/tmp/packages_end.txt 04:15:59 + case "${OS_FAMILY}" in 04:15:59 + dpkg -l 04:15:59 + grep '^ii' 04:15:59 + '[' -f /tmp/packages_start.txt ']' 04:15:59 + '[' -f /tmp/packages_end.txt ']' 04:15:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:15:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-177 ']' 04:15:59 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-177/archives/ 04:15:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-177/archives/ [Pipeline] echo 04:15:59 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:16:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:00 prd-ubuntu20.04-docker-8c-8g-15991 does not seem to be running inside a container 04:16:00 $ 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-177/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-177 -v /w/workspace/edgexfoundry_device-gpio_PR-177:/w/workspace/edgexfoundry_device-gpio_PR-177:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-177@tmp:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:16:01 $ docker top dbf5edab5b7892ef6c3951e9b6a879d63bde2dd36ccbb9510f579436ad6eebcd -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:01 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:01 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:02 + ls /var/log/sa-host 04:16:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:02 provisioning config files... 04:16:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config7515112144809366410tmp [Pipeline] { [Pipeline] echo 04:16:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:02 ---> create-netrc.sh [Pipeline] } 04:16:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:02 ---> python-tools-install.sh [Pipeline] echo 04:16:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:03 ---> sudo-logs.sh 04:16:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:16:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:16:03 ---> job-cost.sh 04:16:03 lf-activate-venv: SKIPPING 04:16:03 DEBUG: total: 0.2199999988079071 04:16:03 INFO: Retrieving Stack Cost... 04:16:03 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:04 INFO: Archiving Costs [Pipeline] echo 04:16:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:16:04 ---> logs-deploy.sh 04:16:04 lf-activate-venv: SKIPPING 04:16:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-177/4 04:16:04 INFO: archiving workspace using pattern(s): 04:16:05 Archives upload complete. 04:16:05 INFO: archiving logs to Nexus