Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5075b9e81635d00e611a2c2e84518ae3b9f6de56+58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (ab94a0254068f9b925a13fed61ffd409b1d3a1b6) 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-ssh4106384218091154938.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-ssh6743100424825950198.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-71/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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12749318057443454195.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-ssh12936147740988089999.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-71/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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7976137586832282539.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-455 in /w/workspace/edgexfoundry_device-gpio_PR-71 [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-71 # 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/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit 5075b9e81635d00e611a2c2e84518ae3b9f6de56 Merge succeeded, producing 67a2dd624b416a0bf1708fa8dd535230830e5657 Checking out Revision 67a2dd624b416a0bf1708fa8dd535230830e5657 (PR-71) > git config core.sparsecheckout # timeout=10 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # 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 67a2dd624b416a0bf1708fa8dd535230830e5657 # timeout=10 Commit message: "Merge commit '58c55fcceacaa429eb258ff9b432fe1f0402d5e4' into HEAD" > git rev-list --no-walk 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:21:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:21:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:21:26 ========================================================= 13:21:26 EdgeX Global Pipelines Version Info 13:21:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:21:26 ------------------- 13:21:26 stable info: 13:21:26 ------------------- 13:21:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:21:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:21:26 Message: update stable to v1.0.245 13:21:27 ------------------- 13:21:27 experimental info: 13:21:27 ------------------- 13:21:27 Commited By: **** collab-it+edgex@linuxfoundation.org 13:21:27 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 13:21:27 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67a2dd624b416a0bf1708fa8dd535230830e5657 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67a2dd6 [Pipeline] echo 13:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:27 provisioning config files... 13:21:27 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config336575507843503364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:28 ---> docker-login.sh 13:21:28 nexus3.edgexfoundry.org:10001 13:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:28 Configure a credential helper to remove this warning. See 13:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:28 13:21:28 Login Succeeded 13:21:28 nexus3.edgexfoundry.org:10002 13:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:28 Configure a credential helper to remove this warning. See 13:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:28 13:21:28 Login Succeeded 13:21:28 nexus3.edgexfoundry.org:10003 13:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:28 Configure a credential helper to remove this warning. See 13:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:28 13:21:28 Login Succeeded 13:21:28 nexus3.edgexfoundry.org:10004 13:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:28 Configure a credential helper to remove this warning. See 13:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:28 13:21:28 Login Succeeded 13:21:28 docker.io 13:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:29 Configure a credential helper to remove this warning. See 13:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:29 13:21:29 Login Succeeded 13:21:29 ---> docker-login.sh ends [Pipeline] } 13:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:21:29 + git rev-list -1 --merges 67a2dd624b416a0bf1708fa8dd535230830e5657~1..67a2dd624b416a0bf1708fa8dd535230830e5657 [Pipeline] echo 13:21:29 -----------> git rev-list -1 --merges 67a2dd624b416a0bf1708fa8dd535230830e5657~1..67a2dd624b416a0bf1708fa8dd535230830e5657 67a2dd624b416a0bf1708fa8dd535230830e5657 13:21:29 67a2dd624b416a0bf1708fa8dd535230830e5657 [false] [Pipeline] sh 13:21:29 + git log --format=format:%s -1 67a2dd624b416a0bf1708fa8dd535230830e5657 [Pipeline] echo 13:21:29 ========================================================= 13:21:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:21:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:30 + git log --format=format:%s -1 67a2dd624b416a0bf1708fa8dd535230830e5657 [Pipeline] echo 13:21:30 [semverPrep] GIT_COMMIT: 67a2dd624b416a0bf1708fa8dd535230830e5657, Commit Message: Merge commit '58c55fcceacaa429eb258ff9b432fe1f0402d5e4' into HEAD [Pipeline] echo 13:21:30 [semverPrep] This is not a build commit. [Pipeline] sh 13:21:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:21:30 + grep -v github /etc/ssh/ssh_known_hosts 13:21:30 + [ -e /tmp/ssh_known_hosts ] 13:21:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:21:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:21:30 + sudo tee -a /etc/ssh/ssh_known_hosts 13:21:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:30 13:21:30 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:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:31 0.1.4: Pulling from edgex-devops/py-git-semver 13:21:31 b85a868b505f: Pulling fs layer 13:21:31 e2be974225ed: Pulling fs layer 13:21:31 339a4e72a1f5: Pulling fs layer 13:21:31 988bab9f4d93: Pulling fs layer 13:21:31 1469e6f7b9e6: Pulling fs layer 13:21:31 eaf3925da568: Pulling fs layer 13:21:31 bab4dde63d76: Pulling fs layer 13:21:31 bde34c3a00c8: Pulling fs layer 13:21:31 b352a97aabf1: Pulling fs layer 13:21:31 988bab9f4d93: Waiting 13:21:31 bab4dde63d76: Waiting 13:21:31 1469e6f7b9e6: Waiting 13:21:31 eaf3925da568: Waiting 13:21:31 bde34c3a00c8: Waiting 13:21:31 4872d77fe225: Pulling fs layer 13:21:31 b352a97aabf1: Waiting 13:21:31 5851b861e8e6: Pulling fs layer 13:21:31 4872d77fe225: Waiting 13:21:31 5851b861e8e6: Waiting 13:21:31 e2be974225ed: Verifying Checksum 13:21:31 e2be974225ed: Download complete 13:21:31 988bab9f4d93: Verifying Checksum 13:21:31 988bab9f4d93: Download complete 13:21:31 1469e6f7b9e6: Verifying Checksum 13:21:31 1469e6f7b9e6: Download complete 13:21:31 eaf3925da568: Download complete 13:21:31 339a4e72a1f5: Verifying Checksum 13:21:31 339a4e72a1f5: Download complete 13:21:31 bde34c3a00c8: Verifying Checksum 13:21:31 b352a97aabf1: Verifying Checksum 13:21:31 b352a97aabf1: Download complete 13:21:31 4872d77fe225: Download complete 13:21:31 5851b861e8e6: Verifying Checksum 13:21:31 5851b861e8e6: Download complete 13:21:31 b85a868b505f: Verifying Checksum 13:21:31 b85a868b505f: Download complete 13:21:31 bab4dde63d76: Verifying Checksum 13:21:31 bab4dde63d76: Download complete 13:21:32 b85a868b505f: Pull complete 13:21:32 e2be974225ed: Pull complete 13:21:33 339a4e72a1f5: Pull complete 13:21:33 988bab9f4d93: Pull complete 13:21:33 1469e6f7b9e6: Pull complete 13:21:33 eaf3925da568: Pull complete 13:21:35 bab4dde63d76: Pull complete 13:21:35 bde34c3a00c8: Pull complete 13:21:35 b352a97aabf1: Pull complete 13:21:35 4872d77fe225: Pull complete 13:21:35 5851b861e8e6: Pull complete 13:21:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:36 prd-ubuntu20.04-docker-8c-8g-455 does not seem to be running inside a container 13:21:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:21:37 $ docker top e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 -eo pid,comm 13:21:37 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:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:21:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:37 [ssh-agent] Looking for ssh-agent implementation... 13:21:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:37 $ docker exec e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 ssh-agent 13:21:38 SSH_AUTH_SOCK=/tmp/ssh-qdKAtMNxi4bl/agent.32 13:21:38 SSH_AGENT_PID=38 13:21:38 Running ssh-add (command line suppressed) 13:21:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_8770086821124898075.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_8770086821124898075.key) 13:21:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:38 + git tag --points-at HEAD [Pipeline] } 13:21:38 $ docker exec --env ******** --env ******** e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 ssh-agent -k 13:21:38 unset SSH_AUTH_SOCK; 13:21:38 unset SSH_AGENT_PID; 13:21:38 echo Agent pid 38 killed; 13:21:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:21:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:38 [ssh-agent] Looking for ssh-agent implementation... 13:21:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:38 $ docker exec e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 ssh-agent 13:21:38 SSH_AUTH_SOCK=/tmp/ssh-aFCstt2jS8oW/agent.70 13:21:38 SSH_AGENT_PID=76 13:21:38 Running ssh-add (command line suppressed) 13:21:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_4397168231494416011.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_4397168231494416011.key) 13:21:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:39 + git semver init 13:21:39 2023-03-15 13:21:39,560 [run_init] DEBUG init version:0.0.0 force:False 13:21:39 2023-03-15 13:21:39,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver 13:21:39 2023-03-15 13:21:39,562 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver 13:21:39 2023-03-15 13:21:39,562 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) 13:21:40 2023-03-15 13:21:40,516 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude 13:21:40 2023-03-15 13:21:40,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False 13:21:40 2023-03-15 13:21:40,517 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 13:21:40 2023-03-15 13:21:40,521 [execute] INFO git cat-file --batch-check 13:21:40 2023-03-15 13:21:40,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 13:21:40 2023-03-15 13:21:40,529 [execute] INFO git cat-file --batch 13:21:40 2023-03-15 13:21:40,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 13:21:40 2023-03-15 13:21:40,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 13:21:40 0.0.0 [Pipeline] } 13:21:40 $ docker exec --env ******** --env ******** e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 ssh-agent -k 13:21:40 unset SSH_AUTH_SOCK; 13:21:40 unset SSH_AGENT_PID; 13:21:40 echo Agent pid 76 killed; 13:21:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:21:40 + git semver [Pipeline] } 13:21:41 $ docker stop --time=1 e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 13:21:42 $ docker rm -f --volumes e75b395046c8e66dcbcaa1296fdde31231112ed986a131c75022a0344e175433 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:21:43 Stashed 1 file(s) [Pipeline] echo 13:21:43 [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:21:43 provisioning config files... 13:21:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config4468281048338178712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:43 ---> docker-login.sh 13:21:43 nexus3.edgexfoundry.org:10001 13:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:43 Configure a credential helper to remove this warning. See 13:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:43 13:21:43 Login Succeeded 13:21:43 nexus3.edgexfoundry.org:10002 13:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:43 Configure a credential helper to remove this warning. See 13:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:43 13:21:43 Login Succeeded 13:21:43 nexus3.edgexfoundry.org:10003 13:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:43 Configure a credential helper to remove this warning. See 13:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:43 13:21:43 Login Succeeded 13:21:43 nexus3.edgexfoundry.org:10004 13:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:43 Configure a credential helper to remove this warning. See 13:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:43 13:21:43 Login Succeeded 13:21:43 docker.io 13:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:44 Configure a credential helper to remove this warning. See 13:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:44 13:21:44 Login Succeeded 13:21:44 ---> docker-login.sh ends [Pipeline] } 13:21:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:44 ========================================================= 13:21:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:21:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:44 + 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:21:44 Sending build context to Docker daemon 16.02MB 13:21:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:21:44 Step 2/12 : FROM ${BASE} AS builder 13:21:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:21:45 63b65145d645: Pulling fs layer 13:21:45 a2d21d5440eb: Pulling fs layer 13:21:45 935e6c44a52c: Pulling fs layer 13:21:45 94cc34f8dd06: Pulling fs layer 13:21:45 30dea6a524f1: Pulling fs layer 13:21:45 a2aff8979fd8: Pulling fs layer 13:21:45 6808be2612f2: Pulling fs layer 13:21:45 f25807f1079a: Pulling fs layer 13:21:45 a2aff8979fd8: Waiting 13:21:45 94cc34f8dd06: Waiting 13:21:45 30dea6a524f1: Waiting 13:21:45 6808be2612f2: Waiting 13:21:45 a2d21d5440eb: Verifying Checksum 13:21:45 a2d21d5440eb: Download complete 13:21:45 94cc34f8dd06: Verifying Checksum 13:21:45 94cc34f8dd06: Download complete 13:21:45 30dea6a524f1: Verifying Checksum 13:21:45 30dea6a524f1: Download complete 13:21:45 63b65145d645: Verifying Checksum 13:21:45 63b65145d645: Download complete 13:21:45 a2aff8979fd8: Download complete 13:21:45 63b65145d645: Pull complete 13:21:45 a2d21d5440eb: Pull complete 13:21:45 f25807f1079a: Verifying Checksum 13:21:45 f25807f1079a: Download complete 13:21:45 935e6c44a52c: Verifying Checksum 13:21:45 935e6c44a52c: Download complete 13:21:45 6808be2612f2: Verifying Checksum 13:21:45 6808be2612f2: Download complete 13:21:49 935e6c44a52c: Pull complete 13:21:49 94cc34f8dd06: Pull complete 13:21:49 30dea6a524f1: Pull complete 13:21:49 a2aff8979fd8: Pull complete 13:21:51 6808be2612f2: Pull complete 13:21:52 f25807f1079a: Pull complete 13:21:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:21:52 ---> 3b553350e43f 13:21:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:21:54 ---> Running in e16fd470e5aa 13:21:54 Removing intermediate container e16fd470e5aa 13:21:54 ---> a80f4b9e7a64 13:21:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:54 ---> Running in 6e6502094899 13:21:54 Removing intermediate container 6e6502094899 13:21:54 ---> 13105a0f0c74 13:21:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:21:54 ---> Running in 318184abd7b0 13:21:54 Removing intermediate container 318184abd7b0 13:21:54 ---> 83ac466e84da 13:21:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:21:54 ---> Running in 4db15861b9f3 13:21:55 Removing intermediate container 4db15861b9f3 13:21:55 ---> cd3cc31ca1df 13:21:55 Step 7/12 : WORKDIR /device-gpio 13:21:55 ---> Running in de307312bde1 13:21:55 Removing intermediate container de307312bde1 13:21:55 ---> aefaee9ec1e1 13:21:55 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:55 ---> Running in 2ea5b77c8886 13:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:21:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:21:56 (2/4) Installing libedit (20221030.3.1-r0) 13:21:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:21:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:21:56 Executing busybox-1.35.0-r29.trigger 13:21:56 OK: 269 MiB in 57 packages 13:21:56 Removing intermediate container 2ea5b77c8886 13:21:56 ---> 5fb29a6b4c85 13:21:56 Step 9/12 : COPY go.mod vendor* ./ 13:21:56 ---> 44d9d9763a10 13:21:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:56 ---> Running in 28acbe308b45 13:21:58 Still waiting to schedule task 13:21:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-457’ is offline 13:22:18 Removing intermediate container 28acbe308b45 13:22:18 ---> 4e1769f5ab28 13:22:18 Step 11/12 : COPY . . 13:22:18 ---> 5c584f55a3de 13:22:18 Step 12/12 : RUN ${MAKE} 13:22:18 ---> Running in 8e9b6f7e7365 13:22:18 noop 13:22:18 Removing intermediate container 8e9b6f7e7365 13:22:18 ---> ce11e1c85c40 13:22:18 Successfully built ce11e1c85c40 13:22:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:19 + docker inspect -f . ci-base-image-x86_64 13:22:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:19 prd-ubuntu20.04-docker-8c-8g-455 does not seem to be running inside a container 13:22:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** ci-base-image-x86_64 cat 13:22:19 $ docker top f16fb0dbb9ee2b879afeb6cd4e74defdf374b3fef241bbed468b3584f2fc7aae -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:20 + go version 13:22:20 go version go1.20.2 linux/amd64 [Pipeline] } 13:22:20 $ docker stop --time=1 f16fb0dbb9ee2b879afeb6cd4e74defdf374b3fef241bbed468b3584f2fc7aae 13:22:21 $ docker rm -f --volumes f16fb0dbb9ee2b879afeb6cd4e74defdf374b3fef241bbed468b3584f2fc7aae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:21 + docker inspect -f . ci-base-image-x86_64 13:22:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:21 prd-ubuntu20.04-docker-8c-8g-455 does not seem to be running inside a container 13:22:21 $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** ci-base-image-x86_64 cat 13:22:22 $ docker top 33c942a3cdb69bfc4e420eb487572bcf6ac17703723dbe6e3c6aa6eed8a7f630 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh 13:22:22 + make test 13:22:22 go test ./... -coverprofile=coverage.out ./... 13:22:28 ? github.com/edgexfoundry/device-gpio [no test files] 13:22:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:22:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:22:43 go vet ./... 13:22:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:22:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:22:46 ./bin/test-attribution-txt.sh [Pipeline] echo 13:22:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:22:46 $ docker stop --time=1 33c942a3cdb69bfc4e420eb487572bcf6ac17703723dbe6e3c6aa6eed8a7f630 13:22:49 $ docker rm -f --volumes 33c942a3cdb69bfc4e420eb487572bcf6ac17703723dbe6e3c6aa6eed8a7f630 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:22:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:22:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:22:50 + ls -al . 13:22:50 total 160 13:22:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 13:22 . 13:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:21 .. 13:22:50 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 13:21 .dockerignore 13:22:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 13:21 .git 13:22:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:21 .github 13:22:50 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 13:21 .gitignore 13:22:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 13:21 .golangci.yml 13:22:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 13:21 .semver 13:22:50 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 13:21 Attribution.txt 13:22:50 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 13:21 CHANGELOG.md 13:22:50 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 13:21 Dockerfile 13:22:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 13:21 GOVERNANCE.md 13:22:50 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 13:21 Jenkinsfile 13:22:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 13:21 LICENSE 13:22:50 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 13:21 Makefile 13:22:50 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 13:21 OWNERS.md 13:22:50 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 13:21 README.md 13:22:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 13:21 VERSION 13:22:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 13:21 bin 13:22:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:21 cmd 13:22:50 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 13:22 coverage.out 13:22:50 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 13:21 go.mod 13:22:50 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 15 13:21 go.sum 13:22:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:21 internal 13:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:21 snap 13:22:50 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 13:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:50 + 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=67a2dd624b416a0bf1708fa8dd535230830e5657 --label arch=amd64 --label version=0.0.0 . 13:22:50 Sending build context to Docker daemon 16.02MB 13:22:50 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:22:50 Step 2/25 : FROM ${BASE} AS builder 13:22:50 ---> ce11e1c85c40 13:22:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:22:50 ---> Running in 655e2e7be939 13:22:50 Removing intermediate container 655e2e7be939 13:22:50 ---> 7e5ce179b275 13:22:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:50 ---> Running in ef964f0806db 13:22:50 Removing intermediate container ef964f0806db 13:22:50 ---> fb5251517e29 13:22:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:22:51 ---> Running in 60af35b88615 13:22:51 Removing intermediate container 60af35b88615 13:22:51 ---> f82a15bead27 13:22:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:22:51 ---> Running in b12eae045db9 13:22:51 Removing intermediate container b12eae045db9 13:22:51 ---> e65ba3b84820 13:22:51 Step 7/25 : WORKDIR /device-gpio 13:22:51 ---> Running in 82e63a5f1ddf 13:22:51 Removing intermediate container 82e63a5f1ddf 13:22:51 ---> bf1a89812b46 13:22:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:51 ---> Running in 85f0ce62042f 13:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:22:52 OK: 269 MiB in 57 packages 13:22:52 Removing intermediate container 85f0ce62042f 13:22:52 ---> 6607606c3a42 13:22:52 Step 9/25 : COPY go.mod vendor* ./ 13:22:52 ---> fd2c436474de 13:22:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:52 ---> Running in 3ca79d42ace6 13:22:53 Removing intermediate container 3ca79d42ace6 13:22:53 ---> 1394a04d9398 13:22:53 Step 11/25 : COPY . . 13:22:53 ---> 8ac18d92fd13 13:22:53 Step 12/25 : RUN ${MAKE} 13:22:54 ---> Running in aa3468680a0a 13:22:54 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:12 Removing intermediate container aa3468680a0a 13:23:12 ---> efa07ec45a0f 13:23:12 Step 13/25 : FROM alpine:3.17 13:23:12 3.17: Pulling from library/alpine 13:23:12 63b65145d645: Already exists 13:23:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:23:12 Status: Downloaded newer image for alpine:3.17 13:23:12 ---> b2aa39c304c2 13:23:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:23:12 ---> Running in f93b593a1486 13:23:12 Removing intermediate container f93b593a1486 13:23:12 ---> 619933057d00 13:23:12 Step 15/25 : RUN apk add --update --no-cache 13:23:12 ---> Running in 28a5dac4ae82 13:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:13 OK: 7 MiB in 15 packages 13:23:13 Removing intermediate container 28a5dac4ae82 13:23:13 ---> b5f4d7e8af3d 13:23:13 Step 16/25 : WORKDIR / 13:23:13 ---> Running in 84a378ee7859 13:23:13 Removing intermediate container 84a378ee7859 13:23:13 ---> a674c83ab790 13:23:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:23:13 ---> e6888b7370bf 13:23:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:23:13 ---> a727532707e4 13:23:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:23:14 ---> 708a10702858 13:23:14 Step 20/25 : EXPOSE 59910 13:23:14 ---> Running in 9946604ff9ef 13:23:14 Removing intermediate container 9946604ff9ef 13:23:14 ---> e4663da03ad1 13:23:14 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:23:14 ---> Running in 8ff8aad923f8 13:23:14 Removing intermediate container 8ff8aad923f8 13:23:14 ---> 570cd5595ad4 13:23:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:14 ---> Running in 6ee0892aa36a 13:23:14 Removing intermediate container 6ee0892aa36a 13:23:14 ---> 0cca58423dae 13:23:14 Step 23/25 : LABEL arch=amd64 13:23:14 ---> Running in 643ed3249c4a 13:23:14 Removing intermediate container 643ed3249c4a 13:23:14 ---> d868dcd4a026 13:23:14 Step 24/25 : LABEL git_sha=67a2dd624b416a0bf1708fa8dd535230830e5657 13:23:14 ---> Running in f479dd2f28a9 13:23:14 Removing intermediate container f479dd2f28a9 13:23:14 ---> 0ec8a3cd99a8 13:23:14 Step 25/25 : LABEL version=0.0.0 13:23:15 ---> Running in 8bd983ba09fa 13:23:15 Removing intermediate container 8bd983ba09fa 13:23:15 ---> efcdf3a64278 13:23:15 [Warning] One or more build-args [ARCH] were not consumed 13:23:15 Successfully built efcdf3a64278 13:23:15 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:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:15 13:23:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:15 latest: Pulling from edgex-lftools-log-publisher 13:23:15 5eb5b503b376: Pulling fs layer 13:23:15 5c69ac0246d0: Pulling fs layer 13:23:15 ec43610c2a17: Pulling fs layer 13:23:15 3a2ae6a8a46f: Pulling fs layer 13:23:15 33b1e0a273af: Pulling fs layer 13:23:15 5d3b04190fa2: Pulling fs layer 13:23:15 2f39f015ded8: Pulling fs layer 13:23:15 33b1e0a273af: Waiting 13:23:15 5d3b04190fa2: Waiting 13:23:15 2f39f015ded8: Waiting 13:23:15 3a2ae6a8a46f: Waiting 13:23:15 5c69ac0246d0: Download complete 13:23:15 3a2ae6a8a46f: Download complete 13:23:16 33b1e0a273af: Verifying Checksum 13:23:16 33b1e0a273af: Download complete 13:23:16 5d3b04190fa2: Verifying Checksum 13:23:16 5d3b04190fa2: Download complete 13:23:16 ec43610c2a17: Verifying Checksum 13:23:16 ec43610c2a17: Download complete 13:23:16 5eb5b503b376: Download complete 13:23:17 2f39f015ded8: Verifying Checksum 13:23:17 2f39f015ded8: Download complete 13:23:17 5eb5b503b376: Pull complete 13:23:17 5c69ac0246d0: Pull complete 13:23:17 ec43610c2a17: Pull complete 13:23:18 3a2ae6a8a46f: Pull complete 13:23:18 33b1e0a273af: Pull complete 13:23:18 5d3b04190fa2: Pull complete 13:23:22 2f39f015ded8: Pull complete 13:23:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:23:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:22 prd-ubuntu20.04-docker-8c-8g-455 does not seem to be running inside a container 13:23:22 $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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:23:24 $ docker top fb98a9c7d9adcad2b4df2a449ee34816cae9c29b8a74636dd8c68f1067761b74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:25 ---> job-cost.sh 13:23:25 lf-activate-venv: SKIPPING 13:23:25 INFO: No Stack... 13:23:25 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:25 INFO: Archiving Costs [Pipeline] sh 13:23:26 + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv 13:23:26 + cut -d, -f6 [Pipeline] lock 13:23:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] 13:23:26 Resource [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] did not exist. Created. 13:23:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:26 + echo total: 0.2199999988079071 [Pipeline] stash 13:23:26 Stashed 1 file(s) [Pipeline] } 13:23:26 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:26 $ docker stop --time=1 fb98a9c7d9adcad2b4df2a449ee34816cae9c29b8a74636dd8c68f1067761b74 13:23:27 $ docker rm -f --volumes fb98a9c7d9adcad2b4df2a449ee34816cae9c29b8a74636dd8c68f1067761b74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:24:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-459 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] ws 13:24:29 Running in /w/workspace/device-gpio/16 [Pipeline] { [Pipeline] checkout 13:24:29 The recommended git tool is: git 13:24:37 using credential edgex-jenkins-ssh 13:24:37 Cloning the remote Git repository 13:24:37 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:24:38 > git init /w/workspace/device-gpio/16 # timeout=10 13:24:38 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:24:38 > git --version # timeout=10 13:24:38 > git --version # 'git version 2.25.1' 13:24:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:24:40 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:24:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:24:42 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit 5075b9e81635d00e611a2c2e84518ae3b9f6de56 13:24:42 Merge succeeded, producing 231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 13:24:42 Checking out Revision 231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 (PR-71) 13:24:41 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:24:41 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:24:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:24:42 > git config core.sparsecheckout # timeout=10 13:24:42 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 13:24:42 > git remote # timeout=10 13:24:42 > git config --get remote.origin.url # timeout=10 13:24:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:24:42 > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 13:24:42 > git rev-parse HEAD^{commit} # timeout=10 13:24:42 > git config core.sparsecheckout # timeout=10 13:24:42 > git checkout -f 231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 # timeout=10 13:24:46 Commit message: "Merge commit '58c55fcceacaa429eb258ff9b432fe1f0402d5e4' into HEAD" 13:24:46 > git rev-list --no-walk 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:24:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:24:47 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:47 Dload Upload Total Spent Left Speed 13:24:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 13:24:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:24:48 + sudo tee /etc/docker/daemon.new 13:24:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:24:48 { 13:24:48 "registry-mirrors": [ 13:24:48 "https://nexus3.edgexfoundry.org:10001" 13:24:48 ], 13:24:48 "bip": "10.250.0.254/24", 13:24:48 "hosts": [ 13:24:48 "tcp://0.0.0.0:5555", 13:24:48 "unix:///var/run/docker.sock" 13:24:48 ], 13:24:48 "mtu": 1458, 13:24:48 "selinux-enabled": true, 13:24:48 "seccomp-profile": "/etc/docker/seccomp.json" 13:24:48 } [Pipeline] sh 13:24:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:24:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:07 provisioning config files... 13:25:07 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/16@tmp/config16671844613876510226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:07 ---> docker-login.sh 13:25:07 nexus3.edgexfoundry.org:10001 13:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:08 Configure a credential helper to remove this warning. See 13:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:08 13:25:08 Login Succeeded 13:25:08 nexus3.edgexfoundry.org:10002 13:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:08 Configure a credential helper to remove this warning. See 13:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:08 13:25:08 Login Succeeded 13:25:08 nexus3.edgexfoundry.org:10003 13:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:08 Configure a credential helper to remove this warning. See 13:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:08 13:25:08 Login Succeeded 13:25:08 nexus3.edgexfoundry.org:10004 13:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:09 Configure a credential helper to remove this warning. See 13:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:09 13:25:09 Login Succeeded 13:25:09 docker.io 13:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:09 Configure a credential helper to remove this warning. See 13:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:09 13:25:09 Login Succeeded 13:25:09 ---> docker-login.sh ends [Pipeline] } 13:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:10 ========================================================= 13:25:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:25:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:10 + 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:10 Sending build context to Docker daemon 8.091MB 13:25:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:25:10 Step 2/12 : FROM ${BASE} AS builder 13:25:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:25:10 af6eaf76a39c: Pulling fs layer 13:25:10 55522c791124: Pulling fs layer 13:25:10 ce5c4a1c91eb: Pulling fs layer 13:25:10 169dfbe0d373: Pulling fs layer 13:25:10 e1ff8fa3b103: Pulling fs layer 13:25:10 52ebb69f0ebf: Pulling fs layer 13:25:10 5abe8eddf0d5: Pulling fs layer 13:25:10 e1ff8fa3b103: Waiting 13:25:10 169dfbe0d373: Waiting 13:25:10 52ebb69f0ebf: Waiting 13:25:10 5abe8eddf0d5: Waiting 13:25:10 55522c791124: Verifying Checksum 13:25:10 55522c791124: Download complete 13:25:10 169dfbe0d373: Verifying Checksum 13:25:10 169dfbe0d373: Download complete 13:25:10 e1ff8fa3b103: Verifying Checksum 13:25:10 e1ff8fa3b103: Download complete 13:25:10 af6eaf76a39c: Verifying Checksum 13:25:10 af6eaf76a39c: Download complete 13:25:12 af6eaf76a39c: Pull complete 13:25:12 5abe8eddf0d5: Verifying Checksum 13:25:12 5abe8eddf0d5: Download complete 13:25:12 55522c791124: Pull complete 13:25:13 ce5c4a1c91eb: Verifying Checksum 13:25:13 ce5c4a1c91eb: Download complete 13:25:13 52ebb69f0ebf: Verifying Checksum 13:25:13 52ebb69f0ebf: Download complete 13:25:23 ce5c4a1c91eb: Pull complete 13:25:23 169dfbe0d373: Pull complete 13:25:23 e1ff8fa3b103: Pull complete 13:25:30 52ebb69f0ebf: Pull complete 13:25:30 5abe8eddf0d5: Pull complete 13:25:30 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:25:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:25:30 ---> 6cb57ee374ae 13:25:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:25:35 ---> Running in 11a14d892578 13:25:35 Removing intermediate container 11a14d892578 13:25:35 ---> 3c5bfe9b95dd 13:25:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:25:35 ---> Running in 23e17f22879e 13:25:35 Removing intermediate container 23e17f22879e 13:25:35 ---> 9e1b19dbd7e8 13:25:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:25:35 ---> Running in bfef5252a7b3 13:25:35 Removing intermediate container bfef5252a7b3 13:25:35 ---> 32118b6c9174 13:25:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:25:35 ---> Running in 1dbedb86887b 13:25:36 Removing intermediate container 1dbedb86887b 13:25:36 ---> 55e8f2630443 13:25:36 Step 7/12 : WORKDIR /device-gpio 13:25:36 ---> Running in 4076895ec32c 13:25:36 Removing intermediate container 4076895ec32c 13:25:36 ---> 39f15152425d 13:25:36 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:25:36 ---> Running in d1af5af8243e 13:25:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:25:39 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:25:39 (2/4) Installing libedit (20221030.3.1-r0) 13:25:39 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:25:39 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:25:39 Executing busybox-1.35.0-r29.trigger 13:25:39 OK: 268 MiB in 57 packages 13:25:40 Removing intermediate container d1af5af8243e 13:25:40 ---> cd83e5d70b37 13:25:40 Step 9/12 : COPY go.mod vendor* ./ 13:25:40 ---> 36e62fd94ccb 13:25:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:25:40 ---> Running in 932910741e2d 13:26:48 Removing intermediate container 932910741e2d 13:26:48 ---> b97e46658bdc 13:26:48 Step 11/12 : COPY . . 13:26:48 ---> 30170c8e9d32 13:26:48 Step 12/12 : RUN ${MAKE} 13:26:48 ---> Running in 0a9afedae7d1 13:26:48 noop 13:26:48 Removing intermediate container 0a9afedae7d1 13:26:48 ---> 27c35c5ff5b7 13:26:48 Successfully built 27c35c5ff5b7 13:26:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:49 + docker inspect -f . ci-base-image-arm64 13:26:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:49 prd-ubuntu20.04-docker-arm64-4c-16g-459 does not seem to be running inside a container 13:26:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/16 -v /w/workspace/device-gpio/16:/w/workspace/device-gpio/16:rw,z -v /w/workspace/device-gpio/16@tmp:/w/workspace/device-gpio/16@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:26:50 $ docker top 3279fe79a99e77107a2994c20bdaeb40394b8d2f5509184d395cd0dd704cc155 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:51 + go version 13:26:51 go version go1.20.2 linux/arm64 [Pipeline] } 13:26:51 $ docker stop --time=1 3279fe79a99e77107a2994c20bdaeb40394b8d2f5509184d395cd0dd704cc155 13:26:53 $ docker rm -f --volumes 3279fe79a99e77107a2994c20bdaeb40394b8d2f5509184d395cd0dd704cc155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:53 + docker inspect -f . ci-base-image-arm64 13:26:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:54 prd-ubuntu20.04-docker-arm64-4c-16g-459 does not seem to be running inside a container 13:26:54 $ 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/16 -v /w/workspace/device-gpio/16:/w/workspace/device-gpio/16:rw,z -v /w/workspace/device-gpio/16@tmp:/w/workspace/device-gpio/16@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:26:55 $ docker top 6fc14223e7541ed9441ab805c672a33455fa831af5d7053568f7ee83f30fd925 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:56 + git config --global --add safe.directory /w/workspace/device-gpio/16 [Pipeline] fileExists [Pipeline] sh 13:26:57 + make test 13:26:57 go test ./... -coverprofile=coverage.out ./... 13:27:36 ? github.com/edgexfoundry/device-gpio [no test files] 13:29:27 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:29:27 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:29:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:29:27 go vet ./... 13:29:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:29:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:29:54 ./bin/test-attribution-txt.sh [Pipeline] echo 13:29:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:29:54 $ docker stop --time=1 6fc14223e7541ed9441ab805c672a33455fa831af5d7053568f7ee83f30fd925 13:29:56 $ docker rm -f --volumes 6fc14223e7541ed9441ab805c672a33455fa831af5d7053568f7ee83f30fd925 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:29:57 Warning: overwriting stash ‘coverage-report’ 13:29:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:29:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:29:58 + ls -al . 13:29:58 total 156 13:29:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 13:27 . 13:29:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:24 .. 13:29:58 -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 13:24 .dockerignore 13:29:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 13:24 .git 13:29:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:24 .github 13:29:58 -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 13:24 .gitignore 13:29:58 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 13:24 .golangci.yml 13:29:58 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 13:24 Attribution.txt 13:29:58 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 13:24 CHANGELOG.md 13:29:58 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 13:24 Dockerfile 13:29:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 13:24 GOVERNANCE.md 13:29:58 -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 13:24 Jenkinsfile 13:29:58 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 13:24 LICENSE 13:29:58 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 13:24 Makefile 13:29:58 -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 13:24 OWNERS.md 13:29:58 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 13:24 README.md 13:29:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 13:21 VERSION 13:29:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 13:24 bin 13:29:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:24 cmd 13:29:58 -rw-r--r-- 1 jenkins jenkins 10 Mar 15 13:27 coverage.out 13:29:58 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 13:24 go.mod 13:29:58 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 15 13:24 go.sum 13:29:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 13:24 internal 13:29:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 13:24 snap 13:29:58 -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 13:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:59 + 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=231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 --label arch=arm64 --label version=0.0.0 . 13:29:59 Sending build context to Docker daemon 8.092MB 13:29:59 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:29:59 Step 2/25 : FROM ${BASE} AS builder 13:29:59 ---> 27c35c5ff5b7 13:29:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:30:00 ---> Running in a9951791bb75 13:30:01 Removing intermediate container a9951791bb75 13:30:01 ---> ae1e05e9d6b1 13:30:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:30:01 ---> Running in fff51563e0b8 13:30:01 Removing intermediate container fff51563e0b8 13:30:01 ---> d2389d29e782 13:30:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:30:01 ---> Running in 86d0368f01a8 13:30:01 Removing intermediate container 86d0368f01a8 13:30:01 ---> 07d345fdb875 13:30:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:30:02 ---> Running in 9560cbd61a5e 13:30:02 Removing intermediate container 9560cbd61a5e 13:30:02 ---> 6be2d814add7 13:30:02 Step 7/25 : WORKDIR /device-gpio 13:30:02 ---> Running in 80fb70602344 13:30:02 Removing intermediate container 80fb70602344 13:30:02 ---> 4d1c2df1faf8 13:30:02 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:30:03 ---> Running in 06d3177657a7 13:30:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:30:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:30:06 OK: 268 MiB in 57 packages 13:30:06 Removing intermediate container 06d3177657a7 13:30:06 ---> 72de90dbf1b0 13:30:06 Step 9/25 : COPY go.mod vendor* ./ 13:30:07 ---> 194c7a5798c5 13:30:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:30:07 ---> Running in dca93f5ffb79 13:30:09 Removing intermediate container dca93f5ffb79 13:30:09 ---> ce8e7a285c1f 13:30:09 Step 11/25 : COPY . . 13:30:10 ---> 01292cc7889f 13:30:10 Step 12/25 : RUN ${MAKE} 13:30:10 ---> Running in a6f895940da1 13:30:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 13:32:33 Removing intermediate container a6f895940da1 13:32:33 ---> 197f37a65004 13:32:33 Step 13/25 : FROM alpine:3.17 13:32:33 3.17: Pulling from library/alpine 13:32:33 af6eaf76a39c: Already exists 13:32:33 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:32:33 Status: Downloaded newer image for alpine:3.17 13:32:33 ---> d74e625d9115 13:32:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:32:33 ---> Running in f61bb91f4044 13:32:33 Removing intermediate container f61bb91f4044 13:32:33 ---> d65d71320b75 13:32:33 Step 15/25 : RUN apk add --update --no-cache 13:32:33 ---> Running in f5fb66a01bc8 13:32:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:32:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:32:33 OK: 7 MiB in 15 packages 13:32:33 Removing intermediate container f5fb66a01bc8 13:32:33 ---> f0b90525e467 13:32:33 Step 16/25 : WORKDIR / 13:32:33 ---> Running in 3a51db4f3297 13:32:33 Removing intermediate container 3a51db4f3297 13:32:33 ---> 83ba400bc2c8 13:32:33 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:32:33 ---> e1cd0a036850 13:32:33 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:32:33 ---> 88aa5c46f925 13:32:33 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:32:37 ---> aae4f43e578a 13:32:37 Step 20/25 : EXPOSE 59910 13:32:37 ---> Running in 96972eec6853 13:32:37 Removing intermediate container 96972eec6853 13:32:37 ---> 85f2900c59c5 13:32:37 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:32:37 ---> Running in e9c29ccd7e77 13:32:38 Removing intermediate container e9c29ccd7e77 13:32:38 ---> 3d6217afafb6 13:32:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:32:38 ---> Running in 4f9becfc9f5c 13:32:38 Removing intermediate container 4f9becfc9f5c 13:32:38 ---> 7539f10286ee 13:32:38 Step 23/25 : LABEL arch=arm64 13:32:38 ---> Running in b83a16d22925 13:32:38 Removing intermediate container b83a16d22925 13:32:38 ---> 2c4f79b7819a 13:32:38 Step 24/25 : LABEL git_sha=231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 13:32:38 ---> Running in 657307a2f4d6 13:32:39 Removing intermediate container 657307a2f4d6 13:32:39 ---> f9d396eab378 13:32:39 Step 25/25 : LABEL version=0.0.0 13:32:39 ---> Running in c7cac54c61d9 13:32:39 Removing intermediate container c7cac54c61d9 13:32:39 ---> b0af6f9ff79e 13:32:39 [Warning] One or more build-args [ARCH] were not consumed 13:32:39 Successfully built b0af6f9ff79e 13:32:39 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:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:40 13:32:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:40 arm64: Pulling from edgex-lftools-log-publisher 13:32:40 8998bd30e6a1: Pulling fs layer 13:32:40 04944245beec: Pulling fs layer 13:32:40 699f458cf7ca: Pulling fs layer 13:32:40 765212b225bb: Pulling fs layer 13:32:40 f23df028b6ca: Pulling fs layer 13:32:40 d65c8cfc05b1: Pulling fs layer 13:32:40 2437ff75d9bd: Pulling fs layer 13:32:40 765212b225bb: Waiting 13:32:40 f23df028b6ca: Waiting 13:32:40 d65c8cfc05b1: Waiting 13:32:40 2437ff75d9bd: Waiting 13:32:40 04944245beec: Verifying Checksum 13:32:40 04944245beec: Download complete 13:32:40 765212b225bb: Verifying Checksum 13:32:40 765212b225bb: Download complete 13:32:40 f23df028b6ca: Verifying Checksum 13:32:40 f23df028b6ca: Download complete 13:32:40 d65c8cfc05b1: Verifying Checksum 13:32:40 d65c8cfc05b1: Download complete 13:32:40 699f458cf7ca: Verifying Checksum 13:32:40 699f458cf7ca: Download complete 13:32:41 8998bd30e6a1: Verifying Checksum 13:32:41 8998bd30e6a1: Download complete 13:32:43 2437ff75d9bd: Verifying Checksum 13:32:43 2437ff75d9bd: Download complete 13:32:44 8998bd30e6a1: Pull complete 13:32:45 04944245beec: Pull complete 13:32:46 699f458cf7ca: Pull complete 13:32:46 765212b225bb: Pull complete 13:32:47 f23df028b6ca: Pull complete 13:32:47 d65c8cfc05b1: Pull complete 13:32:59 2437ff75d9bd: Pull complete 13:32:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:32:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:59 prd-ubuntu20.04-docker-arm64-4c-16g-459 does not seem to be running inside a container 13:32:59 $ 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/16 -v /w/workspace/device-gpio/16:/w/workspace/device-gpio/16:rw,z -v /w/workspace/device-gpio/16@tmp:/w/workspace/device-gpio/16@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:33:03 $ docker top 4c0b2d45c45fb7465aa9118022d351594a0b1fc050e290d50d39a842adf9a9ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:33:03 ---> job-cost.sh 13:33:04 lf-activate-venv: SKIPPING 13:33:04 INFO: No Stack... 13:33:04 INFO: Retrieving Pricing Info for: v3-standard-4 13:33:05 INFO: Archiving Costs [Pipeline] sh 13:33:05 + cut -d, -f6 13:33:05 + cat /w/workspace/device-gpio/16/archives/cost.csv [Pipeline] lock 13:33:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] 13:33:05 Resource [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] did not exist. Created. 13:33:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:33:06 /w/workspace/device-gpio/16@tmp/durable-18eedfcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:33:06 + echo total: 0.10999999940395355 [Pipeline] stash 13:33:06 Warning: overwriting stash ‘stack-cost’ 13:33:06 Stashed 1 file(s) [Pipeline] } 13:33:06 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-16-stack-cost] [Pipeline] // lock [Pipeline] } 13:33:06 $ docker stop --time=1 4c0b2d45c45fb7465aa9118022d351594a0b1fc050e290d50d39a842adf9a9ca 13:33:08 $ docker rm -f --volumes 4c0b2d45c45fb7465aa9118022d351594a0b1fc050e290d50d39a842adf9a9ca [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:33:08 provisioning config files... 13:33:08 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config17895850210743328116tmp [Pipeline] { [Pipeline] sh 13:33:08 + set +x 13:33:08 + curl -s https://codecov.io/bash+ 13:33:08 bash -s -- 13:33:08 13:33:08 _____ _ 13:33:08 / ____| | | 13:33:08 | | ___ __| | ___ ___ _____ __ 13:33:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:33:08 | |___| (_) | (_| | __/ (_| (_) \ V / 13:33:08 \_____\___/ \__,_|\___|\___\___/ \_/ 13:33:08 Bash-1.0.6 13:33:08 13:33:08 13:33:08 ==> git version 2.25.1 found 13:33:08 ==> 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:33:08 Release-Date: 2020-01-08 13:33:08 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:33:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:33:08 ==> Jenkins CI detected. 13:33:08 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-71 13:33:08 project root: . 13:33:08 --> token set from env 13:33:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:33:08 ==> Running gcov in . (disable via -X gcov) 13:33:08 ==> Python coveragepy not found 13:33:08 ==> Searching for coverage reports in: 13:33:08 + . 13:33:08 -> Found 1 reports 13:33:08 ==> Detecting git/mercurial file structure 13:33:08 ==> Reading reports 13:33:08 + ./coverage.out bytes=10 13:33:08 ==> Appending adjustments 13:33:08 https://docs.codecov.io/docs/fixing-reports 13:33:08 + Found adjustments 13:33:08 ==> Gzipping contents 13:33:08 4.0K /tmp/codecov.QiyRdb.gz 13:33:08 ==> Uploading reports 13:33:08 url: https://codecov.io 13:33:08 query: branch=PR-71&commit=67a2dd624b416a0bf1708fa8dd535230830e5657&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 13:33:08 -> Pinging Codecov 13:33:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-71&commit=67a2dd624b416a0bf1708fa8dd535230830e5657&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 13:33:09 -> Uploading to 13:33:09 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/67a2dd624b416a0bf1708fa8dd535230830e5657/cd7490f4-7eec-4ee6-ae8a-e72d478f99ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T133308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e81a3acadcfe83b6f3bb168bdf3b72e20562ac90f6e10d4f8e895be7366a079c 13:33:09 % Total % Received % Xferd Average Speed Time Time Time Current 13:33:09 Dload Upload Total Spent Left Speed 13:33:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 740 0 0 100 740 0 8222 --:--:-- --:--:-- --:--:-- 8131 100 740 0 0 100 740 0 2235 --:--:-- --:--:-- --:--:-- 2228 13:33:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/67a2dd624b416a0bf1708fa8dd535230830e5657 [Pipeline] } 13:33:09 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:33:10 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] 13:33:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 13:33:10 total 16 13:33:10 drwxr-xr-x 3 root root 4096 Mar 15 13:23 . 13:33:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 13:23 .. 13:33:10 drwxr-xr-x 2 root root 4096 Mar 15 13:23 cost 13:33:10 -rw-r--r-- 1 root root 83 Mar 15 13:23 cost.csv 13:33:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives 13:33:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 13:33:10 total 16 13:33:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 13:23 . 13:33:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 13:23 .. 13:33:10 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 13:23 cost 13:33:10 -rw-r--r-- 1 jenkins jenkins 83 Mar 15 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:33:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:33:11 ---> package-listing.sh 13:33:11 ++ facter osfamily 13:33:11 ++ tr '[:upper:]' '[:lower:]' 13:33:11 + OS_FAMILY=debian 13:33:11 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 13:33:11 + START_PACKAGES=/tmp/packages_start.txt 13:33:11 + END_PACKAGES=/tmp/packages_end.txt 13:33:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:33:11 + PACKAGES=/tmp/packages_start.txt 13:33:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 13:33:11 + PACKAGES=/tmp/packages_end.txt 13:33:11 + case "${OS_FAMILY}" in 13:33:11 + dpkg -l 13:33:11 + grep '^ii' 13:33:11 + '[' -f /tmp/packages_start.txt ']' 13:33:11 + '[' -f /tmp/packages_end.txt ']' 13:33:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:33:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 13:33:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ 13:33:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo 13:33:11 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:33:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:12 prd-ubuntu20.04-docker-8c-8g-455 does not seem to be running inside a container 13:33:12 $ 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-71/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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:33:12 $ docker top 76846390f9ead143193cde0c4d65121d4b1c583d80587746cb4af0605283f71c -eo pid,comm [Pipeline] { [Pipeline] sh 13:33:13 + touch /tmp/pre-build-complete [Pipeline] sh 13:33:13 + mkdir -p /var/log/sysstat [Pipeline] sh 13:33:13 + ls /var/log/sa-host 13:33:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:33:13 provisioning config files... 13:33:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config8863310779449047889tmp [Pipeline] { [Pipeline] echo 13:33:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:33:13 ---> create-netrc.sh [Pipeline] } 13:33:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:33:14 ---> python-tools-install.sh [Pipeline] echo 13:33:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:33:14 ---> sudo-logs.sh 13:33:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:33:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:33:14 ---> job-cost.sh 13:33:14 lf-activate-venv: SKIPPING 13:33:14 DEBUG: total: 0.2199999988079071 13:33:14 INFO: Retrieving Stack Cost... 13:33:15 INFO: Retrieving Pricing Info for: v3-standard-8 13:33:15 INFO: Archiving Costs [Pipeline] echo 13:33:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:33:15 ---> logs-deploy.sh 13:33:15 lf-activate-venv: SKIPPING 13:33:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/16 13:33:15 INFO: archiving workspace using pattern(s): 13:33:16 Archives upload complete. 13:33:16 INFO: archiving logs to Nexus