Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3b9a1a08aea3f5f7690f28faed41a2512d60c23b+07014ed4136a323f76076ad0d7449da681cdeaf5 (35e8a2b12d186f1a6bf53dd6c0948ab0aeda0554) 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-ssh3032010054665516673.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-ssh3951454152332581958.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-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17370944963366305728.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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9013788131118706037.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-ssh14251414614627117972.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-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17729929161025892268.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9566 in /w/workspace/edgexfoundry_device-gpio_PR-204 [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-204 # 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/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07014ed4136a323f76076ad0d7449da681cdeaf5 into PR head commit 3b9a1a08aea3f5f7690f28faed41a2512d60c23b Merge succeeded, producing 3b9a1a08aea3f5f7690f28faed41a2512d60c23b Checking out Revision 3b9a1a08aea3f5f7690f28faed41a2512d60c23b (PR-204) 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:42:48 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 3b9a1a08aea3f5f7690f28faed41a2512d60c23b # 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 07014ed4136a323f76076ad0d7449da681cdeaf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b9a1a08aea3f5f7690f28faed41a2512d60c23b # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:48 ========================================================= 00:42:48 EdgeX Global Pipelines Version Info 00:42:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:49 ------------------- 00:42:49 stable info: 00:42:49 ------------------- 00:42:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:49 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:42:49 Message: update stable to v1.0.254 00:42:50 ------------------- 00:42:50 experimental info: 00:42:50 ------------------- 00:42:50 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:50 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:42:50 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b9a1a08aea3f5f7690f28faed41a2512d60c23b [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b9a1a0 [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:51 provisioning config files... 00:42:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-204@tmp/config6393392742602184822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:52 ---> docker-login.sh 00:42:52 nexus3.edgexfoundry.org:10001 00:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:52 Configure a credential helper to remove this warning. See 00:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:52 00:42:52 Login Succeeded 00:42:52 nexus3.edgexfoundry.org:10002 00:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:52 Configure a credential helper to remove this warning. See 00:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:52 00:42:52 Login Succeeded 00:42:52 nexus3.edgexfoundry.org:10003 00:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:52 Configure a credential helper to remove this warning. See 00:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:52 00:42:52 Login Succeeded 00:42:52 nexus3.edgexfoundry.org:10004 00:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:53 Configure a credential helper to remove this warning. See 00:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:53 00:42:53 Login Succeeded 00:42:53 docker.io 00:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:53 Configure a credential helper to remove this warning. See 00:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:53 00:42:53 Login Succeeded 00:42:53 ---> docker-login.sh ends [Pipeline] } 00:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:42:54 + git rev-list -1 --merges 3b9a1a08aea3f5f7690f28faed41a2512d60c23b~1..3b9a1a08aea3f5f7690f28faed41a2512d60c23b [Pipeline] echo 00:42:54 -----------> git rev-list -1 --merges 3b9a1a08aea3f5f7690f28faed41a2512d60c23b~1..3b9a1a08aea3f5f7690f28faed41a2512d60c23b 3b9a1a08aea3f5f7690f28faed41a2512d60c23b [false] [Pipeline] sh 00:42:54 + git log --format=format:%s -1 3b9a1a08aea3f5f7690f28faed41a2512d60c23b [Pipeline] echo 00:42:54 ========================================================= 00:42:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:42:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:54 + git log --format=format:%s -1 3b9a1a08aea3f5f7690f28faed41a2512d60c23b [Pipeline] echo 00:42:55 [semverPrep] GIT_COMMIT: 3b9a1a08aea3f5f7690f28faed41a2512d60c23b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:42:55 [semverPrep] This is not a build commit. [Pipeline] sh 00:42:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:55 + grep -v github /etc/ssh/ssh_known_hosts 00:42:55 + [ -e /tmp/ssh_known_hosts ] 00:42:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:42:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:42:55 + sudo tee -a /etc/ssh/ssh_known_hosts 00:42:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:55 00:42:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:56 0.1.4: Pulling from edgex-devops/py-git-semver 00:42:56 b85a868b505f: Pulling fs layer 00:42:56 e2be974225ed: Pulling fs layer 00:42:56 339a4e72a1f5: Pulling fs layer 00:42:56 988bab9f4d93: Pulling fs layer 00:42:56 1469e6f7b9e6: Pulling fs layer 00:42:56 eaf3925da568: Pulling fs layer 00:42:56 bab4dde63d76: Pulling fs layer 00:42:56 bde34c3a00c8: Pulling fs layer 00:42:56 b352a97aabf1: Pulling fs layer 00:42:56 4872d77fe225: Pulling fs layer 00:42:56 5851b861e8e6: Pulling fs layer 00:42:56 988bab9f4d93: Waiting 00:42:56 1469e6f7b9e6: Waiting 00:42:56 bde34c3a00c8: Waiting 00:42:56 b352a97aabf1: Waiting 00:42:56 4872d77fe225: Waiting 00:42:56 bab4dde63d76: Waiting 00:42:56 5851b861e8e6: Waiting 00:42:56 eaf3925da568: Waiting 00:42:56 e2be974225ed: Download complete 00:42:56 988bab9f4d93: Verifying Checksum 00:42:56 988bab9f4d93: Download complete 00:42:56 1469e6f7b9e6: Verifying Checksum 00:42:56 1469e6f7b9e6: Download complete 00:42:56 339a4e72a1f5: Verifying Checksum 00:42:56 339a4e72a1f5: Download complete 00:42:56 eaf3925da568: Verifying Checksum 00:42:56 eaf3925da568: Download complete 00:42:56 bde34c3a00c8: Verifying Checksum 00:42:56 bde34c3a00c8: Download complete 00:42:56 b352a97aabf1: Download complete 00:42:56 4872d77fe225: Download complete 00:42:56 5851b861e8e6: Download complete 00:42:56 b85a868b505f: Download complete 00:42:56 bab4dde63d76: Verifying Checksum 00:42:56 bab4dde63d76: Download complete 00:42:57 b85a868b505f: Pull complete 00:42:58 e2be974225ed: Pull complete 00:42:58 339a4e72a1f5: Pull complete 00:42:58 988bab9f4d93: Pull complete 00:42:58 1469e6f7b9e6: Pull complete 00:42:58 eaf3925da568: Pull complete 00:43:00 bab4dde63d76: Pull complete 00:43:00 bde34c3a00c8: Pull complete 00:43:00 b352a97aabf1: Pull complete 00:43:01 4872d77fe225: Pull complete 00:43:01 5851b861e8e6: Pull complete 00:43:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:01 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 00:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-204 -v /w/workspace/edgexfoundry_device-gpio_PR-204:/w/workspace/edgexfoundry_device-gpio_PR-204:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-204@tmp:/w/workspace/edgexfoundry_device-gpio_PR-204@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:43:04 $ docker top d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 -eo pid,comm 00:43:04 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:43:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:04 [ssh-agent] Looking for ssh-agent implementation... 00:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:05 $ docker exec d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 ssh-agent 00:43:05 SSH_AUTH_SOCK=/tmp/ssh-x442IZmbrtlo/agent.32 00:43:05 SSH_AGENT_PID=38 00:43:05 Running ssh-add (command line suppressed) 00:43:05 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-204@tmp/private_key_13415985694313998443.key (/w/workspace/edgexfoundry_device-gpio_PR-204@tmp/private_key_13415985694313998443.key) 00:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:05 + git tag --points-at HEAD [Pipeline] } 00:43:05 $ docker exec --env ******** --env ******** d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 ssh-agent -k 00:43:05 unset SSH_AUTH_SOCK; 00:43:05 unset SSH_AGENT_PID; 00:43:05 echo Agent pid 38 killed; 00:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:05 [ssh-agent] Looking for ssh-agent implementation... 00:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:05 $ docker exec d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 ssh-agent 00:43:06 SSH_AUTH_SOCK=/tmp/ssh-MeAZoMKONSro/agent.71 00:43:06 SSH_AGENT_PID=77 00:43:06 Running ssh-add (command line suppressed) 00:43:06 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-204@tmp/private_key_12772036490817789801.key (/w/workspace/edgexfoundry_device-gpio_PR-204@tmp/private_key_12772036490817789801.key) 00:43:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:06 + git semver init 00:43:06 2023-10-19 00:43:06,730 [run_init] DEBUG init version:0.0.0 force:False 00:43:06 2023-10-19 00:43:06,730 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-204/.semver 00:43:06 2023-10-19 00:43:06,731 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-204/.semver 00:43:06 2023-10-19 00:43:06,731 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-204/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-204, universal_newlines=False, shell=None, istream=None) 00:43:08 2023-10-19 00:43:07,765 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-204/.git/info/exclude 00:43:08 2023-10-19 00:43:07,765 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-204/.semver/PR-204 with force:False 00:43:08 2023-10-19 00:43:07,766 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-204/.semver/PR-204 00:43:08 2023-10-19 00:43:07,770 [execute] INFO git cat-file --batch-check 00:43:08 2023-10-19 00:43:07,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-204/.semver, universal_newlines=False, shell=None, istream=) 00:43:08 2023-10-19 00:43:07,776 [execute] INFO git cat-file --batch 00:43:08 2023-10-19 00:43:07,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-204/.semver, universal_newlines=False, shell=None, istream=) 00:43:08 2023-10-19 00:43:07,781 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-204/.semver/PR-204 00:43:08 0.0.0 [Pipeline] } 00:43:08 $ docker exec --env ******** --env ******** d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 ssh-agent -k 00:43:08 unset SSH_AUTH_SOCK; 00:43:08 unset SSH_AGENT_PID; 00:43:08 echo Agent pid 77 killed; 00:43:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:08 + git semver [Pipeline] } 00:43:09 $ docker stop --time=1 d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 00:43:10 $ docker rm -f --volumes d8b623ae8d8e90cae9e647af5875f0489e2a8671e0568ecec2d2fee9f49eccb8 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:11 Stashed 1 file(s) [Pipeline] echo 00:43:11 [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:43:11 provisioning config files... 00:43:11 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-204@tmp/config14299093400216898701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:12 ---> docker-login.sh 00:43:12 nexus3.edgexfoundry.org:10001 00:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:12 Configure a credential helper to remove this warning. See 00:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:12 00:43:12 Login Succeeded 00:43:12 nexus3.edgexfoundry.org:10002 00:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:12 Configure a credential helper to remove this warning. See 00:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:12 00:43:12 Login Succeeded 00:43:12 nexus3.edgexfoundry.org:10003 00:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:12 Configure a credential helper to remove this warning. See 00:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:12 00:43:12 Login Succeeded 00:43:12 nexus3.edgexfoundry.org:10004 00:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:12 Configure a credential helper to remove this warning. See 00:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:12 00:43:12 Login Succeeded 00:43:12 docker.io 00:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:12 Configure a credential helper to remove this warning. See 00:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:12 00:43:12 Login Succeeded 00:43:12 ---> docker-login.sh ends [Pipeline] } 00:43:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:12 ========================================================= 00:43:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:43:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:13 + 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:43:13 Sending build context to Docker daemon 16.15MB 00:43:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:43:13 Step 2/12 : FROM ${BASE} AS builder 00:43:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:13 7264a8db6415: Pulling fs layer 00:43:13 c4d48a809fc2: Pulling fs layer 00:43:13 4f1c88b9dad5: Pulling fs layer 00:43:13 ad3a456e5733: Pulling fs layer 00:43:13 33e27b845d1e: Pulling fs layer 00:43:13 c68163c4e522: Pulling fs layer 00:43:13 50da416c3ac9: Pulling fs layer 00:43:13 23d2d4c4bb30: Pulling fs layer 00:43:13 33e27b845d1e: Waiting 00:43:13 c68163c4e522: Waiting 00:43:13 50da416c3ac9: Waiting 00:43:13 23d2d4c4bb30: Waiting 00:43:13 ad3a456e5733: Waiting 00:43:13 c4d48a809fc2: Download complete 00:43:13 ad3a456e5733: Verifying Checksum 00:43:13 ad3a456e5733: Download complete 00:43:13 7264a8db6415: Verifying Checksum 00:43:13 7264a8db6415: Download complete 00:43:13 33e27b845d1e: Verifying Checksum 00:43:13 33e27b845d1e: Download complete 00:43:13 c68163c4e522: Verifying Checksum 00:43:13 c68163c4e522: Download complete 00:43:13 7264a8db6415: Pull complete 00:43:13 23d2d4c4bb30: Verifying Checksum 00:43:13 23d2d4c4bb30: Download complete 00:43:13 c4d48a809fc2: Pull complete 00:43:13 4f1c88b9dad5: Download complete 00:43:14 50da416c3ac9: Verifying Checksum 00:43:14 50da416c3ac9: Download complete 00:43:17 4f1c88b9dad5: Pull complete 00:43:17 ad3a456e5733: Pull complete 00:43:17 33e27b845d1e: Pull complete 00:43:17 c68163c4e522: Pull complete 00:43:19 50da416c3ac9: Pull complete 00:43:20 23d2d4c4bb30: Pull complete 00:43:20 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:43:20 ---> 0786185ac409 00:43:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:43:24 ---> Running in bd4b1650afd5 00:43:24 Removing intermediate container bd4b1650afd5 00:43:24 ---> f7dd221e5bab 00:43:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:43:24 ---> Running in 20913fbdc3c9 00:43:24 Removing intermediate container 20913fbdc3c9 00:43:24 ---> 4660d09eeecb 00:43:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:43:24 ---> Running in 93c818101f39 00:43:24 Removing intermediate container 93c818101f39 00:43:24 ---> 915c7328d214 00:43:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:43:24 ---> Running in cd9dde844de5 00:43:24 Removing intermediate container cd9dde844de5 00:43:24 ---> b5397e1e73a3 00:43:24 Step 7/12 : WORKDIR /device-gpio 00:43:24 ---> Running in 29d93f81ff67 00:43:24 Removing intermediate container 29d93f81ff67 00:43:24 ---> 4a1668a35aed 00:43:24 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:24 ---> Running in 9861b70b6ce6 00:43:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:43:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:43:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:43:25 (2/4) Installing libedit (20221030.3.1-r1) 00:43:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:43:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:43:25 Executing busybox-1.36.1-r2.trigger 00:43:25 OK: 268 MiB in 56 packages 00:43:26 Removing intermediate container 9861b70b6ce6 00:43:26 ---> 880776a2fddb 00:43:26 Step 9/12 : COPY go.mod vendor* ./ 00:43:26 ---> 284da688590c 00:43:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:26 ---> Running in e46f081990db 00:43:26 Still waiting to schedule task 00:43:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9563’ 00:44:34 Removing intermediate container e46f081990db 00:44:34 ---> 66f8dc55fcc2 00:44:34 Step 11/12 : COPY . . 00:44:34 ---> 92efd5c2230e 00:44:34 Step 12/12 : RUN ${MAKE} 00:44:34 ---> Running in 9568093ef19f 00:44:34 noop 00:44:34 Removing intermediate container 9568093ef19f 00:44:34 ---> 1802f83faabf 00:44:34 Successfully built 1802f83faabf 00:44:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:34 + docker inspect -f . ci-base-image-x86_64 00:44:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:34 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 00:44:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-204 -v /w/workspace/edgexfoundry_device-gpio_PR-204:/w/workspace/edgexfoundry_device-gpio_PR-204:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-204@tmp:/w/workspace/edgexfoundry_device-gpio_PR-204@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:44:35 $ docker top 4878d500fd1511197088e7e9caeb542e2f9f2ed92b372d3bf2c581c5daeb842d -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:35 + go version 00:44:35 go version go1.21.0 linux/amd64 [Pipeline] } 00:44:35 $ docker stop --time=1 4878d500fd1511197088e7e9caeb542e2f9f2ed92b372d3bf2c581c5daeb842d 00:44:36 $ docker rm -f --volumes 4878d500fd1511197088e7e9caeb542e2f9f2ed92b372d3bf2c581c5daeb842d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:37 + docker inspect -f . ci-base-image-x86_64 00:44:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:37 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 00:44:37 $ 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-204 -v /w/workspace/edgexfoundry_device-gpio_PR-204:/w/workspace/edgexfoundry_device-gpio_PR-204:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-204@tmp:/w/workspace/edgexfoundry_device-gpio_PR-204@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:44:37 $ docker top fe05ee468200545344e8855f734dd9dd773e63c7f375c06ecb7101b996ab045f -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-204 [Pipeline] fileExists [Pipeline] sh 00:44:38 + make test 00:44:38 go test ./... -coverprofile=coverage.out ./... 00:44:40 ? github.com/edgexfoundry/device-gpio [no test files] 00:44:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:44:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:44:56 go vet ./... 00:45:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:45:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:45:00 ./bin/test-attribution-txt.sh [Pipeline] echo 00:45:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:45:01 $ docker stop --time=1 fe05ee468200545344e8855f734dd9dd773e63c7f375c06ecb7101b996ab045f 00:45:04 $ docker rm -f --volumes fe05ee468200545344e8855f734dd9dd773e63c7f375c06ecb7101b996ab045f [Pipeline] // withDockerContainer [Pipeline] sh 00:45:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:45:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:45:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:45:06 + ls -al . 00:45:06 total 168 00:45:06 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 00:44 . 00:45:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 00:42 .. 00:45:06 -rw-rw-r-- 1 jenkins jenkins 120 Oct 19 00:42 .dockerignore 00:45:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 00:44 .git 00:45:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 00:42 .github 00:45:06 -rw-rw-r-- 1 jenkins jenkins 343 Oct 19 00:42 .gitignore 00:45:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 00:42 .golangci.yml 00:45:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 00:43 .semver 00:45:06 -rw-rw-r-- 1 jenkins jenkins 10671 Oct 19 00:42 Attribution.txt 00:45:06 -rw-rw-r-- 1 jenkins jenkins 6184 Oct 19 00:42 CHANGELOG.md 00:45:06 -rw-rw-r-- 1 jenkins jenkins 1542 Oct 19 00:42 Dockerfile 00:45:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 00:42 GOVERNANCE.md 00:45:06 -rw-rw-r-- 1 jenkins jenkins 657 Oct 19 00:42 Jenkinsfile 00:45:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 19 00:42 LICENSE 00:45:06 -rw-rw-r-- 1 jenkins jenkins 1923 Oct 19 00:42 Makefile 00:45:06 -rw-rw-r-- 1 jenkins jenkins 617 Oct 19 00:42 OWNERS.md 00:45:06 -rw-rw-r-- 1 jenkins jenkins 12293 Oct 19 00:42 README.md 00:45:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 00:43 VERSION 00:45:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 00:42 bin 00:45:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 00:42 cmd 00:45:06 -rw-r--r-- 1 jenkins jenkins 10 Oct 19 00:44 coverage.out 00:45:06 -rw-rw-r-- 1 jenkins jenkins 3698 Oct 19 00:42 go.mod 00:45:06 -rw-rw-r-- 1 jenkins jenkins 35450 Oct 19 00:42 go.sum 00:45:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 00:42 internal 00:45:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 00:42 snap 00:45:06 -rw-rw-r-- 1 jenkins jenkins 209 Oct 19 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:06 + 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=3b9a1a08aea3f5f7690f28faed41a2512d60c23b --label arch=amd64 --label version=0.0.0 . 00:45:06 Sending build context to Docker daemon 16.15MB 00:45:06 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:45:06 Step 2/25 : FROM ${BASE} AS builder 00:45:06 ---> 1802f83faabf 00:45:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:45:06 ---> Running in 15d06a3a4285 00:45:06 Removing intermediate container 15d06a3a4285 00:45:06 ---> daba9dd7eadc 00:45:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:45:06 ---> Running in 2d330699ae2d 00:45:07 Removing intermediate container 2d330699ae2d 00:45:07 ---> c1243435b994 00:45:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:45:07 ---> Running in 8b2c4db563bd 00:45:07 Removing intermediate container 8b2c4db563bd 00:45:07 ---> c311ed4cbd77 00:45:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:45:07 ---> Running in fc03ca6a8f23 00:45:07 Removing intermediate container fc03ca6a8f23 00:45:07 ---> c921d80678b0 00:45:07 Step 7/25 : WORKDIR /device-gpio 00:45:07 ---> Running in 9e766642ca39 00:45:07 Removing intermediate container 9e766642ca39 00:45:07 ---> f6b46c1836ed 00:45:07 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:07 ---> Running in 5952c84cb213 00:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:45:08 OK: 268 MiB in 56 packages 00:45:08 Removing intermediate container 5952c84cb213 00:45:08 ---> 79fbd5a4290b 00:45:08 Step 9/25 : COPY go.mod vendor* ./ 00:45:08 ---> b8aef80ab77a 00:45:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:08 ---> Running in ea3ae8631725 00:45:09 Removing intermediate container ea3ae8631725 00:45:09 ---> 5102868063ae 00:45:09 Step 11/25 : COPY . . 00:45:09 ---> c785a093754a 00:45:09 Step 12/25 : RUN ${MAKE} 00:45:09 ---> Running in ac25a1b955bf 00:45:10 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.35" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:45:31 Removing intermediate container ac25a1b955bf 00:45:31 ---> 12ceb62cae0d 00:45:31 Step 13/25 : FROM alpine:3.18 00:45:31 3.18: Pulling from library/alpine 00:45:31 96526aa774ef: Pulling fs layer 00:45:31 96526aa774ef: Verifying Checksum 00:45:31 96526aa774ef: Download complete 00:45:31 96526aa774ef: Pull complete 00:45:31 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:45:31 Status: Downloaded newer image for alpine:3.18 00:45:31 ---> 8ca4688f4f35 00:45:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:45:31 ---> Running in 412dd20f8209 00:45:31 Removing intermediate container 412dd20f8209 00:45:31 ---> 655bf261cb25 00:45:31 Step 15/25 : RUN apk add --update --no-cache 00:45:31 ---> Running in 2999c657fa3d 00:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:45:31 OK: 7 MiB in 15 packages 00:45:32 Removing intermediate container 2999c657fa3d 00:45:32 ---> 206cdd7be51b 00:45:32 Step 16/25 : WORKDIR / 00:45:32 ---> Running in 0af0058ad965 00:45:32 Removing intermediate container 0af0058ad965 00:45:32 ---> 062b4f7d295f 00:45:32 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:45:32 ---> 5838ba389e1b 00:45:32 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:45:32 ---> 2d09dea0fd8d 00:45:32 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:45:33 ---> c48099f11618 00:45:33 Step 20/25 : EXPOSE 59910 00:45:33 ---> Running in 0a2f3a4cc5fb 00:45:33 Removing intermediate container 0a2f3a4cc5fb 00:45:33 ---> be900704fd61 00:45:33 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:45:33 ---> Running in 4aa8a0f457f0 00:45:33 Removing intermediate container 4aa8a0f457f0 00:45:33 ---> 0281309da1a0 00:45:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:45:33 ---> Running in 820f792a3de8 00:45:33 Removing intermediate container 820f792a3de8 00:45:33 ---> 27c9692fa1b2 00:45:33 Step 23/25 : LABEL arch=amd64 00:45:33 ---> Running in 14cde2ea3b7b 00:45:33 Removing intermediate container 14cde2ea3b7b 00:45:33 ---> 0269931ce8eb 00:45:33 Step 24/25 : LABEL git_sha=3b9a1a08aea3f5f7690f28faed41a2512d60c23b 00:45:33 ---> Running in ae6db18c7693 00:45:33 Removing intermediate container ae6db18c7693 00:45:33 ---> 73db038cd415 00:45:33 Step 25/25 : LABEL version=0.0.0 00:45:34 ---> Running in e7694ecebf7e 00:45:34 Removing intermediate container e7694ecebf7e 00:45:34 ---> a1e52b970d30 00:45:34 [Warning] One or more build-args [ARCH] were not consumed 00:45:34 Successfully built a1e52b970d30 00:45:34 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:45:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:35 00:45:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:35 latest: Pulling from edgex-lftools-log-publisher 00:45:35 5eb5b503b376: Pulling fs layer 00:45:35 5c69ac0246d0: Pulling fs layer 00:45:35 ec43610c2a17: Pulling fs layer 00:45:35 3a2ae6a8a46f: Pulling fs layer 00:45:35 33b1e0a273af: Pulling fs layer 00:45:35 5d3b04190fa2: Pulling fs layer 00:45:35 2f39f015ded8: Pulling fs layer 00:45:35 3a2ae6a8a46f: Waiting 00:45:35 33b1e0a273af: Waiting 00:45:35 5c69ac0246d0: Download complete 00:45:35 3a2ae6a8a46f: Verifying Checksum 00:45:35 3a2ae6a8a46f: Download complete 00:45:35 33b1e0a273af: Verifying Checksum 00:45:35 33b1e0a273af: Download complete 00:45:35 5d3b04190fa2: Verifying Checksum 00:45:35 5d3b04190fa2: Download complete 00:45:35 ec43610c2a17: Verifying Checksum 00:45:35 ec43610c2a17: Download complete 00:45:35 5eb5b503b376: Verifying Checksum 00:45:35 5eb5b503b376: Download complete 00:45:36 2f39f015ded8: Verifying Checksum 00:45:36 2f39f015ded8: Download complete 00:45:36 5eb5b503b376: Pull complete 00:45:37 5c69ac0246d0: Pull complete 00:45:37 ec43610c2a17: Pull complete 00:45:37 3a2ae6a8a46f: Pull complete 00:45:37 33b1e0a273af: Pull complete 00:45:37 5d3b04190fa2: Pull complete 00:45:42 2f39f015ded8: Pull complete 00:45:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:42 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 00:45:42 $ 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-204 -v /w/workspace/edgexfoundry_device-gpio_PR-204:/w/workspace/edgexfoundry_device-gpio_PR-204:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-204@tmp:/w/workspace/edgexfoundry_device-gpio_PR-204@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:45:47 $ docker top 0b3e7747f861fc9801f0cb3da16600ff9ac4c0ab71200b4967d5f20d44f27611 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:47 ---> job-cost.sh 00:45:47 lf-activate-venv: SKIPPING 00:45:47 INFO: No Stack... 00:45:48 INFO: Retrieving Pricing Info for: v3-standard-8 00:45:48 INFO: Archiving Costs [Pipeline] sh 00:45:48 + cat /w/workspace/edgexfoundry_device-gpio_PR-204/archives/cost.csv 00:45:48 + cut -d, -f6 [Pipeline] lock 00:45:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] 00:45:48 Resource [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] did not exist. Created. 00:45:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:45:49 + echo total: 0.2199999988079071 [Pipeline] stash 00:45:49 Stashed 1 file(s) [Pipeline] } 00:45:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:45:49 $ docker stop --time=1 0b3e7747f861fc9801f0cb3da16600ff9ac4c0ab71200b4967d5f20d44f27611 00:45:50 $ docker rm -f --volumes 0b3e7747f861fc9801f0cb3da16600ff9ac4c0ab71200b4967d5f20d44f27611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:45:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9567 in /w/workspace/edgexfoundry_device-gpio_PR-204 [Pipeline] { [Pipeline] ws 00:45:56 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:45:56 The recommended git tool is: git 00:46:02 using credential edgex-jenkins-ssh 00:46:02 Cloning the remote Git repository 00:46:02 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:46:02 > git init /w/workspace/device-gpio/1 # timeout=10 00:46:02 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:46:02 > git --version # timeout=10 00:46:02 > git --version # 'git version 2.25.1' 00:46:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:46:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:06 Merging remotes/origin/main commit 07014ed4136a323f76076ad0d7449da681cdeaf5 into PR head commit 3b9a1a08aea3f5f7690f28faed41a2512d60c23b 00:46:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:46:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:46:06 > git config core.sparsecheckout # timeout=10 00:46:06 > git checkout -f 3b9a1a08aea3f5f7690f28faed41a2512d60c23b # timeout=10 00:46:06 > git remote # timeout=10 00:46:06 Merge succeeded, producing 3b9a1a08aea3f5f7690f28faed41a2512d60c23b 00:46:06 Checking out Revision 3b9a1a08aea3f5f7690f28faed41a2512d60c23b (PR-204) 00:46:07 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:46:07 > git --version # timeout=10 00:46:07 > git --version # 'git version 2.25.1' 00:46:07 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:46:06 > git config --get remote.origin.url # timeout=10 00:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:06 > git merge 07014ed4136a323f76076ad0d7449da681cdeaf5 # timeout=10 00:46:06 > git rev-parse HEAD^{commit} # timeout=10 00:46:06 > git config core.sparsecheckout # timeout=10 00:46:06 > git checkout -f 3b9a1a08aea3f5f7690f28faed41a2512d60c23b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:46:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:46:08 Dload Upload Total Spent Left Speed 00:46:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 00:46:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:46:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:46:09 + sudo tee /etc/docker/daemon.new 00:46:09 { 00:46:09 "registry-mirrors": [ 00:46:09 "https://nexus3.edgexfoundry.org:10001" 00:46:09 ], 00:46:09 "bip": "10.250.0.254/24", 00:46:09 "hosts": [ 00:46:09 "tcp://0.0.0.0:5555", 00:46:09 "unix:///var/run/docker.sock" 00:46:09 ], 00:46:09 "mtu": 1458, 00:46:09 "selinux-enabled": true, 00:46:09 "seccomp-profile": "/etc/docker/seccomp.json" 00:46:09 } [Pipeline] sh 00:46:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:46:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:28 provisioning config files... 00:46:28 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1396294719493272728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:29 ---> docker-login.sh 00:46:29 nexus3.edgexfoundry.org:10001 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:29 Configure a credential helper to remove this warning. See 00:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:29 00:46:29 Login Succeeded 00:46:29 nexus3.edgexfoundry.org:10002 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:30 Configure a credential helper to remove this warning. See 00:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:30 00:46:30 Login Succeeded 00:46:30 nexus3.edgexfoundry.org:10003 00:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:30 Configure a credential helper to remove this warning. See 00:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:30 00:46:30 Login Succeeded 00:46:30 nexus3.edgexfoundry.org:10004 00:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:30 Configure a credential helper to remove this warning. See 00:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:30 00:46:30 Login Succeeded 00:46:30 docker.io 00:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:31 Configure a credential helper to remove this warning. See 00:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:31 00:46:31 Login Succeeded 00:46:31 ---> docker-login.sh ends [Pipeline] } 00:46:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:31 ========================================================= 00:46:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:46:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:32 + 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:46:32 Sending build context to Docker daemon 8.146MB 00:46:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:46:32 Step 2/12 : FROM ${BASE} AS builder 00:46:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:32 9fda8d8052c6: Pulling fs layer 00:46:32 5d54e960e981: Pulling fs layer 00:46:32 c4a7e357bf2a: Pulling fs layer 00:46:32 f0e02332f6b5: Pulling fs layer 00:46:32 cefa15bbcfad: Pulling fs layer 00:46:32 17808c966233: Pulling fs layer 00:46:32 f4c1fc716caa: Pulling fs layer 00:46:32 f0e02332f6b5: Waiting 00:46:32 17808c966233: Waiting 00:46:32 cefa15bbcfad: Waiting 00:46:32 f4c1fc716caa: Waiting 00:46:32 5d54e960e981: Verifying Checksum 00:46:32 5d54e960e981: Download complete 00:46:32 f0e02332f6b5: Verifying Checksum 00:46:32 f0e02332f6b5: Download complete 00:46:32 cefa15bbcfad: Download complete 00:46:33 9fda8d8052c6: Verifying Checksum 00:46:33 9fda8d8052c6: Download complete 00:46:33 f4c1fc716caa: Verifying Checksum 00:46:33 f4c1fc716caa: Download complete 00:46:33 9fda8d8052c6: Pull complete 00:46:34 5d54e960e981: Pull complete 00:46:34 c4a7e357bf2a: Verifying Checksum 00:46:34 c4a7e357bf2a: Download complete 00:46:35 17808c966233: Verifying Checksum 00:46:35 17808c966233: Download complete 00:46:48 c4a7e357bf2a: Pull complete 00:46:48 f0e02332f6b5: Pull complete 00:46:48 cefa15bbcfad: Pull complete 00:46:56 17808c966233: Pull complete 00:46:56 f4c1fc716caa: Pull complete 00:46:56 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:46:56 ---> ea914061e18c 00:46:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:46:58 ---> Running in e2c7748560ce 00:46:59 Removing intermediate container e2c7748560ce 00:46:59 ---> eb3707e5a581 00:46:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:46:59 ---> Running in 6bc12ea5e73b 00:46:59 Removing intermediate container 6bc12ea5e73b 00:46:59 ---> 077397270682 00:46:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:46:59 ---> Running in 7b30b8eef5f3 00:46:59 Removing intermediate container 7b30b8eef5f3 00:46:59 ---> fe1ff7fb0d3a 00:46:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:46:59 ---> Running in 1432b459d6a3 00:47:00 Removing intermediate container 1432b459d6a3 00:47:00 ---> 3dea4c8b5fa6 00:47:00 Step 7/12 : WORKDIR /device-gpio 00:47:00 ---> Running in 5cd4d44d0d07 00:47:00 Removing intermediate container 5cd4d44d0d07 00:47:00 ---> 0920ab913a2f 00:47:00 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:00 ---> Running in 68b549bd1065 00:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:47:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:47:03 (2/4) Installing libedit (20221030.3.1-r1) 00:47:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:47:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:47:03 Executing busybox-1.36.1-r2.trigger 00:47:03 OK: 270 MiB in 56 packages 00:47:04 Removing intermediate container 68b549bd1065 00:47:04 ---> 89d9bda10fa1 00:47:04 Step 9/12 : COPY go.mod vendor* ./ 00:47:05 ---> 1e8f4b63dea9 00:47:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:05 ---> Running in 4ca4057c3e3b 00:48:42 Removing intermediate container 4ca4057c3e3b 00:48:42 ---> abdecd8f45ce 00:48:42 Step 11/12 : COPY . . 00:48:42 ---> cae9efa2b2e0 00:48:42 Step 12/12 : RUN ${MAKE} 00:48:42 ---> Running in a292d25e517e 00:48:42 noop 00:48:42 Removing intermediate container a292d25e517e 00:48:42 ---> 227407e54fc5 00:48:42 Successfully built 227407e54fc5 00:48:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:42 + docker inspect -f . ci-base-image-arm64 00:48:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:42 prd-ubuntu20.04-docker-arm64-4c-16g-9567 does not seem to be running inside a container 00:48:42 $ 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:48:44 $ docker top 85546f68f9cd0a3416854102f81e3c39b0a3687a2fa10e417176bc16a4025697 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:45 + go version 00:48:45 go version go1.21.0 linux/arm64 [Pipeline] } 00:48:45 $ docker stop --time=1 85546f68f9cd0a3416854102f81e3c39b0a3687a2fa10e417176bc16a4025697 00:48:47 $ docker rm -f --volumes 85546f68f9cd0a3416854102f81e3c39b0a3687a2fa10e417176bc16a4025697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:48 + docker inspect -f . ci-base-image-arm64 00:48:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:48 prd-ubuntu20.04-docker-arm64-4c-16g-9567 does not seem to be running inside a container 00:48:48 $ 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:48:49 $ docker top 5b2540f2b78367c5b57a46daec7e2edbae780733d54d90bd0156efd606f9a198 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:50 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:48:51 + make test 00:48:51 go test ./... -coverprofile=coverage.out ./... 00:48:56 ? github.com/edgexfoundry/device-gpio [no test files] 00:50:39 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:50:39 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:50:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:50:39 go vet ./... 00:50:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:57 ./bin/test-attribution-txt.sh [Pipeline] echo 00:50:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:50:57 $ docker stop --time=1 5b2540f2b78367c5b57a46daec7e2edbae780733d54d90bd0156efd606f9a198 00:50:59 $ docker rm -f --volumes 5b2540f2b78367c5b57a46daec7e2edbae780733d54d90bd0156efd606f9a198 [Pipeline] // withDockerContainer [Pipeline] sh 00:51:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:51:01 Warning: overwriting stash ‘coverage-report’ 00:51:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:51:02 + ls -al . 00:51:02 total 164 00:51:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 00:48 . 00:51:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 00:46 .. 00:51:02 -rw-rw-r-- 1 jenkins jenkins 120 Oct 19 00:46 .dockerignore 00:51:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 00:46 .git 00:51:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 00:46 .github 00:51:02 -rw-rw-r-- 1 jenkins jenkins 343 Oct 19 00:46 .gitignore 00:51:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 00:46 .golangci.yml 00:51:02 -rw-rw-r-- 1 jenkins jenkins 10671 Oct 19 00:46 Attribution.txt 00:51:02 -rw-rw-r-- 1 jenkins jenkins 6184 Oct 19 00:46 CHANGELOG.md 00:51:02 -rw-rw-r-- 1 jenkins jenkins 1542 Oct 19 00:46 Dockerfile 00:51:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 00:46 GOVERNANCE.md 00:51:02 -rw-rw-r-- 1 jenkins jenkins 657 Oct 19 00:46 Jenkinsfile 00:51:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 19 00:46 LICENSE 00:51:02 -rw-rw-r-- 1 jenkins jenkins 1923 Oct 19 00:46 Makefile 00:51:02 -rw-rw-r-- 1 jenkins jenkins 617 Oct 19 00:46 OWNERS.md 00:51:02 -rw-rw-r-- 1 jenkins jenkins 12293 Oct 19 00:46 README.md 00:51:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 00:43 VERSION 00:51:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 00:46 bin 00:51:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 00:46 cmd 00:51:02 -rw-r--r-- 1 jenkins jenkins 10 Oct 19 00:48 coverage.out 00:51:02 -rw-rw-r-- 1 jenkins jenkins 3698 Oct 19 00:46 go.mod 00:51:02 -rw-rw-r-- 1 jenkins jenkins 35450 Oct 19 00:46 go.sum 00:51:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 00:46 internal 00:51:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 00:46 snap 00:51:02 -rw-rw-r-- 1 jenkins jenkins 209 Oct 19 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:02 + 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=3b9a1a08aea3f5f7690f28faed41a2512d60c23b --label arch=arm64 --label version=0.0.0 . 00:51:03 Sending build context to Docker daemon 8.147MB 00:51:03 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:51:03 Step 2/25 : FROM ${BASE} AS builder 00:51:03 ---> 227407e54fc5 00:51:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:51:03 ---> Running in 0c9af1047a0b 00:51:03 Removing intermediate container 0c9af1047a0b 00:51:03 ---> 9f3f0eee369d 00:51:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:03 ---> Running in d4595f7b8bbf 00:51:04 Removing intermediate container d4595f7b8bbf 00:51:04 ---> 73bc80b5bc7c 00:51:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:51:04 ---> Running in 102a52937832 00:51:04 Removing intermediate container 102a52937832 00:51:04 ---> ce1c9eb42499 00:51:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:51:04 ---> Running in e68284b7e862 00:51:04 Removing intermediate container e68284b7e862 00:51:04 ---> 71384b0b73d2 00:51:04 Step 7/25 : WORKDIR /device-gpio 00:51:05 ---> Running in 2266269593c8 00:51:05 Removing intermediate container 2266269593c8 00:51:05 ---> 7a368dc91b48 00:51:05 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:05 ---> Running in 65bcf8674790 00:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:51:08 OK: 270 MiB in 56 packages 00:51:09 Removing intermediate container 65bcf8674790 00:51:09 ---> 898b969d0f34 00:51:09 Step 9/25 : COPY go.mod vendor* ./ 00:51:09 ---> 1a56cfd586e1 00:51:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:09 ---> Running in 2269eaa78aa8 00:51:11 Removing intermediate container 2269eaa78aa8 00:51:11 ---> ddaa9c5270fb 00:51:11 Step 11/25 : COPY . . 00:51:13 ---> af209323bd15 00:51:13 Step 12/25 : RUN ${MAKE} 00:51:13 ---> Running in bd77dce6632e 00:51:14 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.35" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:53:05 Removing intermediate container bd77dce6632e 00:53:05 ---> 1fcb73c5da98 00:53:05 Step 13/25 : FROM alpine:3.18 00:53:05 3.18: Pulling from library/alpine 00:53:05 579b34f0a95b: Pulling fs layer 00:53:05 579b34f0a95b: Verifying Checksum 00:53:05 579b34f0a95b: Download complete 00:53:05 579b34f0a95b: Pull complete 00:53:05 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:53:05 Status: Downloaded newer image for alpine:3.18 00:53:05 ---> 3cc203321400 00:53:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:53:05 ---> Running in ded4c04480c1 00:53:05 Removing intermediate container ded4c04480c1 00:53:05 ---> 8fd65c87adfd 00:53:05 Step 15/25 : RUN apk add --update --no-cache 00:53:05 ---> Running in 0298f9958d4e 00:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:53:08 OK: 8 MiB in 15 packages 00:53:11 Removing intermediate container 0298f9958d4e 00:53:11 ---> 28b58aba316a 00:53:11 Step 16/25 : WORKDIR / 00:53:11 ---> Running in 8b371e2ba452 00:53:11 Removing intermediate container 8b371e2ba452 00:53:11 ---> e9136aae5161 00:53:11 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:53:12 ---> d743ee2506c9 00:53:12 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:53:13 ---> 72cd3ac32a4a 00:53:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:53:15 ---> a8c7afcf756e 00:53:15 Step 20/25 : EXPOSE 59910 00:53:15 ---> Running in 830b767799e7 00:53:15 Removing intermediate container 830b767799e7 00:53:15 ---> ec78c3fb8554 00:53:15 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:53:15 ---> Running in a27a8c3fc628 00:53:15 Removing intermediate container a27a8c3fc628 00:53:15 ---> 75e3447f0b0f 00:53:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:53:15 ---> Running in 1c0bc8e393fe 00:53:15 Removing intermediate container 1c0bc8e393fe 00:53:15 ---> b0cadc17a83f 00:53:15 Step 23/25 : LABEL arch=arm64 00:53:15 ---> Running in 044b4225d902 00:53:16 Removing intermediate container 044b4225d902 00:53:16 ---> e3993cbbaee5 00:53:16 Step 24/25 : LABEL git_sha=3b9a1a08aea3f5f7690f28faed41a2512d60c23b 00:53:16 ---> Running in df8fd25ee64f 00:53:16 Removing intermediate container df8fd25ee64f 00:53:16 ---> 6eea1c7223c4 00:53:16 Step 25/25 : LABEL version=0.0.0 00:53:16 ---> Running in 3f29df03bc66 00:53:16 Removing intermediate container 3f29df03bc66 00:53:16 ---> 60ef3073d7c9 00:53:16 [Warning] One or more build-args [ARCH] were not consumed 00:53:16 Successfully built 60ef3073d7c9 00:53:17 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:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:18 00:53:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:18 arm64: Pulling from edgex-lftools-log-publisher 00:53:18 8998bd30e6a1: Pulling fs layer 00:53:18 04944245beec: Pulling fs layer 00:53:18 699f458cf7ca: Pulling fs layer 00:53:18 765212b225bb: Pulling fs layer 00:53:18 f23df028b6ca: Pulling fs layer 00:53:18 d65c8cfc05b1: Pulling fs layer 00:53:18 2437ff75d9bd: Pulling fs layer 00:53:18 f23df028b6ca: Waiting 00:53:18 d65c8cfc05b1: Waiting 00:53:18 2437ff75d9bd: Waiting 00:53:18 04944245beec: Verifying Checksum 00:53:18 04944245beec: Download complete 00:53:18 765212b225bb: Verifying Checksum 00:53:18 765212b225bb: Download complete 00:53:18 f23df028b6ca: Verifying Checksum 00:53:18 f23df028b6ca: Download complete 00:53:18 d65c8cfc05b1: Verifying Checksum 00:53:18 d65c8cfc05b1: Download complete 00:53:18 699f458cf7ca: Verifying Checksum 00:53:18 699f458cf7ca: Download complete 00:53:19 8998bd30e6a1: Verifying Checksum 00:53:19 8998bd30e6a1: Download complete 00:53:22 2437ff75d9bd: Verifying Checksum 00:53:22 2437ff75d9bd: Download complete 00:53:24 8998bd30e6a1: Pull complete 00:53:24 04944245beec: Pull complete 00:53:26 699f458cf7ca: Pull complete 00:53:26 765212b225bb: Pull complete 00:53:27 f23df028b6ca: Pull complete 00:53:27 d65c8cfc05b1: Pull complete 00:53:45 2437ff75d9bd: Pull complete 00:53:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:46 prd-ubuntu20.04-docker-arm64-4c-16g-9567 does not seem to be running inside a container 00:53:46 $ 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:53:49 $ docker top be75861b8d48cbe960a32690af841cf51fcd914dc9684871d195ea023a8de1df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:50 ---> job-cost.sh 00:53:50 lf-activate-venv: SKIPPING 00:53:50 INFO: No Stack... 00:53:50 INFO: Retrieving Pricing Info for: v3-standard-4 00:53:51 INFO: Archiving Costs [Pipeline] sh 00:53:52 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:53:52 + cut -d, -f6 [Pipeline] lock 00:53:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] 00:53:52 Resource [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] did not exist. Created. 00:53:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:53:53 /w/workspace/device-gpio/1@tmp/durable-a6d9eaca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:53:53 + echo total: 0.10999999940395355 [Pipeline] stash 00:53:53 Warning: overwriting stash ‘stack-cost’ 00:53:53 Stashed 1 file(s) [Pipeline] } 00:53:53 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:53:53 $ docker stop --time=1 be75861b8d48cbe960a32690af841cf51fcd914dc9684871d195ea023a8de1df 00:53:55 $ docker rm -f --volumes be75861b8d48cbe960a32690af841cf51fcd914dc9684871d195ea023a8de1df [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:53:56 provisioning config files... 00:53:56 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-204@tmp/config2265560686060757949tmp [Pipeline] { [Pipeline] sh 00:53:56 + set +x 00:53:56 + bash -s -- 00:53:56 + curl -s https://codecov.io/bash 00:53:57 00:53:57 _____ _ 00:53:57 / ____| | | 00:53:57 | | ___ __| | ___ ___ _____ __ 00:53:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:53:57 | |___| (_) | (_| | __/ (_| (_) \ V / 00:53:57 \_____\___/ \__,_|\___|\___\___/ \_/ 00:53:57 Bash-1.0.6 00:53:57 00:53:57 00:53:57 ==> git version 2.25.1 found 00:53:57 ==> 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:53:57 Release-Date: 2020-01-08 00:53:57 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:53:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:53:57 ==> Jenkins CI detected. 00:53:57 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-204 00:53:57 project root: . 00:53:57 --> token set from env 00:53:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:53:57 ==> Running gcov in . (disable via -X gcov) 00:53:57 ==> Python coveragepy not found 00:53:57 ==> Searching for coverage reports in: 00:53:57 + . 00:53:57 -> Found 1 reports 00:53:57 ==> Detecting git/mercurial file structure 00:53:57 ==> Reading reports 00:53:57 + ./coverage.out bytes=10 00:53:57 ==> Appending adjustments 00:53:57 https://docs.codecov.io/docs/fixing-reports 00:53:57 + Found adjustments 00:53:57 ==> Gzipping contents 00:53:57 4.0K /tmp/codecov.KsK8u5.gz 00:53:57 ==> Uploading reports 00:53:57 url: https://codecov.io 00:53:57 query: branch=PR-204&commit=3b9a1a08aea3f5f7690f28faed41a2512d60c23b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=204&job=&cmd_args= 00:53:57 -> Pinging Codecov 00:53:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-204&commit=3b9a1a08aea3f5f7690f28faed41a2512d60c23b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=204&job=&cmd_args= 00:53:57 -> Uploading to 00:53:57 https://storage.googleapis.com/codecov/v4/raw/2023-10-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/3b9a1a08aea3f5f7690f28faed41a2512d60c23b/404dc97d-1464-4812-a947-a90f60b195d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231019T005357Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0358bbc6b3bc3253989a670c42d85ed3d30275f6c38790872501f5fe100e4ae0 00:53:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:57 Dload Upload Total Spent Left Speed 00:53:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 714 0:00:01 0:00:01 --:--:-- 714 100 724 0 0 100 724 0 714 0:00:01 0:00:01 --:--:-- 714 00:53:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/3b9a1a08aea3f5f7690f28faed41a2512d60c23b [Pipeline] } 00:53:58 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:54:00 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-204/archives ] 00:54:00 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-204/archives 00:54:00 total 16 00:54:00 drwxr-xr-x 3 root root 4096 Oct 19 00:45 . 00:54:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 00:45 .. 00:54:00 drwxr-xr-x 2 root root 4096 Oct 19 00:45 cost 00:54:00 -rw-r--r-- 1 root root 83 Oct 19 00:45 cost.csv 00:54:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-204/archives 00:54:00 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-204/archives 00:54:00 total 16 00:54:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 00:45 . 00:54:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 00:45 .. 00:54:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 00:45 cost 00:54:00 -rw-r--r-- 1 jenkins jenkins 83 Oct 19 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:54:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:54:01 ---> package-listing.sh 00:54:01 ++ facter osfamily 00:54:01 ++ tr '[:upper:]' '[:lower:]' 00:54:01 + OS_FAMILY=debian 00:54:01 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-204 00:54:01 + START_PACKAGES=/tmp/packages_start.txt 00:54:01 + END_PACKAGES=/tmp/packages_end.txt 00:54:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:54:01 + PACKAGES=/tmp/packages_start.txt 00:54:01 + '[' /w/workspace/edgexfoundry_device-gpio_PR-204 ']' 00:54:01 + PACKAGES=/tmp/packages_end.txt 00:54:01 + case "${OS_FAMILY}" in 00:54:01 + dpkg -l 00:54:01 + grep '^ii' 00:54:01 + '[' -f /tmp/packages_start.txt ']' 00:54:01 + '[' -f /tmp/packages_end.txt ']' 00:54:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:54:01 + '[' /w/workspace/edgexfoundry_device-gpio_PR-204 ']' 00:54:01 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-204/archives/ 00:54:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-204/archives/ [Pipeline] echo 00:54:01 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:54:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:02 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 00:54:02 $ 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-204/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-204 -v /w/workspace/edgexfoundry_device-gpio_PR-204:/w/workspace/edgexfoundry_device-gpio_PR-204:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-204@tmp:/w/workspace/edgexfoundry_device-gpio_PR-204@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:54:02 $ docker top 87a3b54d3777cf49e382cbfc401b2036486a82011b805022d7f31e6eb60ba311 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:54:03 + mkdir -p /var/log/sysstat [Pipeline] sh 00:54:03 + ls /var/log/sa-host 00:54:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:04 provisioning config files... 00:54:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-204@tmp/config6203287457404794385tmp [Pipeline] { [Pipeline] echo 00:54:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:54:04 ---> create-netrc.sh [Pipeline] } 00:54:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:54:04 ---> python-tools-install.sh [Pipeline] echo 00:54:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:54:05 ---> sudo-logs.sh 00:54:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:54:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:54:05 ---> job-cost.sh 00:54:05 lf-activate-venv: SKIPPING 00:54:05 DEBUG: total: 0.2199999988079071 00:54:05 INFO: Retrieving Stack Cost... 00:54:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:54:06 INFO: Archiving Costs [Pipeline] echo 00:54:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:54:07 ---> logs-deploy.sh 00:54:07 lf-activate-venv: SKIPPING 00:54:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-204/1 00:54:07 INFO: archiving workspace using pattern(s): 00:54:08 Archives upload complete. 00:54:08 INFO: archiving logs to Nexus