Pull request #46 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from e50f88316becb3f1502114aa8fe4904766c59973+032ebe613dddcd1a3cb800540854a6d80744a216 (a79a6f2c255433ee76e980016971d560ca2665a3) 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-ssh16052915809807679503.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh8141797803829832184.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-46/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-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1490622865254546744.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-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5737815817430352950.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh1361825668649883173.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-46/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-46/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5806550084151875234.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19746 in /w/workspace/edgexfoundry_device-gpio_PR-46 [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-46 # 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 032ebe613dddcd1a3cb800540854a6d80744a216 into PR head commit e50f88316becb3f1502114aa8fe4904766c59973 Merge succeeded, producing e50f88316becb3f1502114aa8fe4904766c59973 Checking out Revision e50f88316becb3f1502114aa8fe4904766c59973 (PR-46) > 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/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e50f88316becb3f1502114aa8fe4904766c59973 # 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 032ebe613dddcd1a3cb800540854a6d80744a216 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e50f88316becb3f1502114aa8fe4904766c59973 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and optimize attributiion script" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:03:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:03:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:03:41 ========================================================= 19:03:41 EdgeX Global Pipelines Version Info 19:03:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:03:42 ------------------- 19:03:42 stable info: 19:03:42 ------------------- 19:03:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:03:42 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 19:03:42 Message: update stable to v1.0.237 19:03:42 ------------------- 19:03:42 experimental info: 19:03:42 ------------------- 19:03:42 Commited By: **** collab-it+edgex@linuxfoundation.org 19:03:42 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 19:03:42 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e50f88316becb3f1502114aa8fe4904766c59973 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e50f883 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:44 provisioning config files... 19:03:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-46@tmp/config4525692686634835568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:44 ---> docker-login.sh 19:03:44 nexus3.edgexfoundry.org:10001 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 nexus3.edgexfoundry.org:10002 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 nexus3.edgexfoundry.org:10003 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 nexus3.edgexfoundry.org:10004 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 docker.io 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:46 Configure a credential helper to remove this warning. See 19:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:46 19:03:46 Login Succeeded 19:03:46 ---> docker-login.sh ends [Pipeline] } 19:03:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:03:47 + git rev-list -1 --merges e50f88316becb3f1502114aa8fe4904766c59973~1..e50f88316becb3f1502114aa8fe4904766c59973 [Pipeline] echo 19:03:47 -----------> git rev-list -1 --merges e50f88316becb3f1502114aa8fe4904766c59973~1..e50f88316becb3f1502114aa8fe4904766c59973 e50f88316becb3f1502114aa8fe4904766c59973 [false] [Pipeline] sh 19:03:47 + git log --format=format:%s -1 e50f88316becb3f1502114aa8fe4904766c59973 [Pipeline] echo 19:03:47 ========================================================= 19:03:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:03:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:47 + git log --format=format:%s -1 e50f88316becb3f1502114aa8fe4904766c59973 [Pipeline] echo 19:03:47 [semverPrep] GIT_COMMIT: e50f88316becb3f1502114aa8fe4904766c59973, Commit Message: build: Upgrade to Go 1.18 and optimize attributiion script [Pipeline] echo 19:03:47 [semverPrep] This is not a build commit. [Pipeline] sh 19:03:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:03:48 + grep -v github /etc/ssh/ssh_known_hosts 19:03:48 + [ -e /tmp/ssh_known_hosts ] 19:03:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:03:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:03:48 + sudo tee -a /etc/ssh/ssh_known_hosts 19:03:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:48 19:03:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:49 0.1.4: Pulling from edgex-devops/py-git-semver 19:03:49 b85a868b505f: Pulling fs layer 19:03:49 e2be974225ed: Pulling fs layer 19:03:49 339a4e72a1f5: Pulling fs layer 19:03:49 988bab9f4d93: Pulling fs layer 19:03:49 1469e6f7b9e6: Pulling fs layer 19:03:49 eaf3925da568: Pulling fs layer 19:03:49 988bab9f4d93: Waiting 19:03:49 1469e6f7b9e6: Waiting 19:03:49 bab4dde63d76: Pulling fs layer 19:03:49 eaf3925da568: Waiting 19:03:49 bab4dde63d76: Waiting 19:03:49 bde34c3a00c8: Pulling fs layer 19:03:49 b352a97aabf1: Pulling fs layer 19:03:49 b352a97aabf1: Waiting 19:03:49 bde34c3a00c8: Waiting 19:03:49 4872d77fe225: Pulling fs layer 19:03:49 5851b861e8e6: Pulling fs layer 19:03:49 4872d77fe225: Waiting 19:03:49 5851b861e8e6: Waiting 19:03:49 e2be974225ed: Download complete 19:03:49 988bab9f4d93: Verifying Checksum 19:03:49 988bab9f4d93: Download complete 19:03:49 1469e6f7b9e6: Verifying Checksum 19:03:49 1469e6f7b9e6: Download complete 19:03:49 eaf3925da568: Verifying Checksum 19:03:49 eaf3925da568: Download complete 19:03:49 339a4e72a1f5: Verifying Checksum 19:03:49 339a4e72a1f5: Download complete 19:03:49 bde34c3a00c8: Download complete 19:03:49 b352a97aabf1: Verifying Checksum 19:03:49 b352a97aabf1: Download complete 19:03:49 4872d77fe225: Download complete 19:03:49 5851b861e8e6: Download complete 19:03:49 b85a868b505f: Verifying Checksum 19:03:49 b85a868b505f: Download complete 19:03:49 bab4dde63d76: Verifying Checksum 19:03:49 bab4dde63d76: Download complete 19:03:51 b85a868b505f: Pull complete 19:03:51 e2be974225ed: Pull complete 19:03:51 339a4e72a1f5: Pull complete 19:03:51 988bab9f4d93: Pull complete 19:03:51 1469e6f7b9e6: Pull complete 19:03:51 eaf3925da568: Pull complete 19:03:54 bab4dde63d76: Pull complete 19:03:54 bde34c3a00c8: Pull complete 19:03:54 b352a97aabf1: Pull complete 19:03:54 4872d77fe225: Pull complete 19:03:54 5851b861e8e6: Pull complete 19:03:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:54 prd-ubuntu20.04-docker-8c-8g-19746 does not seem to be running inside a container 19:03:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-46 -v /w/workspace/edgexfoundry_device-gpio_PR-46:/w/workspace/edgexfoundry_device-gpio_PR-46:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-46@tmp:/w/workspace/edgexfoundry_device-gpio_PR-46@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-devops/py-git-semver:0.1.4 cat 19:03:56 $ docker top d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d -eo pid,comm 19:03:56 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). 19:03:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:03:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:56 [ssh-agent] Looking for ssh-agent implementation... 19:03:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:56 $ docker exec d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d ssh-agent 19:03:56 SSH_AUTH_SOCK=/tmp/ssh-H5NYgEGijyyd/agent.32 19:03:56 SSH_AGENT_PID=38 19:03:56 Running ssh-add (command line suppressed) 19:03:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-46@tmp/private_key_7300281257662356668.key (/w/workspace/edgexfoundry_device-gpio_PR-46@tmp/private_key_7300281257662356668.key) 19:03:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:57 + git tag --points-at HEAD [Pipeline] } 19:03:57 $ docker exec --env ******** --env ******** d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d ssh-agent -k 19:03:57 unset SSH_AUTH_SOCK; 19:03:57 unset SSH_AGENT_PID; 19:03:57 echo Agent pid 38 killed; 19:03:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:03:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:57 [ssh-agent] Looking for ssh-agent implementation... 19:03:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:57 $ docker exec d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d ssh-agent 19:03:57 SSH_AUTH_SOCK=/tmp/ssh-8IkMQ6Q1uTo7/agent.71 19:03:57 SSH_AGENT_PID=77 19:03:57 Running ssh-add (command line suppressed) 19:03:57 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-46@tmp/private_key_2864139239150384165.key (/w/workspace/edgexfoundry_device-gpio_PR-46@tmp/private_key_2864139239150384165.key) 19:03:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:58 + git semver init 19:03:58 2022-07-12 19:03:58,427 [run_init] DEBUG init version:0.0.0 force:False 19:03:58 2022-07-12 19:03:58,428 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-46/.semver 19:03:58 2022-07-12 19:03:58,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-46/.semver 19:03:58 2022-07-12 19:03:58,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-46/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-46, universal_newlines=False, shell=None, istream=None) 19:03:59 2022-07-12 19:03:59,253 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-46/.git/info/exclude 19:03:59 2022-07-12 19:03:59,253 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-46/.semver/PR-46 with force:False 19:03:59 2022-07-12 19:03:59,254 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-46/.semver/PR-46 19:03:59 2022-07-12 19:03:59,259 [execute] INFO git cat-file --batch-check 19:03:59 2022-07-12 19:03:59,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-46/.semver, universal_newlines=False, shell=None, istream=) 19:03:59 2022-07-12 19:03:59,266 [execute] INFO git cat-file --batch 19:03:59 2022-07-12 19:03:59,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-46/.semver, universal_newlines=False, shell=None, istream=) 19:03:59 2022-07-12 19:03:59,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-46/.semver/PR-46 19:03:59 0.0.0 [Pipeline] } 19:03:59 $ docker exec --env ******** --env ******** d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d ssh-agent -k 19:03:59 unset SSH_AUTH_SOCK; 19:03:59 unset SSH_AGENT_PID; 19:03:59 echo Agent pid 77 killed; 19:03:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:03:59 + git semver [Pipeline] } 19:04:00 $ docker stop --time=1 d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d 19:04:01 $ docker rm -f d33d2538789a83fd5b7c44a6cd5fb35dce2f688efe4c4ad8b6c7307768507e2d [Pipeline] // withDockerContainer [Pipeline] sh 19:04:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:04:02 Stashed 1 file(s) [Pipeline] echo 19:04:02 [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 19:04:02 provisioning config files... 19:04:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-46@tmp/config7325452839294209582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:03 ---> docker-login.sh 19:04:03 nexus3.edgexfoundry.org:10001 19:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:03 Configure a credential helper to remove this warning. See 19:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:03 19:04:03 Login Succeeded 19:04:03 nexus3.edgexfoundry.org:10002 19:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:03 Configure a credential helper to remove this warning. See 19:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:03 19:04:03 Login Succeeded 19:04:03 nexus3.edgexfoundry.org:10003 19:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:03 Configure a credential helper to remove this warning. See 19:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:03 19:04:03 Login Succeeded 19:04:03 nexus3.edgexfoundry.org:10004 19:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:03 Configure a credential helper to remove this warning. See 19:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:03 19:04:03 Login Succeeded 19:04:03 docker.io 19:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:04 Configure a credential helper to remove this warning. See 19:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:04 19:04:04 Login Succeeded 19:04:04 ---> docker-login.sh ends [Pipeline] } 19:04:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:04 ========================================================= 19:04:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:04:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:04 + 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 . 19:04:04 Sending build context to Docker daemon 15.79MB 19:04:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:04:04 Step 2/12 : FROM ${BASE} AS builder 19:04:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:04:05 2408cc74d12b: Pulling fs layer 19:04:05 ea60b727a1ce: Pulling fs layer 19:04:05 30c4a7721957: Pulling fs layer 19:04:05 370296b7ddb6: Pulling fs layer 19:04:05 7c6cee850709: Pulling fs layer 19:04:05 39a5fcdaea64: Pulling fs layer 19:04:05 370296b7ddb6: Waiting 19:04:05 7c6cee850709: Waiting 19:04:05 39a5fcdaea64: Waiting 19:04:05 d94ebbe4e438: Pulling fs layer 19:04:05 bcfd1f05c69d: Pulling fs layer 19:04:05 59ccb84bbe0f: Pulling fs layer 19:04:05 d94ebbe4e438: Waiting 19:04:05 bcfd1f05c69d: Waiting 19:04:05 59ccb84bbe0f: Waiting 19:04:05 30c4a7721957: Verifying Checksum 19:04:05 30c4a7721957: Download complete 19:04:05 ea60b727a1ce: Download complete 19:04:05 7c6cee850709: Verifying Checksum 19:04:05 7c6cee850709: Download complete 19:04:05 39a5fcdaea64: Verifying Checksum 19:04:05 39a5fcdaea64: Download complete 19:04:05 2408cc74d12b: Verifying Checksum 19:04:05 2408cc74d12b: Download complete 19:04:05 d94ebbe4e438: Verifying Checksum 19:04:05 d94ebbe4e438: Download complete 19:04:05 2408cc74d12b: Pull complete 19:04:05 ea60b727a1ce: Pull complete 19:04:05 30c4a7721957: Pull complete 19:04:05 59ccb84bbe0f: Verifying Checksum 19:04:05 59ccb84bbe0f: Download complete 19:04:05 370296b7ddb6: Verifying Checksum 19:04:05 370296b7ddb6: Download complete 19:04:05 bcfd1f05c69d: Verifying Checksum 19:04:05 bcfd1f05c69d: Download complete 19:04:11 370296b7ddb6: Pull complete 19:04:11 7c6cee850709: Pull complete 19:04:11 39a5fcdaea64: Pull complete 19:04:11 d94ebbe4e438: Pull complete 19:04:13 bcfd1f05c69d: Pull complete 19:04:13 59ccb84bbe0f: Pull complete 19:04:13 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:04:13 ---> a4fb48ad2a94 19:04:13 Step 3/12 : ARG MAKE="make build" 19:04:15 ---> Running in edfebbae6db0 19:04:15 Removing intermediate container edfebbae6db0 19:04:15 ---> e6baf985c08c 19:04:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:04:15 ---> Running in 478fcdd3c28a 19:04:15 Removing intermediate container 478fcdd3c28a 19:04:15 ---> 3ca758c1e077 19:04:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:04:15 ---> Running in 956d9fd1967a 19:04:15 Removing intermediate container 956d9fd1967a 19:04:15 ---> 43c4454abefc 19:04:15 Step 6/12 : WORKDIR /device-gpio 19:04:15 ---> Running in c30f9d3dc982 19:04:15 Removing intermediate container c30f9d3dc982 19:04:15 ---> 98d7c3e67ce2 19:04:15 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:04:16 ---> Running in 33d2d077432d 19:04:16 Removing intermediate container 33d2d077432d 19:04:16 ---> c996d7993278 19:04:16 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:16 ---> Running in 57712c450797 19:04:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:04:17 Still waiting to schedule task 19:04:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:04:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:04:18 (1/4) Installing openssh-keygen (9.0_p1-r1) 19:04:18 (2/4) Installing libedit (20210910.3.1-r0) 19:04:18 (3/4) Installing openssh-client-common (9.0_p1-r1) 19:04:18 (4/4) Installing openssh-client-default (9.0_p1-r1) 19:04:18 Executing busybox-1.35.0-r13.trigger 19:04:18 OK: 216 MiB in 55 packages 19:04:19 Removing intermediate container 57712c450797 19:04:19 ---> 55dee25928ea 19:04:19 Step 9/12 : COPY go.mod vendor* ./ 19:04:19 ---> 56923e2f34c5 19:04:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:19 ---> Running in 1a4c0c59de06 19:04:34 Removing intermediate container 1a4c0c59de06 19:04:34 ---> ddfe6f772bfb 19:04:34 Step 11/12 : COPY . . 19:04:34 ---> 082eedd3d947 19:04:34 Step 12/12 : RUN ${MAKE} 19:04:34 ---> Running in 619e92392987 19:04:35 noop 19:04:35 Removing intermediate container 619e92392987 19:04:35 ---> 9bb754d7b690 19:04:35 Successfully built 9bb754d7b690 19:04:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:35 + docker inspect -f . ci-base-image-x86_64 19:04:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:35 prd-ubuntu20.04-docker-8c-8g-19746 does not seem to be running inside a container 19:04:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-46 -v /w/workspace/edgexfoundry_device-gpio_PR-46:/w/workspace/edgexfoundry_device-gpio_PR-46:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-46@tmp:/w/workspace/edgexfoundry_device-gpio_PR-46@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:04:36 $ docker top b9235b83ef6b1c645500588047353fde040046d1cd6ffa7c6fd5a23a27703e1d -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:36 + go version 19:04:36 go version go1.18.3 linux/amd64 [Pipeline] } 19:04:36 $ docker stop --time=1 b9235b83ef6b1c645500588047353fde040046d1cd6ffa7c6fd5a23a27703e1d 19:04:38 $ docker rm -f b9235b83ef6b1c645500588047353fde040046d1cd6ffa7c6fd5a23a27703e1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:38 + docker inspect -f . ci-base-image-x86_64 19:04:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:39 prd-ubuntu20.04-docker-8c-8g-19746 does not seem to be running inside a container 19:04:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-46 -v /w/workspace/edgexfoundry_device-gpio_PR-46:/w/workspace/edgexfoundry_device-gpio_PR-46:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-46@tmp:/w/workspace/edgexfoundry_device-gpio_PR-46@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:04:39 $ docker top 0af77d10725917159f5ba01be047a070b1cc819d30de68ee47ac326791cac188 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-46 [Pipeline] fileExists [Pipeline] sh 19:04:40 + make test 19:04:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:04:40 ? github.com/edgexfoundry/device-gpio [no test files] 19:04:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 19:04:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 19:04:55 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." 19:04:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:04:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:58 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:04:58 $ docker stop --time=1 0af77d10725917159f5ba01be047a070b1cc819d30de68ee47ac326791cac188 19:05:00 $ docker rm -f 0af77d10725917159f5ba01be047a070b1cc819d30de68ee47ac326791cac188 [Pipeline] // withDockerContainer [Pipeline] sh 19:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:05:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:05:02 + ls -al . 19:05:02 total 160 19:05:02 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 19:04 . 19:05:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 19:03 .. 19:05:02 -rw-rw-r-- 1 jenkins jenkins 120 Jul 12 19:03 .dockerignore 19:05:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 19:04 .git 19:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:03 .github 19:05:02 -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 19:03 .gitignore 19:05:02 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 19:03 .golangci.yml 19:05:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 19:03 .semver 19:05:02 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 12 19:03 Attribution.txt 19:05:02 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 12 19:03 CHANGELOG.md 19:05:02 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 12 19:03 Dockerfile 19:05:02 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 19:03 GOVERNANCE.md 19:05:02 -rw-rw-r-- 1 jenkins jenkins 657 Jul 12 19:03 Jenkinsfile 19:05:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 19:03 LICENSE 19:05:02 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 12 19:03 Makefile 19:05:02 -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 19:03 OWNERS.md 19:05:02 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 12 19:03 README.md 19:05:02 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 19:04 VERSION 19:05:02 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 19:03 bin 19:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:03 cmd 19:05:02 -rw-r--r-- 1 jenkins jenkins 10 Jul 12 19:04 coverage.out 19:05:02 -rw-rw-r-- 1 jenkins jenkins 3287 Jul 12 19:03 go.mod 19:05:02 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 12 19:03 go.sum 19:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:03 internal 19:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:03 snap 19:05:02 -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:02 + 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=e50f88316becb3f1502114aa8fe4904766c59973 --label arch=amd64 --label version=0.0.0 . 19:05:02 Sending build context to Docker daemon 15.79MB 19:05:02 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 19:05:02 Step 2/26 : FROM ${BASE} AS builder 19:05:02 ---> 9bb754d7b690 19:05:02 Step 3/26 : ARG MAKE="make build" 19:05:02 ---> Running in 24f54128c00d 19:05:02 Removing intermediate container 24f54128c00d 19:05:02 ---> e97fd1c14476 19:05:02 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:05:02 ---> Running in 35720bfc9d8e 19:05:03 Removing intermediate container 35720bfc9d8e 19:05:03 ---> 1429711e3758 19:05:03 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:05:03 ---> Running in 0944f317f041 19:05:03 Removing intermediate container 0944f317f041 19:05:03 ---> f8f9e7ca2604 19:05:03 Step 6/26 : WORKDIR /device-gpio 19:05:03 ---> Running in b49fb5a50775 19:05:03 Removing intermediate container b49fb5a50775 19:05:03 ---> d7d2598f60dd 19:05:03 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:05:03 ---> Running in 0830c0a24953 19:05:03 Removing intermediate container 0830c0a24953 19:05:03 ---> baedf0bba48a 19:05:03 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:05:03 ---> Running in 3bdb7dbe25aa 19:05:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:05:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:05:05 OK: 216 MiB in 55 packages 19:05:05 Removing intermediate container 3bdb7dbe25aa 19:05:05 ---> 392d7454952b 19:05:05 Step 9/26 : COPY go.mod vendor* ./ 19:05:05 ---> 6ecd31ad5d40 19:05:05 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:05 ---> Running in 5e71aa08c1a5 19:05:06 Removing intermediate container 5e71aa08c1a5 19:05:06 ---> 685cc66158a3 19:05:06 Step 11/26 : COPY . . 19:05:07 ---> 9da845e48da5 19:05:07 Step 12/26 : RUN ${MAKE} 19:05:07 ---> Running in 0436d598fdda 19:05:07 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 19:05:25 Removing intermediate container 0436d598fdda 19:05:25 ---> 9fbc77d7b70f 19:05:25 Step 13/26 : FROM alpine:3.16 19:05:26 3.16: Pulling from library/alpine 19:05:26 2408cc74d12b: Already exists 19:05:26 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 19:05:26 Status: Downloaded newer image for alpine:3.16 19:05:26 ---> e66264b98777 19:05:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:05:26 ---> Running in 2194048f6a0a 19:05:26 Removing intermediate container 2194048f6a0a 19:05:26 ---> 4556b417ec8a 19:05:26 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:05:26 ---> Running in ac088bba0939 19:05:27 Removing intermediate container ac088bba0939 19:05:27 ---> d41027374596 19:05:27 Step 16/26 : RUN apk add --update --no-cache zeromq 19:05:27 ---> Running in c0b9a85e4673 19:05:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:05:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:05:28 (1/5) Installing libgcc (11.2.1_git20220219-r2) 19:05:28 (2/5) Installing libsodium (1.0.18-r0) 19:05:28 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 19:05:28 (4/5) Installing libzmq (4.3.4-r0) 19:05:29 (5/5) Installing zeromq (4.3.4-r0) 19:05:29 Executing busybox-1.35.0-r13.trigger 19:05:29 OK: 8 MiB in 19 packages 19:05:29 Removing intermediate container c0b9a85e4673 19:05:29 ---> e9d8881af852 19:05:29 Step 17/26 : WORKDIR / 19:05:29 ---> Running in 768ddca9d910 19:05:29 Removing intermediate container 768ddca9d910 19:05:29 ---> 9a7fe04b1a1c 19:05:29 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 19:05:29 ---> c253c6ad0d73 19:05:29 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 19:05:30 ---> 6b06d5219f43 19:05:30 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 19:05:30 ---> 63e17e9e362a 19:05:30 Step 21/26 : EXPOSE 59910 19:05:30 ---> Running in 1d971614e8ab 19:05:30 Removing intermediate container 1d971614e8ab 19:05:30 ---> 07dfff8170aa 19:05:30 Step 22/26 : ENTRYPOINT ["/device-gpio"] 19:05:30 ---> Running in 73fc56653969 19:05:30 Removing intermediate container 73fc56653969 19:05:30 ---> 2038543acf9f 19:05:30 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:05:31 ---> Running in e0bf13a5f3d2 19:05:31 Removing intermediate container e0bf13a5f3d2 19:05:31 ---> 4d317e8a826b 19:05:31 Step 24/26 : LABEL arch=amd64 19:05:31 ---> Running in 5728cacbdd93 19:05:31 Removing intermediate container 5728cacbdd93 19:05:31 ---> 427cc6fdeeed 19:05:31 Step 25/26 : LABEL git_sha=e50f88316becb3f1502114aa8fe4904766c59973 19:05:31 ---> Running in cd655d486aac 19:05:31 Removing intermediate container cd655d486aac 19:05:31 ---> 79a7e85edc1f 19:05:31 Step 26/26 : LABEL version=0.0.0 19:05:31 ---> Running in 174c989305e5 19:05:31 Removing intermediate container 174c989305e5 19:05:31 ---> cfa727a925f3 19:05:31 [Warning] One or more build-args [ARCH] were not consumed 19:05:31 Successfully built cfa727a925f3 19:05:31 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 19:05:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:32 19:05:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:33 latest: Pulling from edgex-lftools-log-publisher 19:05:33 5eb5b503b376: Pulling fs layer 19:05:33 5c69ac0246d0: Pulling fs layer 19:05:33 ec43610c2a17: Pulling fs layer 19:05:33 3a2ae6a8a46f: Pulling fs layer 19:05:33 33b1e0a273af: Pulling fs layer 19:05:33 3a2ae6a8a46f: Waiting 19:05:33 5d3b04190fa2: Pulling fs layer 19:05:33 2f39f015ded8: Pulling fs layer 19:05:33 33b1e0a273af: Waiting 19:05:33 2f39f015ded8: Waiting 19:05:33 5d3b04190fa2: Waiting 19:05:33 5c69ac0246d0: Download complete 19:05:33 3a2ae6a8a46f: Verifying Checksum 19:05:33 3a2ae6a8a46f: Download complete 19:05:33 ec43610c2a17: Verifying Checksum 19:05:33 ec43610c2a17: Download complete 19:05:33 5d3b04190fa2: Download complete 19:05:33 33b1e0a273af: Verifying Checksum 19:05:33 33b1e0a273af: Download complete 19:05:33 5eb5b503b376: Verifying Checksum 19:05:33 5eb5b503b376: Download complete 19:05:33 2f39f015ded8: Download complete 19:05:34 5eb5b503b376: Pull complete 19:05:34 5c69ac0246d0: Pull complete 19:05:35 ec43610c2a17: Pull complete 19:05:35 3a2ae6a8a46f: Pull complete 19:05:35 33b1e0a273af: Pull complete 19:05:35 5d3b04190fa2: Pull complete 19:05:39 2f39f015ded8: Pull complete 19:05:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:39 prd-ubuntu20.04-docker-8c-8g-19746 does not seem to be running inside a container 19:05:39 $ 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-46 -v /w/workspace/edgexfoundry_device-gpio_PR-46:/w/workspace/edgexfoundry_device-gpio_PR-46:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-46@tmp:/w/workspace/edgexfoundry_device-gpio_PR-46@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:05:42 $ docker top 998a763994c17a938ceff165cd9b9611149603327b131107a5ac9d8e362ffb62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:42 ---> job-cost.sh 19:05:42 lf-activate-venv: SKIPPING 19:05:42 INFO: No Stack... 19:05:42 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:43 INFO: Archiving Costs [Pipeline] sh 19:05:43 + cat /w/workspace/edgexfoundry_device-gpio_PR-46/archives/cost.csv 19:05:43 + cut -d, -f6 [Pipeline] lock 19:05:43 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] 19:05:43 Resource [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] did not exist. Created. 19:05:43 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:44 + echo total: 0.2199999988079071 [Pipeline] stash 19:05:44 Stashed 1 file(s) [Pipeline] } 19:05:44 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:44 $ docker stop --time=1 998a763994c17a938ceff165cd9b9611149603327b131107a5ac9d8e362ffb62 19:05:45 $ docker rm -f 998a763994c17a938ceff165cd9b9611149603327b131107a5ac9d8e362ffb62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:05:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19748 in /w/workspace/edgexfoundry_device-gpio_PR-46 [Pipeline] { [Pipeline] ws 19:05:59 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 19:05:59 The recommended git tool is: git 19:06:05 using credential edgex-jenkins-ssh 19:06:05 Cloning the remote Git repository 19:06:05 Cloning repository git@github.com:edgexfoundry/device-gpio.git 19:06:06 > git init /w/workspace/device-gpio/1 # timeout=10 19:06:06 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:06:06 > git --version # timeout=10 19:06:06 > git --version # 'git version 2.25.1' 19:06:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:06:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:06:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:06:08 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:06:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:06:08 Merging remotes/origin/main commit 032ebe613dddcd1a3cb800540854a6d80744a216 into PR head commit e50f88316becb3f1502114aa8fe4904766c59973 19:06:08 Merge succeeded, producing e50f88316becb3f1502114aa8fe4904766c59973 19:06:08 Checking out Revision e50f88316becb3f1502114aa8fe4904766c59973 (PR-46) 19:06:08 > git config core.sparsecheckout # timeout=10 19:06:08 > git checkout -f e50f88316becb3f1502114aa8fe4904766c59973 # timeout=10 19:06:08 > git remote # timeout=10 19:06:08 > git config --get remote.origin.url # timeout=10 19:06:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:08 > git merge 032ebe613dddcd1a3cb800540854a6d80744a216 # timeout=10 19:06:08 > git rev-parse HEAD^{commit} # timeout=10 19:06:08 > git config core.sparsecheckout # timeout=10 19:06:08 > git checkout -f e50f88316becb3f1502114aa8fe4904766c59973 # timeout=10 19:06:12 Commit message: "build: Upgrade to Go 1.18 and optimize attributiion script" 19:06:13 > git --version # timeout=10 19:06:13 > git --version # 'git version 2.25.1' 19:06:13 fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:06:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:06:14 % Total % Received % Xferd Average Speed Time Time Time Current 19:06:14 Dload Upload Total Spent Left Speed 19:06:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 101k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 19:06:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:06:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:06:15 + sudo tee /etc/docker/daemon.new 19:06:15 { 19:06:15 "registry-mirrors": [ 19:06:15 "https://nexus3.edgexfoundry.org:10001" 19:06:15 ], 19:06:15 "bip": "10.250.0.254/24", 19:06:15 "hosts": [ 19:06:15 "tcp://0.0.0.0:5555", 19:06:15 "unix:///var/run/docker.sock" 19:06:15 ], 19:06:15 "mtu": 1458, 19:06:15 "selinux-enabled": true, 19:06:15 "seccomp-profile": "/etc/docker/seccomp.json" 19:06:15 } [Pipeline] sh 19:06:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:06:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:06:34 provisioning config files... 19:06:34 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1733868028515670660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:35 ---> docker-login.sh 19:06:35 nexus3.edgexfoundry.org:10001 19:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:35 Configure a credential helper to remove this warning. See 19:06:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:35 19:06:35 Login Succeeded 19:06:35 nexus3.edgexfoundry.org:10002 19:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:36 Configure a credential helper to remove this warning. See 19:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:36 19:06:36 Login Succeeded 19:06:36 nexus3.edgexfoundry.org:10003 19:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:36 Configure a credential helper to remove this warning. See 19:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:36 19:06:36 Login Succeeded 19:06:36 nexus3.edgexfoundry.org:10004 19:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:37 Configure a credential helper to remove this warning. See 19:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:37 19:06:37 Login Succeeded 19:06:37 docker.io 19:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:38 Configure a credential helper to remove this warning. See 19:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:38 19:06:38 Login Succeeded 19:06:38 ---> docker-login.sh ends [Pipeline] } 19:06:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:06:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:06:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:06:38 ========================================================= 19:06:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:06:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:39 + 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 . 19:06:39 Sending build context to Docker daemon 7.977MB 19:06:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:06:39 Step 2/12 : FROM ${BASE} AS builder 19:06:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:06:39 b3c136eddcbf: Pulling fs layer 19:06:39 c0a3192eca97: Pulling fs layer 19:06:39 a050256f5b6f: Pulling fs layer 19:06:39 656be50a0ddc: Pulling fs layer 19:06:39 2bbca73fdf42: Pulling fs layer 19:06:39 46d945488cbd: Pulling fs layer 19:06:39 8a5474983e97: Pulling fs layer 19:06:39 329c88fbcd65: Pulling fs layer 19:06:39 46d945488cbd: Waiting 19:06:39 8a5474983e97: Waiting 19:06:39 329c88fbcd65: Waiting 19:06:39 2bbca73fdf42: Waiting 19:06:39 a050256f5b6f: Download complete 19:06:39 c0a3192eca97: Verifying Checksum 19:06:39 c0a3192eca97: Download complete 19:06:39 2bbca73fdf42: Verifying Checksum 19:06:39 2bbca73fdf42: Download complete 19:06:39 46d945488cbd: Verifying Checksum 19:06:39 46d945488cbd: Download complete 19:06:39 b3c136eddcbf: Verifying Checksum 19:06:39 b3c136eddcbf: Download complete 19:06:40 b3c136eddcbf: Pull complete 19:06:40 329c88fbcd65: Verifying Checksum 19:06:40 329c88fbcd65: Download complete 19:06:41 c0a3192eca97: Pull complete 19:06:41 a050256f5b6f: Pull complete 19:06:42 8a5474983e97: Verifying Checksum 19:06:42 8a5474983e97: Download complete 19:06:42 656be50a0ddc: Verifying Checksum 19:06:42 656be50a0ddc: Download complete 19:06:57 656be50a0ddc: Pull complete 19:06:57 2bbca73fdf42: Pull complete 19:06:57 46d945488cbd: Pull complete 19:07:02 8a5474983e97: Pull complete 19:07:04 329c88fbcd65: Pull complete 19:07:04 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:07:04 ---> ff4287adb874 19:07:04 Step 3/12 : ARG MAKE="make build" 19:07:05 ---> Running in d54814a44579 19:07:06 Removing intermediate container d54814a44579 19:07:06 ---> 3d57c3fcc2f3 19:07:06 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:07:06 ---> Running in 87c650939d08 19:07:06 Removing intermediate container 87c650939d08 19:07:06 ---> ca005b110623 19:07:06 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:07:06 ---> Running in 3e5b37aab846 19:07:07 Removing intermediate container 3e5b37aab846 19:07:07 ---> 82c9be432b39 19:07:07 Step 6/12 : WORKDIR /device-gpio 19:07:07 ---> Running in 326a340cff40 19:07:08 Removing intermediate container 326a340cff40 19:07:08 ---> c721dac76ff8 19:07:08 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:07:08 ---> Running in 1625587ea16c 19:07:10 Removing intermediate container 1625587ea16c 19:07:10 ---> 1e6dd1e84521 19:07:10 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:07:10 ---> Running in a34c032c3ae1 19:07:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:07:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:07:13 (1/4) Installing openssh-keygen (9.0_p1-r1) 19:07:13 (2/4) Installing libedit (20210910.3.1-r0) 19:07:13 (3/4) Installing openssh-client-common (9.0_p1-r1) 19:07:13 (4/4) Installing openssh-client-default (9.0_p1-r1) 19:07:13 Executing busybox-1.35.0-r13.trigger 19:07:13 OK: 226 MiB in 55 packages 19:07:14 Removing intermediate container a34c032c3ae1 19:07:14 ---> 14641311b16b 19:07:14 Step 9/12 : COPY go.mod vendor* ./ 19:07:15 ---> 11e05bce97b2 19:07:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:15 ---> Running in 48e31d85769b 19:08:02 Removing intermediate container 48e31d85769b 19:08:02 ---> 12a18b502c16 19:08:02 Step 11/12 : COPY . . 19:08:02 ---> b5970eeb2c79 19:08:02 Step 12/12 : RUN ${MAKE} 19:08:02 ---> Running in bb7aa9407423 19:08:02 noop 19:08:02 Removing intermediate container bb7aa9407423 19:08:02 ---> bcff40b15183 19:08:02 Successfully built bcff40b15183 19:08:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:02 + docker inspect -f . ci-base-image-arm64 19:08:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:02 prd-ubuntu20.04-docker-arm64-4c-16g-19748 does not seem to be running inside a container 19:08:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:08:04 $ docker top f86554305fc495313da4667021743ee470f82f846016da4d359e20054f60d525 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:05 + go version 19:08:05 go version go1.18.3 linux/arm64 [Pipeline] } 19:08:05 $ docker stop --time=1 f86554305fc495313da4667021743ee470f82f846016da4d359e20054f60d525 19:08:06 $ docker rm -f f86554305fc495313da4667021743ee470f82f846016da4d359e20054f60d525 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:07 + docker inspect -f . ci-base-image-arm64 19:08:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:07 prd-ubuntu20.04-docker-arm64-4c-16g-19748 does not seem to be running inside a container 19:08:08 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:08:09 $ docker top fd3b64e7fae6facc58e4df8eb995667ca613377e8eb9234bb4ea2f9e8932aa85 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:10 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 19:08:10 + make test 19:08:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:08:12 ? github.com/edgexfoundry/device-gpio [no test files] 19:09:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 19:09:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 19:09:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:09:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:09:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:46 ./bin/test-attribution-txt.sh [Pipeline] echo 19:09:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:09:47 $ docker stop --time=1 fd3b64e7fae6facc58e4df8eb995667ca613377e8eb9234bb4ea2f9e8932aa85 19:09:49 $ docker rm -f fd3b64e7fae6facc58e4df8eb995667ca613377e8eb9234bb4ea2f9e8932aa85 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:50 Warning: overwriting stash ‘coverage-report’ 19:09:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:51 + ls -al . 19:09:51 total 156 19:09:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 19:08 . 19:09:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 19:06 .. 19:09:51 -rw-rw-r-- 1 jenkins jenkins 120 Jul 12 19:06 .dockerignore 19:09:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 19:06 .git 19:09:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:06 .github 19:09:51 -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 19:06 .gitignore 19:09:51 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 19:06 .golangci.yml 19:09:51 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 12 19:06 Attribution.txt 19:09:51 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 12 19:06 CHANGELOG.md 19:09:51 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 12 19:06 Dockerfile 19:09:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 19:06 GOVERNANCE.md 19:09:51 -rw-rw-r-- 1 jenkins jenkins 657 Jul 12 19:06 Jenkinsfile 19:09:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 19:06 LICENSE 19:09:51 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 12 19:06 Makefile 19:09:51 -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 19:06 OWNERS.md 19:09:51 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 12 19:06 README.md 19:09:51 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 19:04 VERSION 19:09:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 19:06 bin 19:09:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:06 cmd 19:09:51 -rw-r--r-- 1 jenkins jenkins 10 Jul 12 19:08 coverage.out 19:09:51 -rw-rw-r-- 1 jenkins jenkins 3287 Jul 12 19:06 go.mod 19:09:51 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 12 19:06 go.sum 19:09:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:06 internal 19:09:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 19:06 snap 19:09:51 -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 19:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:52 + 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=e50f88316becb3f1502114aa8fe4904766c59973 --label arch=arm64 --label version=0.0.0 . 19:09:52 Sending build context to Docker daemon 7.978MB 19:09:52 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 19:09:52 Step 2/26 : FROM ${BASE} AS builder 19:09:52 ---> bcff40b15183 19:09:52 Step 3/26 : ARG MAKE="make build" 19:09:52 ---> Running in 09b85445d7c8 19:09:53 Removing intermediate container 09b85445d7c8 19:09:53 ---> 0bcdd254b880 19:09:53 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:09:53 ---> Running in 26bd38c94912 19:09:53 Removing intermediate container 26bd38c94912 19:09:53 ---> d994b10016a8 19:09:53 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:09:53 ---> Running in d8c02ab47580 19:09:53 Removing intermediate container d8c02ab47580 19:09:53 ---> 048a6bd8d1c1 19:09:53 Step 6/26 : WORKDIR /device-gpio 19:09:53 ---> Running in 63716f234c85 19:09:54 Removing intermediate container 63716f234c85 19:09:54 ---> a2a8f57accc1 19:09:54 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:09:54 ---> Running in e20b709df433 19:09:56 Removing intermediate container e20b709df433 19:09:56 ---> 54552e66fe9e 19:09:56 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:56 ---> Running in 9b94cad84878 19:09:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:09:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:09:59 OK: 226 MiB in 55 packages 19:10:00 Removing intermediate container 9b94cad84878 19:10:00 ---> 90250ed7c403 19:10:00 Step 9/26 : COPY go.mod vendor* ./ 19:10:00 ---> 3de5b8075fce 19:10:00 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:00 ---> Running in dde7e7719ff2 19:10:02 Removing intermediate container dde7e7719ff2 19:10:02 ---> 433ca1a97972 19:10:02 Step 11/26 : COPY . . 19:10:03 ---> 92541f66092d 19:10:03 Step 12/26 : RUN ${MAKE} 19:10:03 ---> Running in 67fa8075fdee 19:10:04 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 19:12:26 Removing intermediate container 67fa8075fdee 19:12:26 ---> b5233bd3cf80 19:12:26 Step 13/26 : FROM alpine:3.16 19:12:26 3.16: Pulling from library/alpine 19:12:26 b3c136eddcbf: Already exists 19:12:26 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 19:12:26 Status: Downloaded newer image for alpine:3.16 19:12:26 ---> 6e30ab57aeee 19:12:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:12:26 ---> Running in 483ca866957f 19:12:26 Removing intermediate container 483ca866957f 19:12:26 ---> 98fd6c556484 19:12:26 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:12:26 ---> Running in 703bd1a9d4a7 19:12:26 Removing intermediate container 703bd1a9d4a7 19:12:26 ---> 75aeac83a74a 19:12:26 Step 16/26 : RUN apk add --update --no-cache zeromq 19:12:26 ---> Running in 085f2cead251 19:12:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:12:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:12:26 (1/5) Installing libgcc (11.2.1_git20220219-r2) 19:12:26 (2/5) Installing libsodium (1.0.18-r0) 19:12:26 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 19:12:26 (4/5) Installing libzmq (4.3.4-r0) 19:12:26 (5/5) Installing zeromq (4.3.4-r0) 19:12:26 Executing busybox-1.35.0-r13.trigger 19:12:26 OK: 8 MiB in 19 packages 19:12:26 Removing intermediate container 085f2cead251 19:12:26 ---> 64247eb9b71a 19:12:26 Step 17/26 : WORKDIR / 19:12:26 ---> Running in 39d4a74fcea7 19:12:26 Removing intermediate container 39d4a74fcea7 19:12:26 ---> 12c8d09a786b 19:12:26 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 19:12:26 ---> bc486cece059 19:12:26 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 19:12:26 ---> 66c91c040ba4 19:12:26 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 19:12:27 ---> 6548ba7c506a 19:12:27 Step 21/26 : EXPOSE 59910 19:12:27 ---> Running in 19afbed43c8f 19:12:27 Removing intermediate container 19afbed43c8f 19:12:27 ---> fa94f95a7520 19:12:27 Step 22/26 : ENTRYPOINT ["/device-gpio"] 19:12:27 ---> Running in 029b1b02f394 19:12:27 Removing intermediate container 029b1b02f394 19:12:27 ---> 662919978395 19:12:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:12:27 ---> Running in fe9d01c00a78 19:12:28 Removing intermediate container fe9d01c00a78 19:12:28 ---> 11087149d9e8 19:12:28 Step 24/26 : LABEL arch=arm64 19:12:28 ---> Running in ef96519c98ce 19:12:28 Removing intermediate container ef96519c98ce 19:12:28 ---> e754585e0c14 19:12:28 Step 25/26 : LABEL git_sha=e50f88316becb3f1502114aa8fe4904766c59973 19:12:28 ---> Running in 22119843c498 19:12:28 Removing intermediate container 22119843c498 19:12:28 ---> 2bfcef76d7ab 19:12:28 Step 26/26 : LABEL version=0.0.0 19:12:29 ---> Running in 951fdea13ed5 19:12:29 Removing intermediate container 951fdea13ed5 19:12:29 ---> 66551d0933ff 19:12:29 [Warning] One or more build-args [ARCH] were not consumed 19:12:29 Successfully built 66551d0933ff 19:12:29 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 19:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:30 19:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:30 arm64: Pulling from edgex-lftools-log-publisher 19:12:30 8998bd30e6a1: Pulling fs layer 19:12:30 04944245beec: Pulling fs layer 19:12:30 699f458cf7ca: Pulling fs layer 19:12:30 765212b225bb: Pulling fs layer 19:12:30 f23df028b6ca: Pulling fs layer 19:12:30 d65c8cfc05b1: Pulling fs layer 19:12:30 2437ff75d9bd: Pulling fs layer 19:12:30 765212b225bb: Waiting 19:12:30 f23df028b6ca: Waiting 19:12:30 2437ff75d9bd: Waiting 19:12:30 d65c8cfc05b1: Waiting 19:12:30 04944245beec: Verifying Checksum 19:12:30 04944245beec: Download complete 19:12:30 765212b225bb: Verifying Checksum 19:12:30 765212b225bb: Download complete 19:12:30 f23df028b6ca: Download complete 19:12:30 d65c8cfc05b1: Download complete 19:12:31 699f458cf7ca: Verifying Checksum 19:12:31 699f458cf7ca: Download complete 19:12:31 8998bd30e6a1: Verifying Checksum 19:12:31 8998bd30e6a1: Download complete 19:12:33 2437ff75d9bd: Verifying Checksum 19:12:33 2437ff75d9bd: Download complete 19:12:35 8998bd30e6a1: Pull complete 19:12:35 04944245beec: Pull complete 19:12:37 699f458cf7ca: Pull complete 19:12:37 765212b225bb: Pull complete 19:12:37 f23df028b6ca: Pull complete 19:12:38 d65c8cfc05b1: Pull complete 19:12:53 2437ff75d9bd: Pull complete 19:12:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:53 prd-ubuntu20.04-docker-arm64-4c-16g-19748 does not seem to be running inside a container 19:12:53 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:12:56 $ docker top 3a91ec64936eaa3864bd99ff248fa9073385ffe666d197ad93e73f8a1aab3c9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:57 ---> job-cost.sh 19:12:57 lf-activate-venv: SKIPPING 19:12:57 INFO: No Stack... 19:12:57 INFO: Retrieving Pricing Info for: v3-standard-4 19:12:58 INFO: Archiving Costs [Pipeline] sh 19:12:59 + cat /w/workspace/device-gpio/1/archives/cost.csv 19:12:59 + cut -d, -f6 [Pipeline] lock 19:12:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] 19:12:59 Resource [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] did not exist. Created. 19:12:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:12:59 /w/workspace/device-gpio/1@tmp/durable-a16d1384/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:13:00 + echo total: 0.10999999940395355 [Pipeline] stash 19:13:00 Warning: overwriting stash ‘stack-cost’ 19:13:00 Stashed 1 file(s) [Pipeline] } 19:13:00 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:13:00 $ docker stop --time=1 3a91ec64936eaa3864bd99ff248fa9073385ffe666d197ad93e73f8a1aab3c9e 19:13:02 $ docker rm -f 3a91ec64936eaa3864bd99ff248fa9073385ffe666d197ad93e73f8a1aab3c9e [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 19:13:03 provisioning config files... 19:13:03 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-46@tmp/config2295768194739422404tmp [Pipeline] { [Pipeline] sh 19:13:03 + set +x 19:13:03 + curl -s https://codecov.io/bash 19:13:03 + bash -s -- 19:13:03 19:13:03 _____ _ 19:13:03 / ____| | | 19:13:03 | | ___ __| | ___ ___ _____ __ 19:13:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:13:03 | |___| (_) | (_| | __/ (_| (_) \ V / 19:13:03 \_____\___/ \__,_|\___|\___\___/ \_/ 19:13:03 Bash-1.0.6 19:13:03 19:13:03 19:13:03 ==> git version 2.25.1 found 19:13:03 ==> 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 19:13:03 Release-Date: 2020-01-08 19:13:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:13:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:13:03 ==> Jenkins CI detected. 19:13:03 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-46 19:13:03 project root: . 19:13:03 --> token set from env 19:13:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:13:03 ==> Running gcov in . (disable via -X gcov) 19:13:03 ==> Python coveragepy not found 19:13:03 ==> Searching for coverage reports in: 19:13:03 + . 19:13:03 -> Found 1 reports 19:13:03 ==> Detecting git/mercurial file structure 19:13:03 ==> Reading reports 19:13:03 + ./coverage.out bytes=10 19:13:03 ==> Appending adjustments 19:13:03 https://docs.codecov.io/docs/fixing-reports 19:13:03 + Found adjustments 19:13:03 ==> Gzipping contents 19:13:03 4.0K /tmp/codecov.LYcCuT.gz 19:13:03 ==> Uploading reports 19:13:03 url: https://codecov.io 19:13:03 query: branch=PR-46&commit=e50f88316becb3f1502114aa8fe4904766c59973&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=46&job=&cmd_args= 19:13:03 -> Pinging Codecov 19:13:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-46&commit=e50f88316becb3f1502114aa8fe4904766c59973&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=46&job=&cmd_args= 19:13:04 -> Uploading to 19:13:04 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/e50f88316becb3f1502114aa8fe4904766c59973/0b0f4501-aa96-4992-a8dc-e49376ab3e1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T191303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a4e45b153d9ca0fa46aa1593318a2228d26f3bf61dca635423845fcf1d569a5 19:13:04 % Total % Received % Xferd Average Speed Time Time Time Current 19:13:04 Dload Upload Total Spent Left Speed 19:13:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3649 --:--:-- --:--:-- --:--:-- 3649 19:13:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/e50f88316becb3f1502114aa8fe4904766c59973 [Pipeline] } 19:13:04 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 19:13:06 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-46/archives ] 19:13:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-46/archives 19:13:06 total 16 19:13:06 drwxr-xr-x 3 root root 4096 Jul 12 19:05 . 19:13:06 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 19:05 .. 19:13:06 drwxr-xr-x 2 root root 4096 Jul 12 19:05 cost 19:13:06 -rw-r--r-- 1 root root 81 Jul 12 19:05 cost.csv 19:13:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-46/archives 19:13:06 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-46/archives 19:13:06 total 16 19:13:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 19:05 . 19:13:06 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 19:05 .. 19:13:06 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 19:05 cost 19:13:06 -rw-r--r-- 1 jenkins jenkins 81 Jul 12 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:13:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:13:07 ---> package-listing.sh 19:13:07 ++ facter osfamily 19:13:07 ++ tr '[:upper:]' '[:lower:]' 19:13:07 + OS_FAMILY=debian 19:13:07 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-46 19:13:07 + START_PACKAGES=/tmp/packages_start.txt 19:13:07 + END_PACKAGES=/tmp/packages_end.txt 19:13:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:13:07 + PACKAGES=/tmp/packages_start.txt 19:13:07 + '[' /w/workspace/edgexfoundry_device-gpio_PR-46 ']' 19:13:07 + PACKAGES=/tmp/packages_end.txt 19:13:07 + case "${OS_FAMILY}" in 19:13:07 + dpkg -l 19:13:07 + grep '^ii' 19:13:07 + '[' -f /tmp/packages_start.txt ']' 19:13:07 + '[' -f /tmp/packages_end.txt ']' 19:13:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:13:07 + '[' /w/workspace/edgexfoundry_device-gpio_PR-46 ']' 19:13:07 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-46/archives/ 19:13:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-46/archives/ [Pipeline] echo 19:13:07 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-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:13:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:08 prd-ubuntu20.04-docker-8c-8g-19746 does not seem to be running inside a container 19:13:08 $ 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-46/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-46 -v /w/workspace/edgexfoundry_device-gpio_PR-46:/w/workspace/edgexfoundry_device-gpio_PR-46:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-46@tmp:/w/workspace/edgexfoundry_device-gpio_PR-46@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:13:09 $ docker top 05f33bcb3f0affd694c2ed6948071a06f7b4d19a72dcee28d502b3d3ed3a7ce9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:09 + touch /tmp/pre-build-complete [Pipeline] sh 19:13:09 + mkdir -p /var/log/sysstat [Pipeline] sh 19:13:10 + ls /var/log/sa-host 19:13:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:13:10 provisioning config files... 19:13:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-46@tmp/config1260486093523506239tmp [Pipeline] { [Pipeline] echo 19:13:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:13:10 ---> create-netrc.sh [Pipeline] } 19:13:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:13:11 ---> python-tools-install.sh [Pipeline] echo 19:13:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:13:11 ---> sudo-logs.sh 19:13:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:13:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:13:11 ---> job-cost.sh 19:13:11 lf-activate-venv: SKIPPING 19:13:11 DEBUG: total: 0.2199999988079071 19:13:11 INFO: Retrieving Stack Cost... 19:13:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:13:12 INFO: Archiving Costs [Pipeline] echo 19:13:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:13:12 ---> logs-deploy.sh 19:13:12 lf-activate-venv: SKIPPING 19:13:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-46/1 19:13:12 INFO: archiving workspace using pattern(s): 19:13:13 Archives upload complete. 19:13:14 INFO: archiving logs to Nexus 19:13:14 ---> uname -a: 19:13:14 Linux prd-ubuntu20-04-docker-8c-8g-19746 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 19:13:14 19:13:14 19:13:14 ---> lscpu: 19:13:14 Architecture: x86_64 19:13:14 CPU op-mode(s): 32-bit, 64-bit 19:13:14 Byte Order: Little Endian 19:13:14 Address sizes: 40 bits physical, 48 bits virtual 19:13:14 CPU(s): 8 19:13:14 On-line CPU(s) list: 0-7 19:13:14 Thread(s) per core: 1 19:13:14 Core(s) per socket: 1 19:13:14 Socket(s): 8 19:13:14 NUMA node(s): 1 19:13:14 Vendor ID: AuthenticAMD 19:13:14 CPU family: 23 19:13:14 Model: 49 19:13:14 Model name: AMD EPYC-Rome Processor 19:13:14 Stepping: 0 19:13:14 CPU MHz: 2799.998 19:13:14 BogoMIPS: 5599.99 19:13:14 Virtualization: AMD-V 19:13:14 Hypervisor vendor: KVM 19:13:14 Virtualization type: full 19:13:14 L1d cache: 256 KiB 19:13:14 L1i cache: 256 KiB 19:13:14 L2 cache: 4 MiB 19:13:14 L3 cache: 128 MiB 19:13:14 NUMA node0 CPU(s): 0-7 19:13:14 Vulnerability Itlb multihit: Not affected 19:13:14 Vulnerability L1tf: Not affected 19:13:14 Vulnerability Mds: Not affected 19:13:14 Vulnerability Meltdown: Not affected 19:13:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:13:14 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:13:14 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:13:14 Vulnerability Srbds: Not affected 19:13:14 Vulnerability Tsx async abort: Not affected 19:13:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:13:14 19:13:14 19:13:14 ---> nproc: 19:13:14 8 19:13:14 19:13:14 19:13:14 ---> df -h: 19:13:14 Filesystem Size Used Avail Use% Mounted on 19:13:14 overlay 155G 11G 145G 7% / 19:13:14 tmpfs 64M 0 64M 0% /dev 19:13:14 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:13:14 shm 64M 0 64M 0% /dev/shm 19:13:14 /dev/vda1 155G 11G 145G 7% /facter-os 19:13:14 19:13:14 19:13:14 ---> sar -b -r -n DEV: 19:13:14 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19746) 07/12/22 _x86_64_ (8 CPU) 19:13:14 19:13:14 19:03:02 LINUX RESTART (8 CPU) 19:13:14 19:13:14 19:04:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:13:14 19:05:01 171.92 1.36 170.56 0.00 23.59 63163.67 0.00 19:13:14 19:06:01 178.16 1.70 176.46 0.00 67.71 35840.05 0.00 19:13:14 19:07:01 1.45 0.00 1.45 0.00 0.00 17.62 0.00 19:13:14 19:08:01 1.43 0.00 1.43 0.00 0.00 17.33 0.00 19:13:14 19:09:01 0.97 0.02 0.95 0.00 0.13 11.60 0.00 19:13:14 19:10:01 1.30 0.00 1.30 0.00 0.00 15.60 0.00 19:13:14 19:11:01 8.28 5.08 3.20 0.00 305.36 243.39 0.00 19:13:14 19:12:01 1.68 0.00 1.68 0.00 0.00 19.20 0.00 19:13:14 19:13:01 1.07 0.00 1.07 0.00 0.00 13.20 0.00 19:13:14 Average: 40.45 0.91 39.55 0.00 44.13 10941.73 0.00 19:13:14 19:13:14 19:04:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:13:14 19:05:01 28423384 31759644 536152 1.63 161440 3388652 1802160 5.31 1230804 2785952 100 19:13:14 19:06:01 27659024 31761936 530072 1.61 173612 4079920 1800032 5.30 1294548 3417244 224 19:13:14 19:07:01 27660192 31763288 528564 1.61 173640 4079924 1800032 5.30 1293420 3417248 16 19:13:14 19:08:01 27666036 31769108 522632 1.59 173664 4079924 1800032 5.30 1287936 3417252 20 19:13:14 19:09:01 27666580 31769684 521992 1.59 173684 4079936 1800032 5.30 1287776 3417256 12 19:13:14 19:10:01 27671980 31775104 516512 1.57 173708 4079936 1800032 5.30 1282016 3417260 16 19:13:14 19:11:01 27587512 31707728 580004 1.76 173844 4095016 1930048 5.69 1348496 3429580 48 19:13:14 19:12:01 27587628 31707888 579780 1.76 173880 4095024 1930048 5.69 1348340 3429588 140 19:13:14 19:13:01 27587492 31707960 579592 1.76 173928 4095152 1930048 5.69 1348188 3429716 56 19:13:14 Average: 27723314 31746927 543922 1.65 172378 4008165 1843607 5.43 1302392 3351233 70 19:13:14 19:13:14 19:04:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:13:14 19:05:01 docker0 110.59 130.01 8.88 1075.34 0.00 0.00 0.00 0.00 19:13:14 19:05:01 ens3 325.78 255.35 5105.38 86.42 0.00 0.00 0.00 0.00 19:13:14 19:05:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 19:13:14 19:06:01 docker0 14.56 19.23 0.87 98.53 0.00 0.00 0.00 0.00 19:13:14 19:06:01 ens3 166.93 120.14 2643.82 68.61 0.00 0.00 0.00 0.00 19:13:14 19:06:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 19:13:14 19:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:07:01 ens3 4.32 2.67 8.28 0.49 0.00 0.00 0.00 0.00 19:13:14 19:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:08:01 ens3 0.25 0.25 0.02 0.02 0.00 0.00 0.00 0.00 19:13:14 19:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:14 19:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:09:01 ens3 0.18 0.10 0.08 0.06 0.00 0.00 0.00 0.00 19:13:14 19:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:10:01 ens3 0.75 0.08 0.06 0.01 0.00 0.00 0.00 0.00 19:13:14 19:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:14 19:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:11:01 ens3 3.57 2.62 16.73 0.63 0.00 0.00 0.00 0.00 19:13:14 19:11:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 19:13:14 19:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:12:01 ens3 0.18 0.12 0.07 0.01 0.00 0.00 0.00 0.00 19:13:14 19:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:14 19:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:13:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 19:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:14 Average: docker0 13.73 16.37 1.07 128.68 0.00 0.00 0.00 0.00 19:13:14 Average: ens3 55.28 41.98 855.99 17.23 0.00 0.00 0.00 0.00 19:13:14 Average: lo 0.62 0.62 0.06 0.06 0.00 0.00 0.00 0.00 19:13:14 19:13:14 19:13:14 ---> sar -P ALL: 19:13:14 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19746) 07/12/22 _x86_64_ (8 CPU) 19:13:14 19:13:14 19:03:02 LINUX RESTART (8 CPU) 19:13:14 19:13:14 19:04:02 CPU %user %nice %system %iowait %steal %idle 19:13:14 19:05:01 all 27.37 0.00 7.08 1.58 0.09 63.89 19:13:14 19:05:01 0 27.19 0.00 7.13 2.64 0.10 62.94 19:13:14 19:05:01 1 28.19 0.00 7.28 4.14 0.09 60.31 19:13:14 19:05:01 2 26.89 0.00 6.80 0.55 0.09 65.67 19:13:14 19:05:01 3 26.63 0.00 7.53 2.73 0.09 63.02 19:13:14 19:05:01 4 27.79 0.00 7.11 0.36 0.09 64.65 19:13:14 19:05:01 5 26.90 0.00 6.82 1.37 0.09 64.83 19:13:14 19:05:01 6 26.92 0.00 6.73 0.57 0.07 65.72 19:13:14 19:05:01 7 28.49 0.00 7.23 0.24 0.09 63.95 19:13:14 19:06:01 all 19.34 0.00 4.59 1.25 0.07 74.75 19:13:14 19:06:01 0 18.17 0.00 4.70 1.08 0.07 75.98 19:13:14 19:06:01 1 19.47 0.00 4.23 0.25 0.07 75.99 19:13:14 19:06:01 2 18.59 0.00 4.37 0.56 0.07 76.42 19:13:14 19:06:01 3 18.55 0.00 4.52 0.15 0.07 76.71 19:13:14 19:06:01 4 20.85 0.00 5.04 5.80 0.07 68.24 19:13:14 19:06:01 5 19.71 0.00 4.35 0.61 0.07 75.26 19:13:14 19:06:01 6 20.26 0.00 4.71 0.79 0.08 74.15 19:13:14 19:06:01 7 19.14 0.00 4.76 0.76 0.08 75.25 19:13:14 19:07:01 all 0.04 0.00 0.01 0.01 0.00 99.94 19:13:14 19:07:01 0 0.03 0.00 0.02 0.03 0.00 99.92 19:13:14 19:07:01 1 0.00 0.00 0.00 0.00 0.00 100.00 19:13:14 19:07:01 2 0.03 0.00 0.02 0.00 0.00 99.95 19:13:14 19:07:01 3 0.03 0.00 0.00 0.00 0.00 99.97 19:13:14 19:07:01 4 0.07 0.00 0.02 0.02 0.00 99.90 19:13:14 19:07:01 5 0.05 0.00 0.03 0.00 0.02 99.90 19:13:14 19:07:01 6 0.03 0.00 0.02 0.00 0.00 99.95 19:13:14 19:07:01 7 0.05 0.00 0.02 0.00 0.00 99.93 19:13:14 19:08:01 all 0.02 0.00 0.02 0.01 0.00 99.95 19:13:14 19:08:01 0 0.03 0.00 0.02 0.02 0.00 99.93 19:13:14 19:08:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:13:14 19:08:01 2 0.03 0.00 0.03 0.00 0.02 99.92 19:13:14 19:08:01 3 0.00 0.00 0.02 0.00 0.00 99.98 19:13:14 19:08:01 4 0.03 0.00 0.03 0.03 0.02 99.88 19:13:14 19:08:01 5 0.05 0.00 0.02 0.00 0.00 99.93 19:13:14 19:08:01 6 0.02 0.00 0.02 0.00 0.00 99.97 19:13:14 19:08:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:13:14 19:09:01 all 0.02 0.00 0.01 0.00 0.00 99.97 19:13:14 19:09:01 0 0.00 0.00 0.02 0.02 0.00 99.97 19:13:14 19:09:01 1 0.00 0.00 0.00 0.00 0.00 100.00 19:13:14 19:09:01 2 0.02 0.00 0.00 0.00 0.02 99.97 19:13:14 19:09:01 3 0.05 0.00 0.00 0.00 0.02 99.93 19:13:14 19:09:01 4 0.03 0.00 0.02 0.00 0.00 99.95 19:13:14 19:09:01 5 0.05 0.00 0.00 0.00 0.00 99.95 19:13:14 19:09:01 6 0.02 0.00 0.02 0.00 0.00 99.97 19:13:14 19:09:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:13:14 19:10:01 all 0.03 0.00 0.02 0.00 0.01 99.93 19:13:14 19:10:01 0 0.03 0.00 0.02 0.00 0.02 99.93 19:13:14 19:10:01 1 0.02 0.00 0.00 0.00 0.02 99.97 19:13:14 19:10:01 2 0.05 0.00 0.02 0.00 0.02 99.92 19:13:14 19:10:01 3 0.02 0.00 0.02 0.00 0.00 99.97 19:13:14 19:10:01 4 0.07 0.00 0.03 0.03 0.02 99.85 19:13:14 19:10:01 5 0.02 0.00 0.03 0.00 0.00 99.95 19:13:14 19:10:01 6 0.05 0.00 0.02 0.00 0.02 99.92 19:13:14 19:10:01 7 0.02 0.00 0.00 0.00 0.02 99.97 19:13:14 19:11:01 all 0.23 0.00 0.08 0.04 0.00 99.65 19:13:14 19:11:01 0 0.03 0.00 0.07 0.07 0.00 99.83 19:13:14 19:11:01 1 0.02 0.00 0.05 0.00 0.00 99.93 19:13:14 19:11:01 2 0.03 0.00 0.05 0.00 0.00 99.92 19:13:14 19:11:01 3 0.08 0.00 0.10 0.03 0.00 99.78 19:13:14 19:11:01 4 0.07 0.00 0.08 0.05 0.00 99.80 19:13:14 19:11:01 5 0.08 0.00 0.07 0.00 0.02 99.83 19:13:14 19:11:01 6 1.43 0.00 0.22 0.17 0.00 98.18 19:13:14 19:11:01 7 0.07 0.00 0.03 0.00 0.00 99.90 19:13:14 19:12:01 all 0.02 0.00 0.01 0.01 0.00 99.95 19:13:14 19:12:01 0 0.02 0.00 0.03 0.02 0.00 99.93 19:13:14 19:12:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:13:14 19:12:01 2 0.05 0.00 0.03 0.00 0.02 99.90 19:13:14 19:12:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:13:14 19:12:01 4 0.02 0.00 0.00 0.08 0.02 99.88 19:13:14 19:12:01 5 0.02 0.00 0.03 0.00 0.00 99.95 19:13:14 19:12:01 6 0.02 0.00 0.00 0.00 0.00 99.98 19:13:14 19:12:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:13:14 19:13:01 all 0.02 0.00 0.01 0.01 0.00 99.96 19:13:14 19:13:01 0 0.02 0.00 0.00 0.02 0.00 99.97 19:13:14 19:13:01 1 0.00 0.00 0.02 0.00 0.00 99.98 19:13:14 19:13:01 2 0.03 0.00 0.02 0.00 0.00 99.95 19:13:14 19:13:01 3 0.05 0.00 0.00 0.00 0.02 99.93 19:13:14 19:13:01 4 0.03 0.00 0.00 0.05 0.00 99.92 19:13:14 19:13:01 5 0.05 0.00 0.02 0.00 0.00 99.93 19:13:14 19:13:01 6 0.00 0.00 0.02 0.00 0.00 99.98 19:13:14 19:13:01 7 0.00 0.00 0.02 0.00 0.00 99.98 19:13:14 Average: all 5.14 0.00 1.29 0.32 0.02 93.23 19:13:14 Average: 0 4.97 0.00 1.31 0.42 0.02 93.28 19:13:14 Average: 1 5.21 0.00 1.26 0.48 0.02 93.03 19:13:14 Average: 2 4.99 0.00 1.24 0.12 0.02 93.63 19:13:14 Average: 3 4.96 0.00 1.33 0.32 0.02 93.37 19:13:14 Average: 4 5.35 0.00 1.35 0.71 0.02 92.57 19:13:14 Average: 5 5.13 0.00 1.24 0.22 0.02 93.39 19:13:14 Average: 6 5.32 0.00 1.28 0.17 0.02 93.21 19:13:14 Average: 7 5.20 0.00 1.31 0.11 0.02 93.35 19:13:14 19:13:14 19:13:14