Pull request #61 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27902db895a7fe75aa234fef7f82645cf4d73401+569473615fb9befb8fb7c39be4b8603efd71ba81 (30008b586f938aa535fc5777fabf3f29e03285da) 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-ssh8033881336263939245.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-ssh10100405600355472556.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-61/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-61/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3286097173591584442.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-61/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13620383025438540197.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-ssh978149274107619326.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-61/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-61/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh333787350721645705.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 ‘prd-ubuntu20.04-docker-8c-8g-7978’ Running on prd-ubuntu20.04-docker-8c-8g-7984 in /w/workspace/edgexfoundry_device-gpio_PR-61 [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-61 # 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/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 569473615fb9befb8fb7c39be4b8603efd71ba81 into PR head commit 27902db895a7fe75aa234fef7f82645cf4d73401 Merge succeeded, producing 27902db895a7fe75aa234fef7f82645cf4d73401 Checking out Revision 27902db895a7fe75aa234fef7f82645cf4d73401 (PR-61) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # 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 569473615fb9befb8fb7c39be4b8603efd71ba81 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:06:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:06:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:06:58 ========================================================= 01:06:58 EdgeX Global Pipelines Version Info 01:06:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:06:59 ------------------- 01:06:59 stable info: 01:06:59 ------------------- 01:06:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:06:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:06:59 Message: update stable to v1.0.239 01:06:59 ------------------- 01:06:59 experimental info: 01:06:59 ------------------- 01:06:59 Commited By: **** collab-it+edgex@linuxfoundation.org 01:06:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:06:59 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:07:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27902db [Pipeline] echo 01:07:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:01 provisioning config files... 01:07:01 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config3658286202951319870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:02 ---> docker-login.sh 01:07:02 nexus3.edgexfoundry.org:10001 01:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:02 Configure a credential helper to remove this warning. See 01:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:02 01:07:02 Login Succeeded 01:07:02 nexus3.edgexfoundry.org:10002 01:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:02 Configure a credential helper to remove this warning. See 01:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:02 01:07:02 Login Succeeded 01:07:02 nexus3.edgexfoundry.org:10003 01:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:02 Configure a credential helper to remove this warning. See 01:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:02 01:07:02 Login Succeeded 01:07:02 nexus3.edgexfoundry.org:10004 01:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:03 Configure a credential helper to remove this warning. See 01:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:03 01:07:03 Login Succeeded 01:07:03 docker.io 01:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:03 Configure a credential helper to remove this warning. See 01:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:03 01:07:03 Login Succeeded 01:07:03 ---> docker-login.sh ends [Pipeline] } 01:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:07:04 + git rev-list -1 --merges 27902db895a7fe75aa234fef7f82645cf4d73401~1..27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo 01:07:04 -----------> git rev-list -1 --merges 27902db895a7fe75aa234fef7f82645cf4d73401~1..27902db895a7fe75aa234fef7f82645cf4d73401 27902db895a7fe75aa234fef7f82645cf4d73401 [false] [Pipeline] sh 01:07:04 + git log --format=format:%s -1 27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo 01:07:04 ========================================================= 01:07:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:07:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:04 + git log --format=format:%s -1 27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo 01:07:04 [semverPrep] GIT_COMMIT: 27902db895a7fe75aa234fef7f82645cf4d73401, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:07:04 [semverPrep] This is not a build commit. [Pipeline] sh 01:07:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:05 + grep -v github /etc/ssh/ssh_known_hosts 01:07:05 + [ -e /tmp/ssh_known_hosts ] 01:07:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:07:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:07:05 + sudo tee -a /etc/ssh/ssh_known_hosts 01:07:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:05 01:07:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:06 0.1.4: Pulling from edgex-devops/py-git-semver 01:07:06 b85a868b505f: Pulling fs layer 01:07:06 e2be974225ed: Pulling fs layer 01:07:06 339a4e72a1f5: Pulling fs layer 01:07:06 988bab9f4d93: Pulling fs layer 01:07:06 1469e6f7b9e6: Pulling fs layer 01:07:06 eaf3925da568: Pulling fs layer 01:07:06 bab4dde63d76: Pulling fs layer 01:07:06 bde34c3a00c8: Pulling fs layer 01:07:06 b352a97aabf1: Pulling fs layer 01:07:06 4872d77fe225: Pulling fs layer 01:07:06 5851b861e8e6: Pulling fs layer 01:07:06 5851b861e8e6: Waiting 01:07:06 bde34c3a00c8: Waiting 01:07:06 1469e6f7b9e6: Waiting 01:07:06 eaf3925da568: Waiting 01:07:06 4872d77fe225: Waiting 01:07:06 988bab9f4d93: Waiting 01:07:06 bab4dde63d76: Waiting 01:07:06 b352a97aabf1: Waiting 01:07:06 e2be974225ed: Verifying Checksum 01:07:06 e2be974225ed: Download complete 01:07:06 988bab9f4d93: Verifying Checksum 01:07:06 988bab9f4d93: Download complete 01:07:06 1469e6f7b9e6: Verifying Checksum 01:07:06 1469e6f7b9e6: Download complete 01:07:06 eaf3925da568: Download complete 01:07:06 339a4e72a1f5: Verifying Checksum 01:07:06 339a4e72a1f5: Download complete 01:07:06 bde34c3a00c8: Verifying Checksum 01:07:06 bde34c3a00c8: Download complete 01:07:06 b352a97aabf1: Download complete 01:07:06 4872d77fe225: Download complete 01:07:06 5851b861e8e6: Verifying Checksum 01:07:06 5851b861e8e6: Download complete 01:07:06 b85a868b505f: Download complete 01:07:06 bab4dde63d76: Verifying Checksum 01:07:06 bab4dde63d76: Download complete 01:07:07 b85a868b505f: Pull complete 01:07:07 e2be974225ed: Pull complete 01:07:08 339a4e72a1f5: Pull complete 01:07:08 988bab9f4d93: Pull complete 01:07:08 1469e6f7b9e6: Pull complete 01:07:08 eaf3925da568: Pull complete 01:07:10 bab4dde63d76: Pull complete 01:07:10 bde34c3a00c8: Pull complete 01:07:10 b352a97aabf1: Pull complete 01:07:10 4872d77fe225: Pull complete 01:07:10 5851b861e8e6: Pull complete 01:07:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:11 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 01:07:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:07:12 $ docker top 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 -eo pid,comm 01:07:12 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:07:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:13 [ssh-agent] Looking for ssh-agent implementation... 01:07:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:13 $ docker exec 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent 01:07:13 SSH_AUTH_SOCK=/tmp/ssh-rixsPHaEe3ho/agent.31 01:07:13 SSH_AGENT_PID=37 01:07:13 Running ssh-add (command line suppressed) 01:07:13 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_6364248031591176360.key (/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_6364248031591176360.key) 01:07:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:13 + git tag --points-at HEAD [Pipeline] } 01:07:13 $ docker exec --env ******** --env ******** 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent -k 01:07:13 unset SSH_AUTH_SOCK; 01:07:13 unset SSH_AGENT_PID; 01:07:13 echo Agent pid 37 killed; 01:07:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:07:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:14 [ssh-agent] Looking for ssh-agent implementation... 01:07:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:14 $ docker exec 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent 01:07:14 SSH_AUTH_SOCK=/tmp/ssh-M13IClUBQRoB/agent.69 01:07:14 SSH_AGENT_PID=75 01:07:14 Running ssh-add (command line suppressed) 01:07:14 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_11021902090746699865.key (/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_11021902090746699865.key) 01:07:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:14 + git semver init 01:07:15 2022-10-17 01:07:15,003 [run_init] DEBUG init version:0.0.0 force:False 01:07:15 2022-10-17 01:07:15,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-61/.semver 01:07:15 2022-10-17 01:07:15,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-61/.semver 01:07:15 2022-10-17 01:07:15,004 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-61/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-61, universal_newlines=False, shell=None, istream=None) 01:07:16 2022-10-17 01:07:16,021 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-61/.git/info/exclude 01:07:16 2022-10-17 01:07:16,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-61/.semver/PR-61 with force:False 01:07:16 2022-10-17 01:07:16,022 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-61/.semver/PR-61 01:07:16 2022-10-17 01:07:16,026 [execute] INFO git cat-file --batch-check 01:07:16 2022-10-17 01:07:16,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-61/.semver, universal_newlines=False, shell=None, istream=) 01:07:16 2022-10-17 01:07:16,032 [execute] INFO git cat-file --batch 01:07:16 2022-10-17 01:07:16,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-61/.semver, universal_newlines=False, shell=None, istream=) 01:07:16 2022-10-17 01:07:16,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-61/.semver/PR-61 01:07:16 0.0.0 [Pipeline] } 01:07:16 $ docker exec --env ******** --env ******** 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent -k 01:07:16 unset SSH_AUTH_SOCK; 01:07:16 unset SSH_AGENT_PID; 01:07:16 echo Agent pid 75 killed; 01:07:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:17 + git semver [Pipeline] } 01:07:17 $ docker stop --time=1 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 01:07:18 $ docker rm -f 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 [Pipeline] // withDockerContainer [Pipeline] sh 01:07:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:07:19 Stashed 1 file(s) [Pipeline] echo 01:07:19 [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:07:19 provisioning config files... 01:07:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config15626312634185987428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:20 ---> docker-login.sh 01:07:20 nexus3.edgexfoundry.org:10001 01:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:20 Configure a credential helper to remove this warning. See 01:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:20 01:07:20 Login Succeeded 01:07:20 nexus3.edgexfoundry.org:10002 01:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:20 Configure a credential helper to remove this warning. See 01:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:20 01:07:20 Login Succeeded 01:07:20 nexus3.edgexfoundry.org:10003 01:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:20 Configure a credential helper to remove this warning. See 01:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:20 01:07:20 Login Succeeded 01:07:20 nexus3.edgexfoundry.org:10004 01:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:20 Configure a credential helper to remove this warning. See 01:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:20 01:07:20 Login Succeeded 01:07:20 docker.io 01:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:21 Configure a credential helper to remove this warning. See 01:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:21 01:07:21 Login Succeeded 01:07:21 ---> docker-login.sh ends [Pipeline] } 01:07:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:07:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:21 ========================================================= 01:07:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:07:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:21 + 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:07:21 Sending build context to Docker daemon 15.86MB 01:07:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:07:21 Step 2/13 : FROM ${BASE} AS builder 01:07:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:07:21 213ec9aee27d: Pulling fs layer 01:07:21 4583459ba037: Pulling fs layer 01:07:21 93c1e223e6f2: Pulling fs layer 01:07:21 53926ce57604: Pulling fs layer 01:07:21 21b2b0c7a3f4: Pulling fs layer 01:07:21 30f14e443154: Pulling fs layer 01:07:21 801331c1e519: Pulling fs layer 01:07:21 99cc6dd402b0: Pulling fs layer 01:07:21 7d9ed39f4882: Pulling fs layer 01:07:21 53926ce57604: Waiting 01:07:21 21b2b0c7a3f4: Waiting 01:07:21 30f14e443154: Waiting 01:07:21 801331c1e519: Waiting 01:07:21 99cc6dd402b0: Waiting 01:07:21 7d9ed39f4882: Waiting 01:07:22 93c1e223e6f2: Verifying Checksum 01:07:22 93c1e223e6f2: Download complete 01:07:22 4583459ba037: Verifying Checksum 01:07:22 4583459ba037: Download complete 01:07:22 21b2b0c7a3f4: Verifying Checksum 01:07:22 21b2b0c7a3f4: Download complete 01:07:22 30f14e443154: Verifying Checksum 01:07:22 30f14e443154: Download complete 01:07:22 213ec9aee27d: Verifying Checksum 01:07:22 213ec9aee27d: Download complete 01:07:22 801331c1e519: Verifying Checksum 01:07:22 801331c1e519: Download complete 01:07:22 213ec9aee27d: Pull complete 01:07:22 4583459ba037: Pull complete 01:07:22 93c1e223e6f2: Pull complete 01:07:22 7d9ed39f4882: Verifying Checksum 01:07:22 7d9ed39f4882: Download complete 01:07:23 99cc6dd402b0: Verifying Checksum 01:07:23 99cc6dd402b0: Download complete 01:07:23 53926ce57604: Verifying Checksum 01:07:23 53926ce57604: Download complete 01:07:27 53926ce57604: Pull complete 01:07:27 21b2b0c7a3f4: Pull complete 01:07:27 30f14e443154: Pull complete 01:07:27 801331c1e519: Pull complete 01:07:28 99cc6dd402b0: Pull complete 01:07:29 7d9ed39f4882: Pull complete 01:07:29 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:07:29 ---> 1dedd983c030 01:07:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:07:31 ---> Running in 7b319cc26790 01:07:31 Removing intermediate container 7b319cc26790 01:07:31 ---> 3d3479a9e3c6 01:07:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:07:31 ---> Running in 11cb5b677007 01:07:31 Removing intermediate container 11cb5b677007 01:07:31 ---> 495b44a84415 01:07:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:07:31 ---> Running in dda248676cf3 01:07:31 Removing intermediate container dda248676cf3 01:07:31 ---> 4e800a6c2603 01:07:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:07:32 ---> Running in e99ee642bd98 01:07:32 Removing intermediate container e99ee642bd98 01:07:32 ---> 1c2325598d75 01:07:32 Step 7/13 : WORKDIR /device-gpio 01:07:32 ---> Running in ad85bb0298fe 01:07:32 Removing intermediate container ad85bb0298fe 01:07:32 ---> 7608f21b7688 01:07:32 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:32 ---> Running in 58cb565f4ff2 01:07:32 Removing intermediate container 58cb565f4ff2 01:07:32 ---> 10638f1e5836 01:07:32 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:32 ---> Running in e99cdd23a50f 01:07:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:07:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:07:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:07:34 (2/4) Installing libedit (20210910.3.1-r0) 01:07:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:07:34 Still waiting to schedule task 01:07:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7982’ 01:07:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:07:34 Executing busybox-1.35.0-r17.trigger 01:07:34 OK: 216 MiB in 55 packages 01:07:35 Removing intermediate container e99cdd23a50f 01:07:35 ---> 5e15252a2906 01:07:35 Step 10/13 : COPY go.mod vendor* ./ 01:07:35 ---> 370fed7ee055 01:07:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:35 ---> Running in 411a07e0d417 01:07:57 Removing intermediate container 411a07e0d417 01:07:57 ---> 481b393cc34b 01:07:57 Step 12/13 : COPY . . 01:07:57 ---> 51ccd712074f 01:07:57 Step 13/13 : RUN ${MAKE} 01:07:57 ---> Running in 228948703c14 01:07:57 noop 01:07:57 Removing intermediate container 228948703c14 01:07:57 ---> a863cc85391c 01:07:57 Successfully built a863cc85391c 01:07:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:57 + docker inspect -f . ci-base-image-x86_64 01:07:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:58 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 01:07:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:07:58 $ docker top f4e484c5d18e229087b95f24e90880afddfa30fd7994f9ea1ce61a9dc4488961 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:58 + go version 01:07:58 go version go1.18.7 linux/amd64 [Pipeline] } 01:07:58 $ docker stop --time=1 f4e484c5d18e229087b95f24e90880afddfa30fd7994f9ea1ce61a9dc4488961 01:08:00 $ docker rm -f f4e484c5d18e229087b95f24e90880afddfa30fd7994f9ea1ce61a9dc4488961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:01 + docker inspect -f . ci-base-image-x86_64 01:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:01 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 01:08:01 $ 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-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:08:01 $ docker top 610f4ae2c14a30b934ad0281dd72f5bbcdfbefef8bf12379bbada2f5934b336a -eo pid,comm [Pipeline] { [Pipeline] sh 01:08:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-61 [Pipeline] fileExists [Pipeline] sh 01:08:02 + make test 01:08:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:08:02 ? github.com/edgexfoundry/device-gpio [no test files] 01:08:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:08:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:08:17 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:08:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:08:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:08:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:08:19 ./bin/test-attribution-txt.sh [Pipeline] echo 01:08:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:08:19 $ docker stop --time=1 610f4ae2c14a30b934ad0281dd72f5bbcdfbefef8bf12379bbada2f5934b336a 01:08:21 $ docker rm -f 610f4ae2c14a30b934ad0281dd72f5bbcdfbefef8bf12379bbada2f5934b336a [Pipeline] // withDockerContainer [Pipeline] sh 01:08:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:08:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:08:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:08:23 + ls -al . 01:08:23 total 164 01:08:23 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 01:08 . 01:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:06 .. 01:08:23 -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 01:06 .dockerignore 01:08:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:08 .git 01:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:06 .github 01:08:23 -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 01:06 .gitignore 01:08:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:06 .golangci.yml 01:08:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:07 .semver 01:08:23 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 01:06 Attribution.txt 01:08:23 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 01:06 CHANGELOG.md 01:08:23 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 01:06 Dockerfile 01:08:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:06 GOVERNANCE.md 01:08:23 -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 01:06 Jenkinsfile 01:08:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:06 LICENSE 01:08:23 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 01:06 Makefile 01:08:23 -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 01:06 OWNERS.md 01:08:23 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 01:06 README.md 01:08:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:07 VERSION 01:08:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:06 bin 01:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:06 cmd 01:08:23 -rw-r--r-- 1 jenkins jenkins 10 Oct 17 01:08 coverage.out 01:08:23 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 01:06 go.mod 01:08:23 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 01:06 go.sum 01:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:06 internal 01:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:06 snap 01:08:23 -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 01:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:23 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 --label arch=amd64 --label version=0.0.0 . 01:08:23 Sending build context to Docker daemon 15.86MB 01:08:23 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:08:23 Step 2/27 : FROM ${BASE} AS builder 01:08:23 ---> a863cc85391c 01:08:23 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:08:24 ---> Running in 4449c38488e1 01:08:24 Removing intermediate container 4449c38488e1 01:08:24 ---> 60ae614c3e8c 01:08:24 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:08:24 ---> Running in 7cba2804f116 01:08:24 Removing intermediate container 7cba2804f116 01:08:24 ---> c3463f0401b0 01:08:24 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:08:24 ---> Running in f2a20b631188 01:08:24 Removing intermediate container f2a20b631188 01:08:24 ---> f5960344d9dd 01:08:24 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:08:24 ---> Running in 5fbbc7b53d2a 01:08:24 Removing intermediate container 5fbbc7b53d2a 01:08:24 ---> 5a0bf1a63b16 01:08:24 Step 7/27 : WORKDIR /device-gpio 01:08:24 ---> Running in 363604fc90cd 01:08:24 Removing intermediate container 363604fc90cd 01:08:24 ---> cc0204a702e2 01:08:24 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:08:24 ---> Running in 44e0de1fc771 01:08:25 Removing intermediate container 44e0de1fc771 01:08:25 ---> f1d753884d49 01:08:25 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:25 ---> Running in 1662299fa7b1 01:08:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:08:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:08:26 OK: 216 MiB in 55 packages 01:08:27 Removing intermediate container 1662299fa7b1 01:08:27 ---> f19759eef144 01:08:27 Step 10/27 : COPY go.mod vendor* ./ 01:08:27 ---> 1ae79fb8d816 01:08:27 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:27 ---> Running in 4a4b8ba33733 01:08:28 Removing intermediate container 4a4b8ba33733 01:08:28 ---> a8d3d46b5128 01:08:28 Step 12/27 : COPY . . 01:08:28 ---> 33d88287ffcc 01:08:28 Step 13/27 : RUN ${MAKE} 01:08:28 ---> Running in 9840974f7f2a 01:08:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:08:46 Removing intermediate container 9840974f7f2a 01:08:46 ---> 850bb2fcb82d 01:08:46 Step 14/27 : FROM alpine:3.16 01:08:47 3.16: Pulling from library/alpine 01:08:47 213ec9aee27d: Already exists 01:08:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:08:47 Status: Downloaded newer image for alpine:3.16 01:08:47 ---> 9c6f07244728 01:08:47 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:08:47 ---> Running in 1bea1b2d5dad 01:08:47 Removing intermediate container 1bea1b2d5dad 01:08:47 ---> 5dd463747f58 01:08:47 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:08:47 ---> Running in 52ff43112680 01:08:48 Removing intermediate container 52ff43112680 01:08:48 ---> c14c9e300d4d 01:08:48 Step 17/27 : RUN apk add --update --no-cache zeromq 01:08:48 ---> Running in ca26e27bb2d7 01:08:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:08:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:08:49 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:08:50 (2/5) Installing libsodium (1.0.18-r0) 01:08:50 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:08:50 (4/5) Installing libzmq (4.3.4-r0) 01:08:50 (5/5) Installing zeromq (4.3.4-r0) 01:08:50 Executing busybox-1.35.0-r17.trigger 01:08:50 OK: 8 MiB in 19 packages 01:08:50 Removing intermediate container ca26e27bb2d7 01:08:50 ---> ec034ae773ea 01:08:50 Step 18/27 : WORKDIR / 01:08:50 ---> Running in 363c874f3b5f 01:08:50 Removing intermediate container 363c874f3b5f 01:08:50 ---> d738781b1493 01:08:50 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 01:08:51 ---> 94d30e851900 01:08:51 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 01:08:51 ---> 8ad460d76665 01:08:51 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 01:08:51 ---> ca847e243be8 01:08:51 Step 22/27 : EXPOSE 59910 01:08:51 ---> Running in d0b660fbead1 01:08:51 Removing intermediate container d0b660fbead1 01:08:51 ---> a9325ebd03f6 01:08:51 Step 23/27 : ENTRYPOINT ["/device-gpio"] 01:08:51 ---> Running in 812380200f1a 01:08:51 Removing intermediate container 812380200f1a 01:08:51 ---> 76cda5ead38f 01:08:51 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:08:51 ---> Running in 1c1dba6646ad 01:08:52 Removing intermediate container 1c1dba6646ad 01:08:52 ---> 8427f53c02dd 01:08:52 Step 25/27 : LABEL arch=amd64 01:08:52 ---> Running in 40a1a3fd656a 01:08:52 Removing intermediate container 40a1a3fd656a 01:08:52 ---> b87f19900d90 01:08:52 Step 26/27 : LABEL git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 01:08:52 ---> Running in 7622d2c275d2 01:08:52 Removing intermediate container 7622d2c275d2 01:08:52 ---> 82b8ed5877d6 01:08:52 Step 27/27 : LABEL version=0.0.0 01:08:52 ---> Running in c0e2e33deed4 01:08:52 Removing intermediate container c0e2e33deed4 01:08:52 ---> 202878dd22d0 01:08:52 [Warning] One or more build-args [ARCH] were not consumed 01:08:52 Successfully built 202878dd22d0 01:08:52 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:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:08:53 01:08:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:08:53 latest: Pulling from edgex-lftools-log-publisher 01:08:53 5eb5b503b376: Pulling fs layer 01:08:53 5c69ac0246d0: Pulling fs layer 01:08:53 ec43610c2a17: Pulling fs layer 01:08:53 3a2ae6a8a46f: Pulling fs layer 01:08:53 33b1e0a273af: Pulling fs layer 01:08:53 5d3b04190fa2: Pulling fs layer 01:08:53 2f39f015ded8: Pulling fs layer 01:08:53 3a2ae6a8a46f: Waiting 01:08:53 5d3b04190fa2: Waiting 01:08:53 2f39f015ded8: Waiting 01:08:53 33b1e0a273af: Waiting 01:08:53 5c69ac0246d0: Download complete 01:08:53 3a2ae6a8a46f: Verifying Checksum 01:08:53 3a2ae6a8a46f: Download complete 01:08:53 33b1e0a273af: Download complete 01:08:53 ec43610c2a17: Verifying Checksum 01:08:53 ec43610c2a17: Download complete 01:08:53 5d3b04190fa2: Download complete 01:08:53 5eb5b503b376: Verifying Checksum 01:08:53 5eb5b503b376: Download complete 01:08:54 2f39f015ded8: Download complete 01:08:55 5eb5b503b376: Pull complete 01:08:55 5c69ac0246d0: Pull complete 01:08:55 ec43610c2a17: Pull complete 01:08:55 3a2ae6a8a46f: Pull complete 01:08:55 33b1e0a273af: Pull complete 01:08:55 5d3b04190fa2: Pull complete 01:09:00 2f39f015ded8: Pull complete 01:09:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:09:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:00 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 01:09:00 $ 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-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:09:02 $ docker top b009c69c2e4d11e0b4d5ab12b8261437f34e0380f1763791715dafe9e549619f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:02 ---> job-cost.sh 01:09:02 lf-activate-venv: SKIPPING 01:09:02 INFO: No Stack... 01:09:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:09:03 INFO: Archiving Costs [Pipeline] sh 01:09:03 + cut -d, -f6 01:09:03 + cat /w/workspace/edgexfoundry_device-gpio_PR-61/archives/cost.csv [Pipeline] lock 01:09:03 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] 01:09:03 Resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] did not exist. Created. 01:09:03 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:09:04 + echo total: 0.2199999988079071 [Pipeline] stash 01:09:04 Stashed 1 file(s) [Pipeline] } 01:09:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:09:04 $ docker stop --time=1 b009c69c2e4d11e0b4d5ab12b8261437f34e0380f1763791715dafe9e549619f 01:09:05 $ docker rm -f b009c69c2e4d11e0b4d5ab12b8261437f34e0380f1763791715dafe9e549619f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:10:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7985 in /w/workspace/edgexfoundry_device-gpio_PR-61 [Pipeline] { [Pipeline] ws 01:10:55 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:10:55 The recommended git tool is: git 01:11:00 using credential edgex-jenkins-ssh 01:11:00 Cloning the remote Git repository 01:11:00 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:11:00 > git init /w/workspace/device-gpio/1 # timeout=10 01:11:01 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:11:01 > git --version # timeout=10 01:11:01 > git --version # 'git version 2.25.1' 01:11:01 using GIT_SSH to set credentials SSH Credentials for GitHub 01:11:01 Verifying host key using known hosts file 01:11:01 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:11:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:11:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:11:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:11:03 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:11:03 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:11:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:11:03 Verifying host key using known hosts file 01:11:03 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:11:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:11:04 Merging remotes/origin/main commit 569473615fb9befb8fb7c39be4b8603efd71ba81 into PR head commit 27902db895a7fe75aa234fef7f82645cf4d73401 01:11:04 Merge succeeded, producing 27902db895a7fe75aa234fef7f82645cf4d73401 01:11:04 Checking out Revision 27902db895a7fe75aa234fef7f82645cf4d73401 (PR-61) 01:11:05 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:11:05 > git --version # timeout=10 01:11:05 > git --version # 'git version 2.25.1' 01:11:05 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 01:11:04 > git config core.sparsecheckout # timeout=10 01:11:04 > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 01:11:04 > git remote # timeout=10 01:11:04 > git config --get remote.origin.url # timeout=10 01:11:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:11:04 Verifying host key using known hosts file 01:11:04 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:11:04 > git merge 569473615fb9befb8fb7c39be4b8603efd71ba81 # timeout=10 01:11:04 > git rev-parse HEAD^{commit} # timeout=10 01:11:04 > git config core.sparsecheckout # timeout=10 01:11:04 > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:11:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:11:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:11:06 Dload Upload Total Spent Left Speed 01:11:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh 01:11:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:11:07 + sudo tee /etc/docker/daemon.new 01:11:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:11:07 { 01:11:07 "registry-mirrors": [ 01:11:07 "https://nexus3.edgexfoundry.org:10001" 01:11:07 ], 01:11:07 "bip": "10.250.0.254/24", 01:11:07 "hosts": [ 01:11:07 "tcp://0.0.0.0:5555", 01:11:07 "unix:///var/run/docker.sock" 01:11:07 ], 01:11:07 "mtu": 1458, 01:11:07 "selinux-enabled": true, 01:11:07 "seccomp-profile": "/etc/docker/seccomp.json" 01:11:07 } [Pipeline] sh 01:11:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:11:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:26 provisioning config files... 01:11:26 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config3278607129073368188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:26 ---> docker-login.sh 01:11:26 nexus3.edgexfoundry.org:10001 01:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:27 Configure a credential helper to remove this warning. See 01:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:27 01:11:27 Login Succeeded 01:11:27 nexus3.edgexfoundry.org:10002 01:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:28 Configure a credential helper to remove this warning. See 01:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:28 01:11:28 Login Succeeded 01:11:28 nexus3.edgexfoundry.org:10003 01:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:28 Configure a credential helper to remove this warning. See 01:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:28 01:11:28 Login Succeeded 01:11:28 nexus3.edgexfoundry.org:10004 01:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:28 Configure a credential helper to remove this warning. See 01:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:28 01:11:28 Login Succeeded 01:11:28 docker.io 01:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:29 Configure a credential helper to remove this warning. See 01:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:29 01:11:29 Login Succeeded 01:11:29 ---> docker-login.sh ends [Pipeline] } 01:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:29 ========================================================= 01:11:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:11:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:29 + 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:11:30 Sending build context to Docker daemon 7.998MB 01:11:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:11:30 Step 2/13 : FROM ${BASE} AS builder 01:11:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:11:30 9b18e9b68314: Pulling fs layer 01:11:30 d32db5db7311: Pulling fs layer 01:11:30 d0c4b47475fc: Pulling fs layer 01:11:30 5831b945b038: Pulling fs layer 01:11:30 86bbec2aaacd: Pulling fs layer 01:11:30 e10730c5d714: Pulling fs layer 01:11:30 5dd5c2283517: Pulling fs layer 01:11:30 d5ac0230b979: Pulling fs layer 01:11:30 86bbec2aaacd: Waiting 01:11:30 e10730c5d714: Waiting 01:11:30 5dd5c2283517: Waiting 01:11:30 d5ac0230b979: Waiting 01:11:30 5831b945b038: Waiting 01:11:30 d0c4b47475fc: Verifying Checksum 01:11:30 d0c4b47475fc: Download complete 01:11:30 d32db5db7311: Verifying Checksum 01:11:30 d32db5db7311: Download complete 01:11:30 86bbec2aaacd: Verifying Checksum 01:11:30 86bbec2aaacd: Download complete 01:11:30 e10730c5d714: Verifying Checksum 01:11:30 e10730c5d714: Download complete 01:11:30 9b18e9b68314: Verifying Checksum 01:11:30 9b18e9b68314: Download complete 01:11:31 9b18e9b68314: Pull complete 01:11:31 d5ac0230b979: Verifying Checksum 01:11:31 d5ac0230b979: Download complete 01:11:32 d32db5db7311: Pull complete 01:11:32 d0c4b47475fc: Pull complete 01:11:32 5dd5c2283517: Verifying Checksum 01:11:33 5831b945b038: Verifying Checksum 01:11:33 5831b945b038: Download complete 01:11:45 5831b945b038: Pull complete 01:11:45 86bbec2aaacd: Pull complete 01:11:45 e10730c5d714: Pull complete 01:11:52 5dd5c2283517: Pull complete 01:11:54 d5ac0230b979: Pull complete 01:11:54 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:11:54 ---> 59b3b1a385d4 01:11:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:11:55 ---> Running in 3f8f01b6e430 01:11:56 Removing intermediate container 3f8f01b6e430 01:11:56 ---> 18626fe74f8c 01:11:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:11:56 ---> Running in 8523970d654e 01:11:56 Removing intermediate container 8523970d654e 01:11:56 ---> eaec409d18e4 01:11:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:11:56 ---> Running in 25549ed60947 01:11:57 Removing intermediate container 25549ed60947 01:11:57 ---> 694ab453f306 01:11:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:11:57 ---> Running in 286a6a4e6f26 01:11:57 Removing intermediate container 286a6a4e6f26 01:11:57 ---> e8d04306d8be 01:11:57 Step 7/13 : WORKDIR /device-gpio 01:11:57 ---> Running in ece3e4d3e2d5 01:11:58 Removing intermediate container ece3e4d3e2d5 01:11:58 ---> 05454dee7eb7 01:11:58 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:11:58 ---> Running in eaef2a7ebd8a 01:12:00 Removing intermediate container eaef2a7ebd8a 01:12:00 ---> ac7b1dc63023 01:12:00 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:00 ---> Running in 434f32adef40 01:12:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:12:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:12:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:12:03 (2/4) Installing libedit (20210910.3.1-r0) 01:12:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:12:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:12:03 Executing busybox-1.35.0-r17.trigger 01:12:03 OK: 226 MiB in 55 packages 01:12:05 Removing intermediate container 434f32adef40 01:12:05 ---> 9212022090b8 01:12:05 Step 10/13 : COPY go.mod vendor* ./ 01:12:06 ---> d39e3af12969 01:12:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:06 ---> Running in aedcb5e93b2b 01:13:02 Removing intermediate container aedcb5e93b2b 01:13:02 ---> b96a93744fb5 01:13:02 Step 12/13 : COPY . . 01:13:02 ---> 4b988c6c1ca4 01:13:02 Step 13/13 : RUN ${MAKE} 01:13:02 ---> Running in 5471ef6a5e56 01:13:02 noop 01:13:02 Removing intermediate container 5471ef6a5e56 01:13:02 ---> 3770ae264735 01:13:02 Successfully built 3770ae264735 01:13:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:03 + docker inspect -f . ci-base-image-arm64 01:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:03 prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container 01:13:03 $ 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:13:04 $ docker top 48b1e8dcb9e21d4c72b80245456bcfc19c752c8345e5548d4ba5cdf6fd1f9ce2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:05 + go version 01:13:05 go version go1.18.7 linux/arm64 [Pipeline] } 01:13:05 $ docker stop --time=1 48b1e8dcb9e21d4c72b80245456bcfc19c752c8345e5548d4ba5cdf6fd1f9ce2 01:13:07 $ docker rm -f 48b1e8dcb9e21d4c72b80245456bcfc19c752c8345e5548d4ba5cdf6fd1f9ce2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:08 + docker inspect -f . ci-base-image-arm64 01:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container 01:13:08 $ 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:13:09 $ docker top 1a59a2ad0b31a20f76d788f055b8c0223cb2e303ba0fc388d24f4520837f871d -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:10 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:13:10 + make test 01:13:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:13:12 ? github.com/edgexfoundry/device-gpio [no test files] 01:14:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:14:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:14:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:14:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:14:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:14:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:14:52 ./bin/test-attribution-txt.sh [Pipeline] echo 01:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:14:52 $ docker stop --time=1 1a59a2ad0b31a20f76d788f055b8c0223cb2e303ba0fc388d24f4520837f871d 01:14:54 $ docker rm -f 1a59a2ad0b31a20f76d788f055b8c0223cb2e303ba0fc388d24f4520837f871d [Pipeline] // withDockerContainer [Pipeline] sh 01:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:14:55 Warning: overwriting stash ‘coverage-report’ 01:14:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:14:56 + ls -al . 01:14:56 total 160 01:14:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:13 . 01:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:11 .. 01:14:56 -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 01:11 .dockerignore 01:14:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:11 .git 01:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:11 .github 01:14:56 -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 01:11 .gitignore 01:14:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:11 .golangci.yml 01:14:56 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 01:11 Attribution.txt 01:14:56 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 01:11 CHANGELOG.md 01:14:56 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 01:11 Dockerfile 01:14:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:11 GOVERNANCE.md 01:14:56 -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 01:11 Jenkinsfile 01:14:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:11 LICENSE 01:14:56 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 01:11 Makefile 01:14:56 -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 01:11 OWNERS.md 01:14:56 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 01:11 README.md 01:14:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:07 VERSION 01:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:11 bin 01:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:11 cmd 01:14:56 -rw-r--r-- 1 jenkins jenkins 10 Oct 17 01:13 coverage.out 01:14:56 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 01:11 go.mod 01:14:56 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 01:11 go.sum 01:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:11 internal 01:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:11 snap 01:14:56 -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:57 + 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=27902db895a7fe75aa234fef7f82645cf4d73401 --label arch=arm64 --label version=0.0.0 . 01:14:57 Sending build context to Docker daemon 7.999MB 01:14:57 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:14:57 Step 2/27 : FROM ${BASE} AS builder 01:14:57 ---> 3770ae264735 01:14:57 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:14:57 ---> Running in 588ef8a6f5f4 01:14:58 Removing intermediate container 588ef8a6f5f4 01:14:58 ---> 93c153867820 01:14:58 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:14:58 ---> Running in 2c17a0809d5a 01:14:58 Removing intermediate container 2c17a0809d5a 01:14:58 ---> c95d5bed65f5 01:14:58 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:14:58 ---> Running in 6b08459d7a53 01:14:58 Removing intermediate container 6b08459d7a53 01:14:58 ---> 30cf1d3a3504 01:14:58 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:14:58 ---> Running in 197a96ccf09d 01:14:58 Removing intermediate container 197a96ccf09d 01:14:58 ---> 6b4a362feda5 01:14:58 Step 7/27 : WORKDIR /device-gpio 01:14:59 ---> Running in 9727035f4185 01:14:59 Removing intermediate container 9727035f4185 01:14:59 ---> f23323879aa1 01:14:59 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:14:59 ---> Running in 6ddcd4628551 01:15:01 Removing intermediate container 6ddcd4628551 01:15:01 ---> b8d34fa1230f 01:15:01 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:01 ---> Running in c9a72b34c1fc 01:15:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:15:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:15:03 OK: 226 MiB in 55 packages 01:15:04 Removing intermediate container c9a72b34c1fc 01:15:04 ---> 382df5c47bc9 01:15:04 Step 10/27 : COPY go.mod vendor* ./ 01:15:05 ---> 690abcc8d464 01:15:05 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:05 ---> Running in ad9ee49d291f 01:15:07 Removing intermediate container ad9ee49d291f 01:15:07 ---> 3ef88dedb450 01:15:07 Step 12/27 : COPY . . 01:15:08 ---> a4031ae2d2df 01:15:08 Step 13/27 : RUN ${MAKE} 01:15:08 ---> Running in d79e14a77699 01:15:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:17:45 Removing intermediate container d79e14a77699 01:17:45 ---> c58f5f7223a9 01:17:45 Step 14/27 : FROM alpine:3.16 01:17:45 3.16: Pulling from library/alpine 01:17:45 9b18e9b68314: Already exists 01:17:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:17:45 Status: Downloaded newer image for alpine:3.16 01:17:45 ---> a6215f271958 01:17:45 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:17:45 ---> Running in 6c3491d213ae 01:17:45 Removing intermediate container 6c3491d213ae 01:17:45 ---> 1b6016f638a5 01:17:45 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:45 ---> Running in ab01f0a98401 01:17:45 Removing intermediate container ab01f0a98401 01:17:45 ---> 5dfd40917aed 01:17:45 Step 17/27 : RUN apk add --update --no-cache zeromq 01:17:45 ---> Running in 9eab0c80d37d 01:17:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:17:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:17:47 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:17:47 (2/5) Installing libsodium (1.0.18-r0) 01:17:47 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:17:47 (4/5) Installing libzmq (4.3.4-r0) 01:17:47 (5/5) Installing zeromq (4.3.4-r0) 01:17:47 Executing busybox-1.35.0-r17.trigger 01:17:48 OK: 8 MiB in 19 packages 01:17:49 Removing intermediate container 9eab0c80d37d 01:17:49 ---> 0c6a90ea3e3e 01:17:49 Step 18/27 : WORKDIR / 01:17:49 ---> Running in 47b70a4457e4 01:17:49 Removing intermediate container 47b70a4457e4 01:17:49 ---> e5f915c52c7e 01:17:49 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 01:17:49 ---> 80e3d1113ffa 01:17:49 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 01:17:50 ---> 7ba730de0f88 01:17:50 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 01:17:51 ---> ebda9848ff78 01:17:51 Step 22/27 : EXPOSE 59910 01:17:51 ---> Running in 3495f265e2e7 01:17:51 Removing intermediate container 3495f265e2e7 01:17:51 ---> c619b2d58c2b 01:17:51 Step 23/27 : ENTRYPOINT ["/device-gpio"] 01:17:51 ---> Running in 224bf4e82bc3 01:17:52 Removing intermediate container 224bf4e82bc3 01:17:52 ---> 9fa33b9f6ccf 01:17:52 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:17:52 ---> Running in f9f82e654177 01:17:52 Removing intermediate container f9f82e654177 01:17:52 ---> c8254c9de6e2 01:17:52 Step 25/27 : LABEL arch=arm64 01:17:52 ---> Running in 462b98bdb153 01:17:53 Removing intermediate container 462b98bdb153 01:17:53 ---> 2f884581bb79 01:17:53 Step 26/27 : LABEL git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 01:17:53 ---> Running in c605aeb241a9 01:17:53 Removing intermediate container c605aeb241a9 01:17:53 ---> 76f6ac2bbfad 01:17:53 Step 27/27 : LABEL version=0.0.0 01:17:53 ---> Running in 473c4e12e379 01:17:53 Removing intermediate container 473c4e12e379 01:17:53 ---> 399eabe90fd9 01:17:53 [Warning] One or more build-args [ARCH] were not consumed 01:17:53 Successfully built 399eabe90fd9 01:17:53 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:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:54 01:17:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:55 arm64: Pulling from edgex-lftools-log-publisher 01:17:55 8998bd30e6a1: Pulling fs layer 01:17:55 04944245beec: Pulling fs layer 01:17:55 699f458cf7ca: Pulling fs layer 01:17:55 765212b225bb: Pulling fs layer 01:17:55 f23df028b6ca: Pulling fs layer 01:17:55 d65c8cfc05b1: Pulling fs layer 01:17:55 2437ff75d9bd: Pulling fs layer 01:17:55 f23df028b6ca: Waiting 01:17:55 d65c8cfc05b1: Waiting 01:17:55 2437ff75d9bd: Waiting 01:17:55 765212b225bb: Waiting 01:17:55 04944245beec: Verifying Checksum 01:17:55 04944245beec: Download complete 01:17:55 765212b225bb: Verifying Checksum 01:17:55 765212b225bb: Download complete 01:17:55 f23df028b6ca: Verifying Checksum 01:17:55 f23df028b6ca: Download complete 01:17:55 d65c8cfc05b1: Download complete 01:17:55 699f458cf7ca: Verifying Checksum 01:17:55 699f458cf7ca: Download complete 01:17:56 8998bd30e6a1: Verifying Checksum 01:17:56 8998bd30e6a1: Download complete 01:17:58 2437ff75d9bd: Verifying Checksum 01:17:58 2437ff75d9bd: Download complete 01:18:00 8998bd30e6a1: Pull complete 01:18:00 04944245beec: Pull complete 01:18:02 699f458cf7ca: Pull complete 01:18:02 765212b225bb: Pull complete 01:18:03 f23df028b6ca: Pull complete 01:18:03 d65c8cfc05b1: Pull complete 01:18:18 2437ff75d9bd: Pull complete 01:18:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:18 prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container 01:18:18 $ 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:18:21 $ docker top 5abb567605fab00149d58d9edba764c539dbbf39347f773cc85ec7e08bc4fbe7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:22 ---> job-cost.sh 01:18:22 lf-activate-venv: SKIPPING 01:18:22 INFO: No Stack... 01:18:22 INFO: Retrieving Pricing Info for: v3-standard-4 01:18:23 INFO: Archiving Costs [Pipeline] sh 01:18:23 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:18:23 + cut -d, -f6 [Pipeline] lock 01:18:23 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] 01:18:23 Resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] did not exist. Created. 01:18:23 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:24 /w/workspace/device-gpio/1@tmp/durable-40a646c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:18:25 + echo total: 0.10999999940395355 [Pipeline] stash 01:18:25 Warning: overwriting stash ‘stack-cost’ 01:18:25 Stashed 1 file(s) [Pipeline] } 01:18:25 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:25 $ docker stop --time=1 5abb567605fab00149d58d9edba764c539dbbf39347f773cc85ec7e08bc4fbe7 01:18:26 $ docker rm -f 5abb567605fab00149d58d9edba764c539dbbf39347f773cc85ec7e08bc4fbe7 [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:18:27 provisioning config files... 01:18:27 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config1014599340215771931tmp [Pipeline] { [Pipeline] sh 01:18:28 + set +x 01:18:28 + curl -s https://codecov.io/bash 01:18:28 + bash -s -- 01:18:28 01:18:28 _____ _ 01:18:28 / ____| | | 01:18:28 | | ___ __| | ___ ___ _____ __ 01:18:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:18:28 | |___| (_) | (_| | __/ (_| (_) \ V / 01:18:28 \_____\___/ \__,_|\___|\___\___/ \_/ 01:18:28 Bash-1.0.6 01:18:28 01:18:28 01:18:28 ==> git version 2.25.1 found 01:18:28 ==> 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:18:28 Release-Date: 2020-01-08 01:18:28 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:18:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:18:28 ==> Jenkins CI detected. 01:18:28 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-61 01:18:28 project root: . 01:18:28 --> token set from env 01:18:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:18:28 ==> Running gcov in . (disable via -X gcov) 01:18:28 ==> Python coveragepy not found 01:18:28 ==> Searching for coverage reports in: 01:18:28 + . 01:18:28 -> Found 1 reports 01:18:28 ==> Detecting git/mercurial file structure 01:18:28 ==> Reading reports 01:18:28 + ./coverage.out bytes=10 01:18:28 ==> Appending adjustments 01:18:28 https://docs.codecov.io/docs/fixing-reports 01:18:28 + Found adjustments 01:18:28 ==> Gzipping contents 01:18:28 4.0K /tmp/codecov.FDVfMc.gz 01:18:28 ==> Uploading reports 01:18:28 url: https://codecov.io 01:18:28 query: branch=PR-61&commit=27902db895a7fe75aa234fef7f82645cf4d73401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-61%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=61&job=&cmd_args= 01:18:28 -> Pinging Codecov 01:18:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-61&commit=27902db895a7fe75aa234fef7f82645cf4d73401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-61%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=61&job=&cmd_args= 01:18:28 -> Uploading to 01:18:28 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/27902db895a7fe75aa234fef7f82645cf4d73401/223803c4-f207-45e0-90d3-b3fcc30f7df4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T011828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d4b391f51676629a707b71fca8a1c9002da82e0215966c3335f210acb206fec 01:18:28 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:28 Dload Upload Total Spent Left Speed 01:18:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2881 --:--:-- --:--:-- --:--:-- 2881 01:18:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] } 01:18:28 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:18:30 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-61/archives ] 01:18:30 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-61/archives 01:18:30 total 16 01:18:30 drwxr-xr-x 3 root root 4096 Oct 17 01:09 . 01:18:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:09 .. 01:18:30 drwxr-xr-x 2 root root 4096 Oct 17 01:09 cost 01:18:30 -rw-r--r-- 1 root root 82 Oct 17 01:09 cost.csv 01:18:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-61/archives 01:18:30 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-61/archives 01:18:30 total 16 01:18:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:09 . 01:18:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:09 .. 01:18:30 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 01:09 cost 01:18:30 -rw-r--r-- 1 jenkins jenkins 82 Oct 17 01:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:18:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:18:31 ---> package-listing.sh 01:18:31 ++ facter osfamily 01:18:31 ++ tr '[:upper:]' '[:lower:]' 01:18:32 + OS_FAMILY=debian 01:18:32 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-61 01:18:32 + START_PACKAGES=/tmp/packages_start.txt 01:18:32 + END_PACKAGES=/tmp/packages_end.txt 01:18:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:18:32 + PACKAGES=/tmp/packages_start.txt 01:18:32 + '[' /w/workspace/edgexfoundry_device-gpio_PR-61 ']' 01:18:32 + PACKAGES=/tmp/packages_end.txt 01:18:32 + case "${OS_FAMILY}" in 01:18:32 + dpkg -l 01:18:32 + grep '^ii' 01:18:32 + '[' -f /tmp/packages_start.txt ']' 01:18:32 + '[' -f /tmp/packages_end.txt ']' 01:18:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:18:32 + '[' /w/workspace/edgexfoundry_device-gpio_PR-61 ']' 01:18:32 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-61/archives/ 01:18:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-61/archives/ [Pipeline] echo 01:18:32 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-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:18:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:33 prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container 01:18:33 $ 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-61/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-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@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:18:33 $ docker top 3d132255e7f2981f9019d77dfb1b5fc170910c12b2ad1cd78e1c7f823a32f63a -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:33 + touch /tmp/pre-build-complete [Pipeline] sh 01:18:34 + mkdir -p /var/log/sysstat [Pipeline] sh 01:18:34 + ls /var/log/sa-host 01:18:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:34 provisioning config files... 01:18:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config564703806326643244tmp [Pipeline] { [Pipeline] echo 01:18:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:18:35 ---> create-netrc.sh [Pipeline] } 01:18:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:18:35 ---> python-tools-install.sh [Pipeline] echo 01:18:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:18:35 ---> sudo-logs.sh 01:18:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:18:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:18:36 ---> job-cost.sh 01:18:36 lf-activate-venv: SKIPPING 01:18:36 DEBUG: total: 0.2199999988079071 01:18:36 INFO: Retrieving Stack Cost... 01:18:36 INFO: Retrieving Pricing Info for: v3-standard-8 01:18:37 INFO: Archiving Costs [Pipeline] echo 01:18:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:18:37 ---> logs-deploy.sh 01:18:37 lf-activate-venv: SKIPPING 01:18:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-61/1 01:18:37 INFO: archiving workspace using pattern(s): 01:18:38 Archives upload complete. 01:18:38 INFO: archiving logs to Nexus