Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6dc6446010bfc7937e070a9ef9f7688514ca869+5b9829103c2079071eaf01e57caf9b47463cebaa (6de5568cc5a807981d639960f0f437ce62f5d957) 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-ssh874977387920314787.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4216212042515642473.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13052088499523804428.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1228952317229467682.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16541671195365160464.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10823’ Running on prd-ubuntu20.04-docker-8c-8g-10825 in /w/workspace/edgexfoundry_device-gpio_PR-160 [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-160 # 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 5b9829103c2079071eaf01e57caf9b47463cebaa into PR head commit f6dc6446010bfc7937e070a9ef9f7688514ca869 Merge succeeded, producing b84917aca876c93b231b3239e00a86d9b374116c Checking out Revision b84917aca876c93b231b3239e00a86d9b374116c (PR-160) > 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/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6dc6446010bfc7937e070a9ef9f7688514ca869 # 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 5b9829103c2079071eaf01e57caf9b47463cebaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b84917aca876c93b231b3239e00a86d9b374116c # timeout=10 Commit message: "Merge commit '5b9829103c2079071eaf01e57caf9b47463cebaa' into HEAD" > git rev-list --no-walk f6dc6446010bfc7937e070a9ef9f7688514ca869 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:20:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:20:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:20:56 ========================================================= 13:20:56 EdgeX Global Pipelines Version Info 13:20:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:20:56 ------------------- 13:20:56 stable info: 13:20:56 ------------------- 13:20:56 Commited By: Bill Mahoney bill.mahoney@intel.com 13:20:56 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:20:56 Message: update stable to v1.0.248 13:20:57 ------------------- 13:20:57 experimental info: 13:20:57 ------------------- 13:20:57 Commited By: **** collab-it+edgex@linuxfoundation.org 13:20:57 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:20:57 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 13:20:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 13:20:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b84917aca876c93b231b3239e00a86d9b374116c [Pipeline] echo 13:20:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b84917a [Pipeline] echo 13:20:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:20:58 provisioning config files... 13:20:58 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp/config17690656565383594699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:58 ---> docker-login.sh 13:20:58 nexus3.edgexfoundry.org:10001 13:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:58 Configure a credential helper to remove this warning. See 13:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:58 13:20:58 Login Succeeded 13:20:58 nexus3.edgexfoundry.org:10002 13:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:58 Configure a credential helper to remove this warning. See 13:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:58 13:20:58 Login Succeeded 13:20:58 nexus3.edgexfoundry.org:10003 13:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:58 Configure a credential helper to remove this warning. See 13:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:58 13:20:58 Login Succeeded 13:20:58 nexus3.edgexfoundry.org:10004 13:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:59 Configure a credential helper to remove this warning. See 13:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:59 13:20:59 Login Succeeded 13:20:59 docker.io 13:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:59 Configure a credential helper to remove this warning. See 13:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:59 13:20:59 Login Succeeded 13:20:59 ---> docker-login.sh ends [Pipeline] } 13:20:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:20:59 + git rev-list -1 --merges b84917aca876c93b231b3239e00a86d9b374116c~1..b84917aca876c93b231b3239e00a86d9b374116c [Pipeline] echo 13:20:59 -----------> git rev-list -1 --merges b84917aca876c93b231b3239e00a86d9b374116c~1..b84917aca876c93b231b3239e00a86d9b374116c b84917aca876c93b231b3239e00a86d9b374116c 13:20:59 b84917aca876c93b231b3239e00a86d9b374116c [false] [Pipeline] sh 13:21:00 + git log --format=format:%s -1 b84917aca876c93b231b3239e00a86d9b374116c [Pipeline] echo 13:21:00 ========================================================= 13:21:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:21:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:00 + git log --format=format:%s -1 b84917aca876c93b231b3239e00a86d9b374116c [Pipeline] echo 13:21:00 [semverPrep] GIT_COMMIT: b84917aca876c93b231b3239e00a86d9b374116c, Commit Message: Merge commit '5b9829103c2079071eaf01e57caf9b47463cebaa' into HEAD [Pipeline] echo 13:21:00 [semverPrep] This is not a build commit. [Pipeline] sh 13:21:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:21:00 + grep -v github /etc/ssh/ssh_known_hosts 13:21:00 + [ -e /tmp/ssh_known_hosts ] 13:21:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:21:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:21:00 + sudo tee -a /etc/ssh/ssh_known_hosts 13:21:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:01 13:21:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:01 0.1.4: Pulling from edgex-devops/py-git-semver 13:21:01 b85a868b505f: Pulling fs layer 13:21:01 e2be974225ed: Pulling fs layer 13:21:01 339a4e72a1f5: Pulling fs layer 13:21:01 988bab9f4d93: Pulling fs layer 13:21:01 1469e6f7b9e6: Pulling fs layer 13:21:01 eaf3925da568: Pulling fs layer 13:21:01 bab4dde63d76: Pulling fs layer 13:21:01 bde34c3a00c8: Pulling fs layer 13:21:01 b352a97aabf1: Pulling fs layer 13:21:01 4872d77fe225: Pulling fs layer 13:21:01 5851b861e8e6: Pulling fs layer 13:21:01 1469e6f7b9e6: Waiting 13:21:01 eaf3925da568: Waiting 13:21:01 bab4dde63d76: Waiting 13:21:01 bde34c3a00c8: Waiting 13:21:01 b352a97aabf1: Waiting 13:21:01 4872d77fe225: Waiting 13:21:01 5851b861e8e6: Waiting 13:21:01 988bab9f4d93: Waiting 13:21:01 e2be974225ed: Download complete 13:21:01 988bab9f4d93: Download complete 13:21:01 1469e6f7b9e6: Verifying Checksum 13:21:01 1469e6f7b9e6: Download complete 13:21:01 eaf3925da568: Download complete 13:21:01 339a4e72a1f5: Verifying Checksum 13:21:01 339a4e72a1f5: Download complete 13:21:01 bde34c3a00c8: Download complete 13:21:01 b352a97aabf1: Verifying Checksum 13:21:01 b352a97aabf1: Download complete 13:21:01 4872d77fe225: Verifying Checksum 13:21:01 4872d77fe225: Download complete 13:21:01 5851b861e8e6: Verifying Checksum 13:21:01 5851b861e8e6: Download complete 13:21:01 b85a868b505f: Verifying Checksum 13:21:01 b85a868b505f: Download complete 13:21:02 bab4dde63d76: Verifying Checksum 13:21:02 bab4dde63d76: Download complete 13:21:03 b85a868b505f: Pull complete 13:21:03 e2be974225ed: Pull complete 13:21:03 339a4e72a1f5: Pull complete 13:21:03 988bab9f4d93: Pull complete 13:21:04 1469e6f7b9e6: Pull complete 13:21:04 eaf3925da568: Pull complete 13:21:06 bab4dde63d76: Pull complete 13:21:06 bde34c3a00c8: Pull complete 13:21:06 b352a97aabf1: Pull complete 13:21:06 4872d77fe225: Pull complete 13:21:06 5851b861e8e6: Pull complete 13:21:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:21:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:06 prd-ubuntu20.04-docker-8c-8g-10825 does not seem to be running inside a container 13:21:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-160 -v /w/workspace/edgexfoundry_device-gpio_PR-160:/w/workspace/edgexfoundry_device-gpio_PR-160:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-160@tmp:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:21:09 $ docker top 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded -eo pid,comm 13:21:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:21:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:21:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:09 [ssh-agent] Looking for ssh-agent implementation... 13:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:10 $ docker exec 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded ssh-agent 13:21:10 SSH_AUTH_SOCK=/tmp/ssh-uq9vNUPPXeLM/agent.32 13:21:10 SSH_AGENT_PID=38 13:21:10 Running ssh-add (command line suppressed) 13:21:10 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-160@tmp/private_key_1959879284663846359.key (/w/workspace/edgexfoundry_device-gpio_PR-160@tmp/private_key_1959879284663846359.key) 13:21:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:10 + git tag --points-at HEAD [Pipeline] } 13:21:10 $ docker exec --env ******** --env ******** 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded ssh-agent -k 13:21:10 unset SSH_AUTH_SOCK; 13:21:10 unset SSH_AGENT_PID; 13:21:10 echo Agent pid 38 killed; 13:21:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:10 [ssh-agent] Looking for ssh-agent implementation... 13:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:21:10 $ docker exec 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded ssh-agent 13:21:10 SSH_AUTH_SOCK=/tmp/ssh-tSqycZTFAVT9/agent.70 13:21:10 SSH_AGENT_PID=76 13:21:10 Running ssh-add (command line suppressed) 13:21:11 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-160@tmp/private_key_249806215737447856.key (/w/workspace/edgexfoundry_device-gpio_PR-160@tmp/private_key_249806215737447856.key) 13:21:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:21:11 + git semver init 13:21:11 2023-04-25 13:21:11,542 [run_init] DEBUG init version:0.0.0 force:False 13:21:11 2023-04-25 13:21:11,542 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-160/.semver 13:21:11 2023-04-25 13:21:11,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-160/.semver 13:21:11 2023-04-25 13:21:11,543 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-160/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-160, universal_newlines=False, shell=None, istream=None) 13:21:13 2023-04-25 13:21:12,593 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-160/.git/info/exclude 13:21:13 2023-04-25 13:21:12,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-160/.semver/PR-160 with force:False 13:21:13 2023-04-25 13:21:12,594 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-160/.semver/PR-160 13:21:13 2023-04-25 13:21:12,598 [execute] INFO git cat-file --batch-check 13:21:13 2023-04-25 13:21:12,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-160/.semver, universal_newlines=False, shell=None, istream=) 13:21:13 2023-04-25 13:21:12,605 [execute] INFO git cat-file --batch 13:21:13 2023-04-25 13:21:12,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-160/.semver, universal_newlines=False, shell=None, istream=) 13:21:13 2023-04-25 13:21:12,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-160/.semver/PR-160 13:21:13 0.0.0 [Pipeline] } 13:21:13 $ docker exec --env ******** --env ******** 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded ssh-agent -k 13:21:13 unset SSH_AUTH_SOCK; 13:21:13 unset SSH_AGENT_PID; 13:21:13 echo Agent pid 76 killed; 13:21:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:21:13 + git semver [Pipeline] } 13:21:13 $ docker stop --time=1 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded 13:21:14 $ docker rm -f --volumes 5a003c634c6cf5389481d9d5a75eea22fc6129b25f55b20e36aa08c73a848ded [Pipeline] // withDockerContainer [Pipeline] sh 13:21:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:21:15 Stashed 1 file(s) [Pipeline] echo 13:21:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:15 provisioning config files... 13:21:15 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp/config6958079087277793216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:16 ---> docker-login.sh 13:21:16 nexus3.edgexfoundry.org:10001 13:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:16 Configure a credential helper to remove this warning. See 13:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:16 13:21:16 Login Succeeded 13:21:16 nexus3.edgexfoundry.org:10002 13:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:16 Configure a credential helper to remove this warning. See 13:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:16 13:21:16 Login Succeeded 13:21:16 nexus3.edgexfoundry.org:10003 13:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:16 Configure a credential helper to remove this warning. See 13:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:16 13:21:16 Login Succeeded 13:21:16 nexus3.edgexfoundry.org:10004 13:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:16 Configure a credential helper to remove this warning. See 13:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:16 13:21:16 Login Succeeded 13:21:16 docker.io 13:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:16 Configure a credential helper to remove this warning. See 13:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:16 13:21:16 Login Succeeded 13:21:16 ---> docker-login.sh ends [Pipeline] } 13:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:16 ========================================================= 13:21:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:21:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:21:16 Sending build context to Docker daemon 16.1MB 13:21:16 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:21:16 Step 2/12 : FROM ${BASE} AS builder 13:21:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:21:16 f56be85fc22e: Pulling fs layer 13:21:16 85791d961cd3: Pulling fs layer 13:21:16 d694b5ae8c79: Pulling fs layer 13:21:16 9f32a84ed3da: Pulling fs layer 13:21:16 4d19c01a9841: Pulling fs layer 13:21:16 9325e15d5711: Pulling fs layer 13:21:16 556b6ee489ea: Pulling fs layer 13:21:16 c5a4b2cf53e6: Pulling fs layer 13:21:16 9f32a84ed3da: Waiting 13:21:16 9325e15d5711: Waiting 13:21:16 c5a4b2cf53e6: Waiting 13:21:16 85791d961cd3: Download complete 13:21:17 9f32a84ed3da: Download complete 13:21:17 4d19c01a9841: Download complete 13:21:17 f56be85fc22e: Verifying Checksum 13:21:17 f56be85fc22e: Download complete 13:21:17 9325e15d5711: Verifying Checksum 13:21:17 9325e15d5711: Download complete 13:21:17 f56be85fc22e: Pull complete 13:21:17 85791d961cd3: Pull complete 13:21:17 c5a4b2cf53e6: Verifying Checksum 13:21:17 d694b5ae8c79: Verifying Checksum 13:21:18 556b6ee489ea: Verifying Checksum 13:21:21 d694b5ae8c79: Pull complete 13:21:21 9f32a84ed3da: Pull complete 13:21:21 4d19c01a9841: Pull complete 13:21:21 9325e15d5711: Pull complete 13:21:23 556b6ee489ea: Pull complete 13:21:24 c5a4b2cf53e6: Pull complete 13:21:24 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 13:21:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:21:24 ---> c4be618373d6 13:21:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:21:28 ---> Running in 6a9a8e8cbfb8 13:21:28 Removing intermediate container 6a9a8e8cbfb8 13:21:28 ---> 386067ecf07e 13:21:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:28 ---> Running in 8c0dc4d75f4d 13:21:28 Removing intermediate container 8c0dc4d75f4d 13:21:28 ---> c3a6a2234a6a 13:21:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:21:28 ---> Running in cc4cab787012 13:21:28 Removing intermediate container cc4cab787012 13:21:28 ---> 688abbb5e7d6 13:21:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:21:28 ---> Running in cc17b37ae111 13:21:28 Removing intermediate container cc17b37ae111 13:21:28 ---> 29a6d9280835 13:21:28 Step 7/12 : WORKDIR /device-gpio 13:21:28 ---> Running in d26fc3847b01 13:21:28 Removing intermediate container d26fc3847b01 13:21:28 ---> 823fd5ae6be1 13:21:28 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:28 ---> Running in 07bd817cd918 13:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:21:29 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:21:29 (2/4) Installing libedit (20221030.3.1-r0) 13:21:29 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:21:29 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:21:29 Executing busybox-1.35.0-r29.trigger 13:21:29 OK: 269 MiB in 57 packages 13:21:30 Removing intermediate container 07bd817cd918 13:21:30 ---> 5d98d45a0be9 13:21:30 Step 9/12 : COPY go.mod vendor* ./ 13:21:30 ---> 9018794c2774 13:21:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:30 ---> Running in 5de9862d5ea5 13:21:30 Still waiting to schedule task 13:21:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10824’ is offline 13:22:02 Removing intermediate container 5de9862d5ea5 13:22:02 ---> 3b4179218aba 13:22:02 Step 11/12 : COPY . . 13:22:02 ---> 5ca2e02b0855 13:22:02 Step 12/12 : RUN ${MAKE} 13:22:02 ---> Running in 01407d161096 13:22:02 noop 13:22:02 Removing intermediate container 01407d161096 13:22:02 ---> a14cd0616c2f 13:22:02 Successfully built a14cd0616c2f 13:22:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:02 + docker inspect -f . ci-base-image-x86_64 13:22:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:02 prd-ubuntu20.04-docker-8c-8g-10825 does not seem to be running inside a container 13:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-160 -v /w/workspace/edgexfoundry_device-gpio_PR-160:/w/workspace/edgexfoundry_device-gpio_PR-160:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-160@tmp:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:22:03 $ docker top 6ef8afbcd8a30a5207126f18100fd48a5421ff642b7bc88db4a7010f723c28ec -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:03 + go version 13:22:03 go version go1.20.2 linux/amd64 [Pipeline] } 13:22:03 $ docker stop --time=1 6ef8afbcd8a30a5207126f18100fd48a5421ff642b7bc88db4a7010f723c28ec 13:22:04 $ docker rm -f --volumes 6ef8afbcd8a30a5207126f18100fd48a5421ff642b7bc88db4a7010f723c28ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:05 + docker inspect -f . ci-base-image-x86_64 13:22:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:05 prd-ubuntu20.04-docker-8c-8g-10825 does not seem to be running inside a container 13:22:05 $ 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-160 -v /w/workspace/edgexfoundry_device-gpio_PR-160:/w/workspace/edgexfoundry_device-gpio_PR-160:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-160@tmp:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:22:05 $ docker top 0fc7bc6b972cb572c3974e9f733624dec4a538665928449a2952a2c0093d801e -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-160 [Pipeline] fileExists [Pipeline] sh 13:22:06 + make test 13:22:06 go test ./... -coverprofile=coverage.out ./... 13:22:10 ? github.com/edgexfoundry/device-gpio [no test files] 13:22:20 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:22:20 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:22:28 go vet ./... 13:22:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:22:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:22:30 ./bin/test-attribution-txt.sh [Pipeline] echo 13:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:22:30 $ docker stop --time=1 0fc7bc6b972cb572c3974e9f733624dec4a538665928449a2952a2c0093d801e 13:22:33 $ docker rm -f --volumes 0fc7bc6b972cb572c3974e9f733624dec4a538665928449a2952a2c0093d801e [Pipeline] // withDockerContainer [Pipeline] sh 13:22:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:22:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:22:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:22:34 + ls -al . 13:22:34 total 156 13:22:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 13:22 . 13:22:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 13:20 .. 13:22:34 -rw-rw-r-- 1 jenkins jenkins 120 Apr 25 13:20 .dockerignore 13:22:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 13:21 .git 13:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 13:20 .github 13:22:34 -rw-rw-r-- 1 jenkins jenkins 343 Apr 25 13:20 .gitignore 13:22:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 13:20 .golangci.yml 13:22:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 13:21 .semver 13:22:34 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 25 13:20 Attribution.txt 13:22:34 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 25 13:20 CHANGELOG.md 13:22:34 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 25 13:20 Dockerfile 13:22:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 13:20 GOVERNANCE.md 13:22:34 -rw-rw-r-- 1 jenkins jenkins 657 Apr 25 13:20 Jenkinsfile 13:22:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 13:20 LICENSE 13:22:34 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 25 13:20 Makefile 13:22:34 -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 13:20 OWNERS.md 13:22:34 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 25 13:20 README.md 13:22:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 13:21 VERSION 13:22:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 13:20 bin 13:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 13:20 cmd 13:22:34 -rw-r--r-- 1 jenkins jenkins 10 Apr 25 13:22 coverage.out 13:22:34 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 25 13:20 go.mod 13:22:34 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 25 13:20 go.sum 13:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 13:20 internal 13:22:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 13:20 snap 13:22:34 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 13:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:35 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b84917aca876c93b231b3239e00a86d9b374116c --label arch=amd64 --label version=0.0.0 . 13:22:35 Sending build context to Docker daemon 16.1MB 13:22:35 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:22:35 Step 2/25 : FROM ${BASE} AS builder 13:22:35 ---> a14cd0616c2f 13:22:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:22:35 ---> Running in d562da52d0ce 13:22:35 Removing intermediate container d562da52d0ce 13:22:35 ---> 22642639e4c8 13:22:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:35 ---> Running in 74f383cf8735 13:22:35 Removing intermediate container 74f383cf8735 13:22:35 ---> a92f5b6eeab4 13:22:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:22:35 ---> Running in 1314f82e8ffe 13:22:35 Removing intermediate container 1314f82e8ffe 13:22:35 ---> 02d28e8d282e 13:22:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:22:35 ---> Running in e4788fcc9ae5 13:22:35 Removing intermediate container e4788fcc9ae5 13:22:35 ---> 0bb1dfc7c9ec 13:22:35 Step 7/25 : WORKDIR /device-gpio 13:22:35 ---> Running in dfd5c7a4d40c 13:22:35 Removing intermediate container dfd5c7a4d40c 13:22:35 ---> 046286634653 13:22:35 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:35 ---> Running in 8b9cedc6f176 13:22:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:22:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:22:36 OK: 269 MiB in 57 packages 13:22:36 Removing intermediate container 8b9cedc6f176 13:22:36 ---> a184a6009d03 13:22:36 Step 9/25 : COPY go.mod vendor* ./ 13:22:36 ---> 55950d442613 13:22:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:36 ---> Running in 1a716ce90d48 13:22:37 Removing intermediate container 1a716ce90d48 13:22:37 ---> e908be24dc10 13:22:37 Step 11/25 : COPY . . 13:22:38 ---> 73a26849af0a 13:22:38 Step 12/25 : RUN ${MAKE} 13:22:38 ---> Running in 0d32702019f6 13:22:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 13:23:00 Removing intermediate container 0d32702019f6 13:23:00 ---> 7aa716ef3c7f 13:23:00 Step 13/25 : FROM alpine:3.17 13:23:00 3.17: Pulling from library/alpine 13:23:00 f56be85fc22e: Already exists 13:23:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:23:00 Status: Downloaded newer image for alpine:3.17 13:23:00 ---> 9ed4aefc74f6 13:23:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:23:00 ---> Running in 8acf27fcb075 13:23:00 Removing intermediate container 8acf27fcb075 13:23:00 ---> 14a7270e2212 13:23:00 Step 15/25 : RUN apk add --update --no-cache 13:23:00 ---> Running in d5a0d87eeb49 13:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:00 OK: 7 MiB in 15 packages 13:23:00 Removing intermediate container d5a0d87eeb49 13:23:00 ---> b5acbbcd3d77 13:23:00 Step 16/25 : WORKDIR / 13:23:00 ---> Running in 02a9e14039a0 13:23:00 Removing intermediate container 02a9e14039a0 13:23:00 ---> f91c83bfc593 13:23:00 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:23:00 ---> a287f45da4da 13:23:00 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:23:00 ---> ddd500e41d14 13:23:00 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:23:00 ---> 60edcc308a74 13:23:00 Step 20/25 : EXPOSE 59910 13:23:00 ---> Running in c1239d4f97ae 13:23:00 Removing intermediate container c1239d4f97ae 13:23:00 ---> 366a60faab13 13:23:00 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:23:00 ---> Running in 0ee51e584eb7 13:23:00 Removing intermediate container 0ee51e584eb7 13:23:00 ---> cbd25cd92f21 13:23:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:00 ---> Running in bd67e244065c 13:23:00 Removing intermediate container bd67e244065c 13:23:00 ---> 2cc517cbf6ac 13:23:00 Step 23/25 : LABEL arch=amd64 13:23:00 ---> Running in dd053d28572e 13:23:01 Removing intermediate container dd053d28572e 13:23:01 ---> a1cb04d3169e 13:23:01 Step 24/25 : LABEL git_sha=b84917aca876c93b231b3239e00a86d9b374116c 13:23:01 ---> Running in b63fc4652a38 13:23:01 Removing intermediate container b63fc4652a38 13:23:01 ---> 1c3d69476d2c 13:23:01 Step 25/25 : LABEL version=0.0.0 13:23:01 ---> Running in ada9bc19516f 13:23:01 Removing intermediate container ada9bc19516f 13:23:01 ---> b592032025c1 13:23:01 [Warning] One or more build-args [ARCH] were not consumed 13:23:01 Successfully built b592032025c1 13:23:01 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:01 13:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:01 latest: Pulling from edgex-lftools-log-publisher 13:23:01 5eb5b503b376: Pulling fs layer 13:23:01 5c69ac0246d0: Pulling fs layer 13:23:01 ec43610c2a17: Pulling fs layer 13:23:01 3a2ae6a8a46f: Pulling fs layer 13:23:01 33b1e0a273af: Pulling fs layer 13:23:01 5d3b04190fa2: Pulling fs layer 13:23:01 2f39f015ded8: Pulling fs layer 13:23:01 3a2ae6a8a46f: Waiting 13:23:01 33b1e0a273af: Waiting 13:23:01 5d3b04190fa2: Waiting 13:23:01 5c69ac0246d0: Download complete 13:23:01 3a2ae6a8a46f: Verifying Checksum 13:23:01 3a2ae6a8a46f: Download complete 13:23:01 33b1e0a273af: Verifying Checksum 13:23:01 33b1e0a273af: Download complete 13:23:01 5d3b04190fa2: Verifying Checksum 13:23:01 5d3b04190fa2: Download complete 13:23:01 ec43610c2a17: Verifying Checksum 13:23:02 5eb5b503b376: Verifying Checksum 13:23:02 5eb5b503b376: Download complete 13:23:02 2f39f015ded8: Download complete 13:23:03 5eb5b503b376: Pull complete 13:23:03 5c69ac0246d0: Pull complete 13:23:03 ec43610c2a17: Pull complete 13:23:03 3a2ae6a8a46f: Pull complete 13:23:03 33b1e0a273af: Pull complete 13:23:04 5d3b04190fa2: Pull complete 13:23:08 2f39f015ded8: Pull complete 13:23:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:08 prd-ubuntu20.04-docker-8c-8g-10825 does not seem to be running inside a container 13:23:08 $ 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-160 -v /w/workspace/edgexfoundry_device-gpio_PR-160:/w/workspace/edgexfoundry_device-gpio_PR-160:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-160@tmp:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:23:11 $ docker top 831d1e77c08feb9c71195c6caa06528f113258cc5abc25e5f9a5b556b2b0a8e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:11 ---> job-cost.sh 13:23:11 lf-activate-venv: SKIPPING 13:23:11 INFO: No Stack... 13:23:11 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:12 INFO: Archiving Costs [Pipeline] sh 13:23:12 + cat /w/workspace/edgexfoundry_device-gpio_PR-160/archives/cost.csv 13:23:12 + cut -d, -f6 [Pipeline] lock 13:23:12 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] 13:23:12 Resource [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] did not exist. Created. 13:23:12 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:12 + echo total: 0.2199999988079071 [Pipeline] stash 13:23:12 Stashed 1 file(s) [Pipeline] } 13:23:12 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:12 $ docker stop --time=1 831d1e77c08feb9c71195c6caa06528f113258cc5abc25e5f9a5b556b2b0a8e5 13:23:14 $ docker rm -f --volumes 831d1e77c08feb9c71195c6caa06528f113258cc5abc25e5f9a5b556b2b0a8e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:23:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10826 in /w/workspace/edgexfoundry_device-gpio_PR-160 [Pipeline] { [Pipeline] ws 13:23:25 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 13:23:25 The recommended git tool is: git 13:23:33 using credential edgex-jenkins-ssh 13:23:33 Cloning the remote Git repository 13:23:33 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:23:34 > git init /w/workspace/device-gpio/3 # timeout=10 13:23:34 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:23:34 > git --version # timeout=10 13:23:34 > git --version # 'git version 2.25.1' 13:23:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:23:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:39 Merging remotes/origin/main commit 5b9829103c2079071eaf01e57caf9b47463cebaa into PR head commit f6dc6446010bfc7937e070a9ef9f7688514ca869 13:23:38 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:23:38 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:23:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:23:39 > git config core.sparsecheckout # timeout=10 13:23:39 > git checkout -f f6dc6446010bfc7937e070a9ef9f7688514ca869 # timeout=10 13:23:39 Merge succeeded, producing cb4fae8d28db747d190f1fa35ab661a1ff098b5e 13:23:39 Checking out Revision cb4fae8d28db747d190f1fa35ab661a1ff098b5e (PR-160) 13:23:39 > git remote # timeout=10 13:23:39 > git config --get remote.origin.url # timeout=10 13:23:39 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:39 > git merge 5b9829103c2079071eaf01e57caf9b47463cebaa # timeout=10 13:23:39 > git rev-parse HEAD^{commit} # timeout=10 13:23:39 > git config core.sparsecheckout # timeout=10 13:23:39 > git checkout -f cb4fae8d28db747d190f1fa35ab661a1ff098b5e # timeout=10 13:23:43 Commit message: "Merge commit '5b9829103c2079071eaf01e57caf9b47463cebaa' into HEAD" 13:23:43 > git rev-list --no-walk f6dc6446010bfc7937e070a9ef9f7688514ca869 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:23:44 % Total % Received % Xferd Average Speed Time Time Time Current 13:23:44 Dload Upload Total Spent Left Speed 13:23:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 13:23:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:23:45 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 13:23:45 /etc/docker/daemon.json 13:23:45 { 13:23:45 "registry-mirrors": [ 13:23:45 "https://nexus3.edgexfoundry.org:10001" 13:23:45 ], 13:23:45 "bip": "10.250.0.254/24", 13:23:45 "hosts": [ 13:23:45 "tcp://0.0.0.0:5555", 13:23:45 "unix:///var/run/docker.sock" 13:23:45 ], 13:23:45 "mtu": 1458, 13:23:45 "selinux-enabled": true, 13:23:45 "seccomp-profile": "/etc/docker/seccomp.json" 13:23:45 } [Pipeline] sh 13:23:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:23:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:08 provisioning config files... 13:24:08 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config10086984190281475685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:09 ---> docker-login.sh 13:24:09 nexus3.edgexfoundry.org:10001 13:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:09 Configure a credential helper to remove this warning. See 13:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:09 13:24:09 Login Succeeded 13:24:09 nexus3.edgexfoundry.org:10002 13:24:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:10 Configure a credential helper to remove this warning. See 13:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:10 13:24:10 Login Succeeded 13:24:10 nexus3.edgexfoundry.org:10003 13:24:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:10 Configure a credential helper to remove this warning. See 13:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:10 13:24:10 Login Succeeded 13:24:10 nexus3.edgexfoundry.org:10004 13:24:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:10 Configure a credential helper to remove this warning. See 13:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:10 13:24:10 Login Succeeded 13:24:10 docker.io 13:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:24:11 Configure a credential helper to remove this warning. See 13:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:24:11 13:24:11 Login Succeeded 13:24:11 ---> docker-login.sh ends [Pipeline] } 13:24:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:24:11 ========================================================= 13:24:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:24:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:24:12 Sending build context to Docker daemon 8.133MB 13:24:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:24:12 Step 2/12 : FROM ${BASE} AS builder 13:24:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:24:12 c41833b44d91: Pulling fs layer 13:24:12 ed15518f5707: Pulling fs layer 13:24:12 feae8fd75edb: Pulling fs layer 13:24:12 242c74f7c9fa: Pulling fs layer 13:24:12 3cdef696dda3: Pulling fs layer 13:24:12 2ced38df9373: Pulling fs layer 13:24:12 58f1dce35555: Pulling fs layer 13:24:12 3cdef696dda3: Waiting 13:24:12 2ced38df9373: Waiting 13:24:12 58f1dce35555: Waiting 13:24:12 242c74f7c9fa: Waiting 13:24:12 ed15518f5707: Verifying Checksum 13:24:12 ed15518f5707: Download complete 13:24:12 242c74f7c9fa: Verifying Checksum 13:24:12 242c74f7c9fa: Download complete 13:24:12 3cdef696dda3: Verifying Checksum 13:24:12 3cdef696dda3: Download complete 13:24:12 c41833b44d91: Verifying Checksum 13:24:12 c41833b44d91: Download complete 13:24:13 c41833b44d91: Pull complete 13:24:14 58f1dce35555: Verifying Checksum 13:24:14 58f1dce35555: Download complete 13:24:14 ed15518f5707: Pull complete 13:24:15 feae8fd75edb: Verifying Checksum 13:24:15 feae8fd75edb: Download complete 13:24:15 2ced38df9373: Verifying Checksum 13:24:15 2ced38df9373: Download complete 13:24:27 feae8fd75edb: Pull complete 13:24:27 242c74f7c9fa: Pull complete 13:24:27 3cdef696dda3: Pull complete 13:24:33 2ced38df9373: Pull complete 13:24:35 58f1dce35555: Pull complete 13:24:35 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:24:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:24:35 ---> fadd8f120f05 13:24:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:24:36 ---> Running in 0be19f6108f7 13:24:36 Removing intermediate container 0be19f6108f7 13:24:36 ---> bfc698ca098e 13:24:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:24:36 ---> Running in 614bf4fe5aa7 13:24:36 Removing intermediate container 614bf4fe5aa7 13:24:36 ---> 38f6d665edf6 13:24:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:24:37 ---> Running in a565f4b3e391 13:24:37 Removing intermediate container a565f4b3e391 13:24:37 ---> 5618def93fe5 13:24:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:24:37 ---> Running in ec904f9ae661 13:24:37 Removing intermediate container ec904f9ae661 13:24:37 ---> a843d9313c5c 13:24:37 Step 7/12 : WORKDIR /device-gpio 13:24:37 ---> Running in ffe69503973e 13:24:38 Removing intermediate container ffe69503973e 13:24:38 ---> 5653cdcf7357 13:24:38 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:24:38 ---> Running in d4d345a68dc1 13:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:24:41 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:24:41 (2/4) Installing libedit (20221030.3.1-r0) 13:24:41 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:24:41 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:24:41 Executing busybox-1.35.0-r29.trigger 13:24:41 OK: 268 MiB in 57 packages 13:24:42 Removing intermediate container d4d345a68dc1 13:24:42 ---> 725d11f17933 13:24:42 Step 9/12 : COPY go.mod vendor* ./ 13:24:42 ---> 79d975597308 13:24:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:24:42 ---> Running in 399688593af5 13:25:50 Removing intermediate container 399688593af5 13:25:50 ---> aec35b970cd5 13:25:50 Step 11/12 : COPY . . 13:25:50 ---> 07fcad82a049 13:25:50 Step 12/12 : RUN ${MAKE} 13:25:50 ---> Running in 304dc408b891 13:25:50 noop 13:25:50 Removing intermediate container 304dc408b891 13:25:50 ---> cb3fdbfa3ce6 13:25:50 Successfully built cb3fdbfa3ce6 13:25:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:51 + docker inspect -f . ci-base-image-arm64 13:25:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:51 prd-ubuntu20.04-docker-arm64-4c-16g-10826 does not seem to be running inside a container 13:25:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:25:52 $ docker top 24fe7e2659715e2ef2cf70a687531fec1005b7fba8891a32f88ad8cbd2f538b4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:53 + go version 13:25:53 go version go1.20.2 linux/arm64 [Pipeline] } 13:25:53 $ docker stop --time=1 24fe7e2659715e2ef2cf70a687531fec1005b7fba8891a32f88ad8cbd2f538b4 13:25:55 $ docker rm -f --volumes 24fe7e2659715e2ef2cf70a687531fec1005b7fba8891a32f88ad8cbd2f538b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:55 + docker inspect -f . ci-base-image-arm64 13:25:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:55 prd-ubuntu20.04-docker-arm64-4c-16g-10826 does not seem to be running inside a container 13:25:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:25:57 $ docker top 6e44c5235599e22ca6e9073ffb03c5c4880d0656cc875b44fa1c01c692f24217 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:57 + git config --global --add safe.directory /w/workspace/device-gpio/3 [Pipeline] fileExists [Pipeline] sh 13:25:58 + make test 13:25:58 go test ./... -coverprofile=coverage.out ./... 13:26:30 ? github.com/edgexfoundry/device-gpio [no test files] 13:28:07 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:28:07 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:28:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:28:07 go vet ./... 13:28:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:28:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:28:34 ./bin/test-attribution-txt.sh [Pipeline] echo 13:28:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:28:34 $ docker stop --time=1 6e44c5235599e22ca6e9073ffb03c5c4880d0656cc875b44fa1c01c692f24217 13:28:35 $ docker rm -f --volumes 6e44c5235599e22ca6e9073ffb03c5c4880d0656cc875b44fa1c01c692f24217 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:28:37 Warning: overwriting stash ‘coverage-report’ 13:28:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:28:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:28:38 + ls -al . 13:28:38 total 152 13:28:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 13:26 . 13:28:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 13:23 .. 13:28:38 -rw-rw-r-- 1 jenkins jenkins 120 Apr 25 13:23 .dockerignore 13:28:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 13:23 .git 13:28:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 13:23 .github 13:28:38 -rw-rw-r-- 1 jenkins jenkins 343 Apr 25 13:23 .gitignore 13:28:38 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 13:23 .golangci.yml 13:28:38 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 25 13:23 Attribution.txt 13:28:38 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 25 13:23 CHANGELOG.md 13:28:38 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 25 13:23 Dockerfile 13:28:38 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 13:23 GOVERNANCE.md 13:28:38 -rw-rw-r-- 1 jenkins jenkins 657 Apr 25 13:23 Jenkinsfile 13:28:38 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 13:23 LICENSE 13:28:38 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 25 13:23 Makefile 13:28:38 -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 13:23 OWNERS.md 13:28:38 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 25 13:23 README.md 13:28:38 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 13:21 VERSION 13:28:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 13:23 bin 13:28:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 13:23 cmd 13:28:38 -rw-r--r-- 1 jenkins jenkins 10 Apr 25 13:26 coverage.out 13:28:38 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 25 13:23 go.mod 13:28:38 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 25 13:23 go.sum 13:28:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 13:23 internal 13:28:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 13:23 snap 13:28:38 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 13:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:38 + 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=cb4fae8d28db747d190f1fa35ab661a1ff098b5e --label arch=arm64 --label version=0.0.0 . 13:28:38 Sending build context to Docker daemon 8.134MB 13:28:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:28:38 Step 2/25 : FROM ${BASE} AS builder 13:28:38 ---> cb3fdbfa3ce6 13:28:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:28:38 ---> Running in 292f655d442d 13:28:39 Removing intermediate container 292f655d442d 13:28:39 ---> 6199102de0ec 13:28:39 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:28:39 ---> Running in 8609754f47d5 13:28:39 Removing intermediate container 8609754f47d5 13:28:39 ---> 5cb19ed4d1d3 13:28:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:28:39 ---> Running in 681b275e564d 13:28:39 Removing intermediate container 681b275e564d 13:28:39 ---> ee1884ee2fee 13:28:39 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:28:39 ---> Running in ff8859cd05f9 13:28:40 Removing intermediate container ff8859cd05f9 13:28:40 ---> 3c9249d6e181 13:28:40 Step 7/25 : WORKDIR /device-gpio 13:28:40 ---> Running in aab0195af7bb 13:28:40 Removing intermediate container aab0195af7bb 13:28:40 ---> 2f66fe0b62b1 13:28:40 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:40 ---> Running in 9cbbfcc23a37 13:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:28:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:28:43 OK: 268 MiB in 57 packages 13:28:44 Removing intermediate container 9cbbfcc23a37 13:28:44 ---> a02ef0fe21ed 13:28:44 Step 9/25 : COPY go.mod vendor* ./ 13:28:44 ---> 8bba9f54e0f0 13:28:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:44 ---> Running in 4a01c702d6d0 13:28:46 Removing intermediate container 4a01c702d6d0 13:28:46 ---> 4c6ae282e57c 13:28:46 Step 11/25 : COPY . . 13:28:47 ---> a1d6c39b362c 13:28:47 Step 12/25 : RUN ${MAKE} 13:28:47 ---> Running in ae624612a3d8 13:28:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 13:30:55 Removing intermediate container ae624612a3d8 13:30:55 ---> b63d556b6004 13:30:55 Step 13/25 : FROM alpine:3.17 13:30:55 3.17: Pulling from library/alpine 13:30:55 c41833b44d91: Already exists 13:30:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:30:55 Status: Downloaded newer image for alpine:3.17 13:30:55 ---> 51e60588ff2c 13:30:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:30:55 ---> Running in d29f6eb1b0b6 13:30:55 Removing intermediate container d29f6eb1b0b6 13:30:55 ---> a74d8e3609cf 13:30:55 Step 15/25 : RUN apk add --update --no-cache 13:30:55 ---> Running in 3980e0178ad9 13:30:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:30:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:30:55 OK: 7 MiB in 15 packages 13:30:56 Removing intermediate container 3980e0178ad9 13:30:56 ---> 028facc5ceae 13:30:56 Step 16/25 : WORKDIR / 13:30:56 ---> Running in 17cbcb695c6c 13:30:56 Removing intermediate container 17cbcb695c6c 13:30:56 ---> 2d631fcdcc71 13:30:56 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:30:57 ---> 1ef47fa2b293 13:30:57 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:30:57 ---> 5ec820e0ad3b 13:30:57 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:30:59 ---> 8c3c9e836e3b 13:30:59 Step 20/25 : EXPOSE 59910 13:30:59 ---> Running in 918e54c78710 13:30:59 Removing intermediate container 918e54c78710 13:30:59 ---> 34726cc67cd6 13:30:59 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:30:59 ---> Running in 1e0ca4018c97 13:30:59 Removing intermediate container 1e0ca4018c97 13:30:59 ---> b0532c4760d7 13:30:59 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:30:59 ---> Running in 88bc2cd3c408 13:31:00 Removing intermediate container 88bc2cd3c408 13:31:00 ---> 1283f903b217 13:31:00 Step 23/25 : LABEL arch=arm64 13:31:00 ---> Running in aaa59d928169 13:31:00 Removing intermediate container aaa59d928169 13:31:00 ---> 8dd751956926 13:31:00 Step 24/25 : LABEL git_sha=cb4fae8d28db747d190f1fa35ab661a1ff098b5e 13:31:00 ---> Running in 34e29824abbc 13:31:01 Removing intermediate container 34e29824abbc 13:31:01 ---> b2d66f5bba85 13:31:01 Step 25/25 : LABEL version=0.0.0 13:31:01 ---> Running in 9ce818c5926f 13:31:01 Removing intermediate container 9ce818c5926f 13:31:01 ---> 30873a4c8b99 13:31:01 [Warning] One or more build-args [ARCH] were not consumed 13:31:01 Successfully built 30873a4c8b99 13:31:01 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:31:01 13:31:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:31:02 arm64: Pulling from edgex-lftools-log-publisher 13:31:02 8998bd30e6a1: Pulling fs layer 13:31:02 04944245beec: Pulling fs layer 13:31:02 699f458cf7ca: Pulling fs layer 13:31:02 765212b225bb: Pulling fs layer 13:31:02 f23df028b6ca: Pulling fs layer 13:31:02 d65c8cfc05b1: Pulling fs layer 13:31:02 2437ff75d9bd: Pulling fs layer 13:31:02 765212b225bb: Waiting 13:31:02 f23df028b6ca: Waiting 13:31:02 d65c8cfc05b1: Waiting 13:31:02 2437ff75d9bd: Waiting 13:31:02 04944245beec: Verifying Checksum 13:31:02 04944245beec: Download complete 13:31:02 765212b225bb: Verifying Checksum 13:31:02 765212b225bb: Download complete 13:31:02 f23df028b6ca: Verifying Checksum 13:31:02 f23df028b6ca: Download complete 13:31:02 d65c8cfc05b1: Verifying Checksum 13:31:02 d65c8cfc05b1: Download complete 13:31:02 699f458cf7ca: Verifying Checksum 13:31:02 699f458cf7ca: Download complete 13:31:02 8998bd30e6a1: Verifying Checksum 13:31:02 8998bd30e6a1: Download complete 13:31:04 2437ff75d9bd: Verifying Checksum 13:31:04 2437ff75d9bd: Download complete 13:31:06 8998bd30e6a1: Pull complete 13:31:06 04944245beec: Pull complete 13:31:11 699f458cf7ca: Pull complete 13:31:11 765212b225bb: Pull complete 13:31:12 f23df028b6ca: Pull complete 13:31:12 d65c8cfc05b1: Pull complete 13:31:24 2437ff75d9bd: Pull complete 13:31:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:31:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:31:24 prd-ubuntu20.04-docker-arm64-4c-16g-10826 does not seem to be running inside a container 13:31:24 $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:31:27 $ docker top c92f517e2e8d1876f9940c11a576d00b19597a3910cd0820d04035af90567d85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:28 ---> job-cost.sh 13:31:28 lf-activate-venv: SKIPPING 13:31:28 INFO: No Stack... 13:31:28 INFO: Retrieving Pricing Info for: v3-standard-4 13:31:29 INFO: Archiving Costs [Pipeline] sh 13:31:30 + cat /w/workspace/device-gpio/3/archives/cost.csv 13:31:30 + cut -d, -f6 [Pipeline] lock 13:31:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] 13:31:30 Resource [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] did not exist. Created. 13:31:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:31:30 /w/workspace/device-gpio/3@tmp/durable-daf774ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:31:31 + echo total: 0.10999999940395355 [Pipeline] stash 13:31:31 Warning: overwriting stash ‘stack-cost’ 13:31:31 Stashed 1 file(s) [Pipeline] } 13:31:31 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-160-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:31:31 $ docker stop --time=1 c92f517e2e8d1876f9940c11a576d00b19597a3910cd0820d04035af90567d85 13:31:33 $ docker rm -f --volumes c92f517e2e8d1876f9940c11a576d00b19597a3910cd0820d04035af90567d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:31:33 provisioning config files... 13:31:33 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp/config14634027028790335677tmp [Pipeline] { [Pipeline] sh 13:31:33 + set +x 13:31:33 + bash -s -- 13:31:33 + curl -s https://codecov.io/bash 13:31:33 13:31:33 _____ _ 13:31:33 / ____| | | 13:31:33 | | ___ __| | ___ ___ _____ __ 13:31:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:31:33 | |___| (_) | (_| | __/ (_| (_) \ V / 13:31:33 \_____\___/ \__,_|\___|\___\___/ \_/ 13:31:33 Bash-1.0.6 13:31:33 13:31:33 13:31:33 ==> git version 2.25.1 found 13:31:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:31:33 Release-Date: 2020-01-08 13:31:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:31:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:31:33 ==> Jenkins CI detected. 13:31:33 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-160 13:31:33 project root: . 13:31:33 --> token set from env 13:31:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:31:34 ==> Running gcov in . (disable via -X gcov) 13:31:34 ==> Python coveragepy not found 13:31:34 ==> Searching for coverage reports in: 13:31:34 + . 13:31:34 -> Found 1 reports 13:31:34 ==> Detecting git/mercurial file structure 13:31:34 ==> Reading reports 13:31:34 + ./coverage.out bytes=10 13:31:34 ==> Appending adjustments 13:31:34 https://docs.codecov.io/docs/fixing-reports 13:31:34 + Found adjustments 13:31:34 ==> Gzipping contents 13:31:34 4.0K /tmp/codecov.SM0IAX.gz 13:31:34 ==> Uploading reports 13:31:34 url: https://codecov.io 13:31:34 query: branch=PR-160&commit=b84917aca876c93b231b3239e00a86d9b374116c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-160%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=160&job=&cmd_args= 13:31:34 -> Pinging Codecov 13:31:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-160&commit=b84917aca876c93b231b3239e00a86d9b374116c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-160%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=160&job=&cmd_args= 13:31:34 -> Uploading to 13:31:34 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b84917aca876c93b231b3239e00a86d9b374116c/c4f30ac6-e406-4aaf-a2de-3ceed9414fac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T133133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=280ce408bdc2b6e81eb3861559f4614582979f78697b88d8d84bfa6d5b383591 13:31:34 % Total % Received % Xferd Average Speed Time Time Time Current 13:31:34 Dload Upload Total Spent Left Speed 13:31:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3080 --:--:-- --:--:-- --:--:-- 3080 13:31:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/b84917aca876c93b231b3239e00a86d9b374116c [Pipeline] } 13:31:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:31:35 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-160/archives ] 13:31:35 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-160/archives 13:31:35 total 16 13:31:35 drwxr-xr-x 3 root root 4096 Apr 25 13:23 . 13:31:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 13:23 .. 13:31:35 drwxr-xr-x 2 root root 4096 Apr 25 13:23 cost 13:31:35 -rw-r--r-- 1 root root 83 Apr 25 13:23 cost.csv 13:31:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-160/archives 13:31:35 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-160/archives 13:31:35 total 16 13:31:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 13:23 . 13:31:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 13:23 .. 13:31:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 13:23 cost 13:31:35 -rw-r--r-- 1 jenkins jenkins 83 Apr 25 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:31:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:31:36 ---> package-listing.sh 13:31:36 ++ facter osfamily 13:31:36 ++ tr '[:upper:]' '[:lower:]' 13:31:36 + OS_FAMILY=debian 13:31:36 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-160 13:31:36 + START_PACKAGES=/tmp/packages_start.txt 13:31:36 + END_PACKAGES=/tmp/packages_end.txt 13:31:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:31:36 + PACKAGES=/tmp/packages_start.txt 13:31:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-160 ']' 13:31:36 + PACKAGES=/tmp/packages_end.txt 13:31:36 + case "${OS_FAMILY}" in 13:31:36 + dpkg -l 13:31:36 + grep '^ii' 13:31:36 + '[' -f /tmp/packages_start.txt ']' 13:31:36 + '[' -f /tmp/packages_end.txt ']' 13:31:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:31:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-160 ']' 13:31:36 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-160/archives/ 13:31:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-160/archives/ [Pipeline] echo 13:31:36 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-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:31:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:31:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:31:37 prd-ubuntu20.04-docker-8c-8g-10825 does not seem to be running inside a container 13:31:37 $ 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-160/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-160 -v /w/workspace/edgexfoundry_device-gpio_PR-160:/w/workspace/edgexfoundry_device-gpio_PR-160:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-160@tmp:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:31:37 $ docker top d3e2cea42e71f5a2315e3c085af3195030e62c6a6fc30619b7467a2c8a1438e1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:31:38 + touch /tmp/pre-build-complete [Pipeline] sh 13:31:38 + mkdir -p /var/log/sysstat [Pipeline] sh 13:31:38 + ls /var/log/sa-host 13:31:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:31:38 provisioning config files... 13:31:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-160@tmp/config7600416717032422434tmp [Pipeline] { [Pipeline] echo 13:31:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:31:39 ---> create-netrc.sh [Pipeline] } 13:31:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:31:39 ---> python-tools-install.sh [Pipeline] echo 13:31:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:31:39 ---> sudo-logs.sh 13:31:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:31:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:31:40 ---> job-cost.sh 13:31:40 lf-activate-venv: SKIPPING 13:31:40 DEBUG: total: 0.2199999988079071 13:31:40 INFO: Retrieving Stack Cost... 13:31:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:31:40 INFO: Archiving Costs [Pipeline] echo 13:31:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:31:41 ---> logs-deploy.sh 13:31:41 lf-activate-venv: SKIPPING 13:31:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-160/3 13:31:41 INFO: archiving workspace using pattern(s): 13:31:42 Archives upload complete. 13:31:42 INFO: archiving logs to Nexus