Pull request #214 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-gpio Obtained Jenkinsfile from 26eba03a187839eef1badded9004dda4846ea3ca+7dc6282e6f484b8ebccec722045a9c6b5647f969 (8e04515dfbd6ce153d185285655c38a8094ee1b7) 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-ssh13441747285338143227.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8847940433920867117.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9355900158839817223.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11333031136782056292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8899583890557348722.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17479559978961834255.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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.21 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 Running on prd-ubuntu20.04-docker-8c-8g-17024 in /w/workspace/edgexfoundry_device-gpio_PR-214 [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-214 # 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 Merging remotes/origin/main commit 7dc6282e6f484b8ebccec722045a9c6b5647f969 into PR head commit 26eba03a187839eef1badded9004dda4846ea3ca Merge succeeded, producing 26eba03a187839eef1badded9004dda4846ea3ca Checking out Revision 26eba03a187839eef1badded9004dda4846ea3ca (PR-214) > 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/214/head:refs/remotes/origin/PR-214 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26eba03a187839eef1badded9004dda4846ea3ca # 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 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26eba03a187839eef1badded9004dda4846ea3ca # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:44:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:44:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:44:16 ========================================================= 14:44:16 EdgeX Global Pipelines Version Info 14:44:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:44:17 ------------------- 14:44:17 stable info: 14:44:17 ------------------- 14:44:17 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 14:44:17 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 14:44:17 Message: update stable to v1.0.257 14:44:17 ------------------- 14:44:17 experimental info: 14:44:17 ------------------- 14:44:17 Commited By: **** collab-it+edgex@linuxfoundation.org 14:44:17 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 14:44:17 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:44:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 14:44:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 14:44:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:44:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-214 [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-214 [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-214 [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26eba03a187839eef1badded9004dda4846ea3ca [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26eba03 [Pipeline] echo 14:44:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:44:19 provisioning config files... 14:44:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-214@tmp/config3896320609867266963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:19 ---> docker-login.sh 14:44:19 nexus3.edgexfoundry.org:10001 14:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:20 Configure a credential helper to remove this warning. See 14:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:20 14:44:20 Login Succeeded 14:44:20 nexus3.edgexfoundry.org:10002 14:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:20 Configure a credential helper to remove this warning. See 14:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:20 14:44:20 Login Succeeded 14:44:20 nexus3.edgexfoundry.org:10003 14:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:20 Configure a credential helper to remove this warning. See 14:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:20 14:44:20 Login Succeeded 14:44:20 nexus3.edgexfoundry.org:10004 14:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:20 Configure a credential helper to remove this warning. See 14:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:20 14:44:20 Login Succeeded 14:44:20 docker.io 14:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:21 Configure a credential helper to remove this warning. See 14:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:21 14:44:21 Login Succeeded 14:44:21 ---> docker-login.sh ends [Pipeline] } 14:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:44:21 + git rev-list -1 --merges 26eba03a187839eef1badded9004dda4846ea3ca~1..26eba03a187839eef1badded9004dda4846ea3ca [Pipeline] echo 14:44:21 -----------> git rev-list -1 --merges 26eba03a187839eef1badded9004dda4846ea3ca~1..26eba03a187839eef1badded9004dda4846ea3ca 26eba03a187839eef1badded9004dda4846ea3ca [false] [Pipeline] sh 14:44:22 + git log --format=format:%s -1 26eba03a187839eef1badded9004dda4846ea3ca [Pipeline] echo 14:44:22 ========================================================= 14:44:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:44:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:22 + git log --format=format:%s -1 26eba03a187839eef1badded9004dda4846ea3ca [Pipeline] echo 14:44:22 [semverPrep] GIT_COMMIT: 26eba03a187839eef1badded9004dda4846ea3ca, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo 14:44:22 [semverPrep] This is not a build commit. [Pipeline] sh 14:44:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:44:23 + grep -v github /etc/ssh/ssh_known_hosts 14:44:23 + [ -e /tmp/ssh_known_hosts ] 14:44:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:44:23 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:44:23 sudo tee -a /etc/ssh/ssh_known_hosts 14:44:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:44:23 14:44:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:44:24 0.1.4: Pulling from edgex-devops/py-git-semver 14:44:24 b85a868b505f: Pulling fs layer 14:44:24 e2be974225ed: Pulling fs layer 14:44:24 339a4e72a1f5: Pulling fs layer 14:44:24 988bab9f4d93: Pulling fs layer 14:44:24 1469e6f7b9e6: Pulling fs layer 14:44:24 eaf3925da568: Pulling fs layer 14:44:24 bab4dde63d76: Pulling fs layer 14:44:24 bde34c3a00c8: Pulling fs layer 14:44:24 b352a97aabf1: Pulling fs layer 14:44:24 eaf3925da568: Waiting 14:44:24 bde34c3a00c8: Waiting 14:44:24 bab4dde63d76: Waiting 14:44:24 1469e6f7b9e6: Waiting 14:44:24 988bab9f4d93: Waiting 14:44:24 4872d77fe225: Pulling fs layer 14:44:24 5851b861e8e6: Pulling fs layer 14:44:24 b352a97aabf1: Waiting 14:44:24 4872d77fe225: Waiting 14:44:24 5851b861e8e6: Waiting 14:44:24 e2be974225ed: Verifying Checksum 14:44:24 e2be974225ed: Download complete 14:44:24 988bab9f4d93: Verifying Checksum 14:44:24 988bab9f4d93: Download complete 14:44:24 1469e6f7b9e6: Verifying Checksum 14:44:24 1469e6f7b9e6: Download complete 14:44:24 eaf3925da568: Download complete 14:44:24 339a4e72a1f5: Verifying Checksum 14:44:24 339a4e72a1f5: Download complete 14:44:24 bde34c3a00c8: Download complete 14:44:24 b352a97aabf1: Download complete 14:44:24 4872d77fe225: Download complete 14:44:24 5851b861e8e6: Verifying Checksum 14:44:24 5851b861e8e6: Download complete 14:44:24 b85a868b505f: Verifying Checksum 14:44:24 b85a868b505f: Download complete 14:44:24 bab4dde63d76: Verifying Checksum 14:44:24 bab4dde63d76: Download complete 14:44:25 b85a868b505f: Pull complete 14:44:25 e2be974225ed: Pull complete 14:44:26 339a4e72a1f5: Pull complete 14:44:26 988bab9f4d93: Pull complete 14:44:26 1469e6f7b9e6: Pull complete 14:44:26 eaf3925da568: Pull complete 14:44:28 bab4dde63d76: Pull complete 14:44:28 bde34c3a00c8: Pull complete 14:44:28 b352a97aabf1: Pull complete 14:44:28 4872d77fe225: Pull complete 14:44:29 5851b861e8e6: Pull complete 14:44:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:44:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:44:29 prd-ubuntu20.04-docker-8c-8g-17024 does not seem to be running inside a container 14:44:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-214 -v /w/workspace/edgexfoundry_device-gpio_PR-214:/w/workspace/edgexfoundry_device-gpio_PR-214:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-214@tmp:/w/workspace/edgexfoundry_device-gpio_PR-214@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:44:34 $ docker top e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 -eo pid,comm 14:44:34 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). 14:44:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:44:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:44:34 [ssh-agent] Looking for ssh-agent implementation... 14:44:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:44:34 $ docker exec e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 ssh-agent 14:44:34 SSH_AUTH_SOCK=/tmp/ssh-9dwblK7JaEwH/agent.31 14:44:34 SSH_AGENT_PID=37 14:44:34 Running ssh-add (command line suppressed) 14:44:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-214@tmp/private_key_12301036188585033890.key (/w/workspace/edgexfoundry_device-gpio_PR-214@tmp/private_key_12301036188585033890.key) 14:44:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:44:35 + git tag --points-at HEAD [Pipeline] } 14:44:35 $ docker exec --env ******** --env ******** e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 ssh-agent -k 14:44:35 unset SSH_AUTH_SOCK; 14:44:35 unset SSH_AGENT_PID; 14:44:35 echo Agent pid 37 killed; 14:44:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:44:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:44:35 [ssh-agent] Looking for ssh-agent implementation... 14:44:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:44:35 $ docker exec e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 ssh-agent 14:44:35 SSH_AUTH_SOCK=/tmp/ssh-YRwXImTuuONt/agent.69 14:44:35 SSH_AGENT_PID=75 14:44:35 Running ssh-add (command line suppressed) 14:44:35 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-214@tmp/private_key_8515706951318329562.key (/w/workspace/edgexfoundry_device-gpio_PR-214@tmp/private_key_8515706951318329562.key) 14:44:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:44:36 + git semver init 14:44:36 2023-11-08 14:44:36,432 [run_init] DEBUG init version:0.0.0 force:False 14:44:36 2023-11-08 14:44:36,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-214/.semver 14:44:36 2023-11-08 14:44:36,433 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-214/.semver 14:44:36 2023-11-08 14:44:36,433 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-214/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-214, universal_newlines=False, shell=None, istream=None) 14:44:37 2023-11-08 14:44:37,531 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-214/.git/info/exclude 14:44:37 2023-11-08 14:44:37,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-214/.semver/PR-214 with force:False 14:44:37 2023-11-08 14:44:37,532 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-214/.semver/PR-214 14:44:37 2023-11-08 14:44:37,537 [execute] INFO git cat-file --batch-check 14:44:37 2023-11-08 14:44:37,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-214/.semver, universal_newlines=False, shell=None, istream=) 14:44:37 2023-11-08 14:44:37,545 [execute] INFO git cat-file --batch 14:44:37 2023-11-08 14:44:37,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-214/.semver, universal_newlines=False, shell=None, istream=) 14:44:37 2023-11-08 14:44:37,551 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-214/.semver/PR-214 14:44:37 0.0.0 [Pipeline] } 14:44:37 $ docker exec --env ******** --env ******** e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 ssh-agent -k 14:44:38 unset SSH_AUTH_SOCK; 14:44:38 unset SSH_AGENT_PID; 14:44:38 echo Agent pid 75 killed; 14:44:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:44:38 + git semver [Pipeline] } 14:44:38 $ docker stop --time=1 e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 14:44:40 $ docker rm -f --volumes e358a92041541ca439f999c0e4395a62e003b99f82adf91fe7ec78329cf33c80 [Pipeline] // withDockerContainer [Pipeline] sh 14:44:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:44:40 Stashed 1 file(s) [Pipeline] echo 14:44:40 [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 14:44:41 provisioning config files... 14:44:41 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-214@tmp/config14216030698901728139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:41 ---> docker-login.sh 14:44:41 nexus3.edgexfoundry.org:10001 14:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:41 Configure a credential helper to remove this warning. See 14:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:41 14:44:41 Login Succeeded 14:44:41 nexus3.edgexfoundry.org:10002 14:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:42 Configure a credential helper to remove this warning. See 14:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:42 14:44:42 Login Succeeded 14:44:42 nexus3.edgexfoundry.org:10003 14:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:42 Configure a credential helper to remove this warning. See 14:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:42 14:44:42 Login Succeeded 14:44:42 nexus3.edgexfoundry.org:10004 14:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:42 Configure a credential helper to remove this warning. See 14:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:42 14:44:42 Login Succeeded 14:44:42 docker.io 14:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:42 Configure a credential helper to remove this warning. See 14:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:42 14:44:42 Login Succeeded 14:44:42 ---> docker-login.sh ends [Pipeline] } 14:44:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:44:42 ========================================================= 14:44:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:44:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:44:43 Sending build context to Docker daemon 16.18MB 14:44:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:44:43 Step 2/12 : FROM ${BASE} AS builder 14:44:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:44:43 7264a8db6415: Pulling fs layer 14:44:43 c4d48a809fc2: Pulling fs layer 14:44:43 4f1c88b9dad5: Pulling fs layer 14:44:43 ad3a456e5733: Pulling fs layer 14:44:43 33e27b845d1e: Pulling fs layer 14:44:43 c68163c4e522: Pulling fs layer 14:44:43 50da416c3ac9: Pulling fs layer 14:44:43 23d2d4c4bb30: Pulling fs layer 14:44:43 ad3a456e5733: Waiting 14:44:43 33e27b845d1e: Waiting 14:44:43 c68163c4e522: Waiting 14:44:43 23d2d4c4bb30: Waiting 14:44:43 50da416c3ac9: Waiting 14:44:43 c4d48a809fc2: Download complete 14:44:43 ad3a456e5733: Download complete 14:44:43 33e27b845d1e: Download complete 14:44:43 7264a8db6415: Verifying Checksum 14:44:43 7264a8db6415: Download complete 14:44:43 c68163c4e522: Verifying Checksum 14:44:43 c68163c4e522: Download complete 14:44:43 7264a8db6415: Pull complete 14:44:43 23d2d4c4bb30: Verifying Checksum 14:44:43 23d2d4c4bb30: Download complete 14:44:43 c4d48a809fc2: Pull complete 14:44:44 4f1c88b9dad5: Download complete 14:44:44 50da416c3ac9: Verifying Checksum 14:44:44 50da416c3ac9: Download complete 14:44:47 4f1c88b9dad5: Pull complete 14:44:47 ad3a456e5733: Pull complete 14:44:47 33e27b845d1e: Pull complete 14:44:47 c68163c4e522: Pull complete 14:44:50 50da416c3ac9: Pull complete 14:44:50 23d2d4c4bb30: Pull complete 14:44:50 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:44:50 ---> 0786185ac409 14:44:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:44:56 Still waiting to schedule task 14:44:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:45:00 ---> Running in ab7b98612d62 14:45:00 Removing intermediate container ab7b98612d62 14:45:00 ---> 9868ed8f0582 14:45:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:45:00 ---> Running in ca5ef9676d2b 14:45:00 Removing intermediate container ca5ef9676d2b 14:45:00 ---> 0389ec0c3ed2 14:45:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 14:45:00 ---> Running in 8f4829a025a7 14:45:00 Removing intermediate container 8f4829a025a7 14:45:00 ---> 370dbc49f501 14:45:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:45:00 ---> Running in 8a072d83ceb8 14:45:00 Removing intermediate container 8a072d83ceb8 14:45:00 ---> d69929028d7a 14:45:00 Step 7/12 : WORKDIR /device-gpio 14:45:00 ---> Running in 5db7d3c9c86d 14:45:00 Removing intermediate container 5db7d3c9c86d 14:45:00 ---> 1de9e2724e25 14:45:00 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:45:00 ---> Running in 88f001f927da 14:45:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:45:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:45:00 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:45:00 (2/4) Installing libedit (20221030.3.1-r1) 14:45:00 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:45:00 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:45:00 Executing busybox-1.36.1-r2.trigger 14:45:00 OK: 268 MiB in 56 packages 14:45:01 Removing intermediate container 88f001f927da 14:45:01 ---> 4a18da56da36 14:45:01 Step 9/12 : COPY go.mod vendor* ./ 14:45:01 ---> 20e474cd3b6a 14:45:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:45:01 ---> Running in 21bc89b80d91 14:45:47 Removing intermediate container 21bc89b80d91 14:45:47 ---> 2b77c839d3aa 14:45:47 Step 11/12 : COPY . . 14:45:47 ---> d4fc578557e9 14:45:47 Step 12/12 : RUN ${MAKE} 14:45:47 ---> Running in f2f15f965c20 14:45:47 noop 14:45:47 Removing intermediate container f2f15f965c20 14:45:47 ---> b42bb792320a 14:45:47 Successfully built b42bb792320a 14:45:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:48 + docker inspect -f . ci-base-image-x86_64 14:45:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:48 prd-ubuntu20.04-docker-8c-8g-17024 does not seem to be running inside a container 14:45:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-214 -v /w/workspace/edgexfoundry_device-gpio_PR-214:/w/workspace/edgexfoundry_device-gpio_PR-214:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-214@tmp:/w/workspace/edgexfoundry_device-gpio_PR-214@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 ******** ci-base-image-x86_64 cat 14:45:48 $ docker top 2a1660a59e677615f5a8617fd8cedee652126c494ef470188e2575b775386bbb -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:49 + go version 14:45:49 go version go1.21.0 linux/amd64 [Pipeline] } 14:45:49 $ docker stop --time=1 2a1660a59e677615f5a8617fd8cedee652126c494ef470188e2575b775386bbb 14:45:52 $ docker rm -f --volumes 2a1660a59e677615f5a8617fd8cedee652126c494ef470188e2575b775386bbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:52 + docker inspect -f . ci-base-image-x86_64 14:45:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:53 prd-ubuntu20.04-docker-8c-8g-17024 does not seem to be running inside a container 14:45:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-214 -v /w/workspace/edgexfoundry_device-gpio_PR-214:/w/workspace/edgexfoundry_device-gpio_PR-214:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-214@tmp:/w/workspace/edgexfoundry_device-gpio_PR-214@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 ******** ci-base-image-x86_64 cat 14:45:53 $ docker top e26b9b315b1647000d05c346648e456ecf3dd6d8a11ac26e6438fcf93f8d8210 -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-214 [Pipeline] fileExists [Pipeline] sh 14:45:54 + make test 14:45:54 go test ./... -coverprofile=coverage.out ./... 14:45:56 ? github.com/edgexfoundry/device-gpio [no test files] 14:46:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:46:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:46:11 go vet ./... 14:46:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:46:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:46:15 ./bin/test-attribution-txt.sh [Pipeline] echo 14:46:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:46:15 $ docker stop --time=1 e26b9b315b1647000d05c346648e456ecf3dd6d8a11ac26e6438fcf93f8d8210 14:46:19 $ docker rm -f --volumes e26b9b315b1647000d05c346648e456ecf3dd6d8a11ac26e6438fcf93f8d8210 [Pipeline] // withDockerContainer [Pipeline] sh 14:46:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:46:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:46:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:46:21 + ls -al . 14:46:21 total 160 14:46:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 14:45 . 14:46:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 14:44 .. 14:46:21 -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 14:44 .dockerignore 14:46:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 14:46 .git 14:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:44 .github 14:46:21 -rw-rw-r-- 1 jenkins jenkins 277 Nov 8 14:44 .gitignore 14:46:21 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 14:44 .golangci.yml 14:46:21 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 14:44 .semver 14:46:21 -rw-rw-r-- 1 jenkins jenkins 10671 Nov 8 14:44 Attribution.txt 14:46:21 -rw-rw-r-- 1 jenkins jenkins 7171 Nov 8 14:44 CHANGELOG.md 14:46:21 -rw-rw-r-- 1 jenkins jenkins 1542 Nov 8 14:44 Dockerfile 14:46:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 14:44 GOVERNANCE.md 14:46:21 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 14:44 Jenkinsfile 14:46:21 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 14:44 LICENSE 14:46:21 -rw-rw-r-- 1 jenkins jenkins 1923 Nov 8 14:44 Makefile 14:46:21 -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 14:44 OWNERS.md 14:46:21 -rw-rw-r-- 1 jenkins jenkins 12217 Nov 8 14:44 README.md 14:46:21 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 14:44 VERSION 14:46:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 14:44 bin 14:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:44 cmd 14:46:21 -rw-r--r-- 1 jenkins jenkins 10 Nov 8 14:45 coverage.out 14:46:21 -rw-rw-r-- 1 jenkins jenkins 3698 Nov 8 14:44 go.mod 14:46:21 -rw-rw-r-- 1 jenkins jenkins 35450 Nov 8 14:44 go.sum 14:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:44 internal 14:46:21 -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 14:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:21 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=26eba03a187839eef1badded9004dda4846ea3ca --label arch=amd64 --label version=0.0.0 . 14:46:21 Sending build context to Docker daemon 16.18MB 14:46:21 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:46:21 Step 2/25 : FROM ${BASE} AS builder 14:46:21 ---> b42bb792320a 14:46:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:46:22 ---> Running in 33b0615987ba 14:46:22 Removing intermediate container 33b0615987ba 14:46:22 ---> 4c49738e84ce 14:46:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:46:22 ---> Running in 7c87b2c7f084 14:46:22 Removing intermediate container 7c87b2c7f084 14:46:22 ---> 4ea307036bf1 14:46:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 14:46:22 ---> Running in fd1e87a03d90 14:46:22 Removing intermediate container fd1e87a03d90 14:46:22 ---> fd39ffbcee51 14:46:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:46:22 ---> Running in b10ece6ed300 14:46:22 Removing intermediate container b10ece6ed300 14:46:22 ---> be0ca4d3ce0b 14:46:22 Step 7/25 : WORKDIR /device-gpio 14:46:22 ---> Running in b3bb0f2a6b79 14:46:22 Removing intermediate container b3bb0f2a6b79 14:46:22 ---> c0d931e5217b 14:46:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:46:22 ---> Running in 9cfb334cc3cf 14:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:46:23 OK: 268 MiB in 56 packages 14:46:23 Removing intermediate container 9cfb334cc3cf 14:46:23 ---> 46709d38a95e 14:46:23 Step 9/25 : COPY go.mod vendor* ./ 14:46:23 ---> 81957693d47a 14:46:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:46:23 ---> Running in cae4cd56c0b5 14:46:24 Removing intermediate container cae4cd56c0b5 14:46:24 ---> ebe16e92d4ad 14:46:24 Step 11/25 : COPY . . 14:46:25 ---> b52c1be21ae4 14:46:25 Step 12/25 : RUN ${MAKE} 14:46:25 ---> Running in 7b84001b0dbe 14:46:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 14:46:47 Removing intermediate container 7b84001b0dbe 14:46:47 ---> 450e04fa1aca 14:46:47 Step 13/25 : FROM alpine:3.18 14:46:47 3.18: Pulling from library/alpine 14:46:47 96526aa774ef: Pulling fs layer 14:46:47 96526aa774ef: Verifying Checksum 14:46:47 96526aa774ef: Download complete 14:46:47 96526aa774ef: Pull complete 14:46:47 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:46:47 Status: Downloaded newer image for alpine:3.18 14:46:47 ---> 8ca4688f4f35 14:46:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:46:47 ---> Running in 822f35098dd2 14:46:47 Removing intermediate container 822f35098dd2 14:46:47 ---> c17b970e5fa7 14:46:47 Step 15/25 : RUN apk add --update --no-cache 14:46:47 ---> Running in 343d003176ef 14:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:46:48 OK: 7 MiB in 15 packages 14:46:48 Removing intermediate container 343d003176ef 14:46:48 ---> 2f94377dafc7 14:46:48 Step 16/25 : WORKDIR / 14:46:48 ---> Running in 9694923e9fad 14:46:48 Removing intermediate container 9694923e9fad 14:46:48 ---> 44370d8d5b7b 14:46:48 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:46:48 ---> 23c5018a6c5f 14:46:48 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:46:48 ---> d23c98ef378f 14:46:48 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:46:49 ---> 785ea924ef8c 14:46:49 Step 20/25 : EXPOSE 59910 14:46:49 ---> Running in 8bc3daac2dbd 14:46:49 Removing intermediate container 8bc3daac2dbd 14:46:49 ---> 3f410de42a40 14:46:49 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:46:49 ---> Running in c98b58f51f6f 14:46:49 Removing intermediate container c98b58f51f6f 14:46:49 ---> 67a4ea4993ba 14:46:49 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:46:49 ---> Running in bc9b89e99fea 14:46:49 Removing intermediate container bc9b89e99fea 14:46:49 ---> 549857df33b8 14:46:49 Step 23/25 : LABEL arch=amd64 14:46:50 ---> Running in 70f8905adcd6 14:46:50 Removing intermediate container 70f8905adcd6 14:46:50 ---> 7d5297fa04be 14:46:50 Step 24/25 : LABEL git_sha=26eba03a187839eef1badded9004dda4846ea3ca 14:46:50 ---> Running in 9ff04348bd14 14:46:50 Removing intermediate container 9ff04348bd14 14:46:50 ---> d24729abfb61 14:46:50 Step 25/25 : LABEL version=0.0.0 14:46:50 ---> Running in 4210361a9513 14:46:50 Removing intermediate container 4210361a9513 14:46:50 ---> 502e82a832a4 14:46:50 [Warning] One or more build-args [ARCH] were not consumed 14:46:50 Successfully built 502e82a832a4 14:46:50 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:46:51 14:46:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:46:51 latest: Pulling from edgex-lftools-log-publisher 14:46:51 5eb5b503b376: Pulling fs layer 14:46:51 5c69ac0246d0: Pulling fs layer 14:46:51 ec43610c2a17: Pulling fs layer 14:46:51 3a2ae6a8a46f: Pulling fs layer 14:46:51 33b1e0a273af: Pulling fs layer 14:46:51 5d3b04190fa2: Pulling fs layer 14:46:51 2f39f015ded8: Pulling fs layer 14:46:51 33b1e0a273af: Waiting 14:46:51 3a2ae6a8a46f: Waiting 14:46:51 2f39f015ded8: Waiting 14:46:51 5c69ac0246d0: Verifying Checksum 14:46:51 5c69ac0246d0: Download complete 14:46:51 3a2ae6a8a46f: Download complete 14:46:51 33b1e0a273af: Verifying Checksum 14:46:51 33b1e0a273af: Download complete 14:46:51 5d3b04190fa2: Verifying Checksum 14:46:51 5d3b04190fa2: Download complete 14:46:51 ec43610c2a17: Verifying Checksum 14:46:51 ec43610c2a17: Download complete 14:46:51 5eb5b503b376: Verifying Checksum 14:46:51 5eb5b503b376: Download complete 14:46:52 2f39f015ded8: Download complete 14:46:53 5eb5b503b376: Pull complete 14:46:53 5c69ac0246d0: Pull complete 14:46:53 ec43610c2a17: Pull complete 14:46:53 3a2ae6a8a46f: Pull complete 14:46:54 33b1e0a273af: Pull complete 14:46:54 5d3b04190fa2: Pull complete 14:46:59 2f39f015ded8: Pull complete 14:46:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:46:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:47:00 prd-ubuntu20.04-docker-8c-8g-17024 does not seem to be running inside a container 14:47:00 $ 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-214 -v /w/workspace/edgexfoundry_device-gpio_PR-214:/w/workspace/edgexfoundry_device-gpio_PR-214:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-214@tmp:/w/workspace/edgexfoundry_device-gpio_PR-214@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 14:47:15 $ docker top 6ab7535d106d00ecf76533b9e45e44a3b487f24c11d8cd2e6990530888ee3c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:16 ---> job-cost.sh 14:47:16 lf-activate-venv: SKIPPING 14:47:16 INFO: No Stack... 14:47:16 INFO: Retrieving Pricing Info for: v3-standard-8 14:47:16 INFO: Archiving Costs [Pipeline] sh 14:47:16 + cat /w/workspace/edgexfoundry_device-gpio_PR-214/archives/cost.csv 14:47:16 + cut -d, -f6 [Pipeline] lock 14:47:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] 14:47:16 Resource [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] did not exist. Created. 14:47:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:47:17 + echo total: 0.2199999988079071 [Pipeline] stash 14:47:17 Stashed 1 file(s) [Pipeline] } 14:47:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:47:17 $ docker stop --time=1 6ab7535d106d00ecf76533b9e45e44a3b487f24c11d8cd2e6990530888ee3c6f 14:47:18 $ docker rm -f --volumes 6ab7535d106d00ecf76533b9e45e44a3b487f24c11d8cd2e6990530888ee3c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:48:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17026 in /w/workspace/edgexfoundry_device-gpio_PR-214 [Pipeline] { [Pipeline] ws 14:48:27 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 14:48:27 The recommended git tool is: git 14:48:37 using credential edgex-jenkins-ssh 14:48:37 Cloning the remote Git repository 14:48:37 Cloning repository git@github.com:edgexfoundry/device-gpio.git 14:48:37 > git init /w/workspace/device-gpio/1 # timeout=10 14:48:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:48:37 > git --version # timeout=10 14:48:37 > git --version # 'git version 2.25.1' 14:48:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:48:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:48:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:48:41 Merging remotes/origin/main commit 7dc6282e6f484b8ebccec722045a9c6b5647f969 into PR head commit 26eba03a187839eef1badded9004dda4846ea3ca 14:48:42 Merge succeeded, producing 26eba03a187839eef1badded9004dda4846ea3ca 14:48:42 Checking out Revision 26eba03a187839eef1badded9004dda4846ea3ca (PR-214) 14:48:41 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 14:48:41 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 14:48:41 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/214/head:refs/remotes/origin/PR-214 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:48:41 > git config core.sparsecheckout # timeout=10 14:48:41 > git checkout -f 26eba03a187839eef1badded9004dda4846ea3ca # timeout=10 14:48:42 > git remote # timeout=10 14:48:42 > git config --get remote.origin.url # timeout=10 14:48:42 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:42 > git merge 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 14:48:42 > git rev-parse HEAD^{commit} # timeout=10 14:48:42 > git config core.sparsecheckout # timeout=10 14:48:42 > git checkout -f 26eba03a187839eef1badded9004dda4846ea3ca # timeout=10 14:48:45 Commit message: "docs: Update changelog for 3.1 release" 14:48:45 > git --version # timeout=10 14:48:45 > git --version # 'git version 2.25.1' 14:48:45 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:48:47 % Total % Received % Xferd Average Speed Time Time Time Current 14:48:47 Dload Upload Total Spent Left Speed 14:48:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12682 83 10471 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 100 12682 100 12682 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 14:48:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:48:48 + sudo tee /etc/docker/daemon.new 14:48:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:48:48 { 14:48:48 "registry-mirrors": [ 14:48:48 "https://nexus3.edgexfoundry.org:10001" 14:48:48 ], 14:48:48 "bip": "10.250.0.254/24", 14:48:48 "hosts": [ 14:48:48 "tcp://0.0.0.0:5555", 14:48:48 "unix:///var/run/docker.sock" 14:48:48 ], 14:48:48 "mtu": 1458, 14:48:48 "selinux-enabled": true, 14:48:48 "seccomp-profile": "/etc/docker/seccomp.json" 14:48:48 } [Pipeline] sh 14:48:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:48:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:07 provisioning config files... 14:49:07 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config13664038355394845831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:07 ---> docker-login.sh 14:49:07 nexus3.edgexfoundry.org:10001 14:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:08 Configure a credential helper to remove this warning. See 14:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:08 14:49:08 Login Succeeded 14:49:08 nexus3.edgexfoundry.org:10002 14:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:08 Configure a credential helper to remove this warning. See 14:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:08 14:49:08 Login Succeeded 14:49:08 nexus3.edgexfoundry.org:10003 14:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:09 Configure a credential helper to remove this warning. See 14:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:09 14:49:09 Login Succeeded 14:49:09 nexus3.edgexfoundry.org:10004 14:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:09 Configure a credential helper to remove this warning. See 14:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:09 14:49:09 Login Succeeded 14:49:09 docker.io 14:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:09 Configure a credential helper to remove this warning. See 14:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:09 14:49:09 Login Succeeded 14:49:10 ---> docker-login.sh ends [Pipeline] } 14:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:49:10 ========================================================= 14:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:49:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:49:11 Sending build context to Docker daemon 8.157MB 14:49:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:49:11 Step 2/12 : FROM ${BASE} AS builder 14:49:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:49:11 9fda8d8052c6: Pulling fs layer 14:49:11 5d54e960e981: Pulling fs layer 14:49:11 c4a7e357bf2a: Pulling fs layer 14:49:11 f0e02332f6b5: Pulling fs layer 14:49:11 cefa15bbcfad: Pulling fs layer 14:49:11 17808c966233: Pulling fs layer 14:49:11 f4c1fc716caa: Pulling fs layer 14:49:11 cefa15bbcfad: Waiting 14:49:11 17808c966233: Waiting 14:49:11 f0e02332f6b5: Waiting 14:49:11 f4c1fc716caa: Waiting 14:49:11 5d54e960e981: Verifying Checksum 14:49:11 5d54e960e981: Download complete 14:49:11 f0e02332f6b5: Verifying Checksum 14:49:11 f0e02332f6b5: Download complete 14:49:11 cefa15bbcfad: Verifying Checksum 14:49:11 cefa15bbcfad: Download complete 14:49:12 9fda8d8052c6: Verifying Checksum 14:49:12 9fda8d8052c6: Download complete 14:49:12 f4c1fc716caa: Verifying Checksum 14:49:12 f4c1fc716caa: Download complete 14:49:12 9fda8d8052c6: Pull complete 14:49:13 5d54e960e981: Pull complete 14:49:13 c4a7e357bf2a: Verifying Checksum 14:49:13 c4a7e357bf2a: Download complete 14:49:14 17808c966233: Verifying Checksum 14:49:14 17808c966233: Download complete 14:49:27 c4a7e357bf2a: Pull complete 14:49:27 f0e02332f6b5: Pull complete 14:49:27 cefa15bbcfad: Pull complete 14:49:37 17808c966233: Pull complete 14:49:37 f4c1fc716caa: Pull complete 14:49:37 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:49:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:49:37 ---> ea914061e18c 14:49:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:49:38 ---> Running in e86edc3eac2f 14:49:38 Removing intermediate container e86edc3eac2f 14:49:38 ---> 6919988a1637 14:49:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:49:38 ---> Running in 7c7a9b1940b4 14:49:38 Removing intermediate container 7c7a9b1940b4 14:49:38 ---> 243a9de9e93e 14:49:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 14:49:38 ---> Running in b3686f87b5c1 14:49:39 Removing intermediate container b3686f87b5c1 14:49:39 ---> 029abc2b52b8 14:49:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:49:39 ---> Running in fb354653cea4 14:49:39 Removing intermediate container fb354653cea4 14:49:39 ---> ae32f2302328 14:49:39 Step 7/12 : WORKDIR /device-gpio 14:49:39 ---> Running in 1eea75bfecef 14:49:40 Removing intermediate container 1eea75bfecef 14:49:40 ---> 9b83dd2426c7 14:49:40 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:49:40 ---> Running in 1388a7b202df 14:49:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:49:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:49:43 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:49:43 (2/4) Installing libedit (20221030.3.1-r1) 14:49:43 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:49:43 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:49:43 Executing busybox-1.36.1-r2.trigger 14:49:43 OK: 270 MiB in 56 packages 14:49:45 Removing intermediate container 1388a7b202df 14:49:45 ---> 19357b5f9b84 14:49:45 Step 9/12 : COPY go.mod vendor* ./ 14:49:47 ---> 85ecc304efc5 14:49:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:49:47 ---> Running in 5e21950a9e8b 14:51:08 Removing intermediate container 5e21950a9e8b 14:51:08 ---> d652c9ad5b87 14:51:08 Step 11/12 : COPY . . 14:51:08 ---> 3f23ef7b9483 14:51:08 Step 12/12 : RUN ${MAKE} 14:51:08 ---> Running in fe7d457d2e01 14:51:08 noop 14:51:08 Removing intermediate container fe7d457d2e01 14:51:08 ---> c683ffa17024 14:51:08 Successfully built c683ffa17024 14:51:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:09 + docker inspect -f . ci-base-image-arm64 14:51:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:51:09 prd-ubuntu20.04-docker-arm64-4c-16g-17026 does not seem to be running inside a container 14:51:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:51:10 $ docker top 831b854af02a34aade6de63e747f6c91e9b88c57f55ba8626c8b1e4e84e83f99 -eo pid,comm [Pipeline] { [Pipeline] sh 14:51:11 + go version 14:51:11 go version go1.21.0 linux/arm64 [Pipeline] } 14:51:11 $ docker stop --time=1 831b854af02a34aade6de63e747f6c91e9b88c57f55ba8626c8b1e4e84e83f99 14:51:13 $ docker rm -f --volumes 831b854af02a34aade6de63e747f6c91e9b88c57f55ba8626c8b1e4e84e83f99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:14 + docker inspect -f . ci-base-image-arm64 14:51:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:51:14 prd-ubuntu20.04-docker-arm64-4c-16g-17026 does not seem to be running inside a container 14:51:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:51:15 $ docker top b8fe27fc406e825516ef42544153278fc3ef7223843b0af6274c381b4a009c36 -eo pid,comm [Pipeline] { [Pipeline] sh 14:51:16 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 14:51:16 + make test 14:51:16 go test ./... -coverprofile=coverage.out ./... 14:51:21 ? github.com/edgexfoundry/device-gpio [no test files] 14:52:42 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 14:52:42 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 14:52:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:52:42 go vet ./... 14:53:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:53:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:53:04 ./bin/test-attribution-txt.sh [Pipeline] echo 14:53:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:53:04 $ docker stop --time=1 b8fe27fc406e825516ef42544153278fc3ef7223843b0af6274c381b4a009c36 14:53:06 $ docker rm -f --volumes b8fe27fc406e825516ef42544153278fc3ef7223843b0af6274c381b4a009c36 [Pipeline] // withDockerContainer [Pipeline] sh 14:53:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:53:07 Warning: overwriting stash ‘coverage-report’ 14:53:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:53:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:53:09 + ls -al . 14:53:09 total 156 14:53:09 drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 14:51 . 14:53:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 14:48 .. 14:53:09 -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 14:48 .dockerignore 14:53:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 14:48 .git 14:53:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:48 .github 14:53:09 -rw-rw-r-- 1 jenkins jenkins 277 Nov 8 14:48 .gitignore 14:53:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 14:48 .golangci.yml 14:53:09 -rw-rw-r-- 1 jenkins jenkins 10671 Nov 8 14:48 Attribution.txt 14:53:09 -rw-rw-r-- 1 jenkins jenkins 7171 Nov 8 14:48 CHANGELOG.md 14:53:09 -rw-rw-r-- 1 jenkins jenkins 1542 Nov 8 14:48 Dockerfile 14:53:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 14:48 GOVERNANCE.md 14:53:09 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 14:48 Jenkinsfile 14:53:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 14:48 LICENSE 14:53:09 -rw-rw-r-- 1 jenkins jenkins 1923 Nov 8 14:48 Makefile 14:53:09 -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 14:48 OWNERS.md 14:53:09 -rw-rw-r-- 1 jenkins jenkins 12217 Nov 8 14:48 README.md 14:53:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 14:44 VERSION 14:53:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 14:48 bin 14:53:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:48 cmd 14:53:09 -rw-r--r-- 1 jenkins jenkins 10 Nov 8 14:51 coverage.out 14:53:09 -rw-rw-r-- 1 jenkins jenkins 3698 Nov 8 14:48 go.mod 14:53:09 -rw-rw-r-- 1 jenkins jenkins 35450 Nov 8 14:48 go.sum 14:53:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:48 internal 14:53:09 -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 14:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:09 + 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=26eba03a187839eef1badded9004dda4846ea3ca --label arch=arm64 --label version=0.0.0 . 14:53:10 Sending build context to Docker daemon 8.158MB 14:53:10 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:53:10 Step 2/25 : FROM ${BASE} AS builder 14:53:10 ---> c683ffa17024 14:53:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:53:10 ---> Running in c609f14e8bd4 14:53:10 Removing intermediate container c609f14e8bd4 14:53:10 ---> 40ad88326298 14:53:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:53:10 ---> Running in 8f0ecade6851 14:53:11 Removing intermediate container 8f0ecade6851 14:53:11 ---> 50a5f0a4c7d8 14:53:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 14:53:11 ---> Running in 5aa04a6af1af 14:53:11 Removing intermediate container 5aa04a6af1af 14:53:11 ---> 873b71dbae3b 14:53:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:53:11 ---> Running in 4f899766c4dd 14:53:11 Removing intermediate container 4f899766c4dd 14:53:11 ---> c377e3240f83 14:53:11 Step 7/25 : WORKDIR /device-gpio 14:53:12 ---> Running in cc3021c293f0 14:53:12 Removing intermediate container cc3021c293f0 14:53:12 ---> cbce86f9a43c 14:53:12 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:53:12 ---> Running in 23b1e1301f74 14:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:53:14 OK: 270 MiB in 56 packages 14:53:16 Removing intermediate container 23b1e1301f74 14:53:16 ---> 17a641902b89 14:53:16 Step 9/25 : COPY go.mod vendor* ./ 14:53:16 ---> dbb289edb6d6 14:53:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:53:16 ---> Running in 5deff76df07d 14:53:18 Removing intermediate container 5deff76df07d 14:53:18 ---> b05f53209982 14:53:18 Step 11/25 : COPY . . 14:53:19 ---> 1385063a5407 14:53:19 Step 12/25 : RUN ${MAKE} 14:53:19 ---> Running in 1cf21c9d1e29 14:53:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 14:55:12 Removing intermediate container 1cf21c9d1e29 14:55:12 ---> b459a8b820b2 14:55:12 Step 13/25 : FROM alpine:3.18 14:55:12 3.18: Pulling from library/alpine 14:55:12 579b34f0a95b: Pulling fs layer 14:55:12 579b34f0a95b: Download complete 14:55:12 579b34f0a95b: Pull complete 14:55:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:55:12 Status: Downloaded newer image for alpine:3.18 14:55:12 ---> 3cc203321400 14:55:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 14:55:12 ---> Running in 443d764eccfa 14:55:12 Removing intermediate container 443d764eccfa 14:55:12 ---> 5ba699161bd1 14:55:12 Step 15/25 : RUN apk add --update --no-cache 14:55:12 ---> Running in 249450392d66 14:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:55:12 OK: 8 MiB in 15 packages 14:55:12 Removing intermediate container 249450392d66 14:55:12 ---> a08b859ccd6f 14:55:12 Step 16/25 : WORKDIR / 14:55:12 ---> Running in 19ebf1e84a18 14:55:12 Removing intermediate container 19ebf1e84a18 14:55:12 ---> af321651e789 14:55:12 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 14:55:12 ---> 70c2b1aacf6f 14:55:12 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 14:55:12 ---> 1e3c05cddd7a 14:55:12 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 14:55:13 ---> 998c2e0420df 14:55:13 Step 20/25 : EXPOSE 59910 14:55:13 ---> Running in 53db1310d1d6 14:55:13 Removing intermediate container 53db1310d1d6 14:55:13 ---> 04f0d056f436 14:55:13 Step 21/25 : ENTRYPOINT ["/device-gpio"] 14:55:13 ---> Running in 3a717c0a0f82 14:55:13 Removing intermediate container 3a717c0a0f82 14:55:13 ---> 41877a40fa47 14:55:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:55:13 ---> Running in 7294801fea01 14:55:14 Removing intermediate container 7294801fea01 14:55:14 ---> c6ea09896e77 14:55:14 Step 23/25 : LABEL arch=arm64 14:55:14 ---> Running in 689e9a4a8675 14:55:14 Removing intermediate container 689e9a4a8675 14:55:14 ---> a4e1f04f5603 14:55:14 Step 24/25 : LABEL git_sha=26eba03a187839eef1badded9004dda4846ea3ca 14:55:14 ---> Running in ac69c9787ef9 14:55:15 Removing intermediate container ac69c9787ef9 14:55:15 ---> 1448eeffd205 14:55:15 Step 25/25 : LABEL version=0.0.0 14:55:15 ---> Running in fb701a982996 14:55:15 Removing intermediate container fb701a982996 14:55:15 ---> 6740a2b67f05 14:55:15 [Warning] One or more build-args [ARCH] were not consumed 14:55:15 Successfully built 6740a2b67f05 14:55:15 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 14:55:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:16 14:55:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:16 arm64: Pulling from edgex-lftools-log-publisher 14:55:16 8998bd30e6a1: Pulling fs layer 14:55:16 04944245beec: Pulling fs layer 14:55:16 699f458cf7ca: Pulling fs layer 14:55:16 765212b225bb: Pulling fs layer 14:55:16 f23df028b6ca: Pulling fs layer 14:55:16 d65c8cfc05b1: Pulling fs layer 14:55:16 2437ff75d9bd: Pulling fs layer 14:55:16 f23df028b6ca: Waiting 14:55:16 d65c8cfc05b1: Waiting 14:55:16 2437ff75d9bd: Waiting 14:55:16 765212b225bb: Waiting 14:55:16 04944245beec: Verifying Checksum 14:55:16 04944245beec: Download complete 14:55:16 765212b225bb: Verifying Checksum 14:55:16 765212b225bb: Download complete 14:55:16 f23df028b6ca: Verifying Checksum 14:55:16 f23df028b6ca: Download complete 14:55:16 d65c8cfc05b1: Verifying Checksum 14:55:16 d65c8cfc05b1: Download complete 14:55:17 699f458cf7ca: Verifying Checksum 14:55:17 699f458cf7ca: Download complete 14:55:17 8998bd30e6a1: Verifying Checksum 14:55:17 8998bd30e6a1: Download complete 14:55:19 2437ff75d9bd: Verifying Checksum 14:55:19 2437ff75d9bd: Download complete 14:55:24 8998bd30e6a1: Pull complete 14:55:24 04944245beec: Pull complete 14:55:26 699f458cf7ca: Pull complete 14:55:26 765212b225bb: Pull complete 14:55:27 f23df028b6ca: Pull complete 14:55:27 d65c8cfc05b1: Pull complete 14:55:45 2437ff75d9bd: Pull complete 14:55:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:55:45 prd-ubuntu20.04-docker-arm64-4c-16g-17026 does not seem to be running inside a container 14:55:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:55:48 $ docker top fe58bb9b31dc6e1c847a4a1a99232205b2fb22fb3631ed8a83b4741e173b2675 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:49 ---> job-cost.sh 14:55:49 lf-activate-venv: SKIPPING 14:55:49 INFO: No Stack... 14:55:49 INFO: Retrieving Pricing Info for: v3-standard-4 14:55:50 INFO: Archiving Costs [Pipeline] sh 14:55:51 + cat /w/workspace/device-gpio/1/archives/cost.csv 14:55:51 + cut -d, -f6 [Pipeline] lock 14:55:51 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] 14:55:51 Resource [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] did not exist. Created. 14:55:51 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:55:52 /w/workspace/device-gpio/1@tmp/durable-ad7ccf89/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:55:52 + echo total: 0.10999999940395355 [Pipeline] stash 14:55:52 Warning: overwriting stash ‘stack-cost’ 14:55:52 Stashed 1 file(s) [Pipeline] } 14:55:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-214-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:55:53 $ docker stop --time=1 fe58bb9b31dc6e1c847a4a1a99232205b2fb22fb3631ed8a83b4741e173b2675 14:55:54 $ docker rm -f --volumes fe58bb9b31dc6e1c847a4a1a99232205b2fb22fb3631ed8a83b4741e173b2675 [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 14:55:55 provisioning config files... 14:55:55 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-214@tmp/config10986325423014730696tmp [Pipeline] { [Pipeline] sh 14:55:56 + set +x 14:55:56 + bash -s -- 14:55:56 + curl -s https://codecov.io/bash 14:55:56 14:55:56 _____ _ 14:55:56 / ____| | | 14:55:56 | | ___ __| | ___ ___ _____ __ 14:55:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:55:56 | |___| (_) | (_| | __/ (_| (_) \ V / 14:55:56 \_____\___/ \__,_|\___|\___\___/ \_/ 14:55:56 Bash-1.0.6 14:55:56 14:55:56 14:55:56 ==> git version 2.25.1 found 14:55:56 ==> 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 14:55:56 Release-Date: 2020-01-08 14:55:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:55:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:55:56 ==> Jenkins CI detected. 14:55:56 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-214 14:55:56 project root: . 14:55:56 --> token set from env 14:55:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:55:56 ==> Running gcov in . (disable via -X gcov) 14:55:56 ==> Python coveragepy not found 14:55:56 ==> Searching for coverage reports in: 14:55:56 + . 14:55:56 -> Found 1 reports 14:55:56 ==> Detecting git/mercurial file structure 14:55:56 ==> Reading reports 14:55:56 + ./coverage.out bytes=10 14:55:56 ==> Appending adjustments 14:55:56 https://docs.codecov.io/docs/fixing-reports 14:55:56 + Found adjustments 14:55:56 ==> Gzipping contents 14:55:56 4.0K /tmp/codecov.u7BIoI.gz 14:55:56 ==> Uploading reports 14:55:56 url: https://codecov.io 14:55:56 query: branch=PR-214&commit=26eba03a187839eef1badded9004dda4846ea3ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=214&job=&cmd_args= 14:55:56 -> Pinging Codecov 14:55:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-214&commit=26eba03a187839eef1badded9004dda4846ea3ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=214&job=&cmd_args= 14:55:56 -> Uploading to 14:55:56 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/26eba03a187839eef1badded9004dda4846ea3ca/16efc9f7-b354-4fb1-a979-12c374a8867d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T145556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efa80fce82c2a257d342282cd0cda17c6bc4b679663e9194cca142ed1f4af4b5 14:55:56 % Total % Received % Xferd Average Speed Time Time Time Current 14:55:56 Dload Upload Total Spent Left Speed 14:55:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2480 --:--:-- --:--:-- --:--:-- 2469 100 563 0 0 100 563 0 1968 --:--:-- --:--:-- --:--:-- 1961 14:55:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/26eba03a187839eef1badded9004dda4846ea3ca [Pipeline] } 14:55:56 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 14:55:58 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-214/archives ] 14:55:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-214/archives 14:55:58 total 16 14:55:58 drwxr-xr-x 3 root root 4096 Nov 8 14:47 . 14:55:58 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 14:47 .. 14:55:58 drwxr-xr-x 2 root root 4096 Nov 8 14:47 cost 14:55:58 -rw-r--r-- 1 root root 83 Nov 8 14:47 cost.csv 14:55:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-214/archives 14:55:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-214/archives 14:55:58 total 16 14:55:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 14:47 . 14:55:58 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 14:47 .. 14:55:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 14:47 cost 14:55:58 -rw-r--r-- 1 jenkins jenkins 83 Nov 8 14:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:55:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:55:59 ---> package-listing.sh 14:55:59 ++ facter osfamily 14:55:59 ++ tr '[:upper:]' '[:lower:]' 14:56:00 + OS_FAMILY=debian 14:56:00 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-214 14:56:00 + START_PACKAGES=/tmp/packages_start.txt 14:56:00 + END_PACKAGES=/tmp/packages_end.txt 14:56:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:56:00 + PACKAGES=/tmp/packages_start.txt 14:56:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-214 ']' 14:56:00 + PACKAGES=/tmp/packages_end.txt 14:56:00 + case "${OS_FAMILY}" in 14:56:00 + dpkg -l 14:56:00 + grep '^ii' 14:56:00 + '[' -f /tmp/packages_start.txt ']' 14:56:00 + '[' -f /tmp/packages_end.txt ']' 14:56:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:56:00 + '[' /w/workspace/edgexfoundry_device-gpio_PR-214 ']' 14:56:00 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-214/archives/ 14:56:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-214/archives/ [Pipeline] echo 14:56:00 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-214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:56:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:56:01 prd-ubuntu20.04-docker-8c-8g-17024 does not seem to be running inside a container 14:56:01 $ 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-214/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-214 -v /w/workspace/edgexfoundry_device-gpio_PR-214:/w/workspace/edgexfoundry_device-gpio_PR-214:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-214@tmp:/w/workspace/edgexfoundry_device-gpio_PR-214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:56:01 $ docker top 78b8b38e7ad3c829d1993aca39a23e338552bed00535eb51eb7d3bcb88dc629d -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:01 + touch /tmp/pre-build-complete [Pipeline] sh 14:56:02 + mkdir -p /var/log/sysstat [Pipeline] sh 14:56:02 + ls /var/log/sa-host 14:56:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:56:02 provisioning config files... 14:56:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-214@tmp/config15973433896309121157tmp [Pipeline] { [Pipeline] echo 14:56:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:56:03 ---> create-netrc.sh [Pipeline] } 14:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:56:03 ---> python-tools-install.sh [Pipeline] echo 14:56:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:56:03 ---> sudo-logs.sh 14:56:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:56:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:56:04 ---> job-cost.sh 14:56:04 lf-activate-venv: SKIPPING 14:56:04 DEBUG: total: 0.2199999988079071 14:56:04 INFO: Retrieving Stack Cost... 14:56:04 INFO: Retrieving Pricing Info for: v3-standard-8 14:56:05 INFO: Archiving Costs [Pipeline] echo 14:56:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:56:05 ---> logs-deploy.sh 14:56:05 lf-activate-venv: SKIPPING 14:56:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-214/1 14:56:05 INFO: archiving workspace using pattern(s): 14:56:06 Archives upload complete. 14:56:06 INFO: archiving logs to Nexus