Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266+c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a (888d6d4d3988b0d5ecd02ea899927ed19c69ea9e) 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-ssh13702030062028199068.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12203458372798271668.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11505600621637919195.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8052856884809964431.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12411218366307709586.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17807466456059770866.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8084’ Running on prd-ubuntu20.04-docker-8c-8g-8087 in /w/workspace/edgexfoundry_device-gpio_PR-199 [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-199 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a into PR head commit 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 Merge succeeded, producing 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 Checking out Revision 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 (PR-199) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:21:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:21:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:21:49 ========================================================= 00:21:49 EdgeX Global Pipelines Version Info 00:21:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 # 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 c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 # timeout=10 00:21:50 ------------------- 00:21:50 stable info: 00:21:50 ------------------- 00:21:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:21:50 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:21:50 Message: update stable to v1.0.254 00:21:50 ------------------- 00:21:50 experimental info: 00:21:50 ------------------- 00:21:50 Commited By: **** collab-it+edgex@linuxfoundation.org 00:21:50 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:21:50 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:21:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d3f81f [Pipeline] echo 00:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:52 provisioning config files... 00:21:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-199@tmp/config14269330590069657773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:53 ---> docker-login.sh 00:21:53 nexus3.edgexfoundry.org:10001 00:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:53 Configure a credential helper to remove this warning. See 00:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:53 00:21:53 Login Succeeded 00:21:53 nexus3.edgexfoundry.org:10002 00:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:53 Configure a credential helper to remove this warning. See 00:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:53 00:21:53 Login Succeeded 00:21:53 nexus3.edgexfoundry.org:10003 00:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:53 Configure a credential helper to remove this warning. See 00:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:53 00:21:53 Login Succeeded 00:21:53 nexus3.edgexfoundry.org:10004 00:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:53 Configure a credential helper to remove this warning. See 00:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:53 00:21:53 Login Succeeded 00:21:53 docker.io 00:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:54 Configure a credential helper to remove this warning. See 00:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:54 00:21:54 Login Succeeded 00:21:54 ---> docker-login.sh ends [Pipeline] } 00:21:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:21:54 + git rev-list -1 --merges 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266~1..8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 [Pipeline] echo 00:21:54 -----------> git rev-list -1 --merges 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266~1..8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 [false] [Pipeline] sh 00:21:55 + git log --format=format:%s -1 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 [Pipeline] echo 00:21:55 ========================================================= 00:21:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:21:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:55 + git log --format=format:%s -1 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 [Pipeline] echo 00:21:55 [semverPrep] GIT_COMMIT: 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:21:55 [semverPrep] This is not a build commit. [Pipeline] sh 00:21:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:56 + grep -v github /etc/ssh/ssh_known_hosts 00:21:56 + [ -e /tmp/ssh_known_hosts ] 00:21:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:21:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:21:56 + sudo tee -a /etc/ssh/ssh_known_hosts 00:21:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:56 00:21:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:58 0.1.4: Pulling from edgex-devops/py-git-semver 00:21:58 b85a868b505f: Pulling fs layer 00:21:58 e2be974225ed: Pulling fs layer 00:21:58 339a4e72a1f5: Pulling fs layer 00:21:58 988bab9f4d93: Pulling fs layer 00:21:58 1469e6f7b9e6: Pulling fs layer 00:21:58 eaf3925da568: Pulling fs layer 00:21:58 bab4dde63d76: Pulling fs layer 00:21:58 bde34c3a00c8: Pulling fs layer 00:21:58 b352a97aabf1: Pulling fs layer 00:21:58 4872d77fe225: Pulling fs layer 00:21:58 5851b861e8e6: Pulling fs layer 00:21:58 bde34c3a00c8: Waiting 00:21:58 988bab9f4d93: Waiting 00:21:58 1469e6f7b9e6: Waiting 00:21:58 eaf3925da568: Waiting 00:21:58 5851b861e8e6: Waiting 00:21:58 4872d77fe225: Waiting 00:21:58 e2be974225ed: Verifying Checksum 00:21:58 e2be974225ed: Download complete 00:21:58 988bab9f4d93: Verifying Checksum 00:21:58 988bab9f4d93: Download complete 00:21:58 339a4e72a1f5: Verifying Checksum 00:21:58 339a4e72a1f5: Download complete 00:21:58 1469e6f7b9e6: Verifying Checksum 00:21:58 1469e6f7b9e6: Download complete 00:21:58 eaf3925da568: Download complete 00:21:58 bde34c3a00c8: Verifying Checksum 00:21:58 bde34c3a00c8: Download complete 00:21:58 b352a97aabf1: Verifying Checksum 00:21:58 b352a97aabf1: Download complete 00:21:58 4872d77fe225: Verifying Checksum 00:21:58 4872d77fe225: Download complete 00:21:58 5851b861e8e6: Verifying Checksum 00:21:58 5851b861e8e6: Download complete 00:21:58 b85a868b505f: Verifying Checksum 00:21:58 b85a868b505f: Download complete 00:21:59 bab4dde63d76: Verifying Checksum 00:22:00 b85a868b505f: Pull complete 00:22:01 e2be974225ed: Pull complete 00:22:02 339a4e72a1f5: Pull complete 00:22:02 988bab9f4d93: Pull complete 00:22:03 1469e6f7b9e6: Pull complete 00:22:04 eaf3925da568: Pull complete 00:22:07 bab4dde63d76: Pull complete 00:22:08 bde34c3a00c8: Pull complete 00:22:08 b352a97aabf1: Pull complete 00:22:09 4872d77fe225: Pull complete 00:22:10 5851b861e8e6: Pull complete 00:22:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:22:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:11 prd-ubuntu20.04-docker-8c-8g-8087 does not seem to be running inside a container 00:22:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-199 -v /w/workspace/edgexfoundry_device-gpio_PR-199:/w/workspace/edgexfoundry_device-gpio_PR-199:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-199@tmp:/w/workspace/edgexfoundry_device-gpio_PR-199@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:22:18 $ docker top f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 -eo pid,comm 00:22:18 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). 00:22:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:22:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:18 [ssh-agent] Looking for ssh-agent implementation... 00:22:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:18 $ docker exec f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 ssh-agent 00:22:18 SSH_AUTH_SOCK=/tmp/ssh-PP47ZFAlr7ii/agent.32 00:22:18 SSH_AGENT_PID=38 00:22:18 Running ssh-add (command line suppressed) 00:22:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-199@tmp/private_key_6417208396527522383.key (/w/workspace/edgexfoundry_device-gpio_PR-199@tmp/private_key_6417208396527522383.key) 00:22:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:19 + git tag --points-at HEAD [Pipeline] } 00:22:19 $ docker exec --env ******** --env ******** f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 ssh-agent -k 00:22:19 unset SSH_AUTH_SOCK; 00:22:19 unset SSH_AGENT_PID; 00:22:19 echo Agent pid 38 killed; 00:22:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:22:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:19 [ssh-agent] Looking for ssh-agent implementation... 00:22:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:19 $ docker exec f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 ssh-agent 00:22:19 SSH_AUTH_SOCK=/tmp/ssh-UpNrzc6htEN4/agent.70 00:22:19 SSH_AGENT_PID=76 00:22:19 Running ssh-add (command line suppressed) 00:22:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-199@tmp/private_key_17963584450068089711.key (/w/workspace/edgexfoundry_device-gpio_PR-199@tmp/private_key_17963584450068089711.key) 00:22:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:20 + git semver init 00:22:20 2023-09-28 00:22:20,451 [run_init] DEBUG init version:0.0.0 force:False 00:22:20 2023-09-28 00:22:20,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-199/.semver 00:22:20 2023-09-28 00:22:20,453 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-199/.semver 00:22:20 2023-09-28 00:22:20,453 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-199/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-199, universal_newlines=False, shell=None, istream=None) 00:22:21 2023-09-28 00:22:21,579 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-199/.git/info/exclude 00:22:21 2023-09-28 00:22:21,580 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-199/.semver/PR-199 with force:False 00:22:21 2023-09-28 00:22:21,580 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-199/.semver/PR-199 00:22:21 2023-09-28 00:22:21,584 [execute] INFO git cat-file --batch-check 00:22:21 2023-09-28 00:22:21,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-199/.semver, universal_newlines=False, shell=None, istream=) 00:22:21 2023-09-28 00:22:21,591 [execute] INFO git cat-file --batch 00:22:21 2023-09-28 00:22:21,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-199/.semver, universal_newlines=False, shell=None, istream=) 00:22:21 2023-09-28 00:22:21,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-199/.semver/PR-199 00:22:21 0.0.0 [Pipeline] } 00:22:21 $ docker exec --env ******** --env ******** f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 ssh-agent -k 00:22:22 unset SSH_AUTH_SOCK; 00:22:22 unset SSH_AGENT_PID; 00:22:22 echo Agent pid 76 killed; 00:22:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:22:22 + git semver [Pipeline] } 00:22:22 $ docker stop --time=1 f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 00:22:24 $ docker rm -f --volumes f290888c457cae82957c72f2977159c056291646fca64b8b480227dd116ded23 [Pipeline] // withDockerContainer [Pipeline] sh 00:22:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:22:24 Stashed 1 file(s) [Pipeline] echo 00:22:24 [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 00:22:25 provisioning config files... 00:22:25 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-199@tmp/config6008218963192222529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:25 ---> docker-login.sh 00:22:25 nexus3.edgexfoundry.org:10001 00:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:25 Configure a credential helper to remove this warning. See 00:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:25 00:22:25 Login Succeeded 00:22:25 nexus3.edgexfoundry.org:10002 00:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:26 Configure a credential helper to remove this warning. See 00:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:26 00:22:26 Login Succeeded 00:22:26 nexus3.edgexfoundry.org:10003 00:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:26 Configure a credential helper to remove this warning. See 00:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:26 00:22:26 Login Succeeded 00:22:26 nexus3.edgexfoundry.org:10004 00:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:26 Configure a credential helper to remove this warning. See 00:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:26 00:22:26 Login Succeeded 00:22:26 docker.io 00:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:26 Configure a credential helper to remove this warning. See 00:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:26 00:22:26 Login Succeeded 00:22:26 ---> docker-login.sh ends [Pipeline] } 00:22:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:27 ========================================================= 00:22:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:22:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:22:27 Sending build context to Docker daemon 16.13MB 00:22:27 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:22:27 Step 2/12 : FROM ${BASE} AS builder 00:22:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:22:27 7264a8db6415: Pulling fs layer 00:22:27 c4d48a809fc2: Pulling fs layer 00:22:27 4f1c88b9dad5: Pulling fs layer 00:22:27 ad3a456e5733: Pulling fs layer 00:22:27 33e27b845d1e: Pulling fs layer 00:22:27 c68163c4e522: Pulling fs layer 00:22:27 50da416c3ac9: Pulling fs layer 00:22:27 23d2d4c4bb30: Pulling fs layer 00:22:27 33e27b845d1e: Waiting 00:22:27 c68163c4e522: Waiting 00:22:27 50da416c3ac9: Waiting 00:22:27 ad3a456e5733: Waiting 00:22:27 c4d48a809fc2: Download complete 00:22:27 ad3a456e5733: Verifying Checksum 00:22:27 ad3a456e5733: Download complete 00:22:27 33e27b845d1e: Verifying Checksum 00:22:27 33e27b845d1e: Download complete 00:22:27 7264a8db6415: Verifying Checksum 00:22:27 7264a8db6415: Download complete 00:22:27 c68163c4e522: Verifying Checksum 00:22:27 c68163c4e522: Download complete 00:22:28 7264a8db6415: Pull complete 00:22:28 23d2d4c4bb30: Verifying Checksum 00:22:28 23d2d4c4bb30: Download complete 00:22:28 4f1c88b9dad5: Verifying Checksum 00:22:28 4f1c88b9dad5: Download complete 00:22:28 c4d48a809fc2: Pull complete 00:22:28 50da416c3ac9: Verifying Checksum 00:22:28 50da416c3ac9: Download complete 00:22:31 4f1c88b9dad5: Pull complete 00:22:31 ad3a456e5733: Pull complete 00:22:32 33e27b845d1e: Pull complete 00:22:32 c68163c4e522: Pull complete 00:22:34 50da416c3ac9: Pull complete 00:22:35 23d2d4c4bb30: Pull complete 00:22:35 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:22:35 ---> 0786185ac409 00:22:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:22:40 Still waiting to schedule task 00:22:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8085’ 00:22:47 ---> Running in e58b8e07186c 00:22:47 Removing intermediate container e58b8e07186c 00:22:47 ---> 05ad86bc9cac 00:22:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:22:47 ---> Running in f183cfead528 00:22:47 Removing intermediate container f183cfead528 00:22:47 ---> c79609e29caf 00:22:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:22:47 ---> Running in a8e35f4e74fb 00:22:47 Removing intermediate container a8e35f4e74fb 00:22:47 ---> e88af87583c8 00:22:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:22:47 ---> Running in f8b523154660 00:22:47 Removing intermediate container f8b523154660 00:22:47 ---> 2b9f3ee766de 00:22:47 Step 7/12 : WORKDIR /device-gpio 00:22:47 ---> Running in ff1e351ccfc1 00:22:47 Removing intermediate container ff1e351ccfc1 00:22:47 ---> afb3a872ef47 00:22:47 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:22:47 ---> Running in 8b7224c69b11 00:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:22:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:22:47 (2/4) Installing libedit (20221030.3.1-r1) 00:22:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:22:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:22:47 Executing busybox-1.36.1-r2.trigger 00:22:47 OK: 268 MiB in 56 packages 00:22:48 Removing intermediate container 8b7224c69b11 00:22:48 ---> bbcfbe9725bb 00:22:48 Step 9/12 : COPY go.mod vendor* ./ 00:22:48 ---> 1b701507c0d0 00:22:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:22:48 ---> Running in c7723a97a05f 00:23:45 Removing intermediate container c7723a97a05f 00:23:45 ---> a293051d4403 00:23:45 Step 11/12 : COPY . . 00:23:45 ---> f334e776b51b 00:23:45 Step 12/12 : RUN ${MAKE} 00:23:45 ---> Running in 7d9e46f19523 00:23:45 noop 00:23:45 Removing intermediate container 7d9e46f19523 00:23:45 ---> 41e235e63d3b 00:23:45 Successfully built 41e235e63d3b 00:23:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:45 + docker inspect -f . ci-base-image-x86_64 00:23:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:45 prd-ubuntu20.04-docker-8c-8g-8087 does not seem to be running inside a container 00:23:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-199 -v /w/workspace/edgexfoundry_device-gpio_PR-199:/w/workspace/edgexfoundry_device-gpio_PR-199:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-199@tmp:/w/workspace/edgexfoundry_device-gpio_PR-199@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 ******** ci-base-image-x86_64 cat 00:23:46 $ docker top d3745e22616dd46ccaa03b335d663e64b763a39a0ab24de5d6117615d163c3d6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:46 + go version 00:23:46 go version go1.21.0 linux/amd64 [Pipeline] } 00:23:46 $ docker stop --time=1 d3745e22616dd46ccaa03b335d663e64b763a39a0ab24de5d6117615d163c3d6 00:23:47 $ docker rm -f --volumes d3745e22616dd46ccaa03b335d663e64b763a39a0ab24de5d6117615d163c3d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:48 + docker inspect -f . ci-base-image-x86_64 00:23:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:48 prd-ubuntu20.04-docker-8c-8g-8087 does not seem to be running inside a container 00:23:48 $ 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-199 -v /w/workspace/edgexfoundry_device-gpio_PR-199:/w/workspace/edgexfoundry_device-gpio_PR-199:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-199@tmp:/w/workspace/edgexfoundry_device-gpio_PR-199@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 ******** ci-base-image-x86_64 cat 00:23:49 $ docker top 77bb4ca5a1110b473b4bdddb3cacc8eaa18ec7328a54fb8b326bb5064bbb6b47 -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-199 [Pipeline] fileExists [Pipeline] sh 00:23:49 + make test 00:23:49 go test ./... -coverprofile=coverage.out ./... 00:23:51 ? github.com/edgexfoundry/device-gpio [no test files] 00:24:01 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:24:01 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:24:07 go vet ./... 00:24:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:24:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:24:12 ./bin/test-attribution-txt.sh [Pipeline] echo 00:24:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:24:12 $ docker stop --time=1 77bb4ca5a1110b473b4bdddb3cacc8eaa18ec7328a54fb8b326bb5064bbb6b47 00:24:20 $ docker rm -f --volumes 77bb4ca5a1110b473b4bdddb3cacc8eaa18ec7328a54fb8b326bb5064bbb6b47 [Pipeline] // withDockerContainer [Pipeline] sh 00:24:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:24:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:24:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:24:22 + ls -al . 00:24:22 total 168 00:24:22 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 00:23 . 00:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 00:21 .. 00:24:22 -rw-rw-r-- 1 jenkins jenkins 120 Sep 28 00:21 .dockerignore 00:24:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 00:24 .git 00:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 00:21 .github 00:24:22 -rw-rw-r-- 1 jenkins jenkins 343 Sep 28 00:21 .gitignore 00:24:22 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 00:21 .golangci.yml 00:24:22 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 00:22 .semver 00:24:22 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 28 00:21 Attribution.txt 00:24:22 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 28 00:21 CHANGELOG.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 28 00:21 Dockerfile 00:24:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 00:21 GOVERNANCE.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 657 Sep 28 00:21 Jenkinsfile 00:24:22 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 00:21 LICENSE 00:24:22 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 28 00:21 Makefile 00:24:22 -rw-rw-r-- 1 jenkins jenkins 617 Sep 28 00:21 OWNERS.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 28 00:21 README.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 00:22 VERSION 00:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 00:21 bin 00:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 00:21 cmd 00:24:22 -rw-r--r-- 1 jenkins jenkins 10 Sep 28 00:23 coverage.out 00:24:22 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 28 00:21 go.mod 00:24:22 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 28 00:21 go.sum 00:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 00:21 internal 00:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 00:21 snap 00:24:22 -rw-rw-r-- 1 jenkins jenkins 209 Sep 28 00:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:23 + 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=8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 --label arch=amd64 --label version=0.0.0 . 00:24:23 Sending build context to Docker daemon 16.13MB 00:24:23 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:24:23 Step 2/25 : FROM ${BASE} AS builder 00:24:23 ---> 41e235e63d3b 00:24:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:24:23 ---> Running in c061e829bc65 00:24:23 Removing intermediate container c061e829bc65 00:24:23 ---> b6c76c56127b 00:24:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:23 ---> Running in 44e7cce16b67 00:24:23 Removing intermediate container 44e7cce16b67 00:24:23 ---> 78921a911d1a 00:24:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:24:23 ---> Running in 185c333ef5ee 00:24:23 Removing intermediate container 185c333ef5ee 00:24:23 ---> bb5e6d3cfce4 00:24:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:24:23 ---> Running in c5495e24bdd5 00:24:24 Removing intermediate container c5495e24bdd5 00:24:24 ---> a698567b9cc4 00:24:24 Step 7/25 : WORKDIR /device-gpio 00:24:24 ---> Running in 2ec97c095093 00:24:24 Removing intermediate container 2ec97c095093 00:24:24 ---> 1d41f68b005e 00:24:24 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:24:24 ---> Running in e0fc3eb5b7eb 00:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:24:25 OK: 268 MiB in 56 packages 00:24:25 Removing intermediate container e0fc3eb5b7eb 00:24:25 ---> 4a4be518faff 00:24:25 Step 9/25 : COPY go.mod vendor* ./ 00:24:25 ---> b72f1807594f 00:24:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:26 ---> Running in 2fcf50f460ba 00:24:26 Removing intermediate container 2fcf50f460ba 00:24:26 ---> 85404a1c903f 00:24:26 Step 11/25 : COPY . . 00:24:27 ---> 88de3414a18f 00:24:27 Step 12/25 : RUN ${MAKE} 00:24:27 ---> Running in 3e48500884f6 00:24:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:24:54 Removing intermediate container 3e48500884f6 00:24:54 ---> e4527f604ea8 00:24:54 Step 13/25 : FROM alpine:3.18 00:24:54 3.18: Pulling from library/alpine 00:24:54 7264a8db6415: Already exists 00:24:54 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:24:54 Status: Downloaded newer image for alpine:3.18 00:24:54 ---> 7e01a0d0a1dc 00:24:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:24:54 ---> Running in 619f6faa5c2f 00:24:54 Removing intermediate container 619f6faa5c2f 00:24:54 ---> 9ea52b217675 00:24:54 Step 15/25 : RUN apk add --update --no-cache 00:24:54 ---> Running in dc52bcc4d63a 00:24:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:24:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:24:54 OK: 7 MiB in 15 packages 00:24:54 Removing intermediate container dc52bcc4d63a 00:24:54 ---> dcad89da3351 00:24:54 Step 16/25 : WORKDIR / 00:24:54 ---> Running in 7895efa30b4e 00:24:54 Removing intermediate container 7895efa30b4e 00:24:54 ---> 126e7b45261e 00:24:54 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:24:54 ---> 2fd5f8e98c85 00:24:54 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:24:54 ---> 3a82f5f037bc 00:24:54 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:24:54 ---> 2be13e03a97b 00:24:54 Step 20/25 : EXPOSE 59910 00:24:54 ---> Running in d9c84a604b84 00:24:54 Removing intermediate container d9c84a604b84 00:24:54 ---> 06acc0e57341 00:24:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:24:54 ---> Running in 036756bbacb4 00:24:54 Removing intermediate container 036756bbacb4 00:24:54 ---> d1a0ec385803 00:24:54 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:24:54 ---> Running in e49a6d6031c4 00:24:54 Removing intermediate container e49a6d6031c4 00:24:54 ---> 4254272ae07a 00:24:54 Step 23/25 : LABEL arch=amd64 00:24:54 ---> Running in 7952f32279c4 00:24:54 Removing intermediate container 7952f32279c4 00:24:54 ---> dc97c166cf59 00:24:54 Step 24/25 : LABEL git_sha=8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 00:24:54 ---> Running in 39130ad33864 00:24:54 Removing intermediate container 39130ad33864 00:24:54 ---> 5d6df4f9107c 00:24:54 Step 25/25 : LABEL version=0.0.0 00:24:54 ---> Running in 510a83f835c0 00:24:54 Removing intermediate container 510a83f835c0 00:24:54 ---> 10f34d2ba6eb 00:24:54 [Warning] One or more build-args [ARCH] were not consumed 00:24:54 Successfully built 10f34d2ba6eb 00:24:54 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 00:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:55 00:24:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:56 latest: Pulling from edgex-lftools-log-publisher 00:24:56 5eb5b503b376: Pulling fs layer 00:24:56 5c69ac0246d0: Pulling fs layer 00:24:56 ec43610c2a17: Pulling fs layer 00:24:56 3a2ae6a8a46f: Pulling fs layer 00:24:56 33b1e0a273af: Pulling fs layer 00:24:56 5d3b04190fa2: Pulling fs layer 00:24:56 3a2ae6a8a46f: Waiting 00:24:56 33b1e0a273af: Waiting 00:24:56 5d3b04190fa2: Waiting 00:24:56 2f39f015ded8: Pulling fs layer 00:24:56 2f39f015ded8: Waiting 00:24:56 5c69ac0246d0: Download complete 00:24:56 3a2ae6a8a46f: Verifying Checksum 00:24:56 3a2ae6a8a46f: Download complete 00:24:56 33b1e0a273af: Verifying Checksum 00:24:56 33b1e0a273af: Download complete 00:24:56 5d3b04190fa2: Download complete 00:24:56 ec43610c2a17: Verifying Checksum 00:24:56 ec43610c2a17: Download complete 00:24:56 5eb5b503b376: Verifying Checksum 00:24:56 5eb5b503b376: Download complete 00:24:57 2f39f015ded8: Verifying Checksum 00:24:57 2f39f015ded8: Download complete 00:24:57 5eb5b503b376: Pull complete 00:24:57 5c69ac0246d0: Pull complete 00:24:58 ec43610c2a17: Pull complete 00:24:58 3a2ae6a8a46f: Pull complete 00:24:58 33b1e0a273af: Pull complete 00:24:58 5d3b04190fa2: Pull complete 00:25:02 2f39f015ded8: Pull complete 00:25:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:03 prd-ubuntu20.04-docker-8c-8g-8087 does not seem to be running inside a container 00:25:03 $ 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-199 -v /w/workspace/edgexfoundry_device-gpio_PR-199:/w/workspace/edgexfoundry_device-gpio_PR-199:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-199@tmp:/w/workspace/edgexfoundry_device-gpio_PR-199@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-lftools-log-publisher:latest cat 00:25:13 $ docker top 8714f14f88ea73bdf3a689088d9b27517e39ad46ba4c37575839f900368f30ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:13 ---> job-cost.sh 00:25:13 lf-activate-venv: SKIPPING 00:25:13 INFO: No Stack... 00:25:13 INFO: Retrieving Pricing Info for: v3-standard-8 00:25:14 INFO: Archiving Costs [Pipeline] sh 00:25:14 + cat /w/workspace/edgexfoundry_device-gpio_PR-199/archives/cost.csv 00:25:14 + cut -d, -f6 [Pipeline] lock 00:25:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] 00:25:14 Resource [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] did not exist. Created. 00:25:14 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:14 + echo total: 0.2199999988079071 [Pipeline] stash 00:25:14 Stashed 1 file(s) [Pipeline] } 00:25:14 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:14 $ docker stop --time=1 8714f14f88ea73bdf3a689088d9b27517e39ad46ba4c37575839f900368f30ab 00:25:16 $ docker rm -f --volumes 8714f14f88ea73bdf3a689088d9b27517e39ad46ba4c37575839f900368f30ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:25:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8088 in /w/workspace/edgexfoundry_device-gpio_PR-199 [Pipeline] { [Pipeline] ws 00:25:59 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:25:59 The recommended git tool is: git 00:26:04 using credential edgex-jenkins-ssh 00:26:04 Cloning the remote Git repository 00:26:04 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:26:05 > git init /w/workspace/device-gpio/1 # timeout=10 00:26:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:26:05 > git --version # timeout=10 00:26:05 > git --version # 'git version 2.25.1' 00:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:26:06 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:26:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:26:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:26:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:26:08 Merging remotes/origin/main commit c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a into PR head commit 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 00:26:08 Merge succeeded, producing 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 00:26:08 Checking out Revision 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 (PR-199) 00:26:09 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:26:09 > git --version # timeout=10 00:26:09 > git --version # 'git version 2.25.1' 00:26:09 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { 00:26:08 > git config core.sparsecheckout # timeout=10 00:26:08 > git checkout -f 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 # timeout=10 00:26:08 > git remote # timeout=10 00:26:08 > git config --get remote.origin.url # timeout=10 00:26:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:08 > git merge c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a # timeout=10 00:26:08 > git rev-parse HEAD^{commit} # timeout=10 00:26:08 > git config core.sparsecheckout # timeout=10 00:26:08 > git checkout -f 8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:26:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:26:10 % Total % Received % Xferd Average Speed Time Time Time Current 00:26:10 Dload Upload Total Spent Left Speed 00:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 00:26:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:26:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:26:11 + sudo tee /etc/docker/daemon.new 00:26:11 { 00:26:11 "registry-mirrors": [ 00:26:11 "https://nexus3.edgexfoundry.org:10001" 00:26:11 ], 00:26:11 "bip": "10.250.0.254/24", 00:26:11 "hosts": [ 00:26:11 "tcp://0.0.0.0:5555", 00:26:11 "unix:///var/run/docker.sock" 00:26:11 ], 00:26:11 "mtu": 1458, 00:26:11 "selinux-enabled": true, 00:26:11 "seccomp-profile": "/etc/docker/seccomp.json" 00:26:11 } [Pipeline] sh 00:26:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:26:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:26:30 provisioning config files... 00:26:30 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config199067648101479730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:26:30 ---> docker-login.sh 00:26:30 nexus3.edgexfoundry.org:10001 00:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:31 Configure a credential helper to remove this warning. See 00:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:31 00:26:31 Login Succeeded 00:26:31 nexus3.edgexfoundry.org:10002 00:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:31 Configure a credential helper to remove this warning. See 00:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:31 00:26:31 Login Succeeded 00:26:31 nexus3.edgexfoundry.org:10003 00:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:32 Configure a credential helper to remove this warning. See 00:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:32 00:26:32 Login Succeeded 00:26:32 nexus3.edgexfoundry.org:10004 00:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:32 Configure a credential helper to remove this warning. See 00:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:32 00:26:32 Login Succeeded 00:26:32 docker.io 00:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:33 Configure a credential helper to remove this warning. See 00:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:33 00:26:33 Login Succeeded 00:26:33 ---> docker-login.sh ends [Pipeline] } 00:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:26:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:26:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:26:33 ========================================================= 00:26:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:26:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:26:36 Sending build context to Docker daemon 8.133MB 00:26:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:26:36 Step 2/12 : FROM ${BASE} AS builder 00:26:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:26:36 9fda8d8052c6: Pulling fs layer 00:26:36 5d54e960e981: Pulling fs layer 00:26:36 c4a7e357bf2a: Pulling fs layer 00:26:36 f0e02332f6b5: Pulling fs layer 00:26:36 cefa15bbcfad: Pulling fs layer 00:26:36 17808c966233: Pulling fs layer 00:26:36 f4c1fc716caa: Pulling fs layer 00:26:36 f0e02332f6b5: Waiting 00:26:36 17808c966233: Waiting 00:26:36 cefa15bbcfad: Waiting 00:26:36 f4c1fc716caa: Waiting 00:26:36 5d54e960e981: Verifying Checksum 00:26:36 5d54e960e981: Download complete 00:26:36 f0e02332f6b5: Download complete 00:26:36 cefa15bbcfad: Verifying Checksum 00:26:36 cefa15bbcfad: Download complete 00:26:36 9fda8d8052c6: Verifying Checksum 00:26:36 9fda8d8052c6: Download complete 00:26:37 f4c1fc716caa: Verifying Checksum 00:26:37 f4c1fc716caa: Download complete 00:26:37 9fda8d8052c6: Pull complete 00:26:38 5d54e960e981: Pull complete 00:26:38 c4a7e357bf2a: Verifying Checksum 00:26:38 c4a7e357bf2a: Download complete 00:26:39 17808c966233: Verifying Checksum 00:26:39 17808c966233: Download complete 00:26:49 c4a7e357bf2a: Pull complete 00:26:49 f0e02332f6b5: Pull complete 00:26:49 cefa15bbcfad: Pull complete 00:26:56 17808c966233: Pull complete 00:26:57 f4c1fc716caa: Pull complete 00:26:57 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:26:57 ---> ea914061e18c 00:26:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:26:59 ---> Running in 4a661347b890 00:26:59 Removing intermediate container 4a661347b890 00:26:59 ---> 3f0db5c91404 00:26:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:26:59 ---> Running in 672e90f16db5 00:26:59 Removing intermediate container 672e90f16db5 00:26:59 ---> 727ed9a4c981 00:26:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:27:00 ---> Running in 406dd2752f97 00:27:00 Removing intermediate container 406dd2752f97 00:27:00 ---> 9705c80e8168 00:27:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:27:00 ---> Running in 02f849195d4a 00:27:00 Removing intermediate container 02f849195d4a 00:27:00 ---> 7ef1078399a0 00:27:00 Step 7/12 : WORKDIR /device-gpio 00:27:00 ---> Running in 0903f72b558b 00:27:01 Removing intermediate container 0903f72b558b 00:27:01 ---> 0bc29b024ca4 00:27:01 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:27:01 ---> Running in e441a21f6d92 00:27:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:27:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:27:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:27:03 (2/4) Installing libedit (20221030.3.1-r1) 00:27:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:27:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:27:03 Executing busybox-1.36.1-r2.trigger 00:27:03 OK: 270 MiB in 56 packages 00:27:04 Removing intermediate container e441a21f6d92 00:27:04 ---> e8bcbf00b348 00:27:04 Step 9/12 : COPY go.mod vendor* ./ 00:27:05 ---> 38bd583cdba7 00:27:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:27:05 ---> Running in 61711fdc4484 00:28:27 Removing intermediate container 61711fdc4484 00:28:27 ---> 31438b3321ad 00:28:27 Step 11/12 : COPY . . 00:28:27 ---> 0999562e4642 00:28:27 Step 12/12 : RUN ${MAKE} 00:28:27 ---> Running in 2c1a3d653f9b 00:28:27 noop 00:28:28 Removing intermediate container 2c1a3d653f9b 00:28:28 ---> b2297397103c 00:28:28 Successfully built b2297397103c 00:28:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:28 + docker inspect -f . ci-base-image-arm64 00:28:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:29 prd-ubuntu20.04-docker-arm64-4c-16g-8088 does not seem to be running inside a container 00:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:28:30 $ docker top 06b8202a27cc19bc5a759695780bcf1834b7125d466023dc67412a0d1c45c8dc -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:31 + go version 00:28:31 go version go1.21.0 linux/arm64 [Pipeline] } 00:28:31 $ docker stop --time=1 06b8202a27cc19bc5a759695780bcf1834b7125d466023dc67412a0d1c45c8dc 00:28:32 $ docker rm -f --volumes 06b8202a27cc19bc5a759695780bcf1834b7125d466023dc67412a0d1c45c8dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:33 + docker inspect -f . ci-base-image-arm64 00:28:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:33 prd-ubuntu20.04-docker-arm64-4c-16g-8088 does not seem to be running inside a container 00:28:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:28:34 $ docker top 4a167b2a8c8aefca142c1f8bc4ffd82bc3e36ba8276ec66a877b66b85c1cae45 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:35 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:28:35 + make test 00:28:35 go test ./... -coverprofile=coverage.out ./... 00:28:42 ? github.com/edgexfoundry/device-gpio [no test files] 00:30:04 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:30:04 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:30:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:30:04 go vet ./... 00:30:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:30:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:30:27 ./bin/test-attribution-txt.sh [Pipeline] echo 00:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:30:27 $ docker stop --time=1 4a167b2a8c8aefca142c1f8bc4ffd82bc3e36ba8276ec66a877b66b85c1cae45 00:30:29 $ docker rm -f --volumes 4a167b2a8c8aefca142c1f8bc4ffd82bc3e36ba8276ec66a877b66b85c1cae45 [Pipeline] // withDockerContainer [Pipeline] sh 00:30:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:30:30 Warning: overwriting stash ‘coverage-report’ 00:30:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:30:32 + ls -al . 00:30:32 total 164 00:30:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 00:28 . 00:30:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 00:26 .. 00:30:32 -rw-rw-r-- 1 jenkins jenkins 120 Sep 28 00:26 .dockerignore 00:30:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 00:26 .git 00:30:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 00:26 .github 00:30:32 -rw-rw-r-- 1 jenkins jenkins 343 Sep 28 00:26 .gitignore 00:30:32 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 00:26 .golangci.yml 00:30:32 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 28 00:26 Attribution.txt 00:30:32 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 28 00:26 CHANGELOG.md 00:30:32 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 28 00:26 Dockerfile 00:30:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 00:26 GOVERNANCE.md 00:30:32 -rw-rw-r-- 1 jenkins jenkins 657 Sep 28 00:26 Jenkinsfile 00:30:32 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 00:26 LICENSE 00:30:32 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 28 00:26 Makefile 00:30:32 -rw-rw-r-- 1 jenkins jenkins 617 Sep 28 00:26 OWNERS.md 00:30:32 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 28 00:26 README.md 00:30:32 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 00:22 VERSION 00:30:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 00:26 bin 00:30:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 00:26 cmd 00:30:32 -rw-r--r-- 1 jenkins jenkins 10 Sep 28 00:28 coverage.out 00:30:32 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 28 00:26 go.mod 00:30:32 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 28 00:26 go.sum 00:30:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 00:26 internal 00:30:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 00:26 snap 00:30:32 -rw-rw-r-- 1 jenkins jenkins 209 Sep 28 00:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:32 + 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=8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 --label arch=arm64 --label version=0.0.0 . 00:30:32 Sending build context to Docker daemon 8.134MB 00:30:32 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:30:32 Step 2/25 : FROM ${BASE} AS builder 00:30:32 ---> b2297397103c 00:30:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:30:33 ---> Running in 947791b42f0f 00:30:33 Removing intermediate container 947791b42f0f 00:30:33 ---> f01f52a9d34e 00:30:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:30:33 ---> Running in 0f3143ada7ae 00:30:33 Removing intermediate container 0f3143ada7ae 00:30:33 ---> ad1e9ae47150 00:30:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:30:33 ---> Running in 999040b90c0e 00:30:34 Removing intermediate container 999040b90c0e 00:30:34 ---> d831e2de22e9 00:30:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:30:34 ---> Running in 512044012a94 00:30:34 Removing intermediate container 512044012a94 00:30:34 ---> 19bdef925ad6 00:30:34 Step 7/25 : WORKDIR /device-gpio 00:30:35 ---> Running in a09a416c401a 00:30:35 Removing intermediate container a09a416c401a 00:30:35 ---> d083f5243c4b 00:30:35 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:30:35 ---> Running in 4513f8e4e7db 00:30:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:30:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:30:38 OK: 270 MiB in 56 packages 00:30:39 Removing intermediate container 4513f8e4e7db 00:30:39 ---> d82adea2f482 00:30:39 Step 9/25 : COPY go.mod vendor* ./ 00:30:42 ---> dceea7c91722 00:30:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:30:42 ---> Running in c707fc997588 00:30:44 Removing intermediate container c707fc997588 00:30:44 ---> 1d36bd30ea85 00:30:44 Step 11/25 : COPY . . 00:30:45 ---> 12dd5e016f59 00:30:45 Step 12/25 : RUN ${MAKE} 00:30:45 ---> Running in 96d44b003950 00:30:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:32:37 Removing intermediate container 96d44b003950 00:32:37 ---> aac4cbe17219 00:32:37 Step 13/25 : FROM alpine:3.18 00:32:37 3.18: Pulling from library/alpine 00:32:37 9fda8d8052c6: Already exists 00:32:37 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:32:37 Status: Downloaded newer image for alpine:3.18 00:32:37 ---> f6648c04cd6c 00:32:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:32:37 ---> Running in 2afddfab4f0e 00:32:38 Removing intermediate container 2afddfab4f0e 00:32:38 ---> 203254ece38f 00:32:38 Step 15/25 : RUN apk add --update --no-cache 00:32:38 ---> Running in 01c55b6d091c 00:32:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:32:40 OK: 8 MiB in 15 packages 00:32:41 Removing intermediate container 01c55b6d091c 00:32:41 ---> c3567592e122 00:32:41 Step 16/25 : WORKDIR / 00:32:41 ---> Running in ecc68426fc06 00:32:41 Removing intermediate container ecc68426fc06 00:32:41 ---> 19fd234e2817 00:32:41 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:32:42 ---> 11eb1ebe5460 00:32:42 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:32:43 ---> 439bb588e6bc 00:32:43 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:32:44 ---> 4f79e1fc8fc3 00:32:44 Step 20/25 : EXPOSE 59910 00:32:44 ---> Running in 67a88a4577df 00:32:44 Removing intermediate container 67a88a4577df 00:32:44 ---> 50f3b0d994fc 00:32:44 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:32:44 ---> Running in 152b5fcd5db4 00:32:44 Removing intermediate container 152b5fcd5db4 00:32:44 ---> 3426b62d291b 00:32:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:32:44 ---> Running in 8672487da1b0 00:32:45 Removing intermediate container 8672487da1b0 00:32:45 ---> 227cc1821924 00:32:45 Step 23/25 : LABEL arch=arm64 00:32:45 ---> Running in 584f145d56e7 00:32:45 Removing intermediate container 584f145d56e7 00:32:45 ---> b0ab5810ad9a 00:32:45 Step 24/25 : LABEL git_sha=8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 00:32:45 ---> Running in 11ac8325e9aa 00:32:45 Removing intermediate container 11ac8325e9aa 00:32:45 ---> 3b065c30aac1 00:32:45 Step 25/25 : LABEL version=0.0.0 00:32:45 ---> Running in 3cd8763084ad 00:32:46 Removing intermediate container 3cd8763084ad 00:32:46 ---> 583e2d54c131 00:32:46 [Warning] One or more build-args [ARCH] were not consumed 00:32:46 Successfully built 583e2d54c131 00:32:46 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 00:32:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:32:46 00:32:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:32:47 arm64: Pulling from edgex-lftools-log-publisher 00:32:47 8998bd30e6a1: Pulling fs layer 00:32:47 04944245beec: Pulling fs layer 00:32:47 699f458cf7ca: Pulling fs layer 00:32:47 765212b225bb: Pulling fs layer 00:32:47 f23df028b6ca: Pulling fs layer 00:32:47 d65c8cfc05b1: Pulling fs layer 00:32:47 2437ff75d9bd: Pulling fs layer 00:32:47 765212b225bb: Waiting 00:32:47 f23df028b6ca: Waiting 00:32:47 d65c8cfc05b1: Waiting 00:32:47 2437ff75d9bd: Waiting 00:32:47 04944245beec: Verifying Checksum 00:32:47 04944245beec: Download complete 00:32:47 765212b225bb: Verifying Checksum 00:32:47 765212b225bb: Download complete 00:32:47 f23df028b6ca: Verifying Checksum 00:32:47 f23df028b6ca: Download complete 00:32:47 d65c8cfc05b1: Verifying Checksum 00:32:47 d65c8cfc05b1: Download complete 00:32:47 699f458cf7ca: Verifying Checksum 00:32:47 699f458cf7ca: Download complete 00:32:48 8998bd30e6a1: Verifying Checksum 00:32:48 8998bd30e6a1: Download complete 00:32:50 2437ff75d9bd: Verifying Checksum 00:32:50 2437ff75d9bd: Download complete 00:32:52 8998bd30e6a1: Pull complete 00:32:54 04944245beec: Pull complete 00:32:55 699f458cf7ca: Pull complete 00:32:55 765212b225bb: Pull complete 00:32:56 f23df028b6ca: Pull complete 00:32:56 d65c8cfc05b1: Pull complete 00:33:11 2437ff75d9bd: Pull complete 00:33:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:33:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:12 prd-ubuntu20.04-docker-arm64-4c-16g-8088 does not seem to be running inside a container 00:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:33:14 $ docker top 363eccb16ee760981446cd61234e3aed48c9cf9997aae5146e422aa88609c3bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:15 ---> job-cost.sh 00:33:15 lf-activate-venv: SKIPPING 00:33:15 INFO: No Stack... 00:33:15 INFO: Retrieving Pricing Info for: v3-standard-4 00:33:16 INFO: Archiving Costs [Pipeline] sh 00:33:17 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:33:17 + cut -d, -f6 [Pipeline] lock 00:33:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] 00:33:17 Resource [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] did not exist. Created. 00:33:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:33:17 /w/workspace/device-gpio/1@tmp/durable-3594c5b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:33:17 + echo total: 0.10999999940395355 [Pipeline] stash 00:33:18 Warning: overwriting stash ‘stack-cost’ 00:33:18 Stashed 1 file(s) [Pipeline] } 00:33:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:33:18 $ docker stop --time=1 363eccb16ee760981446cd61234e3aed48c9cf9997aae5146e422aa88609c3bf 00:33:20 $ docker rm -f --volumes 363eccb16ee760981446cd61234e3aed48c9cf9997aae5146e422aa88609c3bf [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 00:33:21 provisioning config files... 00:33:21 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-199@tmp/config14219679892492938067tmp [Pipeline] { [Pipeline] sh 00:33:22 + set +x 00:33:22 + curl -s https://codecov.io/bash 00:33:22 + bash -s -- 00:33:22 00:33:22 _____ _ 00:33:22 / ____| | | 00:33:22 | | ___ __| | ___ ___ _____ __ 00:33:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:33:22 | |___| (_) | (_| | __/ (_| (_) \ V / 00:33:22 \_____\___/ \__,_|\___|\___\___/ \_/ 00:33:22 Bash-1.0.6 00:33:22 00:33:22 00:33:22 ==> git version 2.25.1 found 00:33:22 ==> 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 00:33:22 Release-Date: 2020-01-08 00:33:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:33:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:33:22 ==> Jenkins CI detected. 00:33:22 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-199 00:33:22 project root: . 00:33:22 --> token set from env 00:33:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:33:22 ==> Running gcov in . (disable via -X gcov) 00:33:22 ==> Python coveragepy not found 00:33:22 ==> Searching for coverage reports in: 00:33:22 + . 00:33:22 -> Found 1 reports 00:33:22 ==> Detecting git/mercurial file structure 00:33:22 ==> Reading reports 00:33:22 + ./coverage.out bytes=10 00:33:22 ==> Appending adjustments 00:33:22 https://docs.codecov.io/docs/fixing-reports 00:33:22 + Found adjustments 00:33:22 ==> Gzipping contents 00:33:22 4.0K /tmp/codecov.pALuOt.gz 00:33:22 ==> Uploading reports 00:33:22 url: https://codecov.io 00:33:22 query: branch=PR-199&commit=8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=199&job=&cmd_args= 00:33:22 -> Pinging Codecov 00:33:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-199&commit=8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=199&job=&cmd_args= 00:33:22 -> Uploading to 00:33:22 https://storage.googleapis.com/codecov/v4/raw/2023-09-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266/125d74ca-5100-49f1-ad9a-51d44b02e311.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T003322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97b893da54f848fc98b28e1b8eddec0bed46fa777736f1c3f533d3a690816c65 00:33:22 % Total % Received % Xferd Average Speed Time Time Time Current 00:33:22 Dload Upload Total Spent Left Speed 00:33:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3261 --:--:-- --:--:-- --:--:-- 3246 100 724 0 0 100 724 0 2850 --:--:-- --:--:-- --:--:-- 2839 00:33:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/8d3f81fc1d5a0a37fb3f6b6d4603a43d64e06266 [Pipeline] } 00:33:22 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 00:33:24 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-199/archives ] 00:33:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-199/archives 00:33:24 total 16 00:33:24 drwxr-xr-x 3 root root 4096 Sep 28 00:25 . 00:33:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 00:25 .. 00:33:24 drwxr-xr-x 2 root root 4096 Sep 28 00:25 cost 00:33:24 -rw-r--r-- 1 root root 83 Sep 28 00:25 cost.csv 00:33:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-199/archives 00:33:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-199/archives 00:33:24 total 16 00:33:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 00:25 . 00:33:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 00:25 .. 00:33:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 00:25 cost 00:33:24 -rw-r--r-- 1 jenkins jenkins 83 Sep 28 00:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:33:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:33:25 ---> package-listing.sh 00:33:25 ++ facter osfamily 00:33:25 ++ tr '[:upper:]' '[:lower:]' 00:33:25 + OS_FAMILY=debian 00:33:25 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-199 00:33:25 + START_PACKAGES=/tmp/packages_start.txt 00:33:25 + END_PACKAGES=/tmp/packages_end.txt 00:33:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:33:25 + PACKAGES=/tmp/packages_start.txt 00:33:25 + '[' /w/workspace/edgexfoundry_device-gpio_PR-199 ']' 00:33:25 + PACKAGES=/tmp/packages_end.txt 00:33:25 + case "${OS_FAMILY}" in 00:33:25 + dpkg -l 00:33:25 + grep '^ii' 00:33:25 + '[' -f /tmp/packages_start.txt ']' 00:33:25 + '[' -f /tmp/packages_end.txt ']' 00:33:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:33:25 + '[' /w/workspace/edgexfoundry_device-gpio_PR-199 ']' 00:33:25 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-199/archives/ 00:33:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-199/archives/ [Pipeline] echo 00:33:25 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:33:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:33:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:26 prd-ubuntu20.04-docker-8c-8g-8087 does not seem to be running inside a container 00:33:27 $ 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-199/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-199 -v /w/workspace/edgexfoundry_device-gpio_PR-199:/w/workspace/edgexfoundry_device-gpio_PR-199:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-199@tmp:/w/workspace/edgexfoundry_device-gpio_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:33:27 $ docker top d94cecbf57aeffe0c283606796ebdccce0acdb611ff003fa182fdfbcc220a199 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:27 + touch /tmp/pre-build-complete [Pipeline] sh 00:33:27 + mkdir -p /var/log/sysstat [Pipeline] sh 00:33:28 + ls /var/log/sa-host 00:33:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:28 provisioning config files... 00:33:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-199@tmp/config2571518221845095274tmp [Pipeline] { [Pipeline] echo 00:33:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:33:28 ---> create-netrc.sh [Pipeline] } 00:33:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:33:29 ---> python-tools-install.sh [Pipeline] echo 00:33:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:33:29 ---> sudo-logs.sh 00:33:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:33:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:33:29 ---> job-cost.sh 00:33:29 lf-activate-venv: SKIPPING 00:33:29 DEBUG: total: 0.2199999988079071 00:33:29 INFO: Retrieving Stack Cost... 00:33:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:33:30 INFO: Archiving Costs [Pipeline] echo 00:33:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:33:31 ---> logs-deploy.sh 00:33:31 lf-activate-venv: SKIPPING 00:33:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-199/1 00:33:31 INFO: archiving workspace using pattern(s): 00:33:32 Archives upload complete. 00:33:32 INFO: archiving logs to Nexus