Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 556b0d33684bc0e3f3c7e8af9fc75d9de3776265+58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (5e97509f348129c3f4eb842bc3f099e67950cff5) 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-ssh2612509689919787186.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8844913301908093354.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-116/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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6457040487367451803.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8811694350150163425.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-116/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-116/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13741158071600352168.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-456 in /w/workspace/edgexfoundry_device-gpio_PR-116 [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-116 # 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/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 Merge succeeded, producing 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 Checking out Revision 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # 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 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 # timeout=10 Commit message: "Merge commit '58c55fcceacaa429eb258ff9b432fe1f0402d5e4' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 0a710125d44496b767d3bdb0c75047b62c387ea9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:21:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:21:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:21:46 ========================================================= 13:21:46 EdgeX Global Pipelines Version Info 13:21:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:21:46 ------------------- 13:21:46 stable info: 13:21:46 ------------------- 13:21:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:21:46 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:21:46 Message: update stable to v1.0.245 13:21:47 ------------------- 13:21:47 experimental info: 13:21:47 ------------------- 13:21:47 Commited By: **** collab-it+edgex@linuxfoundation.org 13:21:47 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 13:21:47 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo 13:21:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 [Pipeline] echo 13:21:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e353cf [Pipeline] echo 13:21:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:48 provisioning config files... 13:21:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config1275628985475961550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:48 ---> docker-login.sh 13:21:48 nexus3.edgexfoundry.org:10001 13:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:48 Configure a credential helper to remove this warning. See 13:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:48 13:21:48 Login Succeeded 13:21:48 nexus3.edgexfoundry.org:10002 13:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:48 Configure a credential helper to remove this warning. See 13:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:48 13:21:48 Login Succeeded 13:21:48 nexus3.edgexfoundry.org:10003 13:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:48 Configure a credential helper to remove this warning. See 13:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:48 13:21:48 Login Succeeded 13:21:48 nexus3.edgexfoundry.org:10004 13:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:48 Configure a credential helper to remove this warning. See 13:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:48 13:21:48 Login Succeeded 13:21:48 docker.io 13:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:49 Configure a credential helper to remove this warning. See 13:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:49 13:21:49 Login Succeeded 13:21:49 ---> docker-login.sh ends [Pipeline] } 13:21:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:21:49 + git rev-list -1 --merges 8e353cff76873dd8b7befb72ba3d6ff79c57ad27~1..8e353cff76873dd8b7befb72ba3d6ff79c57ad27 [Pipeline] echo 13:21:49 -----------> git rev-list -1 --merges 8e353cff76873dd8b7befb72ba3d6ff79c57ad27~1..8e353cff76873dd8b7befb72ba3d6ff79c57ad27 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 13:21:49 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 [false] [Pipeline] sh 13:21:49 + git log --format=format:%s -1 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 [Pipeline] echo 13:21:49 ========================================================= 13:21:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:21:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:50 + git log --format=format:%s -1 8e353cff76873dd8b7befb72ba3d6ff79c57ad27 [Pipeline] echo 13:21:50 [semverPrep] GIT_COMMIT: 8e353cff76873dd8b7befb72ba3d6ff79c57ad27, Commit Message: Merge commit '58c55fcceacaa429eb258ff9b432fe1f0402d5e4' into HEAD [Pipeline] echo 13:21:50 [semverPrep] This is not a build commit. [Pipeline] sh 13:21:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:21:50 + grep -v github /etc/ssh/ssh_known_hosts 13:21:50 + [ -e /tmp/ssh_known_hosts ] 13:21:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:21:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:21:50 + sudo tee -a /etc/ssh/ssh_known_hosts 13:21:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:50 13:21:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:51 0.1.4: Pulling from edgex-devops/py-git-semver 13:21:51 b85a868b505f: Pulling fs layer 13:21:51 e2be974225ed: Pulling fs layer 13:21:51 339a4e72a1f5: Pulling fs layer 13:21:51 988bab9f4d93: Pulling fs layer 13:21:51 1469e6f7b9e6: Pulling fs layer 13:21:51 eaf3925da568: Pulling fs layer 13:21:51 bab4dde63d76: Pulling fs layer 13:21:51 bde34c3a00c8: Pulling fs layer 13:21:51 b352a97aabf1: Pulling fs layer 13:21:51 4872d77fe225: Pulling fs layer 13:21:51 5851b861e8e6: Pulling fs layer 13:21:51 bde34c3a00c8: Waiting 13:21:51 b352a97aabf1: Waiting 13:21:51 4872d77fe225: Waiting 13:21:51 5851b861e8e6: Waiting 13:21:51 988bab9f4d93: Waiting 13:21:51 1469e6f7b9e6: Waiting 13:21:51 eaf3925da568: Waiting 13:21:51 bab4dde63d76: Waiting 13:21:51 e2be974225ed: Verifying Checksum 13:21:51 e2be974225ed: Download complete 13:21:51 988bab9f4d93: Verifying Checksum 13:21:51 988bab9f4d93: Download complete 13:21:51 1469e6f7b9e6: Verifying Checksum 13:21:51 1469e6f7b9e6: Download complete 13:21:51 eaf3925da568: Download complete 13:21:51 339a4e72a1f5: Verifying Checksum 13:21:51 339a4e72a1f5: Download complete 13:21:51 bde34c3a00c8: Verifying Checksum 13:21:51 bde34c3a00c8: Download complete 13:21:51 b352a97aabf1: Verifying Checksum 13:21:51 b352a97aabf1: Download complete 13:21:51 4872d77fe225: Verifying Checksum 13:21:51 4872d77fe225: Download complete 13:21:51 5851b861e8e6: Download complete 13:21:51 b85a868b505f: Verifying Checksum 13:21:51 b85a868b505f: Download complete 13:21:52 bab4dde63d76: Verifying Checksum 13:21:52 bab4dde63d76: Download complete 13:21:52 b85a868b505f: Pull complete 13:21:52 e2be974225ed: Pull complete 13:21:53 339a4e72a1f5: Pull complete 13:21:53 988bab9f4d93: Pull complete 13:21:53 1469e6f7b9e6: Pull complete 13:21:53 eaf3925da568: Pull complete 13:21:55 bab4dde63d76: Pull complete 13:21:55 bde34c3a00c8: Pull complete 13:21:55 b352a97aabf1: Pull complete 13:21:55 4872d77fe225: Pull complete 13:21:55 5851b861e8e6: Pull complete 13:21:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:21:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:55 prd-ubuntu20.04-docker-8c-8g-456 does not seem to be running inside a container 13:21:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@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 13:21:58 $ docker top b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 -eo pid,comm 13:21: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). 13:21:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:21:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:58 [ssh-agent] Looking for ssh-agent implementation... 13:21:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:58 $ docker exec b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 ssh-agent 13:21:58 SSH_AUTH_SOCK=/tmp/ssh-GsLA05WH2Wnq/agent.32 13:21:58 SSH_AGENT_PID=38 13:21:58 Running ssh-add (command line suppressed) 13:21:58 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_12127847132624492524.key (/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_12127847132624492524.key) 13:21:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:58 + git tag --points-at HEAD [Pipeline] } 13:21:58 $ docker exec --env ******** --env ******** b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 ssh-agent -k 13:21:59 unset SSH_AUTH_SOCK; 13:21:59 unset SSH_AGENT_PID; 13:21:59 echo Agent pid 38 killed; 13:21:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:21:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:59 [ssh-agent] Looking for ssh-agent implementation... 13:21:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:59 $ docker exec b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 ssh-agent 13:21:59 SSH_AUTH_SOCK=/tmp/ssh-5R9qMIbTYUNP/agent.70 13:21:59 SSH_AGENT_PID=76 13:21:59 Running ssh-add (command line suppressed) 13:21:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_16437636487268726970.key (/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_16437636487268726970.key) 13:21:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:59 + git semver init 13:21:59 2023-03-15 13:21:59,932 [run_init] DEBUG init version:0.0.0 force:False 13:21:59 2023-03-15 13:21:59,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver 13:21:59 2023-03-15 13:21:59,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-116/.semver 13:21:59 2023-03-15 13:21:59,933 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-116/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116, universal_newlines=False, shell=None, istream=None) 13:22:00 2023-03-15 13:22:00,875 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-116/.git/info/exclude 13:22:00 2023-03-15 13:22:00,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 with force:False 13:22:00 2023-03-15 13:22:00,876 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 13:22:00 2023-03-15 13:22:00,880 [execute] INFO git cat-file --batch-check 13:22:00 2023-03-15 13:22:00,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116/.semver, universal_newlines=False, shell=None, istream=) 13:22:00 2023-03-15 13:22:00,887 [execute] INFO git cat-file --batch 13:22:00 2023-03-15 13:22:00,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116/.semver, universal_newlines=False, shell=None, istream=) 13:22:00 2023-03-15 13:22:00,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 13:22:00 0.0.0 [Pipeline] } 13:22:00 $ docker exec --env ******** --env ******** b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 ssh-agent -k 13:22:01 unset SSH_AUTH_SOCK; 13:22:01 unset SSH_AGENT_PID; 13:22:01 echo Agent pid 76 killed; 13:22:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:01 + git semver [Pipeline] } 13:22:01 $ docker stop --time=1 b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 13:22:03 $ docker rm -f --volumes b748c7c8d2ce7924a411d268d0d62e07d52546d15a18da8edc4d29d48e7fc228 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:22:03 Stashed 1 file(s) [Pipeline] echo 13:22:03 [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 13:22:03 provisioning config files... 13:22:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config14341105487976829370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:22:04 ---> docker-login.sh 13:22:04 nexus3.edgexfoundry.org:10001 13:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:04 Configure a credential helper to remove this warning. See 13:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:04 13:22:04 Login Succeeded 13:22:04 nexus3.edgexfoundry.org:10002 13:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:04 Configure a credential helper to remove this warning. See 13:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:04 13:22:04 Login Succeeded 13:22:04 nexus3.edgexfoundry.org:10003 13:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:04 Configure a credential helper to remove this warning. See 13:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:04 13:22:04 Login Succeeded 13:22:04 nexus3.edgexfoundry.org:10004 13:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:04 Configure a credential helper to remove this warning. See 13:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:04 13:22:04 Login Succeeded 13:22:04 docker.io 13:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:04 Configure a credential helper to remove this warning. See 13:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:04 13:22:04 Login Succeeded 13:22:04 ---> docker-login.sh ends [Pipeline] } 13:22:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:04 ========================================================= 13:22:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:22:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:04 + 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 . 13:22:04 Sending build context to Docker daemon 16.03MB 13:22:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:22:04 Step 2/12 : FROM ${BASE} AS builder 13:22:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:22:05 63b65145d645: Pulling fs layer 13:22:05 a2d21d5440eb: Pulling fs layer 13:22:05 935e6c44a52c: Pulling fs layer 13:22:05 94cc34f8dd06: Pulling fs layer 13:22:05 30dea6a524f1: Pulling fs layer 13:22:05 a2aff8979fd8: Pulling fs layer 13:22:05 6808be2612f2: Pulling fs layer 13:22:05 f25807f1079a: Pulling fs layer 13:22:05 30dea6a524f1: Waiting 13:22:05 a2aff8979fd8: Waiting 13:22:05 6808be2612f2: Waiting 13:22:05 f25807f1079a: Waiting 13:22:05 a2d21d5440eb: Verifying Checksum 13:22:05 a2d21d5440eb: Download complete 13:22:05 94cc34f8dd06: Download complete 13:22:05 30dea6a524f1: Download complete 13:22:05 63b65145d645: Verifying Checksum 13:22:05 63b65145d645: Download complete 13:22:05 a2aff8979fd8: Verifying Checksum 13:22:05 a2aff8979fd8: Download complete 13:22:05 63b65145d645: Pull complete 13:22:05 a2d21d5440eb: Pull complete 13:22:06 935e6c44a52c: Download complete 13:22:06 f25807f1079a: Download complete 13:22:06 6808be2612f2: Verifying Checksum 13:22:06 6808be2612f2: Download complete 13:22:08 935e6c44a52c: Pull complete 13:22:09 94cc34f8dd06: Pull complete 13:22:09 30dea6a524f1: Pull complete 13:22:09 a2aff8979fd8: Pull complete 13:22:12 6808be2612f2: Pull complete 13:22:12 f25807f1079a: Pull complete 13:22:12 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:22:12 ---> 3b553350e43f 13:22:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:22:16 ---> Running in 1e2843ff2c97 13:22:16 Removing intermediate container 1e2843ff2c97 13:22:16 ---> ed83b1b13df2 13:22:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:16 ---> Running in 249cb4196bfe 13:22:16 Removing intermediate container 249cb4196bfe 13:22:16 ---> fc6b9f207379 13:22:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:22:16 ---> Running in cf0936cadc3d 13:22:16 Removing intermediate container cf0936cadc3d 13:22:16 ---> 7d470384cc5d 13:22:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:22:16 ---> Running in 12359199fe9f 13:22:16 Removing intermediate container 12359199fe9f 13:22:16 ---> e09e1ec94607 13:22:16 Step 7/12 : WORKDIR /device-gpio 13:22:16 ---> Running in e6778583caa5 13:22:17 Removing intermediate container e6778583caa5 13:22:17 ---> b989ebc22cf2 13:22:17 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:17 ---> Running in 90deeaead0a5 13:22:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:22:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:22:17 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:22:17 (2/4) Installing libedit (20221030.3.1-r0) 13:22:17 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:22:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:22:17 Executing busybox-1.35.0-r29.trigger 13:22:17 OK: 269 MiB in 57 packages 13:22:18 Removing intermediate container 90deeaead0a5 13:22:18 ---> bbc5920dcc34 13:22:18 Step 9/12 : COPY go.mod vendor* ./ 13:22:18 ---> 86b10c630594 13:22:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:18 ---> Running in 18d9132a0176 13:22:18 Still waiting to schedule task 13:22:18 ‘prd-ubuntu20.04-docker-arm64-4c-16g-457’ is offline 13:22:50 Removing intermediate container 18d9132a0176 13:22:50 ---> 46b1cc72e52a 13:22:50 Step 11/12 : COPY . . 13:22:50 ---> 3c6e68cb3749 13:22:50 Step 12/12 : RUN ${MAKE} 13:22:50 ---> Running in 17d25950226b 13:22:50 noop 13:22:50 Removing intermediate container 17d25950226b 13:22:50 ---> fcee62fa7a22 13:22:50 Successfully built fcee62fa7a22 13:22:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:50 + docker inspect -f . ci-base-image-x86_64 13:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:50 prd-ubuntu20.04-docker-8c-8g-456 does not seem to be running inside a container 13:22:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@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 13:22:51 $ docker top 6caa95d982e87877dea7ca39afd7b0e16ba447c2267824a45d5ce82f5332a047 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:51 + go version 13:22:51 go version go1.20.2 linux/amd64 [Pipeline] } 13:22:51 $ docker stop --time=1 6caa95d982e87877dea7ca39afd7b0e16ba447c2267824a45d5ce82f5332a047 13:22:52 $ docker rm -f --volumes 6caa95d982e87877dea7ca39afd7b0e16ba447c2267824a45d5ce82f5332a047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:53 + docker inspect -f . ci-base-image-x86_64 13:22:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:53 prd-ubuntu20.04-docker-8c-8g-456 does not seem to be running inside a container 13:22:53 $ 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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@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 13:22:53 $ docker top c3af923695b1b662a32527e5e3216622c1ee3ffb98b5adc7da2454ef188a8f55 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-116 [Pipeline] fileExists [Pipeline] sh 13:22:54 + make test 13:22:54 go test ./... -coverprofile=coverage.out ./... 13:22:59 ? github.com/edgexfoundry/device-gpio [no test files] 13:23:09 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:23:09 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:23:13 go vet ./... 13:23:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:23:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:23:17 ./bin/test-attribution-txt.sh [Pipeline] echo 13:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:23:17 $ docker stop --time=1 c3af923695b1b662a32527e5e3216622c1ee3ffb98b5adc7da2454ef188a8f55 13:23:20 $ docker rm -f --volumes c3af923695b1b662a32527e5e3216622c1ee3ffb98b5adc7da2454ef188a8f55 [Pipeline] // withDockerContainer [Pipeline] sh 13:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:23:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:21 + ls -al . 13:23:21 total 160 13:23:21 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 13:22 . 13:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:21 .. 13:23:21 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 13:21 .dockerignore 13:23:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 13:22 .git 13:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:21 .github 13:23:21 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 13:21 .gitignore 13:23:21 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 13:21 .golangci.yml 13:23:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 13:22 .semver 13:23:21 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 13:21 Attribution.txt 13:23:21 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 13:21 CHANGELOG.md 13:23:21 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 13:21 Dockerfile 13:23:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 13:21 GOVERNANCE.md 13:23:21 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 13:21 Jenkinsfile 13:23:21 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 13:21 LICENSE 13:23:21 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 13:21 Makefile 13:23:21 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 13:21 OWNERS.md 13:23:21 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 13:21 README.md 13:23:21 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 13:22 VERSION 13:23:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 13:21 bin 13:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:21 cmd 13:23:21 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 13:22 coverage.out 13:23:21 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 13:21 go.mod 13:23:21 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 15 13:21 go.sum 13:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:21 internal 13:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:21 snap 13:23:21 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 13:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:21 + 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=8e353cff76873dd8b7befb72ba3d6ff79c57ad27 --label arch=amd64 --label version=0.0.0 . 13:23:21 Sending build context to Docker daemon 16.03MB 13:23:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:23:21 Step 2/25 : FROM ${BASE} AS builder 13:23:21 ---> fcee62fa7a22 13:23:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:23:22 ---> Running in cb9fd20006bb 13:23:22 Removing intermediate container cb9fd20006bb 13:23:22 ---> 543320337f96 13:23:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:23:22 ---> Running in 5d480e65acb2 13:23:22 Removing intermediate container 5d480e65acb2 13:23:22 ---> eb7ecab0430a 13:23:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:23:22 ---> Running in d5adb2aa2c12 13:23:22 Removing intermediate container d5adb2aa2c12 13:23:22 ---> bb226b15c07f 13:23:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:23:22 ---> Running in bcee336223ca 13:23:22 Removing intermediate container bcee336223ca 13:23:22 ---> d821dbf2aa45 13:23:22 Step 7/25 : WORKDIR /device-gpio 13:23:22 ---> Running in eb034c71c443 13:23:22 Removing intermediate container eb034c71c443 13:23:22 ---> c5fcc51a60a3 13:23:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:23:22 ---> Running in 340fa87ffce4 13:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:23 OK: 269 MiB in 57 packages 13:23:23 Removing intermediate container 340fa87ffce4 13:23:23 ---> 4d823d853345 13:23:23 Step 9/25 : COPY go.mod vendor* ./ 13:23:23 ---> 8de8f12b7703 13:23:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:23:23 ---> Running in 8aad403a292a 13:23:24 Removing intermediate container 8aad403a292a 13:23:24 ---> 7fc922e73c74 13:23:24 Step 11/25 : COPY . . 13:23:25 ---> 612bbf51b4eb 13:23:25 Step 12/25 : RUN ${MAKE} 13:23:25 ---> Running in d95bbef9f554 13:23:25 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 13:23:44 Removing intermediate container d95bbef9f554 13:23:44 ---> d57b913561b4 13:23:44 Step 13/25 : FROM alpine:3.17 13:23:44 3.17: Pulling from library/alpine 13:23:44 63b65145d645: Already exists 13:23:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:23:44 Status: Downloaded newer image for alpine:3.17 13:23:44 ---> b2aa39c304c2 13:23:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:23:44 ---> Running in e7defc3f02f8 13:23:45 Removing intermediate container e7defc3f02f8 13:23:45 ---> 6a823b8b1b7e 13:23:45 Step 15/25 : RUN apk add --update --no-cache 13:23:45 ---> Running in f348fd830e28 13:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:45 OK: 7 MiB in 15 packages 13:23:46 Removing intermediate container f348fd830e28 13:23:46 ---> 76cfd0e86149 13:23:46 Step 16/25 : WORKDIR / 13:23:46 ---> Running in 9c54deac6c04 13:23:46 Removing intermediate container 9c54deac6c04 13:23:46 ---> d9243921f71c 13:23:46 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:23:46 ---> 6d660b299d66 13:23:46 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:23:47 ---> d37da7bd7f2e 13:23:47 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:23:47 ---> 799751c76862 13:23:47 Step 20/25 : EXPOSE 59910 13:23:48 ---> Running in 7935fdc85338 13:23:48 Removing intermediate container 7935fdc85338 13:23:48 ---> ac47e7fac3e8 13:23:48 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:23:48 ---> Running in 8a6821d2c6b5 13:23:48 Removing intermediate container 8a6821d2c6b5 13:23:48 ---> 0eaa5affa89a 13:23:48 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:48 ---> Running in 4b32cb5642e6 13:23:48 Removing intermediate container 4b32cb5642e6 13:23:48 ---> 3f3437654cc0 13:23:48 Step 23/25 : LABEL arch=amd64 13:23:49 ---> Running in ad2bb30fbec6 13:23:49 Removing intermediate container ad2bb30fbec6 13:23:49 ---> c0e98867b573 13:23:49 Step 24/25 : LABEL git_sha=8e353cff76873dd8b7befb72ba3d6ff79c57ad27 13:23:49 ---> Running in 698d1dc8a43d 13:23:49 Removing intermediate container 698d1dc8a43d 13:23:49 ---> 7060d19c4b66 13:23:49 Step 25/25 : LABEL version=0.0.0 13:23:50 ---> Running in 83959929b5b6 13:23:50 Removing intermediate container 83959929b5b6 13:23:50 ---> 08a567b56719 13:23:50 [Warning] One or more build-args [ARCH] were not consumed 13:23:50 Successfully built 08a567b56719 13:23:50 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 13:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:50 13:23:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:51 latest: Pulling from edgex-lftools-log-publisher 13:23:51 5eb5b503b376: Pulling fs layer 13:23:51 5c69ac0246d0: Pulling fs layer 13:23:51 ec43610c2a17: Pulling fs layer 13:23:51 3a2ae6a8a46f: Pulling fs layer 13:23:51 33b1e0a273af: Pulling fs layer 13:23:51 5d3b04190fa2: Pulling fs layer 13:23:51 2f39f015ded8: Pulling fs layer 13:23:51 33b1e0a273af: Waiting 13:23:51 5d3b04190fa2: Waiting 13:23:51 2f39f015ded8: Waiting 13:23:51 3a2ae6a8a46f: Waiting 13:23:51 5c69ac0246d0: Download complete 13:23:51 3a2ae6a8a46f: Verifying Checksum 13:23:51 3a2ae6a8a46f: Download complete 13:23:51 33b1e0a273af: Verifying Checksum 13:23:51 33b1e0a273af: Download complete 13:23:51 5d3b04190fa2: Verifying Checksum 13:23:51 5d3b04190fa2: Download complete 13:23:51 ec43610c2a17: Verifying Checksum 13:23:51 ec43610c2a17: Download complete 13:23:51 5eb5b503b376: Verifying Checksum 13:23:51 5eb5b503b376: Download complete 13:23:52 2f39f015ded8: Download complete 13:23:52 5eb5b503b376: Pull complete 13:23:52 5c69ac0246d0: Pull complete 13:23:53 ec43610c2a17: Pull complete 13:23:53 3a2ae6a8a46f: Pull complete 13:23:53 33b1e0a273af: Pull complete 13:23:53 5d3b04190fa2: Pull complete 13:23:57 2f39f015ded8: Pull complete 13:23:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:57 prd-ubuntu20.04-docker-8c-8g-456 does not seem to be running inside a container 13:23:58 $ 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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@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 13:24:02 $ docker top 3f155585a3f49194f5d8f4d22c4a7a724153e37f9601630402e69e5f1e33d051 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:02 ---> job-cost.sh 13:24:02 lf-activate-venv: SKIPPING 13:24:02 INFO: No Stack... 13:24:03 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:03 INFO: Archiving Costs [Pipeline] sh 13:24:04 + cat /w/workspace/edgexfoundry_device-gpio_PR-116/archives/cost.csv 13:24:04 + cut -d, -f6 [Pipeline] lock 13:24:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] 13:24:04 Resource [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] did not exist. Created. 13:24:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:04 + echo total: 0.2199999988079071 [Pipeline] stash 13:24:04 Stashed 1 file(s) [Pipeline] } 13:24:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:04 $ docker stop --time=1 3f155585a3f49194f5d8f4d22c4a7a724153e37f9601630402e69e5f1e33d051 13:24:05 $ docker rm -f --volumes 3f155585a3f49194f5d8f4d22c4a7a724153e37f9601630402e69e5f1e33d051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:25:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-460 in /w/workspace/edgexfoundry_device-gpio_PR-116 [Pipeline] { [Pipeline] ws 13:25:14 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 13:25:14 The recommended git tool is: git 13:25:20 using credential edgex-jenkins-ssh 13:25:20 Cloning the remote Git repository 13:25:20 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:25:20 > git init /w/workspace/device-gpio/4 # timeout=10 13:25:21 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:25:21 > git --version # timeout=10 13:25:21 > git --version # 'git version 2.25.1' 13:25:21 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:22 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:25:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:23 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:25:23 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:25:23 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:25:24 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 13:25:24 Merge succeeded, producing 6877a569f33940c866ce13c91582544b4176ca85 13:25:24 Checking out Revision 6877a569f33940c866ce13c91582544b4176ca85 (PR-116) 13:25:24 > git config core.sparsecheckout # timeout=10 13:25:24 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # timeout=10 13:25:24 > git remote # timeout=10 13:25:24 > git config --get remote.origin.url # timeout=10 13:25:24 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:24 > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 13:25:24 > git rev-parse HEAD^{commit} # timeout=10 13:25:24 > git config core.sparsecheckout # timeout=10 13:25:24 > git checkout -f 6877a569f33940c866ce13c91582544b4176ca85 # timeout=10 13:25:28 Commit message: "Merge commit '58c55fcceacaa429eb258ff9b432fe1f0402d5e4' into HEAD" 13:25:28 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:25:28 > git rev-list --no-walk 0a710125d44496b767d3bdb0c75047b62c387ea9 # timeout=10 13:25:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:25:29 % Total % Received % Xferd Average Speed Time Time Time Current 13:25:29 Dload Upload Total Spent Left Speed 13:25:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 13:25:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:25:30 + sudo tee /etc/docker/daemon.new 13:25:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:25:30 { 13:25:30 "registry-mirrors": [ 13:25:30 "https://nexus3.edgexfoundry.org:10001" 13:25:30 ], 13:25:30 "bip": "10.250.0.254/24", 13:25:30 "hosts": [ 13:25:30 "tcp://0.0.0.0:5555", 13:25:30 "unix:///var/run/docker.sock" 13:25:30 ], 13:25:30 "mtu": 1458, 13:25:30 "selinux-enabled": true, 13:25:30 "seccomp-profile": "/etc/docker/seccomp.json" 13:25:30 } [Pipeline] sh 13:25:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:25:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:49 provisioning config files... 13:25:49 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config11701381275891077993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:49 ---> docker-login.sh 13:25:49 nexus3.edgexfoundry.org:10001 13:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:50 Configure a credential helper to remove this warning. See 13:25:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:50 13:25:50 Login Succeeded 13:25:50 nexus3.edgexfoundry.org:10002 13:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:50 Configure a credential helper to remove this warning. See 13:25:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:50 13:25:50 Login Succeeded 13:25:50 nexus3.edgexfoundry.org:10003 13:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:51 Configure a credential helper to remove this warning. See 13:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:51 13:25:51 Login Succeeded 13:25:51 nexus3.edgexfoundry.org:10004 13:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:51 Configure a credential helper to remove this warning. See 13:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:51 13:25:51 Login Succeeded 13:25:51 docker.io 13:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:52 Configure a credential helper to remove this warning. See 13:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:52 13:25:52 Login Succeeded 13:25:52 ---> docker-login.sh ends [Pipeline] } 13:25:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:52 ========================================================= 13:25:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:25:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:52 + 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 . 13:25:52 Sending build context to Docker daemon 8.106MB 13:25:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:25:52 Step 2/12 : FROM ${BASE} AS builder 13:25:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:25:53 af6eaf76a39c: Pulling fs layer 13:25:53 55522c791124: Pulling fs layer 13:25:53 ce5c4a1c91eb: Pulling fs layer 13:25:53 169dfbe0d373: Pulling fs layer 13:25:53 e1ff8fa3b103: Pulling fs layer 13:25:53 52ebb69f0ebf: Pulling fs layer 13:25:53 5abe8eddf0d5: Pulling fs layer 13:25:53 e1ff8fa3b103: Waiting 13:25:53 169dfbe0d373: Waiting 13:25:53 52ebb69f0ebf: Waiting 13:25:53 55522c791124: Verifying Checksum 13:25:53 55522c791124: Download complete 13:25:53 169dfbe0d373: Verifying Checksum 13:25:53 169dfbe0d373: Download complete 13:25:53 e1ff8fa3b103: Verifying Checksum 13:25:53 e1ff8fa3b103: Download complete 13:25:53 af6eaf76a39c: Verifying Checksum 13:25:53 af6eaf76a39c: Download complete 13:25:54 af6eaf76a39c: Pull complete 13:25:54 5abe8eddf0d5: Verifying Checksum 13:25:54 55522c791124: Pull complete 13:25:56 ce5c4a1c91eb: Verifying Checksum 13:25:56 ce5c4a1c91eb: Download complete 13:25:56 52ebb69f0ebf: Verifying Checksum 13:25:56 52ebb69f0ebf: Download complete 13:26:08 ce5c4a1c91eb: Pull complete 13:26:08 169dfbe0d373: Pull complete 13:26:08 e1ff8fa3b103: Pull complete 13:26:15 52ebb69f0ebf: Pull complete 13:26:16 5abe8eddf0d5: Pull complete 13:26:16 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:26:16 ---> 6cb57ee374ae 13:26:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:26:18 ---> Running in 15ad83eed999 13:26:18 Removing intermediate container 15ad83eed999 13:26:18 ---> 80e80abf9a88 13:26:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:26:19 ---> Running in 58bccef04716 13:26:19 Removing intermediate container 58bccef04716 13:26:19 ---> ea18d7f2efaa 13:26:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:26:19 ---> Running in e29dde75b63a 13:26:20 Removing intermediate container e29dde75b63a 13:26:20 ---> af2c55c23fb3 13:26:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:26:20 ---> Running in 480fa09e1efd 13:26:20 Removing intermediate container 480fa09e1efd 13:26:20 ---> 8f36c5a441f3 13:26:20 Step 7/12 : WORKDIR /device-gpio 13:26:20 ---> Running in b8a6d1d9ce6b 13:26:20 Removing intermediate container b8a6d1d9ce6b 13:26:20 ---> 16f59d5b642c 13:26:20 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:26:20 ---> Running in 31b1170b2d39 13:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:26:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:26:23 (2/4) Installing libedit (20221030.3.1-r0) 13:26:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:26:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:26:23 Executing busybox-1.35.0-r29.trigger 13:26:23 OK: 268 MiB in 57 packages 13:26:25 Removing intermediate container 31b1170b2d39 13:26:25 ---> 3a38583f28e9 13:26:25 Step 9/12 : COPY go.mod vendor* ./ 13:26:25 ---> 24f32ac6348c 13:26:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:26:25 ---> Running in 262f963f03b0 13:27:33 Removing intermediate container 262f963f03b0 13:27:33 ---> e4c039d1f968 13:27:33 Step 11/12 : COPY . . 13:27:33 ---> 98fb2fb2267c 13:27:33 Step 12/12 : RUN ${MAKE} 13:27:33 ---> Running in 8856a884d95a 13:27:33 noop 13:27:33 Removing intermediate container 8856a884d95a 13:27:33 ---> e387145a3020 13:27:33 Successfully built e387145a3020 13:27:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:34 + docker inspect -f . ci-base-image-arm64 13:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:34 prd-ubuntu20.04-docker-arm64-4c-16g-460 does not seem to be running inside a container 13:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:27:35 $ docker top 210a6ab03d172763b739eb8c871d623502958fd1015da14c576b3bf59e660340 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:36 + go version 13:27:36 go version go1.20.2 linux/arm64 [Pipeline] } 13:27:36 $ docker stop --time=1 210a6ab03d172763b739eb8c871d623502958fd1015da14c576b3bf59e660340 13:27:38 $ docker rm -f --volumes 210a6ab03d172763b739eb8c871d623502958fd1015da14c576b3bf59e660340 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:38 + docker inspect -f . ci-base-image-arm64 13:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:38 prd-ubuntu20.04-docker-arm64-4c-16g-460 does not seem to be running inside a container 13:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:27:40 $ docker top 0f944740ff1008f7ace84a3971344f1653d896b397019b20ce487f6492c8ecb3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:41 + git config --global --add safe.directory /w/workspace/device-gpio/4 [Pipeline] fileExists [Pipeline] sh 13:27:41 + make test 13:27:41 go test ./... -coverprofile=coverage.out ./... 13:28:20 ? github.com/edgexfoundry/device-gpio [no test files] 13:30:27 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:30:27 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:30:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:30:27 go vet ./... 13:30:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:30:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:30:49 ./bin/test-attribution-txt.sh [Pipeline] echo 13:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:30:49 $ docker stop --time=1 0f944740ff1008f7ace84a3971344f1653d896b397019b20ce487f6492c8ecb3 13:30:53 $ docker rm -f --volumes 0f944740ff1008f7ace84a3971344f1653d896b397019b20ce487f6492c8ecb3 [Pipeline] // withDockerContainer [Pipeline] sh 13:30:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:30:54 Warning: overwriting stash ‘coverage-report’ 13:30:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:30:56 + ls -al . 13:30:56 total 156 13:30:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 13:27 . 13:30:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:25 .. 13:30:56 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 13:25 .dockerignore 13:30:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 13:25 .git 13:30:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:25 .github 13:30:56 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 13:25 .gitignore 13:30:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 13:25 .golangci.yml 13:30:56 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 13:25 Attribution.txt 13:30:56 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 13:25 CHANGELOG.md 13:30:56 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 13:25 Dockerfile 13:30:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 13:25 GOVERNANCE.md 13:30:56 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 13:25 Jenkinsfile 13:30:56 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 13:25 LICENSE 13:30:56 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 13:25 Makefile 13:30:56 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 13:25 OWNERS.md 13:30:56 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 13:25 README.md 13:30:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 13:22 VERSION 13:30:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 13:25 bin 13:30:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:25 cmd 13:30:56 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 13:27 coverage.out 13:30:56 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 13:25 go.mod 13:30:56 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 15 13:25 go.sum 13:30:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:25 internal 13:30:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:25 snap 13:30:56 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:56 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6877a569f33940c866ce13c91582544b4176ca85 --label arch=arm64 --label version=0.0.0 . 13:30:56 Sending build context to Docker daemon 8.108MB 13:30:57 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:30:57 Step 2/25 : FROM ${BASE} AS builder 13:30:57 ---> e387145a3020 13:30:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:30:57 ---> Running in a2ed6ec02577 13:30:57 Removing intermediate container a2ed6ec02577 13:30:57 ---> 1e9e3dc10a79 13:30:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:30:57 ---> Running in d695f9db3e57 13:30:57 Removing intermediate container d695f9db3e57 13:30:57 ---> 835a905d5334 13:30:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:30:57 ---> Running in b12e7babc29f 13:30:58 Removing intermediate container b12e7babc29f 13:30:58 ---> 711a84f46d14 13:30:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:30:58 ---> Running in 3dd63508fdd0 13:30:58 Removing intermediate container 3dd63508fdd0 13:30:58 ---> 67b8dd1226d8 13:30:58 Step 7/25 : WORKDIR /device-gpio 13:30:58 ---> Running in f2b29808d3cb 13:30:59 Removing intermediate container f2b29808d3cb 13:30:59 ---> 371ee5407f24 13:30:59 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:30:59 ---> Running in f76e2ce9b97f 13:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:31:03 OK: 268 MiB in 57 packages 13:31:04 Removing intermediate container f76e2ce9b97f 13:31:04 ---> 81a836011a6b 13:31:04 Step 9/25 : COPY go.mod vendor* ./ 13:31:05 ---> 3def1a54c5a8 13:31:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:31:05 ---> Running in fc6a4244076d 13:31:09 Removing intermediate container fc6a4244076d 13:31:09 ---> 9793a3d6fb04 13:31:09 Step 11/25 : COPY . . 13:31:12 ---> 2781e08a6256 13:31:12 Step 12/25 : RUN ${MAKE} 13:31:12 ---> Running in 5164ff7ff9b5 13:31:13 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 13:33:35 Removing intermediate container 5164ff7ff9b5 13:33:35 ---> 52ede4777d75 13:33:35 Step 13/25 : FROM alpine:3.17 13:33:35 3.17: Pulling from library/alpine 13:33:35 af6eaf76a39c: Already exists 13:33:35 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:33:35 Status: Downloaded newer image for alpine:3.17 13:33:35 ---> d74e625d9115 13:33:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:33:35 ---> Running in 9dfd314fefc6 13:33:35 Removing intermediate container 9dfd314fefc6 13:33:35 ---> 9c7529af4f93 13:33:35 Step 15/25 : RUN apk add --update --no-cache 13:33:35 ---> Running in a231072e0319 13:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:33:35 OK: 7 MiB in 15 packages 13:33:35 Removing intermediate container a231072e0319 13:33:35 ---> d1f685ad90c5 13:33:35 Step 16/25 : WORKDIR / 13:33:35 ---> Running in 4d31689af964 13:33:35 Removing intermediate container 4d31689af964 13:33:35 ---> 7af841edf043 13:33:35 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:33:35 ---> 4db6156b1cdf 13:33:35 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:33:35 ---> 2caba4c9a421 13:33:35 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:33:35 ---> 3ee52152ec39 13:33:35 Step 20/25 : EXPOSE 59910 13:33:35 ---> Running in 1b655ceb866e 13:33:36 Removing intermediate container 1b655ceb866e 13:33:36 ---> 95d8045e4b98 13:33:36 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:33:36 ---> Running in 29e21502565a 13:33:36 Removing intermediate container 29e21502565a 13:33:36 ---> a6bc75e61618 13:33:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:33:36 ---> Running in cccf7dc9b1b5 13:33:36 Removing intermediate container cccf7dc9b1b5 13:33:36 ---> 35a2c9017d3a 13:33:36 Step 23/25 : LABEL arch=arm64 13:33:36 ---> Running in 3584703e56e6 13:33:37 Removing intermediate container 3584703e56e6 13:33:37 ---> 51588d995c3f 13:33:37 Step 24/25 : LABEL git_sha=6877a569f33940c866ce13c91582544b4176ca85 13:33:37 ---> Running in 7c2d92938fa9 13:33:37 Removing intermediate container 7c2d92938fa9 13:33:37 ---> e1da503b6ae7 13:33:37 Step 25/25 : LABEL version=0.0.0 13:33:37 ---> Running in cb600621ece6 13:33:37 Removing intermediate container cb600621ece6 13:33:37 ---> 4e783f7ef071 13:33:37 [Warning] One or more build-args [ARCH] were not consumed 13:33:37 Successfully built 4e783f7ef071 13:33:37 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 13:33:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:38 13:33:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:38 arm64: Pulling from edgex-lftools-log-publisher 13:33:38 8998bd30e6a1: Pulling fs layer 13:33:38 04944245beec: Pulling fs layer 13:33:38 699f458cf7ca: Pulling fs layer 13:33:38 765212b225bb: Pulling fs layer 13:33:38 f23df028b6ca: Pulling fs layer 13:33:38 d65c8cfc05b1: Pulling fs layer 13:33:38 2437ff75d9bd: Pulling fs layer 13:33:38 d65c8cfc05b1: Waiting 13:33:38 765212b225bb: Waiting 13:33:38 f23df028b6ca: Waiting 13:33:38 2437ff75d9bd: Waiting 13:33:39 04944245beec: Verifying Checksum 13:33:39 04944245beec: Download complete 13:33:39 765212b225bb: Verifying Checksum 13:33:39 765212b225bb: Download complete 13:33:39 f23df028b6ca: Verifying Checksum 13:33:39 f23df028b6ca: Download complete 13:33:39 d65c8cfc05b1: Verifying Checksum 13:33:39 d65c8cfc05b1: Download complete 13:33:39 699f458cf7ca: Verifying Checksum 13:33:39 8998bd30e6a1: Verifying Checksum 13:33:39 8998bd30e6a1: Download complete 13:33:41 2437ff75d9bd: Verifying Checksum 13:33:41 2437ff75d9bd: Download complete 13:33:42 8998bd30e6a1: Pull complete 13:33:43 04944245beec: Pull complete 13:33:44 699f458cf7ca: Pull complete 13:33:44 765212b225bb: Pull complete 13:33:45 f23df028b6ca: Pull complete 13:33:45 d65c8cfc05b1: Pull complete 13:33:58 2437ff75d9bd: Pull complete 13:33:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:33:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:58 prd-ubuntu20.04-docker-arm64-4c-16g-460 does not seem to be running inside a container 13:33:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:34:01 $ docker top ae13467cb10dc6fa8bc31deee3dfb703dd3d03715dfb6a547afbc21e07cf592d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:01 ---> job-cost.sh 13:34:01 lf-activate-venv: SKIPPING 13:34:01 INFO: No Stack... 13:34:02 INFO: Retrieving Pricing Info for: v3-standard-4 13:34:03 INFO: Archiving Costs [Pipeline] sh 13:34:03 + cat /w/workspace/device-gpio/4/archives/cost.csv 13:34:03 + cut -d, -f6 [Pipeline] lock 13:34:03 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] 13:34:03 Resource [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] did not exist. Created. 13:34:03 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:34:03 /w/workspace/device-gpio/4@tmp/durable-748b1cfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:34:04 + echo total: 0.10999999940395355 [Pipeline] stash 13:34:04 Warning: overwriting stash ‘stack-cost’ 13:34:04 Stashed 1 file(s) [Pipeline] } 13:34:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-116-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:34:04 $ docker stop --time=1 ae13467cb10dc6fa8bc31deee3dfb703dd3d03715dfb6a547afbc21e07cf592d 13:34:06 $ docker rm -f --volumes ae13467cb10dc6fa8bc31deee3dfb703dd3d03715dfb6a547afbc21e07cf592d [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 13:34:06 provisioning config files... 13:34:06 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config9327718873256706002tmp [Pipeline] { [Pipeline] sh 13:34:06 + set +x 13:34:06 + curl -s https://codecov.io/bash 13:34:06 + bash -s -- 13:34:06 13:34:06 _____ _ 13:34:06 / ____| | | 13:34:06 | | ___ __| | ___ ___ _____ __ 13:34:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:34:06 | |___| (_) | (_| | __/ (_| (_) \ V / 13:34:06 \_____\___/ \__,_|\___|\___\___/ \_/ 13:34:06 Bash-1.0.6 13:34:06 13:34:06 13:34:06 ==> git version 2.25.1 found 13:34: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 13:34:06 Release-Date: 2020-01-08 13:34: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 13:34:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:34:06 ==> Jenkins CI detected. 13:34:06 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-116 13:34:06 project root: . 13:34:06 --> token set from env 13:34:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:34:06 ==> Running gcov in . (disable via -X gcov) 13:34:06 ==> Python coveragepy not found 13:34:06 ==> Searching for coverage reports in: 13:34:06 + . 13:34:06 -> Found 1 reports 13:34:06 ==> Detecting git/mercurial file structure 13:34:06 ==> Reading reports 13:34:07 + ./coverage.out bytes=10 13:34:07 ==> Appending adjustments 13:34:07 https://docs.codecov.io/docs/fixing-reports 13:34:07 + Found adjustments 13:34:07 ==> Gzipping contents 13:34:07 4.0K /tmp/codecov.XxMm1G.gz 13:34:07 ==> Uploading reports 13:34:07 url: https://codecov.io 13:34:07 query: branch=PR-116&commit=8e353cff76873dd8b7befb72ba3d6ff79c57ad27&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-116%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=116&job=&cmd_args= 13:34:07 -> Pinging Codecov 13:34:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-116&commit=8e353cff76873dd8b7befb72ba3d6ff79c57ad27&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-116%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=116&job=&cmd_args= 13:34:07 -> Uploading to 13:34:07 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/8e353cff76873dd8b7befb72ba3d6ff79c57ad27/59fb0826-8ef6-4889-933a-98b52456768b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T133407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=261f35505ed1a482cf207b11e7cf09ba522a06b4cae7b4344cfea7491f8b3efc 13:34:07 % Total % Received % Xferd Average Speed Time Time Time Current 13:34:07 Dload Upload Total Spent Left Speed 13:34:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 740 0 0 100 740 0 2857 --:--:-- --:--:-- --:--:-- 2857 13:34:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/8e353cff76873dd8b7befb72ba3d6ff79c57ad27 [Pipeline] } 13:34: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 13:34:08 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-116/archives ] 13:34:08 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-116/archives 13:34:08 total 16 13:34:08 drwxr-xr-x 3 root root 4096 Mar 15 13:24 . 13:34:08 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 13:24 .. 13:34:08 drwxr-xr-x 2 root root 4096 Mar 15 13:24 cost 13:34:08 -rw-r--r-- 1 root root 83 Mar 15 13:24 cost.csv 13:34:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-116/archives 13:34:08 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-116/archives 13:34:08 total 16 13:34:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 13:24 . 13:34:08 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 13:24 .. 13:34:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 13:24 cost 13:34:08 -rw-r--r-- 1 jenkins jenkins 83 Mar 15 13:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:34:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:34:09 ---> package-listing.sh 13:34:09 ++ facter osfamily 13:34:09 ++ tr '[:upper:]' '[:lower:]' 13:34:09 + OS_FAMILY=debian 13:34:09 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-116 13:34:09 + START_PACKAGES=/tmp/packages_start.txt 13:34:09 + END_PACKAGES=/tmp/packages_end.txt 13:34:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:34:09 + PACKAGES=/tmp/packages_start.txt 13:34:09 + '[' /w/workspace/edgexfoundry_device-gpio_PR-116 ']' 13:34:09 + PACKAGES=/tmp/packages_end.txt 13:34:09 + case "${OS_FAMILY}" in 13:34:09 + dpkg -l 13:34:09 + grep '^ii' 13:34:09 + '[' -f /tmp/packages_start.txt ']' 13:34:09 + '[' -f /tmp/packages_end.txt ']' 13:34:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:34:09 + '[' /w/workspace/edgexfoundry_device-gpio_PR-116 ']' 13:34:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-116/archives/ 13:34:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-116/archives/ [Pipeline] echo 13:34: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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:34:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:34:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:10 prd-ubuntu20.04-docker-8c-8g-456 does not seem to be running inside a container 13:34: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-116/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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@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 13:34:10 $ docker top 86375081f1b8f5b7b9ed54482d553fd710f951a6bac66b51da7866ddc7f27453 -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:11 + touch /tmp/pre-build-complete [Pipeline] sh 13:34:11 + mkdir -p /var/log/sysstat [Pipeline] sh 13:34:11 + ls /var/log/sa-host 13:34:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:11 provisioning config files... 13:34:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config4679562128301027702tmp [Pipeline] { [Pipeline] echo 13:34:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:34:12 ---> create-netrc.sh [Pipeline] } 13:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:34:12 ---> python-tools-install.sh [Pipeline] echo 13:34:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:34:12 ---> sudo-logs.sh 13:34:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:34:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:34:13 ---> job-cost.sh 13:34:13 lf-activate-venv: SKIPPING 13:34:13 DEBUG: total: 0.2199999988079071 13:34:13 INFO: Retrieving Stack Cost... 13:34:13 INFO: Retrieving Pricing Info for: v3-standard-8 13:34:14 INFO: Archiving Costs [Pipeline] echo 13:34:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:34:14 ---> logs-deploy.sh 13:34:14 lf-activate-venv: SKIPPING 13:34:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-116/4 13:34:14 INFO: archiving workspace using pattern(s): 13:34:15 Archives upload complete. 13:34:15 INFO: archiving logs to Nexus