Pull request #56 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76d6ce8e477bbec59c954b53119485d6aec546ec+260cec84f3d8422d1b27e17805dfcbed9444425b (96814692440d1ac064b654730bf2630894951b9b) 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-ssh13190743475527727806.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3454834093513178287.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8704784923806547112.key Verifying host key using known hosts file > 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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13365367532240896012.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15465808592692149211.key Verifying host key using known hosts file > 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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13130741178188524423.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1101 in /w/workspace/edgexfoundry_device-gpio_PR-56 [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-56 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 260cec84f3d8422d1b27e17805dfcbed9444425b into PR head commit 76d6ce8e477bbec59c954b53119485d6aec546ec Merge succeeded, producing 76d6ce8e477bbec59c954b53119485d6aec546ec Checking out Revision 76d6ce8e477bbec59c954b53119485d6aec546ec (PR-56) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:01:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:01:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 260cec84f3d8422d1b27e17805dfcbed9444425b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:01:11 ========================================================= 01:01:11 EdgeX Global Pipelines Version Info 01:01:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:01:11 ------------------- 01:01:11 stable info: 01:01:11 ------------------- 01:01:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:01:11 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:01:11 Message: update stable to v1.0.239 01:01:12 ------------------- 01:01:12 experimental info: 01:01:12 ------------------- 01:01:12 Commited By: **** collab-it+edgex@linuxfoundation.org 01:01:12 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:01:12 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:01:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:01:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:01:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:01:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:01:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:01:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:01:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 01:01:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 01:01:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 01:01:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo 01:01:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76d6ce8 [Pipeline] echo 01:01:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:01:14 provisioning config files... 01:01:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config12290335763702671290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:14 ---> docker-login.sh 01:01:14 nexus3.edgexfoundry.org:10001 01:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:15 Configure a credential helper to remove this warning. See 01:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:15 01:01:15 Login Succeeded 01:01:15 nexus3.edgexfoundry.org:10002 01:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:15 Configure a credential helper to remove this warning. See 01:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:15 01:01:15 Login Succeeded 01:01:15 nexus3.edgexfoundry.org:10003 01:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:15 Configure a credential helper to remove this warning. See 01:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:15 01:01:15 Login Succeeded 01:01:15 nexus3.edgexfoundry.org:10004 01:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:15 Configure a credential helper to remove this warning. See 01:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:15 01:01:15 Login Succeeded 01:01:15 docker.io 01:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:16 Configure a credential helper to remove this warning. See 01:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:16 01:01:16 Login Succeeded 01:01:16 ---> docker-login.sh ends [Pipeline] } 01:01:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:01:16 + git rev-list -1 --merges 76d6ce8e477bbec59c954b53119485d6aec546ec~1..76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo 01:01:16 -----------> git rev-list -1 --merges 76d6ce8e477bbec59c954b53119485d6aec546ec~1..76d6ce8e477bbec59c954b53119485d6aec546ec 76d6ce8e477bbec59c954b53119485d6aec546ec [false] [Pipeline] sh 01:01:17 + git log --format=format:%s -1 76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo 01:01:17 ========================================================= 01:01:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:01:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:01:17 + git log --format=format:%s -1 76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] echo 01:01:17 [semverPrep] GIT_COMMIT: 76d6ce8e477bbec59c954b53119485d6aec546ec, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:01:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:01:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:01:18 + grep -v github /etc/ssh/ssh_known_hosts 01:01:18 + [ -e /tmp/ssh_known_hosts ] 01:01:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:01:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:01:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:01:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:18 01:01:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:18 0.1.4: Pulling from edgex-devops/py-git-semver 01:01:18 b85a868b505f: Pulling fs layer 01:01:18 e2be974225ed: Pulling fs layer 01:01:18 339a4e72a1f5: Pulling fs layer 01:01:18 988bab9f4d93: Pulling fs layer 01:01:18 1469e6f7b9e6: Pulling fs layer 01:01:18 eaf3925da568: Pulling fs layer 01:01:18 bab4dde63d76: Pulling fs layer 01:01:18 bde34c3a00c8: Pulling fs layer 01:01:18 b352a97aabf1: Pulling fs layer 01:01:18 4872d77fe225: Pulling fs layer 01:01:18 5851b861e8e6: Pulling fs layer 01:01:18 988bab9f4d93: Waiting 01:01:18 1469e6f7b9e6: Waiting 01:01:18 bab4dde63d76: Waiting 01:01:18 eaf3925da568: Waiting 01:01:18 bde34c3a00c8: Waiting 01:01:18 b352a97aabf1: Waiting 01:01:18 4872d77fe225: Waiting 01:01:18 5851b861e8e6: Waiting 01:01:18 e2be974225ed: Verifying Checksum 01:01:18 e2be974225ed: Download complete 01:01:18 988bab9f4d93: Verifying Checksum 01:01:18 988bab9f4d93: Download complete 01:01:19 1469e6f7b9e6: Verifying Checksum 01:01:19 1469e6f7b9e6: Download complete 01:01:19 339a4e72a1f5: Verifying Checksum 01:01:19 339a4e72a1f5: Download complete 01:01:19 eaf3925da568: Verifying Checksum 01:01:19 eaf3925da568: Download complete 01:01:19 bde34c3a00c8: Download complete 01:01:19 b352a97aabf1: Verifying Checksum 01:01:19 b352a97aabf1: Download complete 01:01:19 4872d77fe225: Download complete 01:01:19 5851b861e8e6: Download complete 01:01:19 b85a868b505f: Verifying Checksum 01:01:19 b85a868b505f: Download complete 01:01:19 bab4dde63d76: Verifying Checksum 01:01:19 bab4dde63d76: Download complete 01:01:20 b85a868b505f: Pull complete 01:01:20 e2be974225ed: Pull complete 01:01:21 339a4e72a1f5: Pull complete 01:01:21 988bab9f4d93: Pull complete 01:01:21 1469e6f7b9e6: Pull complete 01:01:21 eaf3925da568: Pull complete 01:01:23 bab4dde63d76: Pull complete 01:01:23 bde34c3a00c8: Pull complete 01:01:23 b352a97aabf1: Pull complete 01:01:23 4872d77fe225: Pull complete 01:01:23 5851b861e8e6: Pull complete 01:01:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:01:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:24 prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container 01:01:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:01:26 $ docker top ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f -eo pid,comm 01:01:26 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). 01:01:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:26 [ssh-agent] Looking for ssh-agent implementation... 01:01:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:26 $ docker exec ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent 01:01:26 SSH_AUTH_SOCK=/tmp/ssh-KTROCVEKjeZo/agent.32 01:01:26 SSH_AGENT_PID=38 01:01:26 Running ssh-add (command line suppressed) 01:01:26 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_13552915067708132527.key (/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_13552915067708132527.key) 01:01:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:27 + git tag --points-at HEAD [Pipeline] } 01:01:27 $ docker exec --env ******** --env ******** ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent -k 01:01:27 unset SSH_AUTH_SOCK; 01:01:27 unset SSH_AGENT_PID; 01:01:27 echo Agent pid 38 killed; 01:01:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:01:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:27 [ssh-agent] Looking for ssh-agent implementation... 01:01:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:27 $ docker exec ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent 01:01:27 SSH_AUTH_SOCK=/tmp/ssh-0cHWRh1QMNoI/agent.70 01:01:27 SSH_AGENT_PID=76 01:01:27 Running ssh-add (command line suppressed) 01:01:27 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_17430251764439862644.key (/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/private_key_17430251764439862644.key) 01:01:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:28 + git semver init 01:01:28 2022-09-26 01:01:28,211 [run_init] DEBUG init version:0.0.0 force:False 01:01:28 2022-09-26 01:01:28,211 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-56/.semver 01:01:28 2022-09-26 01:01:28,212 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-56/.semver 01:01:28 2022-09-26 01:01:28,212 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-56/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-56, universal_newlines=False, shell=None, istream=None) 01:01:29 2022-09-26 01:01:29,250 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-56/.git/info/exclude 01:01:29 2022-09-26 01:01:29,250 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-56/.semver/PR-56 with force:False 01:01:29 2022-09-26 01:01:29,251 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-56/.semver/PR-56 01:01:29 2022-09-26 01:01:29,255 [execute] INFO git cat-file --batch-check 01:01:29 2022-09-26 01:01:29,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-56/.semver, universal_newlines=False, shell=None, istream=) 01:01:29 2022-09-26 01:01:29,262 [execute] INFO git cat-file --batch 01:01:29 2022-09-26 01:01:29,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-56/.semver, universal_newlines=False, shell=None, istream=) 01:01:29 2022-09-26 01:01:29,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-56/.semver/PR-56 01:01:29 0.0.0 [Pipeline] } 01:01:29 $ docker exec --env ******** --env ******** ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f ssh-agent -k 01:01:29 unset SSH_AUTH_SOCK; 01:01:29 unset SSH_AGENT_PID; 01:01:29 echo Agent pid 76 killed; 01:01:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:30 + git semver [Pipeline] } 01:01:30 $ docker stop --time=1 ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f 01:01:31 $ docker rm -f ef89e02e1ff13ff4a6b668cdee351f0a8c00c262be4dc47df383f8f1aeb2120f [Pipeline] // withDockerContainer [Pipeline] sh 01:01:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:01:32 Stashed 1 file(s) [Pipeline] echo 01:01:32 [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 01:01:33 provisioning config files... 01:01:33 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config4900498164753640491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:33 ---> docker-login.sh 01:01:33 nexus3.edgexfoundry.org:10001 01:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:33 Configure a credential helper to remove this warning. See 01:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:33 01:01:33 Login Succeeded 01:01:33 nexus3.edgexfoundry.org:10002 01:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:33 Configure a credential helper to remove this warning. See 01:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:33 01:01:33 Login Succeeded 01:01:33 nexus3.edgexfoundry.org:10003 01:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:33 Configure a credential helper to remove this warning. See 01:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:33 01:01:33 Login Succeeded 01:01:33 nexus3.edgexfoundry.org:10004 01:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:33 Configure a credential helper to remove this warning. See 01:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:33 01:01:33 Login Succeeded 01:01:33 docker.io 01:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:34 Configure a credential helper to remove this warning. See 01:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:34 01:01:34 Login Succeeded 01:01:34 ---> docker-login.sh ends [Pipeline] } 01:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:01:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:01:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:01:34 ========================================================= 01:01:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:01:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:01:35 Sending build context to Docker daemon 15.81MB 01:01:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:01:35 Step 2/12 : FROM ${BASE} AS builder 01:01:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:01:35 2408cc74d12b: Pulling fs layer 01:01:35 ea60b727a1ce: Pulling fs layer 01:01:35 30c4a7721957: Pulling fs layer 01:01:35 370296b7ddb6: Pulling fs layer 01:01:35 7c6cee850709: Pulling fs layer 01:01:35 39a5fcdaea64: Pulling fs layer 01:01:35 d94ebbe4e438: Pulling fs layer 01:01:35 bcfd1f05c69d: Pulling fs layer 01:01:35 59ccb84bbe0f: Pulling fs layer 01:01:35 7c6cee850709: Waiting 01:01:35 370296b7ddb6: Waiting 01:01:35 39a5fcdaea64: Waiting 01:01:35 d94ebbe4e438: Waiting 01:01:35 59ccb84bbe0f: Waiting 01:01:35 bcfd1f05c69d: Waiting 01:01:35 30c4a7721957: Verifying Checksum 01:01:35 30c4a7721957: Download complete 01:01:35 ea60b727a1ce: Download complete 01:01:35 7c6cee850709: Verifying Checksum 01:01:35 7c6cee850709: Download complete 01:01:35 39a5fcdaea64: Verifying Checksum 01:01:35 39a5fcdaea64: Download complete 01:01:35 2408cc74d12b: Verifying Checksum 01:01:35 2408cc74d12b: Download complete 01:01:35 d94ebbe4e438: Download complete 01:01:35 2408cc74d12b: Pull complete 01:01:35 ea60b727a1ce: Pull complete 01:01:35 30c4a7721957: Pull complete 01:01:35 59ccb84bbe0f: Verifying Checksum 01:01:35 59ccb84bbe0f: Download complete 01:01:36 370296b7ddb6: Verifying Checksum 01:01:36 370296b7ddb6: Download complete 01:01:36 bcfd1f05c69d: Verifying Checksum 01:01:36 bcfd1f05c69d: Download complete 01:01:40 370296b7ddb6: Pull complete 01:01:40 7c6cee850709: Pull complete 01:01:40 39a5fcdaea64: Pull complete 01:01:40 d94ebbe4e438: Pull complete 01:01:42 bcfd1f05c69d: Pull complete 01:01:43 59ccb84bbe0f: Pull complete 01:01:43 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:01:43 ---> a4fb48ad2a94 01:01:43 Step 3/12 : ARG MAKE="make build" 01:01:45 ---> Running in 877c2437ad64 01:01:45 Removing intermediate container 877c2437ad64 01:01:45 ---> 4a78f0a4abcf 01:01:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:01:45 ---> Running in 6975a39b56d8 01:01:45 Removing intermediate container 6975a39b56d8 01:01:45 ---> 4c17c7ca142a 01:01:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:01:45 ---> Running in d39ebf8e225d 01:01:45 Removing intermediate container d39ebf8e225d 01:01:45 ---> 0cac71a9ad13 01:01:45 Step 6/12 : WORKDIR /device-gpio 01:01:45 ---> Running in 0208f5478a90 01:01:45 Removing intermediate container 0208f5478a90 01:01:45 ---> e9688a63e975 01:01:45 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:01:45 ---> Running in d40a55fbe78a 01:01:46 Removing intermediate container d40a55fbe78a 01:01:46 ---> c15488f21946 01:01:46 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:01:46 ---> Running in 0d7c8c59fae5 01:01:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:01:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:01:47 Still waiting to schedule task 01:01:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1100’ 01:01:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:01:48 (2/4) Installing libedit (20210910.3.1-r0) 01:01:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:01:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:01:48 Executing busybox-1.35.0-r13.trigger 01:01:48 OK: 216 MiB in 55 packages 01:01:49 Removing intermediate container 0d7c8c59fae5 01:01:49 ---> 4eb3c1bce290 01:01:49 Step 9/12 : COPY go.mod vendor* ./ 01:01:49 ---> a0ef69bb8e51 01:01:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:01:49 ---> Running in aa572ffdd0bc 01:02:15 Removing intermediate container aa572ffdd0bc 01:02:15 ---> c5fd7ecb6855 01:02:15 Step 11/12 : COPY . . 01:02:15 ---> 4e7c6f564f01 01:02:15 Step 12/12 : RUN ${MAKE} 01:02:15 ---> Running in e850e32cafd2 01:02:15 noop 01:02:15 Removing intermediate container e850e32cafd2 01:02:15 ---> 019f0b001b31 01:02:15 Successfully built 019f0b001b31 01:02:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:16 + docker inspect -f . ci-base-image-x86_64 01:02:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:16 prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container 01:02:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:02:16 $ docker top 1944d97eb6d45c82bd37aacfc4c83aa4bc4e33b297ec4df47582842dee013166 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:17 + go version 01:02:17 go version go1.18.3 linux/amd64 [Pipeline] } 01:02:17 $ docker stop --time=1 1944d97eb6d45c82bd37aacfc4c83aa4bc4e33b297ec4df47582842dee013166 01:02:18 $ docker rm -f 1944d97eb6d45c82bd37aacfc4c83aa4bc4e33b297ec4df47582842dee013166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:19 + docker inspect -f . ci-base-image-x86_64 01:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:19 prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container 01:02:19 $ 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-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:02:19 $ docker top 0d7def79691eef20058b7037733ec7cda1e1fefe4985b7822503f8dc53fd8a69 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-56 [Pipeline] fileExists [Pipeline] sh 01:02:20 + make test 01:02:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:02:20 ? github.com/edgexfoundry/device-gpio [no test files] 01:02:30 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:02:30 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:02:37 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:02:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:02:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:02:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:02:40 ./bin/test-attribution-txt.sh 01:02:40 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:02:40 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:02:40 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:02:40 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:02:40 $ docker stop --time=1 0d7def79691eef20058b7037733ec7cda1e1fefe4985b7822503f8dc53fd8a69 01:02:42 $ docker rm -f 0d7def79691eef20058b7037733ec7cda1e1fefe4985b7822503f8dc53fd8a69 [Pipeline] // withDockerContainer [Pipeline] sh 01:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:02:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:44 + ls -al . 01:02:44 total 164 01:02:44 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 01:02 . 01:02:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:01 .. 01:02:44 -rw-rw-r-- 1 jenkins jenkins 120 Sep 26 01:01 .dockerignore 01:02:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 01:02 .git 01:02:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:01 .github 01:02:44 -rw-rw-r-- 1 jenkins jenkins 343 Sep 26 01:01 .gitignore 01:02:44 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 01:01 .golangci.yml 01:02:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 01:01 .semver 01:02:44 -rw-rw-r-- 1 jenkins jenkins 9182 Sep 26 01:01 Attribution.txt 01:02:44 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 26 01:01 CHANGELOG.md 01:02:44 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 26 01:01 Dockerfile 01:02:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 01:01 GOVERNANCE.md 01:02:44 -rw-rw-r-- 1 jenkins jenkins 657 Sep 26 01:01 Jenkinsfile 01:02:44 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 01:01 LICENSE 01:02:44 -rw-rw-r-- 1 jenkins jenkins 1876 Sep 26 01:01 Makefile 01:02:44 -rw-rw-r-- 1 jenkins jenkins 617 Sep 26 01:01 OWNERS.md 01:02:44 -rw-rw-r-- 1 jenkins jenkins 11178 Sep 26 01:01 README.md 01:02:44 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 01:01 VERSION 01:02:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 01:01 bin 01:02:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:01 cmd 01:02:44 -rw-r--r-- 1 jenkins jenkins 10 Sep 26 01:02 coverage.out 01:02:44 -rw-rw-r-- 1 jenkins jenkins 3459 Sep 26 01:01 go.mod 01:02:44 -rw-rw-r-- 1 jenkins jenkins 38053 Sep 26 01:01 go.sum 01:02:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:01 internal 01:02:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:01 snap 01:02:44 -rw-rw-r-- 1 jenkins jenkins 209 Sep 26 01:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:44 + 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=76d6ce8e477bbec59c954b53119485d6aec546ec --label arch=amd64 --label version=0.0.0 . 01:02:44 Sending build context to Docker daemon 15.82MB 01:02:44 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:02:44 Step 2/26 : FROM ${BASE} AS builder 01:02:44 ---> 019f0b001b31 01:02:44 Step 3/26 : ARG MAKE="make build" 01:02:44 ---> Running in 4e23edfe5ea5 01:02:44 Removing intermediate container 4e23edfe5ea5 01:02:44 ---> 8f8e9bc0fad3 01:02:44 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:02:44 ---> Running in f74a8f0b3758 01:02:44 Removing intermediate container f74a8f0b3758 01:02:44 ---> 5b20d88b9040 01:02:44 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:02:44 ---> Running in 55b2436d06e5 01:02:44 Removing intermediate container 55b2436d06e5 01:02:44 ---> 8e292dfaddf0 01:02:44 Step 6/26 : WORKDIR /device-gpio 01:02:44 ---> Running in 137c3208b84d 01:02:44 Removing intermediate container 137c3208b84d 01:02:44 ---> 20fa8b521fb6 01:02:44 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:02:44 ---> Running in 5aeb358d82d4 01:02:45 Removing intermediate container 5aeb358d82d4 01:02:45 ---> d4bc6bbab069 01:02:45 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:02:45 ---> Running in 1669c031a0f5 01:02:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:02:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:02:46 OK: 216 MiB in 55 packages 01:02:47 Removing intermediate container 1669c031a0f5 01:02:47 ---> 46659537c6a4 01:02:47 Step 9/26 : COPY go.mod vendor* ./ 01:02:47 ---> f68a2baf5274 01:02:47 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:02:47 ---> Running in 897822ac6868 01:02:48 Removing intermediate container 897822ac6868 01:02:48 ---> a0c639fa08c7 01:02:48 Step 11/26 : COPY . . 01:02:48 ---> 609d7e4344c8 01:02:48 Step 12/26 : RUN ${MAKE} 01:02:48 ---> Running in 3a25668e3b56 01:02:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:03:10 Removing intermediate container 3a25668e3b56 01:03:10 ---> 90e3bf1dcf31 01:03:10 Step 13/26 : FROM alpine:3.16 01:03:10 3.16: Pulling from library/alpine 01:03:11 213ec9aee27d: Pulling fs layer 01:03:11 213ec9aee27d: Download complete 01:03:11 213ec9aee27d: Pull complete 01:03:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:03:11 Status: Downloaded newer image for alpine:3.16 01:03:11 ---> 9c6f07244728 01:03:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:03:11 ---> Running in 53510449e98b 01:03:11 Removing intermediate container 53510449e98b 01:03:11 ---> abe3ceee43b5 01:03:11 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:03:11 ---> Running in 4d47eff2bf07 01:03:12 Removing intermediate container 4d47eff2bf07 01:03:12 ---> b0fbd2f87e08 01:03:12 Step 16/26 : RUN apk add --update --no-cache zeromq 01:03:12 ---> Running in 9cc8f16a94a3 01:03:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:03:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:03:13 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:03:13 (2/5) Installing libsodium (1.0.18-r0) 01:03:13 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:03:13 (4/5) Installing libzmq (4.3.4-r0) 01:03:14 (5/5) Installing zeromq (4.3.4-r0) 01:03:14 Executing busybox-1.35.0-r17.trigger 01:03:14 OK: 8 MiB in 19 packages 01:03:14 Removing intermediate container 9cc8f16a94a3 01:03:14 ---> bcb85868b199 01:03:14 Step 17/26 : WORKDIR / 01:03:15 ---> Running in 7348b32ec06f 01:03:15 Removing intermediate container 7348b32ec06f 01:03:15 ---> e4fdb6d61fd2 01:03:15 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:03:15 ---> ac2fcdd86053 01:03:15 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:03:15 ---> 8bdfb408abd3 01:03:15 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:03:16 ---> f6a4d5099b07 01:03:16 Step 21/26 : EXPOSE 59910 01:03:16 ---> Running in 9f1050e0f0b7 01:03:16 Removing intermediate container 9f1050e0f0b7 01:03:16 ---> 6c0791b9332b 01:03:16 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:03:16 ---> Running in 18d0f70c1916 01:03:16 Removing intermediate container 18d0f70c1916 01:03:16 ---> be717995a008 01:03:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:03:16 ---> Running in 5d27c477f736 01:03:16 Removing intermediate container 5d27c477f736 01:03:16 ---> 0b949fde019c 01:03:16 Step 24/26 : LABEL arch=amd64 01:03:17 ---> Running in 03473cd9d3e0 01:03:17 Removing intermediate container 03473cd9d3e0 01:03:17 ---> 2c7c04415b5f 01:03:17 Step 25/26 : LABEL git_sha=76d6ce8e477bbec59c954b53119485d6aec546ec 01:03:17 ---> Running in 5811336e4f94 01:03:17 Removing intermediate container 5811336e4f94 01:03:17 ---> 9545a2d03319 01:03:17 Step 26/26 : LABEL version=0.0.0 01:03:17 ---> Running in 6d04c8b010cd 01:03:17 Removing intermediate container 6d04c8b010cd 01:03:17 ---> 9c7a21331c19 01:03:17 [Warning] One or more build-args [ARCH] were not consumed 01:03:17 Successfully built 9c7a21331c19 01:03:17 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:18 01:03:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:18 latest: Pulling from edgex-lftools-log-publisher 01:03:18 5eb5b503b376: Pulling fs layer 01:03:18 5c69ac0246d0: Pulling fs layer 01:03:18 ec43610c2a17: Pulling fs layer 01:03:18 3a2ae6a8a46f: Pulling fs layer 01:03:18 33b1e0a273af: Pulling fs layer 01:03:18 5d3b04190fa2: Pulling fs layer 01:03:18 2f39f015ded8: Pulling fs layer 01:03:18 5d3b04190fa2: Waiting 01:03:18 3a2ae6a8a46f: Waiting 01:03:18 33b1e0a273af: Waiting 01:03:18 2f39f015ded8: Waiting 01:03:18 5c69ac0246d0: Download complete 01:03:18 3a2ae6a8a46f: Verifying Checksum 01:03:18 3a2ae6a8a46f: Download complete 01:03:18 33b1e0a273af: Verifying Checksum 01:03:18 33b1e0a273af: Download complete 01:03:18 ec43610c2a17: Verifying Checksum 01:03:18 ec43610c2a17: Download complete 01:03:18 5d3b04190fa2: Download complete 01:03:18 5eb5b503b376: Verifying Checksum 01:03:18 5eb5b503b376: Download complete 01:03:19 2f39f015ded8: Verifying Checksum 01:03:19 2f39f015ded8: Download complete 01:03:20 5eb5b503b376: Pull complete 01:03:20 5c69ac0246d0: Pull complete 01:03:20 ec43610c2a17: Pull complete 01:03:20 3a2ae6a8a46f: Pull complete 01:03:20 33b1e0a273af: Pull complete 01:03:20 5d3b04190fa2: Pull complete 01:03:25 2f39f015ded8: Pull complete 01:03:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:03:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:25 prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container 01:03:25 $ 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-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@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 01:03:27 $ docker top 6258afc7a12f96cbc3591497f055e1a87e2f38565753b3a5fc8b90af08750267 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:28 ---> job-cost.sh 01:03:28 lf-activate-venv: SKIPPING 01:03:28 INFO: No Stack... 01:03:28 INFO: Retrieving Pricing Info for: v3-standard-8 01:03:29 INFO: Archiving Costs [Pipeline] sh 01:03:29 + cat /w/workspace/edgexfoundry_device-gpio_PR-56/archives/cost.csv 01:03:29 + cut -d, -f6 [Pipeline] lock 01:03:29 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] 01:03:29 Resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] did not exist. Created. 01:03:29 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:03:29 + echo total: 0.2199999988079071 [Pipeline] stash 01:03:29 Stashed 1 file(s) [Pipeline] } 01:03:29 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:03:30 $ docker stop --time=1 6258afc7a12f96cbc3591497f055e1a87e2f38565753b3a5fc8b90af08750267 01:03:31 $ docker rm -f 6258afc7a12f96cbc3591497f055e1a87e2f38565753b3a5fc8b90af08750267 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:05:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1103 in /w/workspace/edgexfoundry_device-gpio_PR-56 [Pipeline] { [Pipeline] ws 01:05:03 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:05:03 The recommended git tool is: git 01:05:09 using credential edgex-jenkins-ssh 01:05:09 Cloning the remote Git repository 01:05:09 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:05:09 > git init /w/workspace/device-gpio/1 # timeout=10 01:05:09 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:05:09 > git --version # timeout=10 01:05:09 > git --version # 'git version 2.25.1' 01:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:05:09 Verifying host key using known hosts file 01:05:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:05:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:05:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:05:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:05:12 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:05:12 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:05:12 Verifying host key using known hosts file 01:05:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:05:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:05:12 Merging remotes/origin/main commit 260cec84f3d8422d1b27e17805dfcbed9444425b into PR head commit 76d6ce8e477bbec59c954b53119485d6aec546ec 01:05:12 Merge succeeded, producing 76d6ce8e477bbec59c954b53119485d6aec546ec 01:05:12 Checking out Revision 76d6ce8e477bbec59c954b53119485d6aec546ec (PR-56) 01:05:13 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:05:13 > git --version # timeout=10 01:05:13 > git --version # 'git version 2.25.1' 01:05:13 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 01:05:12 > git config core.sparsecheckout # timeout=10 01:05:12 > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 01:05:12 > git remote # timeout=10 01:05:12 > git config --get remote.origin.url # timeout=10 01:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:05:12 Verifying host key using known hosts file 01:05:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:05:12 > git merge 260cec84f3d8422d1b27e17805dfcbed9444425b # timeout=10 01:05:12 > git rev-parse HEAD^{commit} # timeout=10 01:05:12 > git config core.sparsecheckout # timeout=10 01:05:13 > git checkout -f 76d6ce8e477bbec59c954b53119485d6aec546ec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:05:14 % Total % Received % Xferd Average Speed Time Time Time Current 01:05:14 Dload Upload Total Spent Left Speed 01:05:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 [Pipeline] sh 01:05:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:05:15 + sudo tee /etc/docker/daemon.new 01:05:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:05:15 { 01:05:15 "registry-mirrors": [ 01:05:15 "https://nexus3.edgexfoundry.org:10001" 01:05:15 ], 01:05:15 "bip": "10.250.0.254/24", 01:05:15 "hosts": [ 01:05:15 "tcp://0.0.0.0:5555", 01:05:15 "unix:///var/run/docker.sock" 01:05:15 ], 01:05:15 "mtu": 1458, 01:05:15 "selinux-enabled": true, 01:05:15 "seccomp-profile": "/etc/docker/seccomp.json" 01:05:15 } [Pipeline] sh 01:05:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:05:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:34 provisioning config files... 01:05:34 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config3761382234050339741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:35 ---> docker-login.sh 01:05:35 nexus3.edgexfoundry.org:10001 01:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:35 Configure a credential helper to remove this warning. See 01:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:35 01:05:35 Login Succeeded 01:05:35 nexus3.edgexfoundry.org:10002 01:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:36 Configure a credential helper to remove this warning. See 01:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:36 01:05:36 Login Succeeded 01:05:36 nexus3.edgexfoundry.org:10003 01:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:36 Configure a credential helper to remove this warning. See 01:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:36 01:05:36 Login Succeeded 01:05:36 nexus3.edgexfoundry.org:10004 01:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:36 Configure a credential helper to remove this warning. See 01:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:36 01:05:36 Login Succeeded 01:05:36 docker.io 01:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:37 Configure a credential helper to remove this warning. See 01:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:37 01:05:37 Login Succeeded 01:05:37 ---> docker-login.sh ends [Pipeline] } 01:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:37 ========================================================= 01:05:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:05:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:05:38 Sending build context to Docker daemon 7.971MB 01:05:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:05:38 Step 2/12 : FROM ${BASE} AS builder 01:05:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:05:38 b3c136eddcbf: Pulling fs layer 01:05:38 c0a3192eca97: Pulling fs layer 01:05:38 a050256f5b6f: Pulling fs layer 01:05:38 656be50a0ddc: Pulling fs layer 01:05:38 2bbca73fdf42: Pulling fs layer 01:05:38 46d945488cbd: Pulling fs layer 01:05:38 8a5474983e97: Pulling fs layer 01:05:38 329c88fbcd65: Pulling fs layer 01:05:38 656be50a0ddc: Waiting 01:05:38 2bbca73fdf42: Waiting 01:05:38 46d945488cbd: Waiting 01:05:38 8a5474983e97: Waiting 01:05:38 329c88fbcd65: Waiting 01:05:38 a050256f5b6f: Verifying Checksum 01:05:38 a050256f5b6f: Download complete 01:05:38 c0a3192eca97: Verifying Checksum 01:05:38 c0a3192eca97: Download complete 01:05:38 2bbca73fdf42: Verifying Checksum 01:05:38 2bbca73fdf42: Download complete 01:05:38 46d945488cbd: Verifying Checksum 01:05:38 46d945488cbd: Download complete 01:05:38 b3c136eddcbf: Verifying Checksum 01:05:38 b3c136eddcbf: Download complete 01:05:39 b3c136eddcbf: Pull complete 01:05:40 329c88fbcd65: Verifying Checksum 01:05:40 329c88fbcd65: Download complete 01:05:40 c0a3192eca97: Pull complete 01:05:41 a050256f5b6f: Pull complete 01:05:41 8a5474983e97: Verifying Checksum 01:05:41 8a5474983e97: Download complete 01:05:42 656be50a0ddc: Verifying Checksum 01:05:42 656be50a0ddc: Download complete 01:05:54 656be50a0ddc: Pull complete 01:05:54 2bbca73fdf42: Pull complete 01:05:54 46d945488cbd: Pull complete 01:06:01 8a5474983e97: Pull complete 01:06:02 329c88fbcd65: Pull complete 01:06:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:06:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:06:02 ---> ff4287adb874 01:06:02 Step 3/12 : ARG MAKE="make build" 01:06:03 ---> Running in 89accefc3321 01:06:03 Removing intermediate container 89accefc3321 01:06:03 ---> c7575cceeb53 01:06:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:06:03 ---> Running in 5bfdb7f67685 01:06:04 Removing intermediate container 5bfdb7f67685 01:06:04 ---> 1244619927c4 01:06:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:06:04 ---> Running in 8987873cb390 01:06:04 Removing intermediate container 8987873cb390 01:06:04 ---> 2183acf01c23 01:06:04 Step 6/12 : WORKDIR /device-gpio 01:06:04 ---> Running in 0cdf214259b9 01:06:04 Removing intermediate container 0cdf214259b9 01:06:04 ---> 72d95599f56b 01:06:04 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:04 ---> Running in 62a2b74e8b97 01:06:07 Removing intermediate container 62a2b74e8b97 01:06:07 ---> afa78bac07d1 01:06:07 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:07 ---> Running in 6d1922d13375 01:06:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:06:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:06:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:06:10 (2/4) Installing libedit (20210910.3.1-r0) 01:06:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:06:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:06:10 Executing busybox-1.35.0-r13.trigger 01:06:10 OK: 226 MiB in 55 packages 01:06:11 Removing intermediate container 6d1922d13375 01:06:11 ---> 048e0e494a4e 01:06:11 Step 9/12 : COPY go.mod vendor* ./ 01:06:11 ---> 40578ce8a030 01:06:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:11 ---> Running in e265e160117b 01:07:08 Removing intermediate container e265e160117b 01:07:08 ---> 05a295dce0c4 01:07:08 Step 11/12 : COPY . . 01:07:08 ---> 300eab4a2ce1 01:07:08 Step 12/12 : RUN ${MAKE} 01:07:08 ---> Running in c71b9cda4f1d 01:07:08 noop 01:07:08 Removing intermediate container c71b9cda4f1d 01:07:08 ---> c126b8c154b1 01:07:08 Successfully built c126b8c154b1 01:07:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:08 + docker inspect -f . ci-base-image-arm64 01:07:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:09 prd-ubuntu20.04-docker-arm64-4c-16g-1103 does not seem to be running inside a container 01:07:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:07:10 $ docker top 4f87d9d6a670248d82604b15f02e4b7c7ac407f99abd2be8411c59be67316f13 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:11 + go version 01:07:11 go version go1.18.3 linux/arm64 [Pipeline] } 01:07:11 $ docker stop --time=1 4f87d9d6a670248d82604b15f02e4b7c7ac407f99abd2be8411c59be67316f13 01:07:12 $ docker rm -f 4f87d9d6a670248d82604b15f02e4b7c7ac407f99abd2be8411c59be67316f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:13 + docker inspect -f . ci-base-image-arm64 01:07:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:13 prd-ubuntu20.04-docker-arm64-4c-16g-1103 does not seem to be running inside a container 01:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:07:15 $ docker top 9998c120aa6ac3cb011f4404a97499aec7752795de21a79a8c7333582487facc -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:16 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:07:16 + make test 01:07:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:07:18 ? github.com/edgexfoundry/device-gpio [no test files] 01:08:40 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:08:40 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:08:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:08:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:08:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:08:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:08:58 ./bin/test-attribution-txt.sh 01:08:58 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:08:58 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:08:58 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:08:58 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:08:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:08:58 $ docker stop --time=1 9998c120aa6ac3cb011f4404a97499aec7752795de21a79a8c7333582487facc 01:09:00 $ docker rm -f 9998c120aa6ac3cb011f4404a97499aec7752795de21a79a8c7333582487facc [Pipeline] // withDockerContainer [Pipeline] sh 01:09:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:09:01 Warning: overwriting stash ‘coverage-report’ 01:09:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:09:03 + ls -al . 01:09:03 total 160 01:09:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 01:07 . 01:09:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:05 .. 01:09:03 -rw-rw-r-- 1 jenkins jenkins 120 Sep 26 01:05 .dockerignore 01:09:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 01:05 .git 01:09:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:05 .github 01:09:03 -rw-rw-r-- 1 jenkins jenkins 343 Sep 26 01:05 .gitignore 01:09:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 01:05 .golangci.yml 01:09:03 -rw-rw-r-- 1 jenkins jenkins 9182 Sep 26 01:05 Attribution.txt 01:09:03 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 26 01:05 CHANGELOG.md 01:09:03 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 26 01:05 Dockerfile 01:09:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 01:05 GOVERNANCE.md 01:09:03 -rw-rw-r-- 1 jenkins jenkins 657 Sep 26 01:05 Jenkinsfile 01:09:03 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 01:05 LICENSE 01:09:03 -rw-rw-r-- 1 jenkins jenkins 1876 Sep 26 01:05 Makefile 01:09:03 -rw-rw-r-- 1 jenkins jenkins 617 Sep 26 01:05 OWNERS.md 01:09:03 -rw-rw-r-- 1 jenkins jenkins 11178 Sep 26 01:05 README.md 01:09:03 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 01:01 VERSION 01:09:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 01:05 bin 01:09:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:05 cmd 01:09:03 -rw-r--r-- 1 jenkins jenkins 10 Sep 26 01:07 coverage.out 01:09:03 -rw-rw-r-- 1 jenkins jenkins 3459 Sep 26 01:05 go.mod 01:09:03 -rw-rw-r-- 1 jenkins jenkins 38053 Sep 26 01:05 go.sum 01:09:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 01:05 internal 01:09:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 01:05 snap 01:09:03 -rw-rw-r-- 1 jenkins jenkins 209 Sep 26 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:03 + 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=76d6ce8e477bbec59c954b53119485d6aec546ec --label arch=arm64 --label version=0.0.0 . 01:09:03 Sending build context to Docker daemon 7.972MB 01:09:03 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:09:03 Step 2/26 : FROM ${BASE} AS builder 01:09:03 ---> c126b8c154b1 01:09:03 Step 3/26 : ARG MAKE="make build" 01:09:03 ---> Running in 04af224881af 01:09:04 Removing intermediate container 04af224881af 01:09:04 ---> d1edb710b032 01:09:04 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:09:04 ---> Running in 625e19f3f28f 01:09:04 Removing intermediate container 625e19f3f28f 01:09:04 ---> d2ca96884e1d 01:09:04 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:09:04 ---> Running in 896114413ecf 01:09:04 Removing intermediate container 896114413ecf 01:09:04 ---> d15cad574998 01:09:04 Step 6/26 : WORKDIR /device-gpio 01:09:05 ---> Running in 7dec6c7ec960 01:09:05 Removing intermediate container 7dec6c7ec960 01:09:05 ---> 8fb879c5c8f9 01:09:05 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:05 ---> Running in 1ef8edf89629 01:09:06 Removing intermediate container 1ef8edf89629 01:09:06 ---> 25334d2858ab 01:09:06 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:07 ---> Running in a591081994bd 01:09:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:09:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:09:09 OK: 226 MiB in 55 packages 01:09:10 Removing intermediate container a591081994bd 01:09:10 ---> 015d66a5e635 01:09:10 Step 9/26 : COPY go.mod vendor* ./ 01:09:11 ---> e918a6398fe3 01:09:11 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:11 ---> Running in 32e82f932057 01:09:13 Removing intermediate container 32e82f932057 01:09:13 ---> fac41dbe9888 01:09:13 Step 11/26 : COPY . . 01:09:13 ---> 2d8613bbf97d 01:09:13 Step 12/26 : RUN ${MAKE} 01:09:13 ---> Running in 4a6e4bee79c7 01:09:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:11:51 Removing intermediate container 4a6e4bee79c7 01:11:51 ---> 0842b4ab07e1 01:11:51 Step 13/26 : FROM alpine:3.16 01:11:51 3.16: Pulling from library/alpine 01:11:51 9b18e9b68314: Pulling fs layer 01:11:51 9b18e9b68314: Verifying Checksum 01:11:51 9b18e9b68314: Download complete 01:11:51 9b18e9b68314: Pull complete 01:11:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:11:51 Status: Downloaded newer image for alpine:3.16 01:11:51 ---> a6215f271958 01:11:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:11:51 ---> Running in a109448f0f12 01:11:51 Removing intermediate container a109448f0f12 01:11:51 ---> 1a08d5884669 01:11:51 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:11:51 ---> Running in 6007cec5e0a8 01:11:51 Removing intermediate container 6007cec5e0a8 01:11:51 ---> 5cc21e54fddc 01:11:51 Step 16/26 : RUN apk add --update --no-cache zeromq 01:11:51 ---> Running in d616224fc596 01:11:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:11:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:11:54 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:11:54 (2/5) Installing libsodium (1.0.18-r0) 01:11:54 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:11:54 (4/5) Installing libzmq (4.3.4-r0) 01:11:54 (5/5) Installing zeromq (4.3.4-r0) 01:11:54 Executing busybox-1.35.0-r17.trigger 01:11:54 OK: 8 MiB in 19 packages 01:11:55 Removing intermediate container d616224fc596 01:11:55 ---> d853e3bb94fa 01:11:55 Step 17/26 : WORKDIR / 01:11:55 ---> Running in f0786ad5e186 01:11:55 Removing intermediate container f0786ad5e186 01:11:55 ---> a1cacb262ed2 01:11:55 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:11:56 ---> e43119dd56ea 01:11:56 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:11:56 ---> 36738d2c098d 01:11:56 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:11:58 ---> 54c4558db93d 01:11:58 Step 21/26 : EXPOSE 59910 01:11:58 ---> Running in 1766af941cc0 01:11:58 Removing intermediate container 1766af941cc0 01:11:58 ---> 6689fb6b8215 01:11:58 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:11:58 ---> Running in da72e0ebb5e6 01:11:59 Removing intermediate container da72e0ebb5e6 01:11:59 ---> dfba5a26e380 01:11:59 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:11:59 ---> Running in 1dde90bc3239 01:11:59 Removing intermediate container 1dde90bc3239 01:11:59 ---> 175192639180 01:11:59 Step 24/26 : LABEL arch=arm64 01:11:59 ---> Running in 2fd44ab4f3f0 01:11:59 Removing intermediate container 2fd44ab4f3f0 01:11:59 ---> 9408a23e6d91 01:11:59 Step 25/26 : LABEL git_sha=76d6ce8e477bbec59c954b53119485d6aec546ec 01:11:59 ---> Running in 4849c299150b 01:12:00 Removing intermediate container 4849c299150b 01:12:00 ---> cc63d6c4341d 01:12:00 Step 26/26 : LABEL version=0.0.0 01:12:00 ---> Running in ff2b313f6145 01:12:00 Removing intermediate container ff2b313f6145 01:12:00 ---> f9ed295f747b 01:12:00 [Warning] One or more build-args [ARCH] were not consumed 01:12:00 Successfully built f9ed295f747b 01:12:00 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:12:01 01:12:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:12:01 arm64: Pulling from edgex-lftools-log-publisher 01:12:01 8998bd30e6a1: Pulling fs layer 01:12:01 04944245beec: Pulling fs layer 01:12:01 699f458cf7ca: Pulling fs layer 01:12:01 765212b225bb: Pulling fs layer 01:12:01 f23df028b6ca: Pulling fs layer 01:12:01 d65c8cfc05b1: Pulling fs layer 01:12:01 2437ff75d9bd: Pulling fs layer 01:12:01 f23df028b6ca: Waiting 01:12:01 d65c8cfc05b1: Waiting 01:12:01 765212b225bb: Waiting 01:12:01 2437ff75d9bd: Waiting 01:12:02 04944245beec: Verifying Checksum 01:12:02 04944245beec: Download complete 01:12:02 765212b225bb: Verifying Checksum 01:12:02 765212b225bb: Download complete 01:12:02 f23df028b6ca: Verifying Checksum 01:12:02 f23df028b6ca: Download complete 01:12:02 d65c8cfc05b1: Verifying Checksum 01:12:02 d65c8cfc05b1: Download complete 01:12:02 699f458cf7ca: Verifying Checksum 01:12:02 699f458cf7ca: Download complete 01:12:02 8998bd30e6a1: Verifying Checksum 01:12:02 8998bd30e6a1: Download complete 01:12:05 2437ff75d9bd: Verifying Checksum 01:12:05 2437ff75d9bd: Download complete 01:12:06 8998bd30e6a1: Pull complete 01:12:07 04944245beec: Pull complete 01:12:08 699f458cf7ca: Pull complete 01:12:08 765212b225bb: Pull complete 01:12:09 f23df028b6ca: Pull complete 01:12:09 d65c8cfc05b1: Pull complete 01:12:24 2437ff75d9bd: Pull complete 01:12:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:12:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:25 prd-ubuntu20.04-docker-arm64-4c-16g-1103 does not seem to be running inside a container 01:12:25 $ 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 01:12:28 $ docker top a2880e2eb98ffe55c89067fcfafa9ed0a0b33d93d50c74b7d5c751f6d49f2f5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:28 ---> job-cost.sh 01:12:28 lf-activate-venv: SKIPPING 01:12:28 INFO: No Stack... 01:12:29 INFO: Retrieving Pricing Info for: v3-standard-4 01:12:30 INFO: Archiving Costs [Pipeline] sh 01:12:30 + cut -d, -f6 01:12:30 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 01:12:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] 01:12:30 Resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] did not exist. Created. 01:12:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:12:31 /w/workspace/device-gpio/1@tmp/durable-fb7e34d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:12:32 + echo total: 0.10999999940395355 [Pipeline] stash 01:12:32 Warning: overwriting stash ‘stack-cost’ 01:12:32 Stashed 1 file(s) [Pipeline] } 01:12:32 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:12:32 $ docker stop --time=1 a2880e2eb98ffe55c89067fcfafa9ed0a0b33d93d50c74b7d5c751f6d49f2f5a 01:12:34 $ docker rm -f a2880e2eb98ffe55c89067fcfafa9ed0a0b33d93d50c74b7d5c751f6d49f2f5a [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 01:12:35 provisioning config files... 01:12:35 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config15562031706765615005tmp [Pipeline] { [Pipeline] sh 01:12:35 + set +x 01:12:35 + bash -s -- 01:12:35 + curl -s https://codecov.io/bash 01:12:35 01:12:35 _____ _ 01:12:35 / ____| | | 01:12:35 | | ___ __| | ___ ___ _____ __ 01:12:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:12:35 | |___| (_) | (_| | __/ (_| (_) \ V / 01:12:35 \_____\___/ \__,_|\___|\___\___/ \_/ 01:12:35 Bash-1.0.6 01:12:35 01:12:35 01:12:35 ==> git version 2.25.1 found 01:12:35 ==> 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 01:12:35 Release-Date: 2020-01-08 01:12:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:12:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:12:35 ==> Jenkins CI detected. 01:12:35 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-56 01:12:35 project root: . 01:12:35 --> token set from env 01:12:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:12:35 ==> Running gcov in . (disable via -X gcov) 01:12:35 ==> Python coveragepy not found 01:12:35 ==> Searching for coverage reports in: 01:12:35 + . 01:12:35 -> Found 1 reports 01:12:35 ==> Detecting git/mercurial file structure 01:12:35 ==> Reading reports 01:12:35 + ./coverage.out bytes=10 01:12:35 ==> Appending adjustments 01:12:35 https://docs.codecov.io/docs/fixing-reports 01:12:36 + Found adjustments 01:12:36 ==> Gzipping contents 01:12:36 4.0K /tmp/codecov.BlIfVH.gz 01:12:36 ==> Uploading reports 01:12:36 url: https://codecov.io 01:12:36 query: branch=PR-56&commit=76d6ce8e477bbec59c954b53119485d6aec546ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-56%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=56&job=&cmd_args= 01:12:36 -> Pinging Codecov 01:12:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-56&commit=76d6ce8e477bbec59c954b53119485d6aec546ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-56%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=56&job=&cmd_args= 01:12:36 -> Uploading to 01:12:36 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/76d6ce8e477bbec59c954b53119485d6aec546ec/57a0b4f4-0d9b-42a6-ac0f-97cbb5286b65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T011236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c627a0c30cd33cddba561a23beb9669bbb7e802c93f829f7ffc3c4861e4d0a34 01:12:36 % Total % Received % Xferd Average Speed Time Time Time Current 01:12:36 Dload Upload Total Spent Left Speed 01:12:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3281 --:--:-- --:--:-- --:--:-- 3281 01:12:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/76d6ce8e477bbec59c954b53119485d6aec546ec [Pipeline] } 01:12:36 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 01:12:38 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-56/archives ] 01:12:38 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-56/archives 01:12:38 total 16 01:12:38 drwxr-xr-x 3 root root 4096 Sep 26 01:03 . 01:12:38 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 01:03 .. 01:12:38 drwxr-xr-x 2 root root 4096 Sep 26 01:03 cost 01:12:38 -rw-r--r-- 1 root root 82 Sep 26 01:03 cost.csv 01:12:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-56/archives 01:12:38 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-56/archives 01:12:38 total 16 01:12:38 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 01:03 . 01:12:38 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 01:03 .. 01:12:38 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 01:03 cost 01:12:38 -rw-r--r-- 1 jenkins jenkins 82 Sep 26 01:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:12:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:12:39 ---> package-listing.sh 01:12:39 ++ tr '[:upper:]' '[:lower:]' 01:12:39 ++ facter osfamily 01:12:39 + OS_FAMILY=debian 01:12:39 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-56 01:12:39 + START_PACKAGES=/tmp/packages_start.txt 01:12:39 + END_PACKAGES=/tmp/packages_end.txt 01:12:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:12:39 + PACKAGES=/tmp/packages_start.txt 01:12:39 + '[' /w/workspace/edgexfoundry_device-gpio_PR-56 ']' 01:12:39 + PACKAGES=/tmp/packages_end.txt 01:12:39 + case "${OS_FAMILY}" in 01:12:39 + dpkg -l 01:12:39 + grep '^ii' 01:12:39 + '[' -f /tmp/packages_start.txt ']' 01:12:39 + '[' -f /tmp/packages_end.txt ']' 01:12:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:12:39 + '[' /w/workspace/edgexfoundry_device-gpio_PR-56 ']' 01:12:39 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-56/archives/ 01:12:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-56/archives/ [Pipeline] echo 01:12:39 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:12:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:12:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:41 prd-ubuntu20.04-docker-8c-8g-1101 does not seem to be running inside a container 01:12:41 $ 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-56/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-56 -v /w/workspace/edgexfoundry_device-gpio_PR-56:/w/workspace/edgexfoundry_device-gpio_PR-56:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-56@tmp:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:12:41 $ docker top 2e33b284dfd259bef45ac78e28c86f18a07c6a9bf467fc575c662adceb69d511 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:41 + touch /tmp/pre-build-complete [Pipeline] sh 01:12:41 + mkdir -p /var/log/sysstat [Pipeline] sh 01:12:42 + ls /var/log/sa-host 01:12:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:42 provisioning config files... 01:12:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-56@tmp/config1028434401262779124tmp [Pipeline] { [Pipeline] echo 01:12:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:12:42 ---> create-netrc.sh [Pipeline] } 01:12:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:12:43 ---> python-tools-install.sh [Pipeline] echo 01:12:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:12:43 ---> sudo-logs.sh 01:12:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:12:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:12:44 ---> job-cost.sh 01:12:44 lf-activate-venv: SKIPPING 01:12:44 DEBUG: total: 0.2199999988079071 01:12:44 INFO: Retrieving Stack Cost... 01:12:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:12:44 INFO: Archiving Costs [Pipeline] echo 01:12:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:12:45 ---> logs-deploy.sh 01:12:45 lf-activate-venv: SKIPPING 01:12:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-56/1 01:12:45 INFO: archiving workspace using pattern(s): 01:12:46 Archives upload complete. 01:12:46 INFO: archiving logs to Nexus