Pull request #223 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d94258decc4a40e8da9fa5abd6925489b04d5644+ca6eedcb7203a69331a310d8a9e2fcedf7b80801 (1a6c4e6a8bed2260c8412bd9da6ee270f4474ae1) 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-ssh14333555522011040163.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12582725433366857594.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-223/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-223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14132024665668867511.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-223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12756335620822440762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1839635134144624888.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-223/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-223/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13950734898151506027.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25072 in /w/workspace/edgexfoundry_device-gpio_PR-223 [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-223 # 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/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ca6eedcb7203a69331a310d8a9e2fcedf7b80801 into PR head commit d94258decc4a40e8da9fa5abd6925489b04d5644 Merge succeeded, producing d94258decc4a40e8da9fa5abd6925489b04d5644 Checking out Revision d94258decc4a40e8da9fa5abd6925489b04d5644 (PR-223) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f d94258decc4a40e8da9fa5abd6925489b04d5644 # 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 ca6eedcb7203a69331a310d8a9e2fcedf7b80801 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d94258decc4a40e8da9fa5abd6925489b04d5644 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:09:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:09:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:09:53 ========================================================= 00:09:53 EdgeX Global Pipelines Version Info 00:09:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:09:54 ------------------- 00:09:54 stable info: 00:09:54 ------------------- 00:09:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:09:54 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:09:54 Message: update stable to v1.0.258 00:09:54 ------------------- 00:09:54 experimental info: 00:09:54 ------------------- 00:09:54 Commited By: **** collab-it+edgex@linuxfoundation.org 00:09:54 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:09:54 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:09:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:09:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:09:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:09:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:09:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-223 [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-223 [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-223 [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d94258decc4a40e8da9fa5abd6925489b04d5644 [Pipeline] echo 00:09:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d94258d [Pipeline] echo 00:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:57 provisioning config files... 00:09:57 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-223@tmp/config12615557469734379632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:57 ---> ****-login.sh 00:09:57 nexus3.edgexfoundry.org:10001 00:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:09:57 Configure a credential helper to remove this warning. See 00:09:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:09:57 00:09:57 Login Succeeded 00:09:57 nexus3.edgexfoundry.org:10002 00:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:09:58 Configure a credential helper to remove this warning. See 00:09:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:09:58 00:09:58 Login Succeeded 00:09:58 nexus3.edgexfoundry.org:10003 00:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:09:58 Configure a credential helper to remove this warning. See 00:09:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:09:58 00:09:58 Login Succeeded 00:09:58 nexus3.edgexfoundry.org:10004 00:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:09:58 Configure a credential helper to remove this warning. See 00:09:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:09:58 00:09:58 Login Succeeded 00:09:58 ****.io 00:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:09:58 Configure a credential helper to remove this warning. See 00:09:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:09:58 00:09:58 Login Succeeded 00:09:58 ---> ****-login.sh ends [Pipeline] } 00:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:09:59 + git rev-list -1 --merges d94258decc4a40e8da9fa5abd6925489b04d5644~1..d94258decc4a40e8da9fa5abd6925489b04d5644 [Pipeline] echo 00:09:59 -----------> git rev-list -1 --merges d94258decc4a40e8da9fa5abd6925489b04d5644~1..d94258decc4a40e8da9fa5abd6925489b04d5644 d94258decc4a40e8da9fa5abd6925489b04d5644 [false] [Pipeline] sh 00:09:59 + git log --format=format:%s -1 d94258decc4a40e8da9fa5abd6925489b04d5644 [Pipeline] echo 00:09:59 ========================================================= 00:09:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:09:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:00 + git log --format=format:%s -1 d94258decc4a40e8da9fa5abd6925489b04d5644 [Pipeline] echo 00:10:00 [semverPrep] GIT_COMMIT: d94258decc4a40e8da9fa5abd6925489b04d5644, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:10:00 [semverPrep] This is not a build commit. [Pipeline] sh 00:10:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:00 + grep -v github /etc/ssh/ssh_known_hosts 00:10:00 + [ -e /tmp/ssh_known_hosts ] 00:10:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:10:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:10:00 + sudo tee -a /etc/ssh/ssh_known_hosts 00:10:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:01 00:10:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:01 0.1.4: Pulling from edgex-devops/py-git-semver 00:10:01 b85a868b505f: Pulling fs layer 00:10:01 e2be974225ed: Pulling fs layer 00:10:01 339a4e72a1f5: Pulling fs layer 00:10:01 988bab9f4d93: Pulling fs layer 00:10:01 1469e6f7b9e6: Pulling fs layer 00:10:01 eaf3925da568: Pulling fs layer 00:10:01 bab4dde63d76: Pulling fs layer 00:10:01 bde34c3a00c8: Pulling fs layer 00:10:01 b352a97aabf1: Pulling fs layer 00:10:01 4872d77fe225: Pulling fs layer 00:10:01 5851b861e8e6: Pulling fs layer 00:10:01 1469e6f7b9e6: Waiting 00:10:01 eaf3925da568: Waiting 00:10:01 bab4dde63d76: Waiting 00:10:01 bde34c3a00c8: Waiting 00:10:01 b352a97aabf1: Waiting 00:10:01 4872d77fe225: Waiting 00:10:01 5851b861e8e6: Waiting 00:10:01 988bab9f4d93: Waiting 00:10:01 e2be974225ed: Verifying Checksum 00:10:01 e2be974225ed: Download complete 00:10:01 988bab9f4d93: Verifying Checksum 00:10:01 988bab9f4d93: Download complete 00:10:01 1469e6f7b9e6: Verifying Checksum 00:10:01 1469e6f7b9e6: Download complete 00:10:01 eaf3925da568: Verifying Checksum 00:10:02 339a4e72a1f5: Verifying Checksum 00:10:02 339a4e72a1f5: Download complete 00:10:02 bde34c3a00c8: Download complete 00:10:02 b352a97aabf1: Download complete 00:10:02 4872d77fe225: Verifying Checksum 00:10:02 4872d77fe225: Download complete 00:10:02 5851b861e8e6: Verifying Checksum 00:10:02 5851b861e8e6: Download complete 00:10:02 b85a868b505f: Verifying Checksum 00:10:02 b85a868b505f: Download complete 00:10:02 bab4dde63d76: Verifying Checksum 00:10:02 bab4dde63d76: Download complete 00:10:03 b85a868b505f: Pull complete 00:10:03 e2be974225ed: Pull complete 00:10:04 339a4e72a1f5: Pull complete 00:10:04 988bab9f4d93: Pull complete 00:10:04 1469e6f7b9e6: Pull complete 00:10:04 eaf3925da568: Pull complete 00:10:06 bab4dde63d76: Pull complete 00:10:06 bde34c3a00c8: Pull complete 00:10:06 b352a97aabf1: Pull complete 00:10:06 4872d77fe225: Pull complete 00:10:06 5851b861e8e6: Pull complete 00:10:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:07 prd-ubuntu20.04-docker-8c-8g-25072 does not seem to be running inside a container 00:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-223 -v /w/workspace/edgexfoundry_device-gpio_PR-223:/w/workspace/edgexfoundry_device-gpio_PR-223:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-223@tmp:/w/workspace/edgexfoundry_device-gpio_PR-223@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:09 $ docker top bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda -eo pid,comm 00:10:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:10:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:10 [ssh-agent] Looking for ssh-agent implementation... 00:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:10 $ docker exec bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda ssh-agent 00:10:10 SSH_AUTH_SOCK=/tmp/ssh-lLrSRzctiAke/agent.33 00:10:10 SSH_AGENT_PID=39 00:10:10 Running ssh-add (command line suppressed) 00:10:10 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-223@tmp/private_key_12755507100818686452.key (/w/workspace/edgexfoundry_device-gpio_PR-223@tmp/private_key_12755507100818686452.key) 00:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:10 + git tag --points-at HEAD [Pipeline] } 00:10:10 $ docker exec --env ******** --env ******** bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda ssh-agent -k 00:10:10 unset SSH_AUTH_SOCK; 00:10:10 unset SSH_AGENT_PID; 00:10:10 echo Agent pid 39 killed; 00:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:11 [ssh-agent] Looking for ssh-agent implementation... 00:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:11 $ docker exec bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda ssh-agent 00:10:11 SSH_AUTH_SOCK=/tmp/ssh-i71p9OxviEBw/agent.71 00:10:11 SSH_AGENT_PID=77 00:10:11 Running ssh-add (command line suppressed) 00:10:11 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-223@tmp/private_key_11576818563281319462.key (/w/workspace/edgexfoundry_device-gpio_PR-223@tmp/private_key_11576818563281319462.key) 00:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:11 + git semver init 00:10:12 2023-12-15 00:10:12,008 [run_init] DEBUG init version:0.0.0 force:False 00:10:12 2023-12-15 00:10:12,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-223/.semver 00:10:12 2023-12-15 00:10:12,009 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-223/.semver 00:10:12 2023-12-15 00:10:12,009 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-223/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-223, universal_newlines=False, shell=None, istream=None) 00:10:14 2023-12-15 00:10:13,573 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-223/.git/info/exclude 00:10:14 2023-12-15 00:10:13,573 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-223/.semver/PR-223 with force:False 00:10:14 2023-12-15 00:10:13,574 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-223/.semver/PR-223 00:10:14 2023-12-15 00:10:13,578 [execute] INFO git cat-file --batch-check 00:10:14 2023-12-15 00:10:13,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-223/.semver, universal_newlines=False, shell=None, istream=) 00:10:14 2023-12-15 00:10:13,584 [execute] INFO git cat-file --batch 00:10:14 2023-12-15 00:10:13,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-223/.semver, universal_newlines=False, shell=None, istream=) 00:10:14 2023-12-15 00:10:13,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-223/.semver/PR-223 00:10:14 0.0.0 [Pipeline] } 00:10:14 $ docker exec --env ******** --env ******** bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda ssh-agent -k 00:10:14 unset SSH_AUTH_SOCK; 00:10:14 unset SSH_AGENT_PID; 00:10:14 echo Agent pid 77 killed; 00:10:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:14 + git semver [Pipeline] } 00:10:14 $ docker stop --time=1 bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda 00:10:16 $ docker rm -f --volumes bb5c08d91a92c26e58ff2b8b90318c2e12839f5acdca6fec6c3133d2e5e93dda [Pipeline] // withDockerContainer [Pipeline] sh 00:10:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:10:17 Stashed 1 file(s) [Pipeline] echo 00:10:17 [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:10:18 provisioning config files... 00:10:18 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-223@tmp/config9059683065077945888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:18 ---> ****-login.sh 00:10:18 nexus3.edgexfoundry.org:10001 00:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:10:18 Configure a credential helper to remove this warning. See 00:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:10:18 00:10:18 Login Succeeded 00:10:18 nexus3.edgexfoundry.org:10002 00:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:10:18 Configure a credential helper to remove this warning. See 00:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:10:18 00:10:18 Login Succeeded 00:10:18 nexus3.edgexfoundry.org:10003 00:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:10:18 Configure a credential helper to remove this warning. See 00:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:10:18 00:10:18 Login Succeeded 00:10:18 nexus3.edgexfoundry.org:10004 00:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:10:18 Configure a credential helper to remove this warning. See 00:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:10:18 00:10:18 Login Succeeded 00:10:18 ****.io 00:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:10:18 Configure a credential helper to remove this warning. See 00:10:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:10:18 00:10:18 Login Succeeded 00:10:18 ---> ****-login.sh ends [Pipeline] } 00:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:10:19 ========================================================= 00:10:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:10:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:19 + 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:10:19 Sending build context to Docker daemon 24.49MB 00:10:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:10:19 Step 2/12 : FROM ${BASE} AS builder 00:10:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:10:20 7264a8db6415: Pulling fs layer 00:10:20 c4d48a809fc2: Pulling fs layer 00:10:20 4f1c88b9dad5: Pulling fs layer 00:10:20 ad3a456e5733: Pulling fs layer 00:10:20 69c7f0334f64: Pulling fs layer 00:10:20 1f1c1a5573a3: Pulling fs layer 00:10:20 ce7588e14bc9: Pulling fs layer 00:10:20 b5e4710f87ac: Pulling fs layer 00:10:20 1f1c1a5573a3: Waiting 00:10:20 ce7588e14bc9: Waiting 00:10:20 b5e4710f87ac: Waiting 00:10:20 ad3a456e5733: Waiting 00:10:20 c4d48a809fc2: Verifying Checksum 00:10:20 c4d48a809fc2: Download complete 00:10:20 ad3a456e5733: Download complete 00:10:20 69c7f0334f64: Verifying Checksum 00:10:20 69c7f0334f64: Download complete 00:10:20 7264a8db6415: Verifying Checksum 00:10:20 7264a8db6415: Download complete 00:10:20 1f1c1a5573a3: Verifying Checksum 00:10:20 1f1c1a5573a3: Download complete 00:10:20 7264a8db6415: Pull complete 00:10:20 b5e4710f87ac: Verifying Checksum 00:10:20 b5e4710f87ac: Download complete 00:10:20 c4d48a809fc2: Pull complete 00:10:20 4f1c88b9dad5: Verifying Checksum 00:10:20 4f1c88b9dad5: Download complete 00:10:21 ce7588e14bc9: Verifying Checksum 00:10:21 ce7588e14bc9: Download complete 00:10:24 4f1c88b9dad5: Pull complete 00:10:24 ad3a456e5733: Pull complete 00:10:24 69c7f0334f64: Pull complete 00:10:24 1f1c1a5573a3: Pull complete 00:10:26 ce7588e14bc9: Pull complete 00:10:27 b5e4710f87ac: Pull complete 00:10:27 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 00:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:10:27 ---> 88b5674ff536 00:10:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:10:31 ---> Running in f0a43d0fffd9 00:10:31 Removing intermediate container f0a43d0fffd9 00:10:31 ---> 10b032b7477c 00:10:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:10:31 ---> Running in 6cf37e194b63 00:10:31 Removing intermediate container 6cf37e194b63 00:10:31 ---> 5883e2f70e5a 00:10:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:10:31 ---> Running in 5594d23fb725 00:10:31 Removing intermediate container 5594d23fb725 00:10:31 ---> 86db907d22fd 00:10:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:10:31 ---> Running in ad0e32944036 00:10:31 Removing intermediate container ad0e32944036 00:10:31 ---> e6dd0bb529c0 00:10:31 Step 7/12 : WORKDIR /device-gpio 00:10:31 ---> Running in 2bea151f60ad 00:10:31 Removing intermediate container 2bea151f60ad 00:10:31 ---> 8b749174f99c 00:10:31 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:31 ---> Running in 57b313eb9983 00:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:10:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:10:32 (2/4) Installing libedit (20221030.3.1-r1) 00:10:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:10:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:10:32 Executing busybox-1.36.1-r5.trigger 00:10:32 OK: 268 MiB in 56 packages 00:10:32 Still waiting to schedule task 00:10:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:10:33 Removing intermediate container 57b313eb9983 00:10:33 ---> e597de817245 00:10:33 Step 9/12 : COPY go.mod vendor* ./ 00:10:33 ---> d067dea579b9 00:10:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:33 ---> Running in a637e50d6430 00:11:29 Removing intermediate container a637e50d6430 00:11:29 ---> 03c2256b75ed 00:11:29 Step 11/12 : COPY . . 00:11:29 ---> b52c190d1b32 00:11:29 Step 12/12 : RUN ${MAKE} 00:11:29 ---> Running in 16982f139ebf 00:11:29 noop 00:11:29 Removing intermediate container 16982f139ebf 00:11:29 ---> 6ca01bb7dced 00:11:29 Successfully built 6ca01bb7dced 00:11:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:30 + docker inspect -f . ci-base-image-x86_64 00:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:30 prd-ubuntu20.04-docker-8c-8g-25072 does not seem to be running inside a container 00:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-223 -v /w/workspace/edgexfoundry_device-gpio_PR-223:/w/workspace/edgexfoundry_device-gpio_PR-223:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-223@tmp:/w/workspace/edgexfoundry_device-gpio_PR-223@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-x86_64 cat 00:11:31 $ docker top 7f1ef3ffe3eef187b9bb92a486e32ceb9e488b323493b3528d049e95e108daa5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:31 + go version 00:11:31 go version go1.21.0 linux/amd64 [Pipeline] } 00:11:31 $ docker stop --time=1 7f1ef3ffe3eef187b9bb92a486e32ceb9e488b323493b3528d049e95e108daa5 00:11:32 $ docker rm -f --volumes 7f1ef3ffe3eef187b9bb92a486e32ceb9e488b323493b3528d049e95e108daa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:33 + docker inspect -f . ci-base-image-x86_64 00:11:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:34 prd-ubuntu20.04-docker-8c-8g-25072 does not seem to be running inside a container 00:11:34 $ 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-223 -v /w/workspace/edgexfoundry_device-gpio_PR-223:/w/workspace/edgexfoundry_device-gpio_PR-223:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-223@tmp:/w/workspace/edgexfoundry_device-gpio_PR-223@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-x86_64 cat 00:11:35 $ docker top 4e5192cc271c87dce4d37f18c125d81f03c400daf7e18ebef63fa22802893c70 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-223 [Pipeline] fileExists [Pipeline] sh 00:11:36 + make test 00:11:36 go test ./... -coverprofile=coverage.out ./... 00:11:40 ? github.com/edgexfoundry/device-gpio [no test files] 00:11:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:11:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:11:58 go vet ./... 00:12:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:01 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:12:01 $ docker stop --time=1 4e5192cc271c87dce4d37f18c125d81f03c400daf7e18ebef63fa22802893c70 00:12:05 $ docker rm -f --volumes 4e5192cc271c87dce4d37f18c125d81f03c400daf7e18ebef63fa22802893c70 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:06 + ls -al . 00:12:06 total 152 00:12:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 00:11 . 00:12:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 00:09 .. 00:12:06 -rw-rw-r-- 1 jenkins jenkins 120 Dec 15 00:09 .dockerignore 00:12:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 00:11 .git 00:12:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 00:09 .github 00:12:06 -rw-rw-r-- 1 jenkins jenkins 277 Dec 15 00:09 .gitignore 00:12:06 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 00:09 .golangci.yml 00:12:06 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 00:10 .semver 00:12:06 -rw-rw-r-- 1 jenkins jenkins 10671 Dec 15 00:09 Attribution.txt 00:12:06 -rw-rw-r-- 1 jenkins jenkins 7171 Dec 15 00:09 CHANGELOG.md 00:12:06 -rw-rw-r-- 1 jenkins jenkins 1661 Dec 15 00:09 Dockerfile 00:12:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 00:09 GOVERNANCE.md 00:12:06 -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 00:09 Jenkinsfile 00:12:06 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 00:09 LICENSE 00:12:06 -rw-rw-r-- 1 jenkins jenkins 1923 Dec 15 00:09 Makefile 00:12:06 -rw-rw-r-- 1 jenkins jenkins 617 Dec 15 00:09 OWNERS.md 00:12:06 -rw-rw-r-- 1 jenkins jenkins 3578 Dec 15 00:09 README.md 00:12:06 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 00:10 VERSION 00:12:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 00:09 bin 00:12:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 00:09 cmd 00:12:06 -rw-r--r-- 1 jenkins jenkins 10 Dec 15 00:11 coverage.out 00:12:06 -rw-rw-r-- 1 jenkins jenkins 3693 Dec 15 00:09 go.mod 00:12:06 -rw-rw-r-- 1 jenkins jenkins 35440 Dec 15 00:09 go.sum 00:12:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 00:09 internal 00:12:06 -rw-rw-r-- 1 jenkins jenkins 209 Dec 15 00:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:07 + 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=d94258decc4a40e8da9fa5abd6925489b04d5644 --label arch=amd64 --label version=0.0.0 . 00:12:07 Sending build context to Docker daemon 24.49MB 00:12:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:12:07 Step 2/26 : FROM ${BASE} AS builder 00:12:07 ---> 6ca01bb7dced 00:12:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:12:07 ---> Running in bb5e65d50afe 00:12:07 Removing intermediate container bb5e65d50afe 00:12:07 ---> 767bf933f4d5 00:12:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:07 ---> Running in 3da5a1271513 00:12:07 Removing intermediate container 3da5a1271513 00:12:07 ---> 2773faeea4ac 00:12:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:12:07 ---> Running in 142b31418b00 00:12:07 Removing intermediate container 142b31418b00 00:12:07 ---> 7b8fffc8bdd7 00:12:07 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:12:08 ---> Running in 8a98fe88ab16 00:12:08 Removing intermediate container 8a98fe88ab16 00:12:08 ---> fc9d18be6ec7 00:12:08 Step 7/26 : WORKDIR /device-gpio 00:12:08 ---> Running in ce5b577071d9 00:12:08 Removing intermediate container ce5b577071d9 00:12:08 ---> 674f81343a63 00:12:08 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:08 ---> Running in f899e9e57c46 00:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:12:08 OK: 268 MiB in 56 packages 00:12:09 Removing intermediate container f899e9e57c46 00:12:09 ---> 56f17e54394d 00:12:09 Step 9/26 : COPY go.mod vendor* ./ 00:12:09 ---> 245929254021 00:12:09 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:09 ---> Running in a11b0d5dd433 00:12:09 Removing intermediate container a11b0d5dd433 00:12:09 ---> 002d9923af7d 00:12:09 Step 11/26 : COPY . . 00:12:11 ---> 53e920de6212 00:12:11 Step 12/26 : RUN ${MAKE} 00:12:11 ---> Running in deec2b47922e 00:12:11 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.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:12:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25073 in /w/workspace/edgexfoundry_device-gpio_PR-223 [Pipeline] { [Pipeline] ws 00:12:21 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:12:24 The recommended git tool is: git 00:12:29 using credential edgex-jenkins-ssh 00:12:29 Cloning the remote Git repository 00:12:29 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:12:29 > git init /w/workspace/device-gpio/1 # timeout=10 00:12:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:12:30 > git --version # timeout=10 00:12:30 > git --version # 'git version 2.25.1' 00:12:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:33 Removing intermediate container deec2b47922e 00:12:33 ---> 1d5ec024e208 00:12:33 Step 13/26 : FROM alpine:3.18 00:12:33 3.18: Pulling from library/alpine 00:12:33 c926b61bad3b: Pulling fs layer 00:12:33 c926b61bad3b: Verifying Checksum 00:12:33 c926b61bad3b: Download complete 00:12:33 c926b61bad3b: Pull complete 00:12:33 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:12:33 Status: Downloaded newer image for alpine:3.18 00:12:33 ---> b541f2080109 00:12:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:12:33 ---> Running in 8e972879e5fc 00:12:33 Removing intermediate container 8e972879e5fc 00:12:33 ---> 525c18a08520 00:12:33 Step 15/26 : RUN apk add --update --no-cache dumb-init 00:12:33 ---> Running in 54b42d3d6a54 00:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:12:33 (1/1) Installing dumb-init (1.2.5-r2) 00:12:33 Executing busybox-1.36.1-r5.trigger 00:12:33 OK: 7 MiB in 16 packages 00:12:33 Removing intermediate container 54b42d3d6a54 00:12:33 ---> 2c79010d16cb 00:12:33 Step 16/26 : RUN apk --no-cache upgrade 00:12:33 ---> Running in b02055e708ad 00:12:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:12:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:12:33 OK: 7 MiB in 16 packages 00:12:33 Removing intermediate container b02055e708ad 00:12:33 ---> eb55b66abce6 00:12:33 Step 17/26 : WORKDIR / 00:12:33 ---> Running in 22701d70cc9b 00:12:34 Merging remotes/origin/main commit ca6eedcb7203a69331a310d8a9e2fcedf7b80801 into PR head commit d94258decc4a40e8da9fa5abd6925489b04d5644 00:12:34 Removing intermediate container 22701d70cc9b 00:12:34 ---> faf874629aac 00:12:34 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 00:12:34 ---> fb5ff08e1108 00:12:34 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 00:12:34 Merge succeeded, producing d94258decc4a40e8da9fa5abd6925489b04d5644 00:12:34 Checking out Revision d94258decc4a40e8da9fa5abd6925489b04d5644 (PR-223) 00:12:34 ---> ea722d079054 00:12:34 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 00:12:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:12:33 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:12:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:12:34 > git config core.sparsecheckout # timeout=10 00:12:34 > git checkout -f d94258decc4a40e8da9fa5abd6925489b04d5644 # timeout=10 00:12:34 > git remote # timeout=10 00:12:34 > git config --get remote.origin.url # timeout=10 00:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:34 > git merge ca6eedcb7203a69331a310d8a9e2fcedf7b80801 # timeout=10 00:12:34 > git rev-parse HEAD^{commit} # timeout=10 00:12:34 > git config core.sparsecheckout # timeout=10 00:12:34 > git checkout -f d94258decc4a40e8da9fa5abd6925489b04d5644 # timeout=10 00:12:34 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:12:35 > git --version # timeout=10 00:12:35 > git --version # 'git version 2.25.1' 00:12:35 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:12:35 ---> 6b6cf1c59b6c 00:12:35 Step 21/26 : EXPOSE 59910 00:12:35 ---> Running in 9f43878a1ce2 00:12:35 Removing intermediate container 9f43878a1ce2 00:12:35 ---> fc3d75bd259c 00:12:35 Step 22/26 : ENTRYPOINT ["/device-gpio"] 00:12:35 ---> Running in 8589c6bda141 00:12:35 Removing intermediate container 8589c6bda141 00:12:35 ---> 2a2d3684505c 00:12:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 00:12:35 ---> Running in 96f78f491b6c 00:12:35 Removing intermediate container 96f78f491b6c 00:12:35 ---> d68a5bd19701 00:12:35 Step 24/26 : LABEL arch=amd64 00:12:35 ---> Running in 57833e2c9c43 00:12:35 Removing intermediate container 57833e2c9c43 00:12:35 ---> fe6e07534294 00:12:35 Step 25/26 : LABEL git_sha=d94258decc4a40e8da9fa5abd6925489b04d5644 00:12:35 ---> Running in 571aaf7ab0dd [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:35 Removing intermediate container 571aaf7ab0dd 00:12:35 ---> 315513d0885f 00:12:35 Step 26/26 : LABEL version=0.0.0 00:12:35 ---> Running in 97ca744f4c6a 00:12:35 Removing intermediate container 97ca744f4c6a 00:12:35 ---> bf03d756cc05 00:12:35 [Warning] One or more build-args [ARCH] were not consumed 00:12:35 Successfully built bf03d756cc05 00:12:35 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 00:12:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:12:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:36 Dload Upload Total Spent Left Speed 00:12:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88069 0 --:--:-- --:--:-- --:--:-- 88685 [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 00:12:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 00:12:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:12:37 + sudo tee /etc/docker/daemon.new 00:12:37 { 00:12:37 "registry-mirrors": [ 00:12:37 "https://nexus3.edgexfoundry.org:10001" 00:12:37 ], 00:12:37 "bip": "10.250.0.254/24", 00:12:37 "hosts": [ 00:12:37 "tcp://0.0.0.0:5555", 00:12:37 "unix:///var/run/docker.sock" 00:12:37 ], 00:12:37 "mtu": 1458, 00:12:37 "selinux-enabled": true, 00:12:37 "seccomp-profile": "/etc/docker/seccomp.json" 00:12:37 } Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:37 00:12:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:37 + sudo service docker restart 00:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:38 latest: Pulling from edgex-lftools-log-publisher 00:12:38 5eb5b503b376: Pulling fs layer 00:12:38 5c69ac0246d0: Pulling fs layer 00:12:38 ec43610c2a17: Pulling fs layer 00:12:38 3a2ae6a8a46f: Pulling fs layer 00:12:38 33b1e0a273af: Pulling fs layer 00:12:38 5d3b04190fa2: Pulling fs layer 00:12:38 2f39f015ded8: Pulling fs layer 00:12:38 33b1e0a273af: Waiting 00:12:38 5d3b04190fa2: Waiting 00:12:38 2f39f015ded8: Waiting 00:12:38 3a2ae6a8a46f: Waiting 00:12:38 5c69ac0246d0: Download complete 00:12:38 3a2ae6a8a46f: Download complete 00:12:38 33b1e0a273af: Verifying Checksum 00:12:38 33b1e0a273af: Download complete 00:12:38 5d3b04190fa2: Verifying Checksum 00:12:38 5d3b04190fa2: Download complete 00:12:38 ec43610c2a17: Verifying Checksum 00:12:38 ec43610c2a17: Download complete 00:12:38 5eb5b503b376: Verifying Checksum 00:12:38 5eb5b503b376: Download complete 00:12:39 2f39f015ded8: Download complete 00:12:39 5eb5b503b376: Pull complete 00:12:39 5c69ac0246d0: Pull complete 00:12:40 ec43610c2a17: Pull complete 00:12:40 3a2ae6a8a46f: Pull complete 00:12:40 33b1e0a273af: Pull complete 00:12:40 5d3b04190fa2: Pull complete 00:12:44 2f39f015ded8: Pull complete 00:12:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:45 prd-ubuntu20.04-docker-8c-8g-25072 does not seem to be running inside a container 00:12:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-223 -v /w/workspace/edgexfoundry_device-gpio_PR-223:/w/workspace/edgexfoundry_device-gpio_PR-223:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-223@tmp:/w/workspace/edgexfoundry_device-gpio_PR-223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:12:50 $ docker top 17dcff593928a411e7722b221f8c8f7f5e56a46eeac8a37f8de15a8cc4d7f2f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:50 ---> job-cost.sh 00:12:50 lf-activate-venv: SKIPPING 00:12:50 INFO: No Stack... 00:12:50 INFO: Retrieving Pricing Info for: v3-standard-8 00:12:51 INFO: Archiving Costs [Pipeline] sh 00:12:51 + cat /w/workspace/edgexfoundry_device-gpio_PR-223/archives/cost.csv 00:12:51 + cut -d, -f6 [Pipeline] lock 00:12:51 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] 00:12:51 Resource [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] did not exist. Created. 00:12:51 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:52 + echo total: 0.2199999988079071 [Pipeline] stash 00:12:52 Stashed 1 file(s) [Pipeline] } 00:12:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:12:52 $ docker stop --time=1 17dcff593928a411e7722b221f8c8f7f5e56a46eeac8a37f8de15a8cc4d7f2f3 00:12:53 $ docker rm -f --volumes 17dcff593928a411e7722b221f8c8f7f5e56a46eeac8a37f8de15a8cc4d7f2f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:56 provisioning config files... 00:12:56 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config11460573081042113136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:56 ---> ****-login.sh 00:12:56 nexus3.edgexfoundry.org:10001 00:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 nexus3.edgexfoundry.org:10002 00:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 nexus3.edgexfoundry.org:10003 00:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 nexus3.edgexfoundry.org:10004 00:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:12:58 Configure a credential helper to remove this warning. See 00:12:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:12:58 00:12:58 Login Succeeded 00:12:58 ****.io 00:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:12:58 Configure a credential helper to remove this warning. See 00:12:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:12:58 00:12:58 Login Succeeded 00:12:58 ---> ****-login.sh ends [Pipeline] } 00:12:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:12:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:12:59 ========================================================= 00:12:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:12:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:00 + 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:13:01 #0 building with "default" instance using docker driver 00:13:01 00:13:01 #1 [internal] load .dockerignore 00:13:01 #1 transferring context: 160B 0.0s done 00:13:01 #1 DONE 0.1s 00:13:01 00:13:01 #2 [internal] load build definition from Dockerfile 00:13:01 #2 transferring dockerfile: 1.70kB 0.0s done 00:13:01 #2 DONE 0.1s 00:13:01 00:13:01 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:13:01 #3 DONE 0.1s 00:13:01 00:13:01 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 00:13:01 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 00:13:01 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 00:13:01 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s 00:13:01 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 00:13:01 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.15MB / 3.33MB 0.2s 00:13:01 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.3s 00:13:02 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 00:13:02 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 00:13:02 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 00:13:02 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 0B / 440B 0.3s 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.4s 00:13:02 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 00:13:02 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 00:13:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 00:13:02 #4 ... 00:13:02 00:13:02 #5 [internal] load build context 00:13:02 #5 transferring context: 12.21MB 0.5s done 00:13:02 #5 DONE 0.5s 00:13:02 00:13:02 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.41MB / 63.99MB 0.5s 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 00:13:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.6s 00:13:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.8s 00:13:02 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.29MB / 97.63MB 0.8s 00:13:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 0.9s 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.36MB / 97.63MB 0.9s 00:13:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.52MB / 63.99MB 1.0s 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.60MB / 97.63MB 1.0s 00:13:02 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.53MB / 63.99MB 1.2s 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.2s 00:13:02 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 00:13:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.3s 00:13:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.3s 00:13:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s done 00:13:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.87MB / 97.63MB 1.5s 00:13:03 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 00:13:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.16MB / 97.63MB 1.6s 00:13:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.61MB / 97.63MB 1.9s 00:13:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 89.13MB / 97.63MB 2.0s 00:13:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.1s 00:13:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 00:13:09 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s 00:13:14 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 00:13:20 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.4s done 00:13:20 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 00:13:20 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 00:13:21 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 00:13:21 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 00:13:30 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 00:13:30 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 00:13:30 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 00:13:32 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 00:13:32 #4 DONE 30.7s 00:13:32 00:13:32 #6 [builder 2/7] WORKDIR /device-gpio 00:13:34 #6 DONE 1.7s 00:13:34 00:13:34 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 00:13:34 #7 0.677 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:13:35 #7 1.082 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:13:36 #7 2.123 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:13:36 #7 2.144 (2/4) Installing libedit (20221030.3.1-r1) 00:13:36 #7 2.164 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:13:36 #7 2.251 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:13:36 #7 2.278 Executing busybox-1.36.1-r5.trigger 00:13:36 #7 2.315 OK: 271 MiB in 56 packages 00:13:36 #7 DONE 2.6s 00:13:36 00:13:36 #8 [builder 4/7] COPY go.mod vendor* ./ 00:13:36 #8 DONE 0.1s 00:13:36 00:13:36 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:03 #9 DONE 22.9s 00:14:03 00:14:03 #10 [builder 6/7] COPY . . 00:14:03 #10 DONE 0.3s 00:14:03 00:14:03 #11 [builder 7/7] RUN echo noop 00:14:03 #11 0.574 noop 00:14:03 #11 DONE 0.6s 00:14:03 00:14:03 #12 exporting to image 00:14:03 #12 exporting layers 00:14:25 #12 exporting layers 22.6s done 00:14:25 #12 writing image sha256:db11379b4c7f6ec25b180fa21cf0e38bdd73296f6f6ffb5d1a120591653a7776 done 00:14:25 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 00:14:25 #12 DONE 22.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:26 + docker inspect -f . ci-base-image-arm64 00:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:26 prd-ubuntu20.04-docker-arm64-4c-16g-25073 does not seem to be running inside a container 00:14:26 $ 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:14:27 $ docker top dba24cc82c54162c66b183ef1fffcf57bedbc3ab7c3c8cc2f7084d7118d60109 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:28 + go version 00:14:28 go version go1.21.0 linux/arm64 [Pipeline] } 00:14:28 $ docker stop --time=1 dba24cc82c54162c66b183ef1fffcf57bedbc3ab7c3c8cc2f7084d7118d60109 00:14:30 $ docker rm -f --volumes dba24cc82c54162c66b183ef1fffcf57bedbc3ab7c3c8cc2f7084d7118d60109 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:31 + docker inspect -f . ci-base-image-arm64 00:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:31 prd-ubuntu20.04-docker-arm64-4c-16g-25073 does not seem to be running inside a container 00:14:32 $ 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:14:32 $ docker top 7c01b7101ef9a7b20f686f809d87230e976dfa123f5544ef9bd6a61d0b845a11 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:33 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:14:33 + make test 00:14:33 go test ./... -coverprofile=coverage.out ./... 00:14:38 ? github.com/edgexfoundry/device-gpio [no test files] 00:15:24 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:15:24 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:15:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:15:26 go vet ./... 00:15:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:15:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:15:41 ./bin/test-attribution-txt.sh [Pipeline] echo 00:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:15:41 $ docker stop --time=1 7c01b7101ef9a7b20f686f809d87230e976dfa123f5544ef9bd6a61d0b845a11 00:15:43 $ docker rm -f --volumes 7c01b7101ef9a7b20f686f809d87230e976dfa123f5544ef9bd6a61d0b845a11 [Pipeline] // withDockerContainer [Pipeline] sh 00:15:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:15:44 Warning: overwriting stash ‘coverage-report’ 00:15:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:15:46 + ls -al . 00:15:46 total 148 00:15:46 drwxrwxr-x 7 jenkins jenkins 4096 Dec 15 00:14 . 00:15:46 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 00:12 .. 00:15:46 -rw-rw-r-- 1 jenkins jenkins 120 Dec 15 00:12 .dockerignore 00:15:46 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 00:12 .git 00:15:46 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 00:12 .github 00:15:46 -rw-rw-r-- 1 jenkins jenkins 277 Dec 15 00:12 .gitignore 00:15:46 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 00:12 .golangci.yml 00:15:46 -rw-rw-r-- 1 jenkins jenkins 10671 Dec 15 00:12 Attribution.txt 00:15:46 -rw-rw-r-- 1 jenkins jenkins 7171 Dec 15 00:12 CHANGELOG.md 00:15:46 -rw-rw-r-- 1 jenkins jenkins 1661 Dec 15 00:12 Dockerfile 00:15:46 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 00:12 GOVERNANCE.md 00:15:46 -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 00:12 Jenkinsfile 00:15:46 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 00:12 LICENSE 00:15:46 -rw-rw-r-- 1 jenkins jenkins 1923 Dec 15 00:12 Makefile 00:15:46 -rw-rw-r-- 1 jenkins jenkins 617 Dec 15 00:12 OWNERS.md 00:15:46 -rw-rw-r-- 1 jenkins jenkins 3578 Dec 15 00:12 README.md 00:15:46 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 00:10 VERSION 00:15:46 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 00:12 bin 00:15:46 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 00:12 cmd 00:15:46 -rw-r--r-- 1 jenkins jenkins 10 Dec 15 00:14 coverage.out 00:15:46 -rw-rw-r-- 1 jenkins jenkins 3693 Dec 15 00:12 go.mod 00:15:46 -rw-rw-r-- 1 jenkins jenkins 35440 Dec 15 00:12 go.sum 00:15:46 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 00:12 internal 00:15:46 -rw-rw-r-- 1 jenkins jenkins 209 Dec 15 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:46 + 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=d94258decc4a40e8da9fa5abd6925489b04d5644 --label arch=arm64 --label version=0.0.0 . 00:15:47 #0 building with "default" instance using docker driver 00:15:47 00:15:47 #1 [internal] load .dockerignore 00:15:47 #1 transferring context: 160B done 00:15:47 #1 DONE 0.0s 00:15:47 00:15:47 #2 [internal] load build definition from Dockerfile 00:15:47 #2 transferring dockerfile: 1.70kB 0.0s done 00:15:47 #2 DONE 0.0s 00:15:47 00:15:47 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 00:15:47 #3 DONE 0.0s 00:15:47 00:15:47 #4 [internal] load metadata for docker.io/library/alpine:3.18 00:15:47 #4 DONE 0.3s 00:15:47 00:15:47 #5 [internal] load build context 00:15:47 #5 transferring context: 6.46kB 0.0s done 00:15:48 #5 DONE 0.1s 00:15:48 00:15:48 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:15:48 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 00:15:48 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 00:15:48 #6 ... 00:15:48 00:15:48 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 00:15:48 #7 DONE 0.2s 00:15:48 00:15:48 #8 [builder 2/7] WORKDIR /device-gpio 00:15:48 #8 DONE 0.1s 00:15:48 00:15:48 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 00:15:48 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 00:15:48 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 00:15:48 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 00:15:48 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 00:15:48 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 00:15:48 #6 DONE 0.9s 00:15:48 00:15:48 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 00:15:49 #9 0.601 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:15:49 #9 0.938 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:15:50 #9 ... 00:15:50 00:15:50 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 00:15:50 #10 0.726 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:15:50 #10 1.158 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:15:50 #10 2.192 OK: 271 MiB in 56 packages 00:15:50 #10 DONE 2.5s 00:15:50 00:15:50 #11 [builder 4/7] COPY go.mod vendor* ./ 00:15:50 #11 DONE 0.1s 00:15:50 00:15:50 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 00:15:50 #9 1.940 (1/1) Installing dumb-init (1.2.5-r2) 00:15:50 #9 1.949 Executing busybox-1.36.1-r5.trigger 00:15:50 #9 2.001 OK: 8 MiB in 16 packages 00:15:51 #9 DONE 2.3s 00:15:51 00:15:51 #12 [stage-1 3/7] RUN apk --no-cache upgrade 00:15:52 #12 0.720 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:15:52 #12 1.068 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:15:53 #12 1.979 OK: 8 MiB in 16 packages 00:15:55 #12 DONE 4.0s 00:15:55 00:15:55 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:55 #13 DONE 4.4s 00:15:55 00:15:55 #14 [builder 6/7] COPY . . 00:15:55 #14 DONE 0.3s 00:15:55 00:15:55 #15 [builder 7/7] RUN make build 00:15:56 #15 0.610 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.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:17:03 #15 DONE 59.0s 00:17:03 00:17:03 #16 [stage-1 4/7] COPY --from=builder /device-gpio/Attribution.txt / 00:17:03 #16 DONE 0.1s 00:17:03 00:17:03 #17 [stage-1 5/7] COPY --from=builder /device-gpio/LICENSE / 00:17:03 #17 DONE 0.1s 00:17:03 00:17:03 #18 [stage-1 6/7] COPY --from=builder /device-gpio/cmd/ / 00:17:03 #18 DONE 0.3s 00:17:03 00:17:03 #19 exporting to image 00:17:03 #19 exporting layers 00:17:03 #19 exporting layers 0.3s done 00:17:03 #19 writing image sha256:3e9395cbeb5e20108e30380415df41d462d35b8571a7336a48b0bac726005d29 done 00:17:03 #19 naming to docker.io/library/device-gpio-arm64 done 00:17:03 #19 DONE 0.3s [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:17:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:05 00:17:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:05 arm64: Pulling from edgex-lftools-log-publisher 00:17:05 8998bd30e6a1: Pulling fs layer 00:17:05 04944245beec: Pulling fs layer 00:17:05 699f458cf7ca: Pulling fs layer 00:17:05 765212b225bb: Pulling fs layer 00:17:05 f23df028b6ca: Pulling fs layer 00:17:05 d65c8cfc05b1: Pulling fs layer 00:17:05 2437ff75d9bd: Pulling fs layer 00:17:05 765212b225bb: Waiting 00:17:05 d65c8cfc05b1: Waiting 00:17:05 f23df028b6ca: Waiting 00:17:05 2437ff75d9bd: Waiting 00:17:05 04944245beec: Verifying Checksum 00:17:05 04944245beec: Download complete 00:17:05 765212b225bb: Verifying Checksum 00:17:05 765212b225bb: Download complete 00:17:05 f23df028b6ca: Download complete 00:17:05 d65c8cfc05b1: Verifying Checksum 00:17:05 d65c8cfc05b1: Download complete 00:17:05 699f458cf7ca: Verifying Checksum 00:17:05 699f458cf7ca: Download complete 00:17:06 8998bd30e6a1: Verifying Checksum 00:17:06 8998bd30e6a1: Download complete 00:17:08 2437ff75d9bd: Verifying Checksum 00:17:08 2437ff75d9bd: Download complete 00:17:12 8998bd30e6a1: Pull complete 00:17:12 04944245beec: Pull complete 00:17:14 699f458cf7ca: Pull complete 00:17:14 765212b225bb: Pull complete 00:17:15 f23df028b6ca: Pull complete 00:17:15 d65c8cfc05b1: Pull complete 00:17:41 2437ff75d9bd: Pull complete 00:17:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:17:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:17:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:42 prd-ubuntu20.04-docker-arm64-4c-16g-25073 does not seem to be running inside a container 00:17: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/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:17:44 $ docker top 2d78c1dcb6837dd09e3dfff7cc5f4bd83d73c02f84bc0fe336cabfe57572bea7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:44 ---> job-cost.sh 00:17:44 lf-activate-venv: SKIPPING 00:17:44 INFO: No Stack... 00:17:45 INFO: Retrieving Pricing Info for: v3-standard-8 00:17:45 INFO: Archiving Costs [Pipeline] sh 00:17:46 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:17:46 + cut -d, -f6 [Pipeline] lock 00:17:46 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] 00:17:46 Resource [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] did not exist. Created. 00:17:46 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:17:46 /w/workspace/device-gpio/1@tmp/durable-aa72790f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:17:47 + echo total: 0.2199999988079071 [Pipeline] stash 00:17:47 Warning: overwriting stash ‘stack-cost’ 00:17:47 Stashed 1 file(s) [Pipeline] } 00:17:47 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-223-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:17:47 $ docker stop --time=1 2d78c1dcb6837dd09e3dfff7cc5f4bd83d73c02f84bc0fe336cabfe57572bea7 00:17:53 $ docker rm -f --volumes 2d78c1dcb6837dd09e3dfff7cc5f4bd83d73c02f84bc0fe336cabfe57572bea7 [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:17:55 provisioning config files... 00:17:55 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-223@tmp/config16968740089221845285tmp [Pipeline] { [Pipeline] sh 00:17:55 + set +x 00:17:55 + bash -s -- 00:17:55 + curl -s https://codecov.io/bash 00:17:55 00:17:55 _____ _ 00:17:55 / ____| | | 00:17:55 | | ___ __| | ___ ___ _____ __ 00:17:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:17:55 | |___| (_) | (_| | __/ (_| (_) \ V / 00:17:55 \_____\___/ \__,_|\___|\___\___/ \_/ 00:17:55 Bash-1.0.6 00:17:55 00:17:55 00:17:55 ==> git version 2.25.1 found 00:17:55 ==> 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:17:55 Release-Date: 2020-01-08 00:17:55 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:17:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:17:55 ==> Jenkins CI detected. 00:17:55 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-223 00:17:55 project root: . 00:17:55 --> token set from env 00:17:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:17:55 ==> Running gcov in . (disable via -X gcov) 00:17:55 ==> Python coveragepy not found 00:17:55 ==> Searching for coverage reports in: 00:17:55 + . 00:17:55 -> Found 1 reports 00:17:55 ==> Detecting git/mercurial file structure 00:17:55 ==> Reading reports 00:17:55 + ./coverage.out bytes=10 00:17:55 ==> Appending adjustments 00:17:55 https://docs.codecov.io/docs/fixing-reports 00:17:55 + Found adjustments 00:17:56 ==> Gzipping contents 00:17:56 4.0K /tmp/codecov.YJaM3K.gz 00:17:56 ==> Uploading reports 00:17:56 url: https://codecov.io 00:17:56 query: branch=PR-223&commit=d94258decc4a40e8da9fa5abd6925489b04d5644&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-223%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=223&job=&cmd_args= 00:17:56 -> Pinging Codecov 00:17:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-223&commit=d94258decc4a40e8da9fa5abd6925489b04d5644&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-223%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=223&job=&cmd_args= 00:17:58 -> Uploading to 00:17:58 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d94258decc4a40e8da9fa5abd6925489b04d5644/0b6a4ca4-3984-4957-9c15-949a2c55087d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T001757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29d20c418ad795bfc35e7eb46a60b96a913a80f91d38357ed721833736f857c7 00:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 00:17:58 Dload Upload Total Spent Left Speed 00:17:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2252 --:--:-- --:--:-- --:--:-- 2252 00:17:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/d94258decc4a40e8da9fa5abd6925489b04d5644 [Pipeline] } 00:17: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:18:01 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-223/archives ] 00:18:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-223/archives 00:18:01 total 16 00:18:01 drwxr-xr-x 3 root root 4096 Dec 15 00:12 . 00:18:01 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 00:12 .. 00:18:01 drwxr-xr-x 2 root root 4096 Dec 15 00:12 cost 00:18:01 -rw-r--r-- 1 root root 83 Dec 15 00:12 cost.csv 00:18:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-223/archives 00:18:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-223/archives 00:18:01 total 16 00:18:01 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 00:12 . 00:18:01 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 00:12 .. 00:18:01 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 00:12 cost 00:18:01 -rw-r--r-- 1 jenkins jenkins 83 Dec 15 00:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:18:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:18:02 ---> package-listing.sh 00:18:02 ++ facter osfamily 00:18:02 ++ tr '[:upper:]' '[:lower:]' 00:18:03 + OS_FAMILY=debian 00:18:03 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-223 00:18:03 + START_PACKAGES=/tmp/packages_start.txt 00:18:03 + END_PACKAGES=/tmp/packages_end.txt 00:18:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:18:03 + PACKAGES=/tmp/packages_start.txt 00:18:03 + '[' /w/workspace/edgexfoundry_device-gpio_PR-223 ']' 00:18:03 + PACKAGES=/tmp/packages_end.txt 00:18:03 + case "${OS_FAMILY}" in 00:18:03 + dpkg -l 00:18:03 + grep '^ii' 00:18:03 + '[' -f /tmp/packages_start.txt ']' 00:18:03 + '[' -f /tmp/packages_end.txt ']' 00:18:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:18:03 + '[' /w/workspace/edgexfoundry_device-gpio_PR-223 ']' 00:18:03 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-223/archives/ 00:18:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-223/archives/ [Pipeline] echo 00:18:03 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-223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:18:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:04 prd-ubuntu20.04-docker-8c-8g-25072 does not seem to be running inside a container 00:18:04 $ 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-223/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-223 -v /w/workspace/edgexfoundry_device-gpio_PR-223:/w/workspace/edgexfoundry_device-gpio_PR-223:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-223@tmp:/w/workspace/edgexfoundry_device-gpio_PR-223@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:18:04 $ docker top b56398de2e263c7c8ab188013473eeb8705ae57f09bb8eb6ad8617926b5c62bb -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:05 + touch /tmp/pre-build-complete [Pipeline] sh 00:18:05 + mkdir -p /var/log/sysstat [Pipeline] sh 00:18:05 + ls /var/log/sa-host 00:18:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:05 provisioning config files... 00:18:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-223@tmp/config198612608618746006tmp [Pipeline] { [Pipeline] echo 00:18:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:18:06 ---> create-netrc.sh [Pipeline] } 00:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:18:06 ---> python-tools-install.sh [Pipeline] echo 00:18:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:18:07 ---> sudo-logs.sh 00:18:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:18:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:18:07 ---> job-cost.sh 00:18:07 lf-activate-venv: SKIPPING 00:18:07 DEBUG: total: 0.2199999988079071 00:18:07 INFO: Retrieving Stack Cost... 00:18:08 INFO: Retrieving Pricing Info for: v3-standard-8 00:18:08 INFO: Archiving Costs [Pipeline] echo 00:18:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:18:08 ---> logs-deploy.sh 00:18:08 lf-activate-venv: SKIPPING 00:18:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-223/1 00:18:08 INFO: archiving workspace using pattern(s): 00:18:09 Archives upload complete. 00:18:09 INFO: archiving logs to Nexus