Pull request #177 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f764aa69160c3c1af954fa274471faf39d88bdf+98aac1368ee40ec1865790939f305422b435a4ce (8c7e826d80d77b3276359994265e37c477b47e90) 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-ssh401894278970086400.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-ssh15709796583166358830.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-ssh9180768627951759561.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-ssh5449007558782966432.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-ssh7506591404816141885.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 ‘prd-ubuntu20.04-docker-8c-8g-16896’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16897’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16904 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 98aac1368ee40ec1865790939f305422b435a4ce into PR head commit 1f764aa69160c3c1af954fa274471faf39d88bdf Merge succeeded, producing 1f764aa69160c3c1af954fa274471faf39d88bdf Checking out Revision 1f764aa69160c3c1af954fa274471faf39d88bdf (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 01:29:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:29:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:29:44 ========================================================= 01:29:44 EdgeX Global Pipelines Version Info 01:29:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 1f764aa69160c3c1af954fa274471faf39d88bdf # 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 98aac1368ee40ec1865790939f305422b435a4ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f764aa69160c3c1af954fa274471faf39d88bdf # timeout=10 > git rev-list --no-walk b233b7468995977dde3589891098b1d9f5ef6954 # timeout=10 01:29:45 ------------------- 01:29:45 stable info: 01:29:45 ------------------- 01:29:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:29:45 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:29:45 Message: update stable to v1.0.249 01:29:46 ------------------- 01:29:46 experimental info: 01:29:46 ------------------- 01:29:46 Commited By: **** collab-it+edgex@linuxfoundation.org 01:29:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:29:46 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f764aa69160c3c1af954fa274471faf39d88bdf [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f764aa [Pipeline] echo 01:29:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:46 provisioning config files... 01:29:46 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config17118224787114432750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:47 ---> docker-login.sh 01:29:47 nexus3.edgexfoundry.org:10001 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 nexus3.edgexfoundry.org:10002 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 nexus3.edgexfoundry.org:10003 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 nexus3.edgexfoundry.org:10004 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 docker.io 01:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:47 Configure a credential helper to remove this warning. See 01:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:47 01:29:47 Login Succeeded 01:29:47 ---> docker-login.sh ends [Pipeline] } 01:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:29:48 + git rev-list -1 --merges 1f764aa69160c3c1af954fa274471faf39d88bdf~1..1f764aa69160c3c1af954fa274471faf39d88bdf [Pipeline] echo 01:29:48 -----------> git rev-list -1 --merges 1f764aa69160c3c1af954fa274471faf39d88bdf~1..1f764aa69160c3c1af954fa274471faf39d88bdf 1f764aa69160c3c1af954fa274471faf39d88bdf [false] [Pipeline] sh 01:29:48 + git log --format=format:%s -1 1f764aa69160c3c1af954fa274471faf39d88bdf [Pipeline] echo 01:29:48 ========================================================= 01:29:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:29:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:48 + git log --format=format:%s -1 1f764aa69160c3c1af954fa274471faf39d88bdf [Pipeline] echo 01:29:48 [semverPrep] GIT_COMMIT: 1f764aa69160c3c1af954fa274471faf39d88bdf, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 01:29:48 [semverPrep] This is not a build commit. [Pipeline] sh 01:29:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:29:49 + grep -v github /etc/ssh/ssh_known_hosts 01:29:49 + [ -e /tmp/ssh_known_hosts ] 01:29:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:29:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:29:49 + sudo tee -a /etc/ssh/ssh_known_hosts 01:29:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:49 01:29:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:49 0.1.4: Pulling from edgex-devops/py-git-semver 01:29:49 b85a868b505f: Pulling fs layer 01:29:49 e2be974225ed: Pulling fs layer 01:29:49 339a4e72a1f5: Pulling fs layer 01:29:49 988bab9f4d93: Pulling fs layer 01:29:49 1469e6f7b9e6: Pulling fs layer 01:29:49 eaf3925da568: Pulling fs layer 01:29:49 bab4dde63d76: Pulling fs layer 01:29:49 bde34c3a00c8: Pulling fs layer 01:29:49 b352a97aabf1: Pulling fs layer 01:29:49 4872d77fe225: Pulling fs layer 01:29:49 5851b861e8e6: Pulling fs layer 01:29:49 988bab9f4d93: Waiting 01:29:49 1469e6f7b9e6: Waiting 01:29:49 eaf3925da568: Waiting 01:29:49 bab4dde63d76: Waiting 01:29:49 bde34c3a00c8: Waiting 01:29:49 b352a97aabf1: Waiting 01:29:49 4872d77fe225: Waiting 01:29:49 5851b861e8e6: Waiting 01:29:49 e2be974225ed: Download complete 01:29:49 988bab9f4d93: Download complete 01:29:50 1469e6f7b9e6: Verifying Checksum 01:29:50 1469e6f7b9e6: Download complete 01:29:50 eaf3925da568: Verifying Checksum 01:29:50 eaf3925da568: Download complete 01:29:50 339a4e72a1f5: Verifying Checksum 01:29:50 339a4e72a1f5: Download complete 01:29:50 bde34c3a00c8: Verifying Checksum 01:29:50 bde34c3a00c8: Download complete 01:29:50 b352a97aabf1: Download complete 01:29:50 4872d77fe225: Verifying Checksum 01:29:50 5851b861e8e6: Download complete 01:29:50 b85a868b505f: Verifying Checksum 01:29:50 b85a868b505f: Download complete 01:29:50 bab4dde63d76: Verifying Checksum 01:29:50 bab4dde63d76: Download complete 01:29:51 b85a868b505f: Pull complete 01:29:51 e2be974225ed: Pull complete 01:29:52 339a4e72a1f5: Pull complete 01:29:52 988bab9f4d93: Pull complete 01:29:52 1469e6f7b9e6: Pull complete 01:29:52 eaf3925da568: Pull complete 01:29:54 bab4dde63d76: Pull complete 01:29:54 bde34c3a00c8: Pull complete 01:29:54 b352a97aabf1: Pull complete 01:29:55 4872d77fe225: Pull complete 01:29:55 5851b861e8e6: Pull complete 01:29:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:55 prd-ubuntu20.04-docker-8c-8g-16904 does not seem to be running inside a container 01:29:55 $ 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 01:29:58 $ docker top 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 -eo pid,comm 01:29:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:29:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:29:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:58 [ssh-agent] Looking for ssh-agent implementation... 01:29:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:58 $ docker exec 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 ssh-agent 01:29:58 SSH_AUTH_SOCK=/tmp/ssh-QS4JzT4Ryr45/agent.32 01:29:58 SSH_AGENT_PID=38 01:29:58 Running ssh-add (command line suppressed) 01:29:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_13802493845122077781.key (/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_13802493845122077781.key) 01:29:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:59 + git tag --points-at HEAD [Pipeline] } 01:29:59 $ docker exec --env ******** --env ******** 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 ssh-agent -k 01:29:59 unset SSH_AUTH_SOCK; 01:29:59 unset SSH_AGENT_PID; 01:29:59 echo Agent pid 38 killed; 01:29:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:29:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:59 [ssh-agent] Looking for ssh-agent implementation... 01:29:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:59 $ docker exec 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 ssh-agent 01:29:59 SSH_AUTH_SOCK=/tmp/ssh-Qf4qIGTyFidt/agent.70 01:29:59 SSH_AGENT_PID=76 01:29:59 Running ssh-add (command line suppressed) 01:30:00 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_3698316511106384344.key (/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/private_key_3698316511106384344.key) 01:30:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:04 + git semver init 01:30:04 2023-05-25 01:30:02,280 [run_init] DEBUG init version:0.0.0 force:False 01:30:04 2023-05-25 01:30:02,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver 01:30:04 2023-05-25 01:30:02,281 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-177/.semver 01:30:04 2023-05-25 01:30:02,281 [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) 01:30:07 2023-05-25 01:30:07,601 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-177/.git/info/exclude 01:30:07 2023-05-25 01:30:07,602 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 with force:False 01:30:07 2023-05-25 01:30:07,602 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 01:30:07 2023-05-25 01:30:07,606 [execute] INFO git cat-file --batch-check 01:30:07 2023-05-25 01:30:07,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177/.semver, universal_newlines=False, shell=None, istream=) 01:30:07 2023-05-25 01:30:07,613 [execute] INFO git cat-file --batch 01:30:07 2023-05-25 01:30:07,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-177/.semver, universal_newlines=False, shell=None, istream=) 01:30:07 2023-05-25 01:30:07,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-177/.semver/PR-177 01:30:07 0.0.0 [Pipeline] } 01:30:07 $ docker exec --env ******** --env ******** 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 ssh-agent -k 01:30:07 unset SSH_AUTH_SOCK; 01:30:07 unset SSH_AGENT_PID; 01:30:07 echo Agent pid 76 killed; 01:30:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:08 + git semver [Pipeline] } 01:30:08 $ docker stop --time=1 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 01:30:09 $ docker rm -f --volumes 7d6431f69c4bc61a4756746cc9b915e300275ce37296836f8a96080dbb6ad512 [Pipeline] // withDockerContainer [Pipeline] sh 01:30:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:10 Stashed 1 file(s) [Pipeline] echo 01:30:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:10 provisioning config files... 01:30:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config10826891932438871867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:10 ---> docker-login.sh 01:30:10 nexus3.edgexfoundry.org:10001 01:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:10 Configure a credential helper to remove this warning. See 01:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:10 01:30:10 Login Succeeded 01:30:10 nexus3.edgexfoundry.org:10002 01:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:10 Configure a credential helper to remove this warning. See 01:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:10 01:30:10 Login Succeeded 01:30:10 nexus3.edgexfoundry.org:10003 01:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:10 Configure a credential helper to remove this warning. See 01:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:10 01:30:10 Login Succeeded 01:30:10 nexus3.edgexfoundry.org:10004 01:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:10 Configure a credential helper to remove this warning. See 01:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:10 01:30:10 Login Succeeded 01:30:10 docker.io 01:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:11 Configure a credential helper to remove this warning. See 01:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:11 01:30:11 Login Succeeded 01:30:11 ---> docker-login.sh ends [Pipeline] } 01:30:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:11 ========================================================= 01:30:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:30:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:30:11 Sending build context to Docker daemon 16.1MB 01:30:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:30:11 Step 2/12 : FROM ${BASE} AS builder 01:30:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:11 f56be85fc22e: Pulling fs layer 01:30:11 85791d961cd3: Pulling fs layer 01:30:11 d694b5ae8c79: Pulling fs layer 01:30:11 9f32a84ed3da: Pulling fs layer 01:30:11 4d19c01a9841: Pulling fs layer 01:30:11 9325e15d5711: Pulling fs layer 01:30:11 556b6ee489ea: Pulling fs layer 01:30:11 c5a4b2cf53e6: Pulling fs layer 01:30:11 9f32a84ed3da: Waiting 01:30:11 4d19c01a9841: Waiting 01:30:11 9325e15d5711: Waiting 01:30:11 c5a4b2cf53e6: Waiting 01:30:11 556b6ee489ea: Waiting 01:30:11 85791d961cd3: Verifying Checksum 01:30:11 85791d961cd3: Download complete 01:30:11 9f32a84ed3da: Verifying Checksum 01:30:11 9f32a84ed3da: Download complete 01:30:11 4d19c01a9841: Download complete 01:30:11 f56be85fc22e: Verifying Checksum 01:30:11 f56be85fc22e: Download complete 01:30:11 9325e15d5711: Verifying Checksum 01:30:11 9325e15d5711: Download complete 01:30:12 f56be85fc22e: Pull complete 01:30:12 85791d961cd3: Pull complete 01:30:12 c5a4b2cf53e6: Verifying Checksum 01:30:12 c5a4b2cf53e6: Download complete 01:30:12 d694b5ae8c79: Verifying Checksum 01:30:12 d694b5ae8c79: Download complete 01:30:13 556b6ee489ea: Verifying Checksum 01:30:13 556b6ee489ea: Download complete 01:30:16 d694b5ae8c79: Pull complete 01:30:16 9f32a84ed3da: Pull complete 01:30:16 4d19c01a9841: Pull complete 01:30:16 9325e15d5711: Pull complete 01:30:19 556b6ee489ea: Pull complete 01:30:20 c5a4b2cf53e6: Pull complete 01:30:20 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:30:20 ---> c4be618373d6 01:30:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:30:25 Still waiting to schedule task 01:30:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:30:26 ---> Running in 40fc9d56eca6 01:30:26 Removing intermediate container 40fc9d56eca6 01:30:26 ---> 9dc0dfae1956 01:30:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:26 ---> Running in c312858b28c6 01:30:26 Removing intermediate container c312858b28c6 01:30:26 ---> cac46aa6e227 01:30:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:30:26 ---> Running in 4186e8d1ce4e 01:30:26 Removing intermediate container 4186e8d1ce4e 01:30:26 ---> e639484eb014 01:30:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:26 ---> Running in 10e1b6bd6aba 01:30:26 Removing intermediate container 10e1b6bd6aba 01:30:26 ---> 9b42969b31b1 01:30:26 Step 7/12 : WORKDIR /device-gpio 01:30:26 ---> Running in 03aac35d57e4 01:30:26 Removing intermediate container 03aac35d57e4 01:30:26 ---> 93a381fe98c4 01:30:26 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:26 ---> Running in b7b6a81eb275 01:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:30:26 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:30:26 (2/4) Installing libedit (20221030.3.1-r0) 01:30:26 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:30:26 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:30:26 Executing busybox-1.35.0-r29.trigger 01:30:26 OK: 269 MiB in 57 packages 01:30:27 Removing intermediate container b7b6a81eb275 01:30:27 ---> 7617cd4991e3 01:30:27 Step 9/12 : COPY go.mod vendor* ./ 01:30:27 ---> e3f80a66e305 01:30:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:27 ---> Running in ad25965d93d0 01:30:59 Removing intermediate container ad25965d93d0 01:30:59 ---> 24178b024a84 01:30:59 Step 11/12 : COPY . . 01:30:59 ---> cccf7b286b8a 01:30:59 Step 12/12 : RUN ${MAKE} 01:30:59 ---> Running in b52c50c1ed62 01:30:59 noop 01:30:59 Removing intermediate container b52c50c1ed62 01:30:59 ---> 892b6cdf0ad9 01:30:59 Successfully built 892b6cdf0ad9 01:30:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:00 + docker inspect -f . ci-base-image-x86_64 01:31:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:00 prd-ubuntu20.04-docker-8c-8g-16904 does not seem to be running inside a container 01:31:00 $ 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 01:31:00 $ docker top 81f4905dd5d86d9540c8fcd2283c764213622f136666128d6c934944a76c9013 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:00 + go version 01:31:00 go version go1.20.2 linux/amd64 [Pipeline] } 01:31:00 $ docker stop --time=1 81f4905dd5d86d9540c8fcd2283c764213622f136666128d6c934944a76c9013 01:31:02 $ docker rm -f --volumes 81f4905dd5d86d9540c8fcd2283c764213622f136666128d6c934944a76c9013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:02 + docker inspect -f . ci-base-image-x86_64 01:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:02 prd-ubuntu20.04-docker-8c-8g-16904 does not seem to be running inside a container 01:31:02 $ 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 01:31:03 $ docker top 9ed4b3d5b63ab28f5f6cb5f5006062fb3cdfed13a938155dab19255b56500be1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-177 [Pipeline] fileExists [Pipeline] sh 01:31:03 + make test 01:31:03 go test ./... -coverprofile=coverage.out ./... 01:31:08 ? github.com/edgexfoundry/device-gpio [no test files] 01:31:18 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:31:18 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:31:25 go vet ./... 01:31:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:31:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:31:29 ./bin/test-attribution-txt.sh [Pipeline] echo 01:31:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:31:29 $ docker stop --time=1 9ed4b3d5b63ab28f5f6cb5f5006062fb3cdfed13a938155dab19255b56500be1 01:31:33 $ docker rm -f --volumes 9ed4b3d5b63ab28f5f6cb5f5006062fb3cdfed13a938155dab19255b56500be1 [Pipeline] // withDockerContainer [Pipeline] sh 01:31:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:31:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:31:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:34 + ls -al . 01:31:34 total 156 01:31:34 drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:31 . 01:31:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:29 .. 01:31:34 -rw-rw-r-- 1 jenkins jenkins 120 May 25 01:29 .dockerignore 01:31:34 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:30 .git 01:31:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:29 .github 01:31:34 -rw-rw-r-- 1 jenkins jenkins 343 May 25 01:29 .gitignore 01:31:34 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:29 .golangci.yml 01:31:34 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:30 .semver 01:31:34 -rw-rw-r-- 1 jenkins jenkins 9702 May 25 01:29 Attribution.txt 01:31:34 -rw-rw-r-- 1 jenkins jenkins 4069 May 25 01:29 CHANGELOG.md 01:31:34 -rw-rw-r-- 1 jenkins jenkins 1542 May 25 01:29 Dockerfile 01:31:34 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:29 GOVERNANCE.md 01:31:34 -rw-rw-r-- 1 jenkins jenkins 657 May 25 01:29 Jenkinsfile 01:31:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:29 LICENSE 01:31:34 -rw-rw-r-- 1 jenkins jenkins 1692 May 25 01:29 Makefile 01:31:34 -rw-rw-r-- 1 jenkins jenkins 617 May 25 01:29 OWNERS.md 01:31:34 -rw-rw-r-- 1 jenkins jenkins 11790 May 25 01:29 README.md 01:31:34 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:31:34 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:29 bin 01:31:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:29 cmd 01:31:34 -rw-r--r-- 1 jenkins jenkins 10 May 25 01:31 coverage.out 01:31:34 -rw-rw-r-- 1 jenkins jenkins 3221 May 25 01:29 go.mod 01:31:34 -rw-rw-r-- 1 jenkins jenkins 31489 May 25 01:29 go.sum 01:31:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:29 internal 01:31:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:29 snap 01:31:34 -rw-rw-r-- 1 jenkins jenkins 209 May 25 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:35 + 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=1f764aa69160c3c1af954fa274471faf39d88bdf --label arch=amd64 --label version=0.0.0 . 01:31:35 Sending build context to Docker daemon 16.1MB 01:31:35 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:31:35 Step 2/25 : FROM ${BASE} AS builder 01:31:35 ---> 892b6cdf0ad9 01:31:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:31:35 ---> Running in 05fa84300928 01:31:35 Removing intermediate container 05fa84300928 01:31:35 ---> 05df55cea38c 01:31:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:31:35 ---> Running in 06d4a56e125f 01:31:35 Removing intermediate container 06d4a56e125f 01:31:35 ---> 92d41143a92b 01:31:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:31:35 ---> Running in 4ec95549682c 01:31:35 Removing intermediate container 4ec95549682c 01:31:35 ---> df59346b72e2 01:31:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:31:35 ---> Running in 0c6938c579d0 01:31:35 Removing intermediate container 0c6938c579d0 01:31:35 ---> d475fa32e783 01:31:35 Step 7/25 : WORKDIR /device-gpio 01:31:35 ---> Running in e6701043dbf1 01:31:35 Removing intermediate container e6701043dbf1 01:31:35 ---> c5c6c46fc004 01:31:35 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:35 ---> Running in f290763a4674 01:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:31:36 OK: 269 MiB in 57 packages 01:31:36 Removing intermediate container f290763a4674 01:31:36 ---> 4a7221728901 01:31:36 Step 9/25 : COPY go.mod vendor* ./ 01:31:36 ---> 13e83e1e863f 01:31:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:37 ---> Running in 1626ce8da5b1 01:31:37 Removing intermediate container 1626ce8da5b1 01:31:37 ---> 92454e8eedf7 01:31:37 Step 11/25 : COPY . . 01:31:38 ---> f23af9ca908a 01:31:38 Step 12/25 : RUN ${MAKE} 01:31:38 ---> Running in 4fe869ba6013 01:31:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:32:00 Removing intermediate container 4fe869ba6013 01:32:00 ---> 36a82096e0b6 01:32:00 Step 13/25 : FROM alpine:3.17 01:32:00 3.17: Pulling from library/alpine 01:32:00 f56be85fc22e: Already exists 01:32:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:32:00 Status: Downloaded newer image for alpine:3.17 01:32:00 ---> 9ed4aefc74f6 01:32:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:32:00 ---> Running in 427a2ea9bf56 01:32:00 Removing intermediate container 427a2ea9bf56 01:32:00 ---> bfa38b761202 01:32:00 Step 15/25 : RUN apk add --update --no-cache 01:32:00 ---> Running in 422bae0768f4 01:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:32:00 OK: 7 MiB in 15 packages 01:32:01 Removing intermediate container 422bae0768f4 01:32:01 ---> 7a78a35043a8 01:32:01 Step 16/25 : WORKDIR / 01:32:01 ---> Running in 4bf7d9b34944 01:32:01 Removing intermediate container 4bf7d9b34944 01:32:01 ---> a9c329dbf2a9 01:32:01 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:32:01 ---> cf55c6127550 01:32:01 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:32:01 ---> 761446e51460 01:32:01 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:32:02 ---> 531b6b814e17 01:32:02 Step 20/25 : EXPOSE 59910 01:32:02 ---> Running in 03503b0c84de 01:32:02 Removing intermediate container 03503b0c84de 01:32:02 ---> 7182b17a5c8e 01:32:02 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:32:02 ---> Running in 779d25235cac 01:32:02 Removing intermediate container 779d25235cac 01:32:02 ---> f3389cd4aabc 01:32:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:32:02 ---> Running in 2bc3aa0ab115 01:32:02 Removing intermediate container 2bc3aa0ab115 01:32:02 ---> 3d42ae5a120f 01:32:02 Step 23/25 : LABEL arch=amd64 01:32:02 ---> Running in 2dc738ba5ead 01:32:02 Removing intermediate container 2dc738ba5ead 01:32:02 ---> 91ce6a86e752 01:32:02 Step 24/25 : LABEL git_sha=1f764aa69160c3c1af954fa274471faf39d88bdf 01:32:02 ---> Running in 3ecd2145f7eb 01:32:02 Removing intermediate container 3ecd2145f7eb 01:32:02 ---> 81ed8e0bda65 01:32:02 Step 25/25 : LABEL version=0.0.0 01:32:02 ---> Running in f477b91db517 01:32:02 Removing intermediate container f477b91db517 01:32:02 ---> 05bb0dc0609a 01:32:02 [Warning] One or more build-args [ARCH] were not consumed 01:32:02 Successfully built 05bb0dc0609a 01:32:02 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:03 01:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:03 latest: Pulling from edgex-lftools-log-publisher 01:32:03 5eb5b503b376: Pulling fs layer 01:32:03 5c69ac0246d0: Pulling fs layer 01:32:03 ec43610c2a17: Pulling fs layer 01:32:03 3a2ae6a8a46f: Pulling fs layer 01:32:03 33b1e0a273af: Pulling fs layer 01:32:03 5d3b04190fa2: Pulling fs layer 01:32:03 2f39f015ded8: Pulling fs layer 01:32:03 33b1e0a273af: Waiting 01:32:03 5d3b04190fa2: Waiting 01:32:03 2f39f015ded8: Waiting 01:32:03 3a2ae6a8a46f: Waiting 01:32:03 5c69ac0246d0: Verifying Checksum 01:32:03 5c69ac0246d0: Download complete 01:32:03 3a2ae6a8a46f: Verifying Checksum 01:32:03 3a2ae6a8a46f: Download complete 01:32:03 33b1e0a273af: Verifying Checksum 01:32:03 33b1e0a273af: Download complete 01:32:03 5d3b04190fa2: Verifying Checksum 01:32:03 5d3b04190fa2: Download complete 01:32:03 ec43610c2a17: Verifying Checksum 01:32:03 ec43610c2a17: Download complete 01:32:03 5eb5b503b376: Verifying Checksum 01:32:03 5eb5b503b376: Download complete 01:32:04 2f39f015ded8: Download complete 01:32:04 5eb5b503b376: Pull complete 01:32:05 5c69ac0246d0: Pull complete 01:32:05 ec43610c2a17: Pull complete 01:32:05 3a2ae6a8a46f: Pull complete 01:32:05 33b1e0a273af: Pull complete 01:32:05 5d3b04190fa2: Pull complete 01:32:11 2f39f015ded8: Pull complete 01:32:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:11 prd-ubuntu20.04-docker-8c-8g-16904 does not seem to be running inside a container 01:32:11 $ 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 01:32:16 $ docker top 841886c57370d807a3962a04d0362c75f5267d5a386236a1e2fbbd0033943b02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:16 ---> job-cost.sh 01:32:16 lf-activate-venv: SKIPPING 01:32:16 INFO: No Stack... 01:32:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:17 INFO: Archiving Costs [Pipeline] sh 01:32:17 + cat /w/workspace/edgexfoundry_device-gpio_PR-177/archives/cost.csv 01:32:17 + cut -d, -f6 [Pipeline] lock 01:32:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] 01:32:17 Resource [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] did not exist. Created. 01:32:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:32:18 + echo total: 0.2199999988079071 [Pipeline] stash 01:32:18 Stashed 1 file(s) [Pipeline] } 01:32:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:32:18 $ docker stop --time=1 841886c57370d807a3962a04d0362c75f5267d5a386236a1e2fbbd0033943b02 01:32:19 $ docker rm -f --volumes 841886c57370d807a3962a04d0362c75f5267d5a386236a1e2fbbd0033943b02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:34:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16909 in /w/workspace/edgexfoundry_device-gpio_PR-177 [Pipeline] { [Pipeline] ws 01:34:03 Running in /w/workspace/device-gpio/6 [Pipeline] { [Pipeline] checkout 01:34:03 The recommended git tool is: git 01:34:11 using credential edgex-jenkins-ssh 01:34:11 Cloning the remote Git repository 01:34:11 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:34:11 > git init /w/workspace/device-gpio/6 # timeout=10 01:34:11 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:34:11 > git --version # timeout=10 01:34:11 > git --version # 'git version 2.25.1' 01:34:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:13 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:34:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:14 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:34:15 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:34:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:15 > 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 01:34:15 Merging remotes/origin/main commit 98aac1368ee40ec1865790939f305422b435a4ce into PR head commit 1f764aa69160c3c1af954fa274471faf39d88bdf 01:34:15 Merge succeeded, producing 1f764aa69160c3c1af954fa274471faf39d88bdf 01:34:15 Checking out Revision 1f764aa69160c3c1af954fa274471faf39d88bdf (PR-177) 01:34:16 Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 01:34:15 > git config core.sparsecheckout # timeout=10 01:34:15 > git checkout -f 1f764aa69160c3c1af954fa274471faf39d88bdf # timeout=10 01:34:15 > git remote # timeout=10 01:34:15 > git config --get remote.origin.url # timeout=10 01:34:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:15 > git merge 98aac1368ee40ec1865790939f305422b435a4ce # timeout=10 01:34:15 > git rev-parse HEAD^{commit} # timeout=10 01:34:15 > git config core.sparsecheckout # timeout=10 01:34:15 > git checkout -f 1f764aa69160c3c1af954fa274471faf39d88bdf # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:34:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:17 Dload Upload Total Spent Left Speed 01:34:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 01:34:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:34:18 + sudo tee /etc/docker/daemon.new 01:34:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:34:18 { 01:34:18 "registry-mirrors": [ 01:34:18 "https://nexus3.edgexfoundry.org:10001" 01:34:18 ], 01:34:18 "bip": "10.250.0.254/24", 01:34:18 "hosts": [ 01:34:18 "tcp://0.0.0.0:5555", 01:34:18 "unix:///var/run/docker.sock" 01:34:18 ], 01:34:18 "mtu": 1458, 01:34:18 "selinux-enabled": true, 01:34:18 "seccomp-profile": "/etc/docker/seccomp.json" 01:34:18 } [Pipeline] sh 01:34:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:34:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:37 provisioning config files... 01:34:37 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/6@tmp/config4737308885866567723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:37 ---> docker-login.sh 01:34:37 nexus3.edgexfoundry.org:10001 01:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:38 Configure a credential helper to remove this warning. See 01:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:38 01:34:38 Login Succeeded 01:34:38 nexus3.edgexfoundry.org:10002 01:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:38 Configure a credential helper to remove this warning. See 01:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:38 01:34:38 Login Succeeded 01:34:38 nexus3.edgexfoundry.org:10003 01:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:39 Configure a credential helper to remove this warning. See 01:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:39 01:34:39 Login Succeeded 01:34:39 nexus3.edgexfoundry.org:10004 01:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:40 Configure a credential helper to remove this warning. See 01:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:40 01:34:40 Login Succeeded 01:34:40 docker.io 01:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:40 Configure a credential helper to remove this warning. See 01:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:40 01:34:40 Login Succeeded 01:34:40 ---> docker-login.sh ends [Pipeline] } 01:34:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:41 ========================================================= 01:34:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:34:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:34:41 Sending build context to Docker daemon 8.134MB 01:34:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:34:42 Step 2/12 : FROM ${BASE} AS builder 01:34:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:42 c41833b44d91: Pulling fs layer 01:34:42 ed15518f5707: Pulling fs layer 01:34:42 feae8fd75edb: Pulling fs layer 01:34:42 242c74f7c9fa: Pulling fs layer 01:34:42 3cdef696dda3: Pulling fs layer 01:34:42 2ced38df9373: Pulling fs layer 01:34:42 58f1dce35555: Pulling fs layer 01:34:42 242c74f7c9fa: Waiting 01:34:42 3cdef696dda3: Waiting 01:34:42 2ced38df9373: Waiting 01:34:42 58f1dce35555: Waiting 01:34:42 ed15518f5707: Verifying Checksum 01:34:42 ed15518f5707: Download complete 01:34:42 242c74f7c9fa: Verifying Checksum 01:34:42 242c74f7c9fa: Download complete 01:34:42 3cdef696dda3: Verifying Checksum 01:34:42 3cdef696dda3: Download complete 01:34:42 c41833b44d91: Verifying Checksum 01:34:42 c41833b44d91: Download complete 01:34:43 c41833b44d91: Pull complete 01:34:44 ed15518f5707: Pull complete 01:34:44 58f1dce35555: Verifying Checksum 01:34:44 58f1dce35555: Download complete 01:34:45 2ced38df9373: Verifying Checksum 01:34:45 2ced38df9373: Download complete 01:34:45 feae8fd75edb: Download complete 01:34:58 feae8fd75edb: Pull complete 01:34:58 242c74f7c9fa: Pull complete 01:34:58 3cdef696dda3: Pull complete 01:35:06 2ced38df9373: Pull complete 01:35:07 58f1dce35555: Pull complete 01:35:07 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:35:07 ---> fadd8f120f05 01:35:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:35:08 ---> Running in f66005f3f89d 01:35:09 Removing intermediate container f66005f3f89d 01:35:09 ---> 082fbe4d68db 01:35:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:35:09 ---> Running in fac0f2e5d52d 01:35:09 Removing intermediate container fac0f2e5d52d 01:35:09 ---> df3e631cab53 01:35:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:35:10 ---> Running in 6f5054138380 01:35:10 Removing intermediate container 6f5054138380 01:35:10 ---> 9c3048f7015b 01:35:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:35:10 ---> Running in a07ae2c1e836 01:35:11 Removing intermediate container a07ae2c1e836 01:35:11 ---> 5b4442e792dd 01:35:11 Step 7/12 : WORKDIR /device-gpio 01:35:11 ---> Running in a85260446438 01:35:11 Removing intermediate container a85260446438 01:35:11 ---> 757aac6cb0df 01:35:11 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:11 ---> Running in dcea85d8c470 01:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:35:15 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:35:15 (2/4) Installing libedit (20221030.3.1-r0) 01:35:15 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:35:15 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:35:15 Executing busybox-1.35.0-r29.trigger 01:35:15 OK: 268 MiB in 57 packages 01:35:16 Removing intermediate container dcea85d8c470 01:35:16 ---> 74a6830359c4 01:35:16 Step 9/12 : COPY go.mod vendor* ./ 01:35:16 ---> 652b33550972 01:35:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:17 ---> Running in a9e2226e9995 01:36:38 Removing intermediate container a9e2226e9995 01:36:38 ---> ee8448d72ba7 01:36:38 Step 11/12 : COPY . . 01:36:38 ---> c56a0a88baf3 01:36:38 Step 12/12 : RUN ${MAKE} 01:36:38 ---> Running in 4a48996aadf2 01:36:38 noop 01:36:38 Removing intermediate container 4a48996aadf2 01:36:38 ---> f728e503873a 01:36:38 Successfully built f728e503873a 01:36:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:39 + docker inspect -f . ci-base-image-arm64 01:36:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:39 prd-ubuntu20.04-docker-arm64-4c-16g-16909 does not seem to be running inside a container 01:36:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/6 -v /w/workspace/device-gpio/6:/w/workspace/device-gpio/6:rw,z -v /w/workspace/device-gpio/6@tmp:/w/workspace/device-gpio/6@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 01:36:41 $ docker top a1978f0ad9714d5eaa8d1c2235e00cf2f4bc32d4570d08b935e8737077e8ac5e -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:41 + go version 01:36:41 go version go1.20.2 linux/arm64 [Pipeline] } 01:36:42 $ docker stop --time=1 a1978f0ad9714d5eaa8d1c2235e00cf2f4bc32d4570d08b935e8737077e8ac5e 01:36:43 $ docker rm -f --volumes a1978f0ad9714d5eaa8d1c2235e00cf2f4bc32d4570d08b935e8737077e8ac5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:44 + docker inspect -f . ci-base-image-arm64 01:36:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:44 prd-ubuntu20.04-docker-arm64-4c-16g-16909 does not seem to be running inside a container 01:36:44 $ 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/6 -v /w/workspace/device-gpio/6:/w/workspace/device-gpio/6:rw,z -v /w/workspace/device-gpio/6@tmp:/w/workspace/device-gpio/6@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 01:36:46 $ docker top a01958d27ba0500cfef39067a63ab28bcbecceea7c60f4a479edee303ac81f3a -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:47 + git config --global --add safe.directory /w/workspace/device-gpio/6 [Pipeline] fileExists [Pipeline] sh 01:36:47 + make test 01:36:47 go test ./... -coverprofile=coverage.out ./... 01:37:26 ? github.com/edgexfoundry/device-gpio [no test files] 01:39:48 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:39:48 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:39:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:39:48 go vet ./... 01:40:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:40:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:15 $ docker stop --time=1 a01958d27ba0500cfef39067a63ab28bcbecceea7c60f4a479edee303ac81f3a 01:40:17 $ docker rm -f --volumes a01958d27ba0500cfef39067a63ab28bcbecceea7c60f4a479edee303ac81f3a [Pipeline] // withDockerContainer [Pipeline] sh 01:40:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:18 Warning: overwriting stash ‘coverage-report’ 01:40:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:20 + ls -al . 01:40:20 total 152 01:40:20 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:36 . 01:40:20 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:34 .. 01:40:20 -rw-rw-r-- 1 jenkins jenkins 120 May 25 01:34 .dockerignore 01:40:20 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:34 .git 01:40:20 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 .github 01:40:20 -rw-rw-r-- 1 jenkins jenkins 343 May 25 01:34 .gitignore 01:40:20 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:34 .golangci.yml 01:40:20 -rw-rw-r-- 1 jenkins jenkins 9702 May 25 01:34 Attribution.txt 01:40:20 -rw-rw-r-- 1 jenkins jenkins 4069 May 25 01:34 CHANGELOG.md 01:40:20 -rw-rw-r-- 1 jenkins jenkins 1542 May 25 01:34 Dockerfile 01:40:20 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:34 GOVERNANCE.md 01:40:20 -rw-rw-r-- 1 jenkins jenkins 657 May 25 01:34 Jenkinsfile 01:40:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:34 LICENSE 01:40:20 -rw-rw-r-- 1 jenkins jenkins 1692 May 25 01:34 Makefile 01:40:20 -rw-rw-r-- 1 jenkins jenkins 617 May 25 01:34 OWNERS.md 01:40:20 -rw-rw-r-- 1 jenkins jenkins 11790 May 25 01:34 README.md 01:40:20 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:40:20 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:34 bin 01:40:20 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 cmd 01:40:20 -rw-r--r-- 1 jenkins jenkins 10 May 25 01:36 coverage.out 01:40:20 -rw-rw-r-- 1 jenkins jenkins 3221 May 25 01:34 go.mod 01:40:20 -rw-rw-r-- 1 jenkins jenkins 31489 May 25 01:34 go.sum 01:40:20 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 internal 01:40:20 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:34 snap 01:40:20 -rw-rw-r-- 1 jenkins jenkins 209 May 25 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:20 + 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=1f764aa69160c3c1af954fa274471faf39d88bdf --label arch=arm64 --label version=0.0.0 . 01:40:21 Sending build context to Docker daemon 8.135MB 01:40:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:40:21 Step 2/25 : FROM ${BASE} AS builder 01:40:21 ---> f728e503873a 01:40:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:40:21 ---> Running in ff280adc87fe 01:40:21 Removing intermediate container ff280adc87fe 01:40:21 ---> 7f85fda05cbd 01:40:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:21 ---> Running in c1e414128e95 01:40:21 Removing intermediate container c1e414128e95 01:40:21 ---> b8802acd998b 01:40:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:40:21 ---> Running in 4e18356a05a0 01:40:22 Removing intermediate container 4e18356a05a0 01:40:22 ---> 100d38009d33 01:40:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:40:22 ---> Running in 82753822ace4 01:40:22 Removing intermediate container 82753822ace4 01:40:22 ---> 44d3a5ed6ade 01:40:22 Step 7/25 : WORKDIR /device-gpio 01:40:22 ---> Running in 3fc1c1fb86a5 01:40:23 Removing intermediate container 3fc1c1fb86a5 01:40:23 ---> 8b77a05da68e 01:40:23 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:23 ---> Running in 5d92c5ba5da6 01:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:40:26 OK: 268 MiB in 57 packages 01:40:28 Removing intermediate container 5d92c5ba5da6 01:40:28 ---> b68359d38e8a 01:40:28 Step 9/25 : COPY go.mod vendor* ./ 01:40:28 ---> 766878f15502 01:40:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:28 ---> Running in 9d57e29dcdd3 01:40:31 Removing intermediate container 9d57e29dcdd3 01:40:31 ---> 4955797db0ac 01:40:31 Step 11/25 : COPY . . 01:40:32 ---> 7eda955d00e3 01:40:32 Step 12/25 : RUN ${MAKE} 01:40:32 ---> Running in 5e68d1c17cd5 01:40:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:43:25 Removing intermediate container 5e68d1c17cd5 01:43:25 ---> a5eebca19d20 01:43:25 Step 13/25 : FROM alpine:3.17 01:43:25 3.17: Pulling from library/alpine 01:43:25 c41833b44d91: Already exists 01:43:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:43:25 Status: Downloaded newer image for alpine:3.17 01:43:25 ---> 51e60588ff2c 01:43:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:43:25 ---> Running in f7602adc844c 01:43:25 Removing intermediate container f7602adc844c 01:43:25 ---> c975cd0734ef 01:43:25 Step 15/25 : RUN apk add --update --no-cache 01:43:25 ---> Running in 2fa3107cba79 01:43:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:43:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:43:25 OK: 7 MiB in 15 packages 01:43:25 Removing intermediate container 2fa3107cba79 01:43:25 ---> 9b0687c8d518 01:43:25 Step 16/25 : WORKDIR / 01:43:25 ---> Running in 00b6788dac37 01:43:25 Removing intermediate container 00b6788dac37 01:43:25 ---> 200ea6b37c3c 01:43:25 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:43:25 ---> f25496b8b2f9 01:43:25 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:43:26 ---> a8504f44ddc3 01:43:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:43:28 ---> 89fc7154e342 01:43:28 Step 20/25 : EXPOSE 59910 01:43:28 ---> Running in 315bf90d1b95 01:43:28 Removing intermediate container 315bf90d1b95 01:43:28 ---> baf11536f4c8 01:43:28 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:43:28 ---> Running in f2838345d028 01:43:28 Removing intermediate container f2838345d028 01:43:28 ---> a41c1f86df57 01:43:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:43:29 ---> Running in 3f181fe32e60 01:43:29 Removing intermediate container 3f181fe32e60 01:43:29 ---> ac4fc22bbde2 01:43:29 Step 23/25 : LABEL arch=arm64 01:43:29 ---> Running in a081a797c603 01:43:29 Removing intermediate container a081a797c603 01:43:29 ---> 6fd3e859e614 01:43:29 Step 24/25 : LABEL git_sha=1f764aa69160c3c1af954fa274471faf39d88bdf 01:43:29 ---> Running in 73b5f38f3a95 01:43:30 Removing intermediate container 73b5f38f3a95 01:43:30 ---> abeaf5a283b6 01:43:30 Step 25/25 : LABEL version=0.0.0 01:43:30 ---> Running in 0db0c06e444a 01:43:30 Removing intermediate container 0db0c06e444a 01:43:30 ---> f94ad99b145a 01:43:30 [Warning] One or more build-args [ARCH] were not consumed 01:43:30 Successfully built f94ad99b145a 01:43:30 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:31 01:43:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:31 arm64: Pulling from edgex-lftools-log-publisher 01:43:31 8998bd30e6a1: Pulling fs layer 01:43:31 04944245beec: Pulling fs layer 01:43:31 699f458cf7ca: Pulling fs layer 01:43:31 765212b225bb: Pulling fs layer 01:43:31 f23df028b6ca: Pulling fs layer 01:43:31 d65c8cfc05b1: Pulling fs layer 01:43:31 2437ff75d9bd: Pulling fs layer 01:43:31 765212b225bb: Waiting 01:43:31 f23df028b6ca: Waiting 01:43:31 d65c8cfc05b1: Waiting 01:43:31 2437ff75d9bd: Waiting 01:43:32 04944245beec: Verifying Checksum 01:43:32 04944245beec: Download complete 01:43:32 765212b225bb: Verifying Checksum 01:43:32 765212b225bb: Download complete 01:43:32 f23df028b6ca: Download complete 01:43:32 d65c8cfc05b1: Verifying Checksum 01:43:32 d65c8cfc05b1: Download complete 01:43:32 699f458cf7ca: Verifying Checksum 01:43:32 699f458cf7ca: Download complete 01:43:32 8998bd30e6a1: Verifying Checksum 01:43:32 8998bd30e6a1: Download complete 01:43:35 2437ff75d9bd: Verifying Checksum 01:43:35 2437ff75d9bd: Download complete 01:43:37 8998bd30e6a1: Pull complete 01:43:37 04944245beec: Pull complete 01:43:38 699f458cf7ca: Pull complete 01:43:38 765212b225bb: Pull complete 01:43:39 f23df028b6ca: Pull complete 01:43:40 d65c8cfc05b1: Pull complete 01:43:55 2437ff75d9bd: Pull complete 01:43:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:55 prd-ubuntu20.04-docker-arm64-4c-16g-16909 does not seem to be running inside a container 01:43:55 $ 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/6 -v /w/workspace/device-gpio/6:/w/workspace/device-gpio/6:rw,z -v /w/workspace/device-gpio/6@tmp:/w/workspace/device-gpio/6@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 01:43:58 $ docker top e4ec1e206832d50f227a6c4e29d7fbae9ccda2dd035e7caa693ed31c7fce3182 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:59 ---> job-cost.sh 01:43:59 lf-activate-venv: SKIPPING 01:43:59 INFO: No Stack... 01:44:00 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:01 INFO: Archiving Costs [Pipeline] sh 01:44:02 + cat /w/workspace/device-gpio/6/archives/cost.csv 01:44:02 + cut -d, -f6 [Pipeline] lock 01:44:02 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] 01:44:02 Resource [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] did not exist. Created. 01:44:02 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:03 /w/workspace/device-gpio/6@tmp/durable-cb9e9eff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:03 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:03 Warning: overwriting stash ‘stack-cost’ 01:44:04 Stashed 1 file(s) [Pipeline] } 01:44:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-177-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:04 $ docker stop --time=1 e4ec1e206832d50f227a6c4e29d7fbae9ccda2dd035e7caa693ed31c7fce3182 01:44:05 $ docker rm -f --volumes e4ec1e206832d50f227a6c4e29d7fbae9ccda2dd035e7caa693ed31c7fce3182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:44:06 provisioning config files... 01:44:06 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config17105736953527538679tmp [Pipeline] { [Pipeline] sh 01:44:06 + set +x 01:44:06 + curl -s https://codecov.io/bash 01:44:06 + bash -s -- 01:44:06 01:44:06 _____ _ 01:44:06 / ____| | | 01:44:06 | | ___ __| | ___ ___ _____ __ 01:44:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:06 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:06 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:06 Bash-1.0.6 01:44:06 01:44:06 01:44:06 ==> git version 2.25.1 found 01:44:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:44:06 Release-Date: 2020-01-08 01:44:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:06 ==> Jenkins CI detected. 01:44:06 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-177 01:44:06 project root: . 01:44:06 --> token set from env 01:44:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:06 ==> Running gcov in . (disable via -X gcov) 01:44:06 ==> Python coveragepy not found 01:44:06 ==> Searching for coverage reports in: 01:44:06 + . 01:44:06 -> Found 1 reports 01:44:06 ==> Detecting git/mercurial file structure 01:44:06 ==> Reading reports 01:44:06 + ./coverage.out bytes=10 01:44:06 ==> Appending adjustments 01:44:06 https://docs.codecov.io/docs/fixing-reports 01:44:06 + Found adjustments 01:44:06 ==> Gzipping contents 01:44:06 4.0K /tmp/codecov.XzTbIa.gz 01:44:06 ==> Uploading reports 01:44:06 url: https://codecov.io 01:44:06 query: branch=PR-177&commit=1f764aa69160c3c1af954fa274471faf39d88bdf&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-177%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=177&job=&cmd_args= 01:44:06 -> Pinging Codecov 01:44:06 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=1f764aa69160c3c1af954fa274471faf39d88bdf&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-177%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=177&job=&cmd_args= 01:44:06 -> Uploading to 01:44:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1f764aa69160c3c1af954fa274471faf39d88bdf/e9ae9638-a9d7-4bf3-a90e-bb0569b3390c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T014406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8533077cb6917e9eb4e81fe7c1c64eca7e22c8dee58e368feca430463cf3d8c2 01:44:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:06 Dload Upload Total Spent Left Speed 01:44:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3161 --:--:-- --:--:-- --:--:-- 3161 01:44:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1f764aa69160c3c1af954fa274471faf39d88bdf [Pipeline] } 01:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:44:07 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-177/archives ] 01:44:07 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-177/archives 01:44:07 total 16 01:44:07 drwxr-xr-x 3 root root 4096 May 25 01:32 . 01:44:07 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:32 .. 01:44:07 drwxr-xr-x 2 root root 4096 May 25 01:32 cost 01:44:07 -rw-r--r-- 1 root root 83 May 25 01:32 cost.csv 01:44:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-177/archives 01:44:07 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-177/archives 01:44:07 total 16 01:44:07 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:32 . 01:44:07 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:32 .. 01:44:07 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:32 cost 01:44:07 -rw-r--r-- 1 jenkins jenkins 83 May 25 01:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:09 ---> package-listing.sh 01:44:09 ++ facter osfamily 01:44:09 ++ tr '[:upper:]' '[:lower:]' 01:44:09 + OS_FAMILY=debian 01:44:09 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-177 01:44:09 + START_PACKAGES=/tmp/packages_start.txt 01:44:09 + END_PACKAGES=/tmp/packages_end.txt 01:44:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:09 + PACKAGES=/tmp/packages_start.txt 01:44:09 + '[' /w/workspace/edgexfoundry_device-gpio_PR-177 ']' 01:44:09 + PACKAGES=/tmp/packages_end.txt 01:44:09 + case "${OS_FAMILY}" in 01:44:09 + dpkg -l 01:44:09 + grep '^ii' 01:44:09 + '[' -f /tmp/packages_start.txt ']' 01:44:09 + '[' -f /tmp/packages_end.txt ']' 01:44:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:09 + '[' /w/workspace/edgexfoundry_device-gpio_PR-177 ']' 01:44:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-177/archives/ 01:44:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-177/archives/ [Pipeline] echo 01:44:09 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 01:44:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:10 prd-ubuntu20.04-docker-8c-8g-16904 does not seem to be running inside a container 01:44:10 $ 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 01:44:10 $ docker top dd03fd976fa2a591948c0d34c6be6f8191df45a0b71167fc68a0a62a324de936 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:11 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:11 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:11 + ls /var/log/sa-host 01:44:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:11 provisioning config files... 01:44:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-177@tmp/config11987042369617951241tmp [Pipeline] { [Pipeline] echo 01:44:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:12 ---> create-netrc.sh [Pipeline] } 01:44:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:12 ---> python-tools-install.sh [Pipeline] echo 01:44:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:12 ---> sudo-logs.sh 01:44:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:13 ---> job-cost.sh 01:44:13 lf-activate-venv: SKIPPING 01:44:13 DEBUG: total: 0.2199999988079071 01:44:13 INFO: Retrieving Stack Cost... 01:44:13 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:14 INFO: Archiving Costs [Pipeline] echo 01:44:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:14 ---> logs-deploy.sh 01:44:14 lf-activate-venv: SKIPPING 01:44:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-177/6 01:44:14 INFO: archiving workspace using pattern(s): 01:44:15 Archives upload complete. 01:44:15 INFO: archiving logs to Nexus