Pull request #51 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ade6ddea8bc03249205d62296d8625b01661326+e9c2a01dfe972ee330369f951ac2332b6543d925 (fad87b9fbed9ff44f98fb52d352c883bb652b157) 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-ssh8188783912022116608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13695261146466821788.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-51/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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13769942411046372438.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9567010698907025078.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7486362376632820487.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-51/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-51/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9802253438652934969.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21615 in /w/workspace/edgexfoundry_device-gpio_PR-51 [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-51 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e9c2a01dfe972ee330369f951ac2332b6543d925 into PR head commit 5ade6ddea8bc03249205d62296d8625b01661326 Merge succeeded, producing 5ade6ddea8bc03249205d62296d8625b01661326 Checking out Revision 5ade6ddea8bc03249205d62296d8625b01661326 (PR-51) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e9c2a01dfe972ee330369f951ac2332b6543d925 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 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 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:33 ========================================================= 00:54:33 EdgeX Global Pipelines Version Info 00:54:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:34 ------------------- 00:54:34 stable info: 00:54:34 ------------------- 00:54:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:34 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:54:34 Message: update stable to v1.0.238 00:54:34 ------------------- 00:54:34 experimental info: 00:54:34 ------------------- 00:54:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:34 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:54:34 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-51 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-51 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-51 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ade6dd [Pipeline] echo 00:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:36 provisioning config files... 00:54:36 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config1331620619098887697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:37 ---> docker-login.sh 00:54:37 nexus3.edgexfoundry.org:10001 00:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:37 Configure a credential helper to remove this warning. See 00:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:37 00:54:37 Login Succeeded 00:54:37 nexus3.edgexfoundry.org:10002 00:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:37 Configure a credential helper to remove this warning. See 00:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:37 00:54:37 Login Succeeded 00:54:37 nexus3.edgexfoundry.org:10003 00:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:37 Configure a credential helper to remove this warning. See 00:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:37 00:54:37 Login Succeeded 00:54:37 nexus3.edgexfoundry.org:10004 00:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:38 Configure a credential helper to remove this warning. See 00:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:38 00:54:38 Login Succeeded 00:54:38 docker.io 00:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:38 Configure a credential helper to remove this warning. See 00:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:38 00:54:38 Login Succeeded 00:54:38 ---> docker-login.sh ends [Pipeline] } 00:54:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:39 + git rev-list -1 --merges 5ade6ddea8bc03249205d62296d8625b01661326~1..5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo 00:54:39 -----------> git rev-list -1 --merges 5ade6ddea8bc03249205d62296d8625b01661326~1..5ade6ddea8bc03249205d62296d8625b01661326 5ade6ddea8bc03249205d62296d8625b01661326 [false] [Pipeline] sh 00:54:39 + git log --format=format:%s -1 5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo 00:54:39 ========================================================= 00:54:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:39 + git log --format=format:%s -1 5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] echo 00:54:39 [semverPrep] GIT_COMMIT: 5ade6ddea8bc03249205d62296d8625b01661326, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 00:54:39 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:40 + grep -v github /etc/ssh/ssh_known_hosts 00:54:40 + [ -e /tmp/ssh_known_hosts ] 00:54:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:40 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:40 00:54:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:41 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:41 b85a868b505f: Pulling fs layer 00:54:41 e2be974225ed: Pulling fs layer 00:54:41 339a4e72a1f5: Pulling fs layer 00:54:41 988bab9f4d93: Pulling fs layer 00:54:41 1469e6f7b9e6: Pulling fs layer 00:54:41 eaf3925da568: Pulling fs layer 00:54:41 bab4dde63d76: Pulling fs layer 00:54:41 bde34c3a00c8: Pulling fs layer 00:54:41 b352a97aabf1: Pulling fs layer 00:54:41 4872d77fe225: Pulling fs layer 00:54:41 5851b861e8e6: Pulling fs layer 00:54:41 1469e6f7b9e6: Waiting 00:54:41 4872d77fe225: Waiting 00:54:41 988bab9f4d93: Waiting 00:54:41 eaf3925da568: Waiting 00:54:41 b352a97aabf1: Waiting 00:54:41 5851b861e8e6: Waiting 00:54:41 bab4dde63d76: Waiting 00:54:41 bde34c3a00c8: Waiting 00:54:41 e2be974225ed: Verifying Checksum 00:54:41 e2be974225ed: Download complete 00:54:41 988bab9f4d93: Verifying Checksum 00:54:41 988bab9f4d93: Download complete 00:54:41 1469e6f7b9e6: Verifying Checksum 00:54:41 1469e6f7b9e6: Download complete 00:54:41 339a4e72a1f5: Verifying Checksum 00:54:41 339a4e72a1f5: Download complete 00:54:41 eaf3925da568: Download complete 00:54:41 bde34c3a00c8: Download complete 00:54:41 b352a97aabf1: Verifying Checksum 00:54:41 b352a97aabf1: Download complete 00:54:41 4872d77fe225: Verifying Checksum 00:54:41 4872d77fe225: Download complete 00:54:41 5851b861e8e6: Verifying Checksum 00:54:41 5851b861e8e6: Download complete 00:54:41 b85a868b505f: Verifying Checksum 00:54:41 b85a868b505f: Download complete 00:54:41 bab4dde63d76: Verifying Checksum 00:54:41 bab4dde63d76: Download complete 00:54:43 b85a868b505f: Pull complete 00:54:43 e2be974225ed: Pull complete 00:54:43 339a4e72a1f5: Pull complete 00:54:43 988bab9f4d93: Pull complete 00:54:43 1469e6f7b9e6: Pull complete 00:54:43 eaf3925da568: Pull complete 00:54:46 bab4dde63d76: Pull complete 00:54:46 bde34c3a00c8: Pull complete 00:54:46 b352a97aabf1: Pull complete 00:54:46 4872d77fe225: Pull complete 00:54:46 5851b861e8e6: Pull complete 00:54:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:46 prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container 00:54:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:48 $ docker top 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 -eo pid,comm 00:54:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:54:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:49 [ssh-agent] Looking for ssh-agent implementation... 00:54:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:49 $ docker exec 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent 00:54:49 SSH_AUTH_SOCK=/tmp/ssh-OS9WmATjdPX0/agent.34 00:54:49 SSH_AGENT_PID=40 00:54:49 Running ssh-add (command line suppressed) 00:54:49 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_5962695017508571231.key (/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_5962695017508571231.key) 00:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:49 + git tag --points-at HEAD [Pipeline] } 00:54:49 $ docker exec --env ******** --env ******** 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent -k 00:54:49 unset SSH_AUTH_SOCK; 00:54:49 unset SSH_AGENT_PID; 00:54:49 echo Agent pid 40 killed; 00:54:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:50 [ssh-agent] Looking for ssh-agent implementation... 00:54:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:50 $ docker exec 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent 00:54:50 SSH_AUTH_SOCK=/tmp/ssh-yzwLIAdMXV6b/agent.73 00:54:50 SSH_AGENT_PID=80 00:54:50 Running ssh-add (command line suppressed) 00:54:50 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_2040908304980372720.key (/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/private_key_2040908304980372720.key) 00:54:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:50 + git semver init 00:54:51 2022-08-01 00:54:51,024 [run_init] DEBUG init version:0.0.0 force:False 00:54:51 2022-08-01 00:54:51,025 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-51/.semver 00:54:51 2022-08-01 00:54:51,025 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-51/.semver 00:54:51 2022-08-01 00:54:51,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-51/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-51, universal_newlines=False, shell=None, istream=None) 00:54:52 2022-08-01 00:54:51,915 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-51/.git/info/exclude 00:54:52 2022-08-01 00:54:51,915 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-51/.semver/PR-51 with force:False 00:54:52 2022-08-01 00:54:51,915 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-51/.semver/PR-51 00:54:52 2022-08-01 00:54:51,919 [execute] INFO git cat-file --batch-check 00:54:52 2022-08-01 00:54:51,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-51/.semver, universal_newlines=False, shell=None, istream=) 00:54:52 2022-08-01 00:54:51,927 [execute] INFO git cat-file --batch 00:54:52 2022-08-01 00:54:51,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-51/.semver, universal_newlines=False, shell=None, istream=) 00:54:52 2022-08-01 00:54:51,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-51/.semver/PR-51 00:54:52 0.0.0 [Pipeline] } 00:54:52 $ docker exec --env ******** --env ******** 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 ssh-agent -k 00:54:52 unset SSH_AUTH_SOCK; 00:54:52 unset SSH_AGENT_PID; 00:54:52 echo Agent pid 80 killed; 00:54:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:52 + git semver [Pipeline] } 00:54:52 $ docker stop --time=1 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 00:54:54 $ docker rm -f 754f13e34728a5b2fbca4e9e9718a1f02c21cd3ec8c918ad0fb9be78fb6c37c0 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:54 Stashed 1 file(s) [Pipeline] echo 00:54:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:55 provisioning config files... 00:54:55 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config6577671843011691126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:55 ---> docker-login.sh 00:54:55 nexus3.edgexfoundry.org:10001 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 nexus3.edgexfoundry.org:10002 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 nexus3.edgexfoundry.org:10003 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 nexus3.edgexfoundry.org:10004 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 docker.io 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 ---> docker-login.sh ends [Pipeline] } 00:54:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:57 ========================================================= 00:54:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:54:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:57 + 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 . 00:54:57 Sending build context to Docker daemon 15.8MB 00:54:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:54:57 Step 2/12 : FROM ${BASE} AS builder 00:54:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:57 2408cc74d12b: Pulling fs layer 00:54:57 ea60b727a1ce: Pulling fs layer 00:54:57 30c4a7721957: Pulling fs layer 00:54:57 370296b7ddb6: Pulling fs layer 00:54:57 7c6cee850709: Pulling fs layer 00:54:57 370296b7ddb6: Waiting 00:54:57 39a5fcdaea64: Pulling fs layer 00:54:57 d94ebbe4e438: Pulling fs layer 00:54:57 7c6cee850709: Waiting 00:54:57 bcfd1f05c69d: Pulling fs layer 00:54:57 59ccb84bbe0f: Pulling fs layer 00:54:57 59ccb84bbe0f: Waiting 00:54:57 bcfd1f05c69d: Waiting 00:54:57 30c4a7721957: Verifying Checksum 00:54:57 30c4a7721957: Download complete 00:54:57 ea60b727a1ce: Download complete 00:54:57 7c6cee850709: Verifying Checksum 00:54:57 7c6cee850709: Download complete 00:54:57 39a5fcdaea64: Download complete 00:54:57 2408cc74d12b: Verifying Checksum 00:54:57 2408cc74d12b: Download complete 00:54:57 d94ebbe4e438: Verifying Checksum 00:54:57 d94ebbe4e438: Download complete 00:54:57 2408cc74d12b: Pull complete 00:54:58 ea60b727a1ce: Pull complete 00:54:58 30c4a7721957: Pull complete 00:54:58 59ccb84bbe0f: Verifying Checksum 00:54:58 59ccb84bbe0f: Download complete 00:54:58 bcfd1f05c69d: Verifying Checksum 00:54:58 bcfd1f05c69d: Download complete 00:54:58 370296b7ddb6: Verifying Checksum 00:54:58 370296b7ddb6: Download complete 00:55:02 370296b7ddb6: Pull complete 00:55:02 7c6cee850709: Pull complete 00:55:02 39a5fcdaea64: Pull complete 00:55:02 d94ebbe4e438: Pull complete 00:55:05 bcfd1f05c69d: Pull complete 00:55:05 59ccb84bbe0f: Pull complete 00:55:05 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:55:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:55:05 ---> a4fb48ad2a94 00:55:05 Step 3/12 : ARG MAKE="make build" 00:55:10 ---> Running in c44ff6a069d5 00:55:10 Removing intermediate container c44ff6a069d5 00:55:10 ---> 149e8faa6b3b 00:55:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:55:10 ---> Running in 2962ea8d6992 00:55:10 Removing intermediate container 2962ea8d6992 00:55:10 ---> 132876422e86 00:55:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:55:10 ---> Running in 754854467de1 00:55:10 Removing intermediate container 754854467de1 00:55:10 ---> 830dd19210e8 00:55:10 Step 6/12 : WORKDIR /device-gpio 00:55:10 ---> Running in 0eb7a4c272e9 00:55:10 Removing intermediate container 0eb7a4c272e9 00:55:10 ---> 26195e05827e 00:55:10 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:55:10 ---> Running in 6376e37caf8c 00:55:10 Still waiting to schedule task 00:55:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21614’ 00:55:11 Removing intermediate container 6376e37caf8c 00:55:11 ---> 51b2293c5a9a 00:55:11 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:11 ---> Running in f68c96ae432d 00:55:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:55:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:55:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:55:13 (2/4) Installing libedit (20210910.3.1-r0) 00:55:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:55:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:55:13 Executing busybox-1.35.0-r13.trigger 00:55:13 OK: 216 MiB in 55 packages 00:55:13 Removing intermediate container f68c96ae432d 00:55:13 ---> f6cd7d55f2fc 00:55:13 Step 9/12 : COPY go.mod vendor* ./ 00:55:13 ---> 9430bb6676e2 00:55:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:14 ---> Running in 98f8272dd7cb 00:55:40 Removing intermediate container 98f8272dd7cb 00:55:40 ---> 9f7db7102bbe 00:55:40 Step 11/12 : COPY . . 00:55:40 ---> 2759e839937b 00:55:40 Step 12/12 : RUN ${MAKE} 00:55:40 ---> Running in 86557224a7af 00:55:40 noop 00:55:40 Removing intermediate container 86557224a7af 00:55:40 ---> f83e96d07ef9 00:55:40 Successfully built f83e96d07ef9 00:55:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:41 + docker inspect -f . ci-base-image-x86_64 00:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:41 prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container 00:55:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:55:41 $ docker top 47bd3ef6e4e283914bac82264bd7a674576bfebf6950a4484ad61de7aa67e15f -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:42 + go version 00:55:42 go version go1.18.3 linux/amd64 [Pipeline] } 00:55:42 $ docker stop --time=1 47bd3ef6e4e283914bac82264bd7a674576bfebf6950a4484ad61de7aa67e15f 00:55:43 $ docker rm -f 47bd3ef6e4e283914bac82264bd7a674576bfebf6950a4484ad61de7aa67e15f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:44 + docker inspect -f . ci-base-image-x86_64 00:55:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:44 prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container 00:55:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:55:44 $ docker top 54c281f11ea98f1b1a12723b01a8f5fa93422e9212f8b72b9fa89fea52500b27 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:45 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-51 [Pipeline] fileExists [Pipeline] sh 00:55:45 + make test 00:55:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:55:45 ? github.com/edgexfoundry/device-gpio [no test files] 00:55:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:55:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:56:01 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." 00:56:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:56:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:04 ./bin/test-attribution-txt.sh 00:56:04 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 00:56:04 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 00:56:04 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 00:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:04 $ docker stop --time=1 54c281f11ea98f1b1a12723b01a8f5fa93422e9212f8b72b9fa89fea52500b27 00:56:06 $ docker rm -f 54c281f11ea98f1b1a12723b01a8f5fa93422e9212f8b72b9fa89fea52500b27 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:08 + ls -al . 00:56:08 total 160 00:56:08 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 00:55 . 00:56:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:54 .. 00:56:08 -rw-rw-r-- 1 jenkins jenkins 120 Aug 1 00:54 .dockerignore 00:56:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 00:55 .git 00:56:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:54 .github 00:56:08 -rw-rw-r-- 1 jenkins jenkins 343 Aug 1 00:54 .gitignore 00:56:08 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 00:54 .golangci.yml 00:56:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 00:54 .semver 00:56:08 -rw-rw-r-- 1 jenkins jenkins 9182 Aug 1 00:54 Attribution.txt 00:56:08 -rw-rw-r-- 1 jenkins jenkins 3081 Aug 1 00:54 CHANGELOG.md 00:56:08 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 1 00:54 Dockerfile 00:56:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 00:54 GOVERNANCE.md 00:56:08 -rw-rw-r-- 1 jenkins jenkins 657 Aug 1 00:54 Jenkinsfile 00:56:08 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 00:54 LICENSE 00:56:08 -rw-rw-r-- 1 jenkins jenkins 1876 Aug 1 00:54 Makefile 00:56:08 -rw-rw-r-- 1 jenkins jenkins 617 Aug 1 00:54 OWNERS.md 00:56:08 -rw-rw-r-- 1 jenkins jenkins 11178 Aug 1 00:54 README.md 00:56:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 00:54 VERSION 00:56:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 00:54 bin 00:56:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:54 cmd 00:56:08 -rw-r--r-- 1 jenkins jenkins 10 Aug 1 00:55 coverage.out 00:56:08 -rw-rw-r-- 1 jenkins jenkins 3425 Aug 1 00:54 go.mod 00:56:08 -rw-rw-r-- 1 jenkins jenkins 36813 Aug 1 00:54 go.sum 00:56:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:54 internal 00:56:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:54 snap 00:56:08 -rw-rw-r-- 1 jenkins jenkins 209 Aug 1 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:08 + 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=5ade6ddea8bc03249205d62296d8625b01661326 --label arch=amd64 --label version=0.0.0 . 00:56:08 Sending build context to Docker daemon 15.8MB 00:56:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:56:08 Step 2/26 : FROM ${BASE} AS builder 00:56:08 ---> f83e96d07ef9 00:56:08 Step 3/26 : ARG MAKE="make build" 00:56:08 ---> Running in 630c7bf93f15 00:56:08 Removing intermediate container 630c7bf93f15 00:56:08 ---> 72823639bf87 00:56:08 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:56:08 ---> Running in 567a0b786a7a 00:56:08 Removing intermediate container 567a0b786a7a 00:56:08 ---> 8592ddf01bd6 00:56:08 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:56:08 ---> Running in 20be298b1d2b 00:56:09 Removing intermediate container 20be298b1d2b 00:56:09 ---> 0e9e210eae33 00:56:09 Step 6/26 : WORKDIR /device-gpio 00:56:09 ---> Running in 0a0baf90d4a4 00:56:09 Removing intermediate container 0a0baf90d4a4 00:56:09 ---> f110465d653b 00:56:09 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:56:09 ---> Running in c7452929d7ad 00:56:09 Removing intermediate container c7452929d7ad 00:56:09 ---> e3cdbe45f7e1 00:56:09 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:56:09 ---> Running in 1a1b24b6c6ae 00:56:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:56:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:56:11 OK: 216 MiB in 55 packages 00:56:11 Removing intermediate container 1a1b24b6c6ae 00:56:11 ---> 7f0100456178 00:56:11 Step 9/26 : COPY go.mod vendor* ./ 00:56:11 ---> f2ab7c1bab81 00:56:11 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:11 ---> Running in 3948826fb8fe 00:56:12 Removing intermediate container 3948826fb8fe 00:56:12 ---> edefd26c52e1 00:56:12 Step 11/26 : COPY . . 00:56:12 ---> 5e0dbfa5a86e 00:56:12 Step 12/26 : RUN ${MAKE} 00:56:12 ---> Running in 046d039d8965 00:56:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 00:56:34 Removing intermediate container 046d039d8965 00:56:34 ---> 05f8bc7de0da 00:56:34 Step 13/26 : FROM alpine:3.16 00:56:34 3.16: Pulling from library/alpine 00:56:34 530afca65e2e: Pulling fs layer 00:56:34 530afca65e2e: Verifying Checksum 00:56:34 530afca65e2e: Download complete 00:56:34 530afca65e2e: Pull complete 00:56:34 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 00:56:34 Status: Downloaded newer image for alpine:3.16 00:56:34 ---> d7d3d98c851f 00:56:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:56:34 ---> Running in 6881649eb79b 00:56:34 Removing intermediate container 6881649eb79b 00:56:34 ---> e54213e3f71f 00:56:34 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:56:34 ---> Running in a255a35b83c5 00:56:34 Removing intermediate container a255a35b83c5 00:56:34 ---> d7e4369ac194 00:56:34 Step 16/26 : RUN apk add --update --no-cache zeromq 00:56:34 ---> Running in 95b6b984ced8 00:56:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:56:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:56:35 (1/5) Installing libgcc (11.2.1_git20220219-r2) 00:56:35 (2/5) Installing libsodium (1.0.18-r0) 00:56:35 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 00:56:35 (4/5) Installing libzmq (4.3.4-r0) 00:56:36 (5/5) Installing zeromq (4.3.4-r0) 00:56:36 Executing busybox-1.35.0-r15.trigger 00:56:36 OK: 8 MiB in 19 packages 00:56:36 Removing intermediate container 95b6b984ced8 00:56:36 ---> 0456c9577763 00:56:36 Step 17/26 : WORKDIR / 00:56:36 ---> Running in 9c49088e8212 00:56:36 Removing intermediate container 9c49088e8212 00:56:36 ---> d795f2bf4e1b 00:56:36 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 00:56:36 ---> 95862d00eeb0 00:56:36 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 00:56:36 ---> 2e41f972262d 00:56:36 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 00:56:37 ---> e9edd2c138c3 00:56:37 Step 21/26 : EXPOSE 59910 00:56:37 ---> Running in 4d18f46abca6 00:56:37 Removing intermediate container 4d18f46abca6 00:56:37 ---> 00fdb7266516 00:56:37 Step 22/26 : ENTRYPOINT ["/device-gpio"] 00:56:37 ---> Running in 19559ce64d72 00:56:37 Removing intermediate container 19559ce64d72 00:56:37 ---> 4486834e1732 00:56:37 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:56:37 ---> Running in e84cd02467a6 00:56:37 Removing intermediate container e84cd02467a6 00:56:37 ---> a3e4ff3486e5 00:56:37 Step 24/26 : LABEL arch=amd64 00:56:37 ---> Running in 1056c902af0f 00:56:38 Removing intermediate container 1056c902af0f 00:56:38 ---> 1264cc7a3c4b 00:56:38 Step 25/26 : LABEL git_sha=5ade6ddea8bc03249205d62296d8625b01661326 00:56:38 ---> Running in 240b300bfff8 00:56:38 Removing intermediate container 240b300bfff8 00:56:38 ---> c9bbae89070c 00:56:38 Step 26/26 : LABEL version=0.0.0 00:56:38 ---> Running in d2004c727ca1 00:56:38 Removing intermediate container d2004c727ca1 00:56:38 ---> 24f9ad824fc0 00:56:38 [Warning] One or more build-args [ARCH] were not consumed 00:56:38 Successfully built 24f9ad824fc0 00:56:38 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:38 00:56:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:39 latest: Pulling from edgex-lftools-log-publisher 00:56:39 5eb5b503b376: Pulling fs layer 00:56:39 5c69ac0246d0: Pulling fs layer 00:56:39 ec43610c2a17: Pulling fs layer 00:56:39 3a2ae6a8a46f: Pulling fs layer 00:56:39 33b1e0a273af: Pulling fs layer 00:56:39 5d3b04190fa2: Pulling fs layer 00:56:39 2f39f015ded8: Pulling fs layer 00:56:39 33b1e0a273af: Waiting 00:56:39 2f39f015ded8: Waiting 00:56:39 3a2ae6a8a46f: Waiting 00:56:39 5d3b04190fa2: Waiting 00:56:39 5c69ac0246d0: Verifying Checksum 00:56:39 5c69ac0246d0: Download complete 00:56:39 3a2ae6a8a46f: Verifying Checksum 00:56:39 3a2ae6a8a46f: Download complete 00:56:39 33b1e0a273af: Verifying Checksum 00:56:39 33b1e0a273af: Download complete 00:56:39 5d3b04190fa2: Verifying Checksum 00:56:39 5d3b04190fa2: Download complete 00:56:39 ec43610c2a17: Verifying Checksum 00:56:39 ec43610c2a17: Download complete 00:56:39 5eb5b503b376: Verifying Checksum 00:56:39 5eb5b503b376: Download complete 00:56:40 2f39f015ded8: Download complete 00:56:40 5eb5b503b376: Pull complete 00:56:40 5c69ac0246d0: Pull complete 00:56:41 ec43610c2a17: Pull complete 00:56:41 3a2ae6a8a46f: Pull complete 00:56:41 33b1e0a273af: Pull complete 00:56:41 5d3b04190fa2: Pull complete 00:56:45 2f39f015ded8: Pull complete 00:56:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:56:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:46 prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container 00:56:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:48 $ docker top eed6bb8f9cab5372bd99e684bcb6196e8b037f1ee1043a2a4db09af3758b1911 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:49 ---> job-cost.sh 00:56:49 lf-activate-venv: SKIPPING 00:56:49 INFO: No Stack... 00:56:49 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:49 INFO: Archiving Costs [Pipeline] sh 00:56:50 + cat /w/workspace/edgexfoundry_device-gpio_PR-51/archives/cost.csv 00:56:50 + cut -d, -f6 [Pipeline] lock 00:56:50 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] 00:56:50 Resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] did not exist. Created. 00:56:50 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:50 + echo total: 0.2199999988079071 [Pipeline] stash 00:56:50 Stashed 1 file(s) [Pipeline] } 00:56:50 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:50 $ docker stop --time=1 eed6bb8f9cab5372bd99e684bcb6196e8b037f1ee1043a2a4db09af3758b1911 00:56:51 $ docker rm -f eed6bb8f9cab5372bd99e684bcb6196e8b037f1ee1043a2a4db09af3758b1911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21616 in /w/workspace/edgexfoundry_device-gpio_PR-51 [Pipeline] { [Pipeline] ws 00:58:51 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:58:51 The recommended git tool is: git 00:58:58 using credential edgex-jenkins-ssh 00:58:58 Cloning the remote Git repository 00:58:58 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:58:58 > git init /w/workspace/device-gpio/1 # timeout=10 00:58:58 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:58:58 > git --version # timeout=10 00:58:58 > git --version # 'git version 2.25.1' 00:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:59:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:59:00 Merging remotes/origin/main commit e9c2a01dfe972ee330369f951ac2332b6543d925 into PR head commit 5ade6ddea8bc03249205d62296d8625b01661326 00:59:00 Merge succeeded, producing 5ade6ddea8bc03249205d62296d8625b01661326 00:59:00 Checking out Revision 5ade6ddea8bc03249205d62296d8625b01661326 (PR-51) 00:59:00 > git config core.sparsecheckout # timeout=10 00:59:00 > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 00:59:00 > git remote # timeout=10 00:59:00 > git config --get remote.origin.url # timeout=10 00:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:00 > git merge e9c2a01dfe972ee330369f951ac2332b6543d925 # timeout=10 00:59:00 > git rev-parse HEAD^{commit} # timeout=10 00:59:00 > git config core.sparsecheckout # timeout=10 00:59:00 > git checkout -f 5ade6ddea8bc03249205d62296d8625b01661326 # timeout=10 00:59:05 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 00:59:05 > git --version # timeout=10 00:59:05 > git --version # 'git version 2.25.1' 00:59:05 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:06 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:06 Dload Upload Total Spent Left Speed 00:59:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88719 0 --:--:-- --:--:-- --:--:-- 89362 [Pipeline] sh 00:59:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:59:07 + sudo tee /etc/docker/daemon.new 00:59:07 { 00:59:07 "registry-mirrors": [ 00:59:07 "https://nexus3.edgexfoundry.org:10001" 00:59:07 ], 00:59:07 "bip": "10.250.0.254/24", 00:59:07 "hosts": [ 00:59:07 "tcp://0.0.0.0:5555", 00:59:07 "unix:///var/run/docker.sock" 00:59:07 ], 00:59:07 "mtu": 1458, 00:59:07 "selinux-enabled": true, 00:59:07 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:07 } [Pipeline] sh 00:59:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:26 provisioning config files... 00:59:26 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1281302935134013479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:27 ---> docker-login.sh 00:59:27 nexus3.edgexfoundry.org:10001 00:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:28 Configure a credential helper to remove this warning. See 00:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:28 00:59:28 Login Succeeded 00:59:28 nexus3.edgexfoundry.org:10002 00:59:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:28 Configure a credential helper to remove this warning. See 00:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:28 00:59:28 Login Succeeded 00:59:28 nexus3.edgexfoundry.org:10003 00:59:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:28 Configure a credential helper to remove this warning. See 00:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:28 00:59:28 Login Succeeded 00:59:28 nexus3.edgexfoundry.org:10004 00:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:29 Configure a credential helper to remove this warning. See 00:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:29 00:59:29 Login Succeeded 00:59:29 docker.io 00:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:30 Configure a credential helper to remove this warning. See 00:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:30 00:59:30 Login Succeeded 00:59:30 ---> docker-login.sh ends [Pipeline] } 00:59:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:30 ========================================================= 00:59:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:59:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:31 + 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 . 00:59:31 Sending build context to Docker daemon 7.966MB 00:59:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:59:31 Step 2/12 : FROM ${BASE} AS builder 00:59:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:31 b3c136eddcbf: Pulling fs layer 00:59:31 c0a3192eca97: Pulling fs layer 00:59:31 a050256f5b6f: Pulling fs layer 00:59:31 656be50a0ddc: Pulling fs layer 00:59:31 2bbca73fdf42: Pulling fs layer 00:59:31 46d945488cbd: Pulling fs layer 00:59:31 8a5474983e97: Pulling fs layer 00:59:31 329c88fbcd65: Pulling fs layer 00:59:31 46d945488cbd: Waiting 00:59:31 8a5474983e97: Waiting 00:59:31 329c88fbcd65: Waiting 00:59:31 656be50a0ddc: Waiting 00:59:31 2bbca73fdf42: Waiting 00:59:31 a050256f5b6f: Verifying Checksum 00:59:31 a050256f5b6f: Download complete 00:59:31 c0a3192eca97: Verifying Checksum 00:59:31 c0a3192eca97: Download complete 00:59:31 2bbca73fdf42: Verifying Checksum 00:59:31 2bbca73fdf42: Download complete 00:59:31 46d945488cbd: Verifying Checksum 00:59:31 46d945488cbd: Download complete 00:59:31 b3c136eddcbf: Verifying Checksum 00:59:31 b3c136eddcbf: Download complete 00:59:32 b3c136eddcbf: Pull complete 00:59:33 329c88fbcd65: Verifying Checksum 00:59:33 329c88fbcd65: Download complete 00:59:33 c0a3192eca97: Pull complete 00:59:33 a050256f5b6f: Pull complete 00:59:34 8a5474983e97: Verifying Checksum 00:59:34 8a5474983e97: Download complete 00:59:34 656be50a0ddc: Verifying Checksum 00:59:34 656be50a0ddc: Download complete 00:59:47 656be50a0ddc: Pull complete 00:59:47 2bbca73fdf42: Pull complete 00:59:47 46d945488cbd: Pull complete 00:59:54 8a5474983e97: Pull complete 00:59:56 329c88fbcd65: Pull complete 00:59:56 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:59:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:59:56 ---> ff4287adb874 00:59:56 Step 3/12 : ARG MAKE="make build" 00:59:58 ---> Running in 5f162442745c 00:59:59 Removing intermediate container 5f162442745c 00:59:59 ---> 295861c0a8f7 00:59:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:59:59 ---> Running in c3ddd71b7e1c 00:59:59 Removing intermediate container c3ddd71b7e1c 00:59:59 ---> d26d765f0a16 00:59:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:00:00 ---> Running in ac5b1a37dca9 01:00:00 Removing intermediate container ac5b1a37dca9 01:00:00 ---> 5106a61ee4ba 01:00:00 Step 6/12 : WORKDIR /device-gpio 01:00:00 ---> Running in e7e8ed44978b 01:00:00 Removing intermediate container e7e8ed44978b 01:00:00 ---> c92b66753107 01:00:00 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:00 ---> Running in 008719303b9c 01:00:02 Removing intermediate container 008719303b9c 01:00:02 ---> a667da3af727 01:00:02 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:02 ---> Running in 1c29de06a370 01:00:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:00:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:00:05 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:00:05 (2/4) Installing libedit (20210910.3.1-r0) 01:00:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:00:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:00:05 Executing busybox-1.35.0-r13.trigger 01:00:05 OK: 226 MiB in 55 packages 01:00:06 Removing intermediate container 1c29de06a370 01:00:06 ---> 50b7548c8002 01:00:06 Step 9/12 : COPY go.mod vendor* ./ 01:00:07 ---> 7c595426f8e2 01:00:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:07 ---> Running in 6740c6286667 01:01:03 Removing intermediate container 6740c6286667 01:01:03 ---> 0fc595b1e933 01:01:03 Step 11/12 : COPY . . 01:01:03 ---> 32f107e17367 01:01:03 Step 12/12 : RUN ${MAKE} 01:01:03 ---> Running in d2da71238918 01:01:03 noop 01:01:03 Removing intermediate container d2da71238918 01:01:03 ---> 542130192ca8 01:01:03 Successfully built 542130192ca8 01:01:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:04 + docker inspect -f . ci-base-image-arm64 01:01:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:04 prd-ubuntu20.04-docker-arm64-4c-16g-21616 does not seem to be running inside a container 01:01:04 $ 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:01:06 $ docker top b1053053e21cf40913fc21425e6a8ddac961b5ff794f7bd59146576f8cb30f1e -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:07 + go version 01:01:07 go version go1.18.3 linux/arm64 [Pipeline] } 01:01:07 $ docker stop --time=1 b1053053e21cf40913fc21425e6a8ddac961b5ff794f7bd59146576f8cb30f1e 01:01:08 $ docker rm -f b1053053e21cf40913fc21425e6a8ddac961b5ff794f7bd59146576f8cb30f1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:09 + docker inspect -f . ci-base-image-arm64 01:01:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:10 prd-ubuntu20.04-docker-arm64-4c-16g-21616 does not seem to be running inside a container 01:01:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:01:11 $ docker top 492fbc0760f2e5f5e4a99270ac970a28266c50ef6466edd7dd2d27053fcaf8ea -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:12 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:01:13 + make test 01:01:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:01:15 ? github.com/edgexfoundry/device-gpio [no test files] 01:02:36 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:02:36 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:02:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:02:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:02:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:02:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:02:52 ./bin/test-attribution-txt.sh 01:02:52 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:02:52 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:02:52 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:02:52 $ docker stop --time=1 492fbc0760f2e5f5e4a99270ac970a28266c50ef6466edd7dd2d27053fcaf8ea 01:02:53 $ docker rm -f 492fbc0760f2e5f5e4a99270ac970a28266c50ef6466edd7dd2d27053fcaf8ea [Pipeline] // withDockerContainer [Pipeline] sh 01:02:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:55 Warning: overwriting stash ‘coverage-report’ 01:02:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:56 + ls -al . 01:02:56 total 156 01:02:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:01 . 01:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:58 .. 01:02:56 -rw-rw-r-- 1 jenkins jenkins 120 Aug 1 00:59 .dockerignore 01:02:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 00:59 .git 01:02:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:59 .github 01:02:56 -rw-rw-r-- 1 jenkins jenkins 343 Aug 1 00:59 .gitignore 01:02:56 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 00:59 .golangci.yml 01:02:56 -rw-rw-r-- 1 jenkins jenkins 9182 Aug 1 00:59 Attribution.txt 01:02:56 -rw-rw-r-- 1 jenkins jenkins 3081 Aug 1 00:59 CHANGELOG.md 01:02:56 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 1 00:59 Dockerfile 01:02:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 00:59 GOVERNANCE.md 01:02:56 -rw-rw-r-- 1 jenkins jenkins 657 Aug 1 00:59 Jenkinsfile 01:02:56 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 00:59 LICENSE 01:02:56 -rw-rw-r-- 1 jenkins jenkins 1876 Aug 1 00:59 Makefile 01:02:56 -rw-rw-r-- 1 jenkins jenkins 617 Aug 1 00:59 OWNERS.md 01:02:56 -rw-rw-r-- 1 jenkins jenkins 11178 Aug 1 00:59 README.md 01:02:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 00:54 VERSION 01:02:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 00:59 bin 01:02:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:59 cmd 01:02:56 -rw-r--r-- 1 jenkins jenkins 10 Aug 1 01:01 coverage.out 01:02:56 -rw-rw-r-- 1 jenkins jenkins 3425 Aug 1 00:59 go.mod 01:02:56 -rw-rw-r-- 1 jenkins jenkins 36813 Aug 1 00:59 go.sum 01:02:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 00:59 internal 01:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 00:59 snap 01:02:56 -rw-rw-r-- 1 jenkins jenkins 209 Aug 1 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:56 + 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=5ade6ddea8bc03249205d62296d8625b01661326 --label arch=arm64 --label version=0.0.0 . 01:02:57 Sending build context to Docker daemon 7.967MB 01:02:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:02:57 Step 2/26 : FROM ${BASE} AS builder 01:02:57 ---> 542130192ca8 01:02:57 Step 3/26 : ARG MAKE="make build" 01:02:57 ---> Running in 1292b3559211 01:02:57 Removing intermediate container 1292b3559211 01:02:57 ---> 36fea1c9be7b 01:02:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:02:58 ---> Running in ea4dd44e9e55 01:02:58 Removing intermediate container ea4dd44e9e55 01:02:58 ---> 24f7ec27a874 01:02:58 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:02:58 ---> Running in 5df8b190187c 01:02:58 Removing intermediate container 5df8b190187c 01:02:58 ---> fdaa77b86908 01:02:58 Step 6/26 : WORKDIR /device-gpio 01:02:58 ---> Running in 4238e8667fdb 01:02:59 Removing intermediate container 4238e8667fdb 01:02:59 ---> 7019b9fabcd3 01:02:59 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:02:59 ---> Running in e59f5922f211 01:03:00 Removing intermediate container e59f5922f211 01:03:00 ---> 3b2d43a0216b 01:03:00 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:03:00 ---> Running in 12041ecca02b 01:03:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:03:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:03:03 OK: 226 MiB in 55 packages 01:03:04 Removing intermediate container 12041ecca02b 01:03:04 ---> c722f1e5eadd 01:03:04 Step 9/26 : COPY go.mod vendor* ./ 01:03:05 ---> 8b86f697df16 01:03:05 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:05 ---> Running in 595d9ea2cd2c 01:03:07 Removing intermediate container 595d9ea2cd2c 01:03:07 ---> 67d50762556d 01:03:07 Step 11/26 : COPY . . 01:03:08 ---> c5450355f513 01:03:08 Step 12/26 : RUN ${MAKE} 01:03:08 ---> Running in b2b1fd563a24 01:03:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:05:31 Removing intermediate container b2b1fd563a24 01:05:31 ---> cc6c4eb83de2 01:05:31 Step 13/26 : FROM alpine:3.16 01:05:31 3.16: Pulling from library/alpine 01:05:31 f97344484467: Pulling fs layer 01:05:31 f97344484467: Verifying Checksum 01:05:31 f97344484467: Download complete 01:05:31 f97344484467: Pull complete 01:05:31 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 01:05:31 Status: Downloaded newer image for alpine:3.16 01:05:31 ---> 3d81c46cd875 01:05:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:05:31 ---> Running in 7fc56d950860 01:05:31 Removing intermediate container 7fc56d950860 01:05:31 ---> 0bfe11f9dd45 01:05:31 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:05:31 ---> Running in 4438aa1dfe1e 01:05:31 Removing intermediate container 4438aa1dfe1e 01:05:31 ---> 49c2ea49bc86 01:05:31 Step 16/26 : RUN apk add --update --no-cache zeromq 01:05:31 ---> Running in b4431c7e1767 01:05:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:05:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:05:31 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:05:31 (2/5) Installing libsodium (1.0.18-r0) 01:05:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:05:31 (4/5) Installing libzmq (4.3.4-r0) 01:05:31 (5/5) Installing zeromq (4.3.4-r0) 01:05:31 Executing busybox-1.35.0-r15.trigger 01:05:31 OK: 8 MiB in 19 packages 01:05:31 Removing intermediate container b4431c7e1767 01:05:31 ---> 2fb9b68ad3a3 01:05:31 Step 17/26 : WORKDIR / 01:05:31 ---> Running in f2226be6a517 01:05:31 Removing intermediate container f2226be6a517 01:05:31 ---> 258832e1d40e 01:05:31 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:05:31 ---> 27686928874d 01:05:31 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:05:31 ---> 58bf470bad97 01:05:31 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:05:31 ---> 5728f681d317 01:05:31 Step 21/26 : EXPOSE 59910 01:05:31 ---> Running in 522cb439e702 01:05:31 Removing intermediate container 522cb439e702 01:05:31 ---> db6e11bd16f0 01:05:31 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:05:31 ---> Running in 39533f110774 01:05:31 Removing intermediate container 39533f110774 01:05:31 ---> c22cafe7fa77 01:05:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:05:31 ---> Running in 006d7350c3ed 01:05:31 Removing intermediate container 006d7350c3ed 01:05:31 ---> 9fc9c83527fe 01:05:31 Step 24/26 : LABEL arch=arm64 01:05:31 ---> Running in ac14ee76e78c 01:05:31 Removing intermediate container ac14ee76e78c 01:05:31 ---> 7dd11b6a21d5 01:05:31 Step 25/26 : LABEL git_sha=5ade6ddea8bc03249205d62296d8625b01661326 01:05:31 ---> Running in 7f07173eb123 01:05:32 Removing intermediate container 7f07173eb123 01:05:32 ---> d5ab810e316c 01:05:32 Step 26/26 : LABEL version=0.0.0 01:05:32 ---> Running in 29029b66fb62 01:05:32 Removing intermediate container 29029b66fb62 01:05:32 ---> 82c5cafa2031 01:05:32 [Warning] One or more build-args [ARCH] were not consumed 01:05:32 Successfully built 82c5cafa2031 01:05:32 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:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:33 01:05:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:34 arm64: Pulling from edgex-lftools-log-publisher 01:05:34 8998bd30e6a1: Pulling fs layer 01:05:34 04944245beec: Pulling fs layer 01:05:34 699f458cf7ca: Pulling fs layer 01:05:34 765212b225bb: Pulling fs layer 01:05:34 f23df028b6ca: Pulling fs layer 01:05:34 d65c8cfc05b1: Pulling fs layer 01:05:34 2437ff75d9bd: Pulling fs layer 01:05:34 f23df028b6ca: Waiting 01:05:34 d65c8cfc05b1: Waiting 01:05:34 765212b225bb: Waiting 01:05:34 2437ff75d9bd: Waiting 01:05:34 04944245beec: Verifying Checksum 01:05:34 04944245beec: Download complete 01:05:34 765212b225bb: Verifying Checksum 01:05:34 765212b225bb: Download complete 01:05:34 f23df028b6ca: Verifying Checksum 01:05:34 f23df028b6ca: Download complete 01:05:34 d65c8cfc05b1: Verifying Checksum 01:05:34 d65c8cfc05b1: Download complete 01:05:34 699f458cf7ca: Verifying Checksum 01:05:34 699f458cf7ca: Download complete 01:05:34 8998bd30e6a1: Verifying Checksum 01:05:34 8998bd30e6a1: Download complete 01:05:37 2437ff75d9bd: Verifying Checksum 01:05:37 2437ff75d9bd: Download complete 01:05:39 8998bd30e6a1: Pull complete 01:05:39 04944245beec: Pull complete 01:05:40 699f458cf7ca: Pull complete 01:05:41 765212b225bb: Pull complete 01:05:41 f23df028b6ca: Pull complete 01:05:42 d65c8cfc05b1: Pull complete 01:05:57 2437ff75d9bd: Pull complete 01:05:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:57 prd-ubuntu20.04-docker-arm64-4c-16g-21616 does not seem to be running inside a container 01:05:57 $ 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:06:00 $ docker top 8cd87e1aff26a7e3ad32c0ea71acd539a7ddfb39f7f0930e4f2fa51d7d1cf7ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:01 ---> job-cost.sh 01:06:01 lf-activate-venv: SKIPPING 01:06:01 INFO: No Stack... 01:06:01 INFO: Retrieving Pricing Info for: v3-standard-4 01:06:02 INFO: Archiving Costs [Pipeline] sh 01:06:03 + + cat /w/workspace/device-gpio/1/archives/cost.csv 01:06:03 cut -d, -f6 [Pipeline] lock 01:06:03 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] 01:06:03 Resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] did not exist. Created. 01:06:03 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:04 /w/workspace/device-gpio/1@tmp/durable-ed3ea4ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:06:04 + echo total: 0.10999999940395355 [Pipeline] stash 01:06:04 Warning: overwriting stash ‘stack-cost’ 01:06:05 Stashed 1 file(s) [Pipeline] } 01:06:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:05 $ docker stop --time=1 8cd87e1aff26a7e3ad32c0ea71acd539a7ddfb39f7f0930e4f2fa51d7d1cf7ff 01:06:06 $ docker rm -f 8cd87e1aff26a7e3ad32c0ea71acd539a7ddfb39f7f0930e4f2fa51d7d1cf7ff [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:06:07 provisioning config files... 01:06:07 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config2408733389176361445tmp [Pipeline] { [Pipeline] sh 01:06:08 + set +x 01:06:08 + curl -s https://codecov.io/bash 01:06:08 + bash -s -- 01:06:08 01:06:08 _____ _ 01:06:08 / ____| | | 01:06:08 | | ___ __| | ___ ___ _____ __ 01:06:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:06:08 | |___| (_) | (_| | __/ (_| (_) \ V / 01:06:08 \_____\___/ \__,_|\___|\___\___/ \_/ 01:06:08 Bash-1.0.6 01:06:08 01:06:08 01:06:08 ==> git version 2.25.1 found 01:06:08 ==> 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:06:08 Release-Date: 2020-01-08 01:06:08 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:06:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:06:08 ==> Jenkins CI detected. 01:06:08 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-51 01:06:08 project root: . 01:06:08 --> token set from env 01:06:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:06:08 ==> Running gcov in . (disable via -X gcov) 01:06:08 ==> Python coveragepy not found 01:06:08 ==> Searching for coverage reports in: 01:06:08 + . 01:06:08 -> Found 1 reports 01:06:08 ==> Detecting git/mercurial file structure 01:06:08 ==> Reading reports 01:06:08 + ./coverage.out bytes=10 01:06:08 ==> Appending adjustments 01:06:08 https://docs.codecov.io/docs/fixing-reports 01:06:08 + Found adjustments 01:06:08 ==> Gzipping contents 01:06:08 4.0K /tmp/codecov.l4eIh5.gz 01:06:08 ==> Uploading reports 01:06:08 url: https://codecov.io 01:06:08 query: branch=PR-51&commit=5ade6ddea8bc03249205d62296d8625b01661326&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=51&job=&cmd_args= 01:06:08 -> Pinging Codecov 01:06:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-51&commit=5ade6ddea8bc03249205d62296d8625b01661326&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=51&job=&cmd_args= 01:06:08 -> Uploading to 01:06:08 https://storage.googleapis.com/codecov/v4/raw/2022-08-01/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5ade6ddea8bc03249205d62296d8625b01661326/bf4e07d1-0a4a-46b0-8ce6-22b0ef2d5bb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T010608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c3cbbfa9dc2796b8ceb96e045d61795834cecf2ccfe2ea84c0bea582803426e 01:06:08 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:08 Dload Upload Total Spent Left Speed 01:06:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3370 --:--:-- --:--:-- --:--:-- 3356 01:06:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5ade6ddea8bc03249205d62296d8625b01661326 [Pipeline] } 01:06:08 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:06:10 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-51/archives ] 01:06:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-51/archives 01:06:10 total 16 01:06:10 drwxr-xr-x 3 root root 4096 Aug 1 00:56 . 01:06:10 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 00:56 .. 01:06:10 drwxr-xr-x 2 root root 4096 Aug 1 00:56 cost 01:06:10 -rw-r--r-- 1 root root 82 Aug 1 00:56 cost.csv 01:06:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-51/archives 01:06:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-51/archives 01:06:10 total 16 01:06:10 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 00:56 . 01:06:10 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 00:56 .. 01:06:10 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 00:56 cost 01:06:10 -rw-r--r-- 1 jenkins jenkins 82 Aug 1 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:06:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:06:11 ---> package-listing.sh 01:06:11 ++ facter osfamily 01:06:11 ++ tr '[:upper:]' '[:lower:]' 01:06:12 + OS_FAMILY=debian 01:06:12 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-51 01:06:12 + START_PACKAGES=/tmp/packages_start.txt 01:06:12 + END_PACKAGES=/tmp/packages_end.txt 01:06:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:06:12 + PACKAGES=/tmp/packages_start.txt 01:06:12 + '[' /w/workspace/edgexfoundry_device-gpio_PR-51 ']' 01:06:12 + PACKAGES=/tmp/packages_end.txt 01:06:12 + case "${OS_FAMILY}" in 01:06:12 + dpkg -l 01:06:12 + grep '^ii' 01:06:12 + '[' -f /tmp/packages_start.txt ']' 01:06:12 + '[' -f /tmp/packages_end.txt ']' 01:06:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:06:12 + '[' /w/workspace/edgexfoundry_device-gpio_PR-51 ']' 01:06:12 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-51/archives/ 01:06:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-51/archives/ [Pipeline] echo 01:06:12 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-51/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:06:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:13 prd-ubuntu20.04-docker-8c-8g-21615 does not seem to be running inside a container 01:06:13 $ 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-51/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-51 -v /w/workspace/edgexfoundry_device-gpio_PR-51:/w/workspace/edgexfoundry_device-gpio_PR-51:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-51@tmp:/w/workspace/edgexfoundry_device-gpio_PR-51@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:06:13 $ docker top afb7594bc84e08455858faa99d6db0b8dd4646fc0d8abc4163226fa3a56a8d9b -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:13 + touch /tmp/pre-build-complete [Pipeline] sh 01:06:14 + mkdir -p /var/log/sysstat [Pipeline] sh 01:06:14 + ls /var/log/sa-host 01:06:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:14 provisioning config files... 01:06:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-51@tmp/config6797342173231440467tmp [Pipeline] { [Pipeline] echo 01:06:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:06:15 ---> create-netrc.sh [Pipeline] } 01:06:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:06:15 ---> python-tools-install.sh [Pipeline] echo 01:06:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:06:16 ---> sudo-logs.sh 01:06:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:06:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:06:16 ---> job-cost.sh 01:06:16 lf-activate-venv: SKIPPING 01:06:16 DEBUG: total: 0.2199999988079071 01:06:16 INFO: Retrieving Stack Cost... 01:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:17 INFO: Archiving Costs [Pipeline] echo 01:06:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:06:17 ---> logs-deploy.sh 01:06:17 lf-activate-venv: SKIPPING 01:06:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-51/1 01:06:17 INFO: archiving workspace using pattern(s): 01:06:18 Archives upload complete. 01:06:18 INFO: archiving logs to Nexus