Pull request #47 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0d602dcb5f148122e99b0d2d87b9840c00c98548+438e9b89ef4afb0993607790962057af5e89a430 (bf959fe70e9cc38eeb85905be0d90a157f9e338d) 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-ssh5871038770404618461.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1571864450389006974.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-47/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-47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10108595884007617318.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-47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7894789236840274753.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11814668219167360269.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-47/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-47/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17266154091457666705.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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20338’ Running on prd-ubuntu20.04-docker-8c-8g-20344 in /w/workspace/edgexfoundry_device-gpio_PR-47 [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-47 # 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 438e9b89ef4afb0993607790962057af5e89a430 into PR head commit 0d602dcb5f148122e99b0d2d87b9840c00c98548 Merge succeeded, producing 0d602dcb5f148122e99b0d2d87b9840c00c98548 Checking out Revision 0d602dcb5f148122e99b0d2d87b9840c00c98548 (PR-47) > 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/47/head:refs/remotes/origin/PR-47 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d602dcb5f148122e99b0d2d87b9840c00c98548 # 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 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d602dcb5f148122e99b0d2d87b9840c00c98548 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:13:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:13:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:13:47 ========================================================= 01:13:47 EdgeX Global Pipelines Version Info 01:13:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:13:48 ------------------- 01:13:48 stable info: 01:13:48 ------------------- 01:13:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:13:48 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:13:48 Message: update stable to v1.0.238 01:13:49 ------------------- 01:13:49 experimental info: 01:13:49 ------------------- 01:13:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:13:49 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:13:49 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-47 [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-47 [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-47 [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d602dcb5f148122e99b0d2d87b9840c00c98548 [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d602dc [Pipeline] echo 01:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:51 provisioning config files... 01:13:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp/config731670033095623002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:51 ---> docker-login.sh 01:13:51 nexus3.edgexfoundry.org:10001 01:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:52 Configure a credential helper to remove this warning. See 01:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:52 01:13:52 Login Succeeded 01:13:52 nexus3.edgexfoundry.org:10002 01:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:52 Configure a credential helper to remove this warning. See 01:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:52 01:13:52 Login Succeeded 01:13:52 nexus3.edgexfoundry.org:10003 01:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:52 Configure a credential helper to remove this warning. See 01:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:52 01:13:52 Login Succeeded 01:13:52 nexus3.edgexfoundry.org:10004 01:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:52 Configure a credential helper to remove this warning. See 01:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:52 01:13:52 Login Succeeded 01:13:52 docker.io 01:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:53 Configure a credential helper to remove this warning. See 01:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:53 01:13:53 Login Succeeded 01:13:53 ---> docker-login.sh ends [Pipeline] } 01:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:13:53 + git rev-list -1 --merges 0d602dcb5f148122e99b0d2d87b9840c00c98548~1..0d602dcb5f148122e99b0d2d87b9840c00c98548 [Pipeline] echo 01:13:53 -----------> git rev-list -1 --merges 0d602dcb5f148122e99b0d2d87b9840c00c98548~1..0d602dcb5f148122e99b0d2d87b9840c00c98548 0d602dcb5f148122e99b0d2d87b9840c00c98548 [false] [Pipeline] sh 01:13:54 + git log --format=format:%s -1 0d602dcb5f148122e99b0d2d87b9840c00c98548 [Pipeline] echo 01:13:54 ========================================================= 01:13:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:13:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:54 + git log --format=format:%s -1 0d602dcb5f148122e99b0d2d87b9840c00c98548 [Pipeline] echo 01:13:54 [semverPrep] GIT_COMMIT: 0d602dcb5f148122e99b0d2d87b9840c00c98548, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:13:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:13:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:13:55 + grep -v github /etc/ssh/ssh_known_hosts 01:13:55 + [ -e /tmp/ssh_known_hosts ] 01:13:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:13:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:13:55 + sudo tee -a /etc/ssh/ssh_known_hosts 01:13:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:55 01:13:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:55 0.1.4: Pulling from edgex-devops/py-git-semver 01:13:55 b85a868b505f: Pulling fs layer 01:13:55 e2be974225ed: Pulling fs layer 01:13:55 339a4e72a1f5: Pulling fs layer 01:13:55 988bab9f4d93: Pulling fs layer 01:13:55 1469e6f7b9e6: Pulling fs layer 01:13:55 eaf3925da568: Pulling fs layer 01:13:55 bab4dde63d76: Pulling fs layer 01:13:55 bde34c3a00c8: Pulling fs layer 01:13:55 b352a97aabf1: Pulling fs layer 01:13:55 4872d77fe225: Pulling fs layer 01:13:55 5851b861e8e6: Pulling fs layer 01:13:55 988bab9f4d93: Waiting 01:13:55 bde34c3a00c8: Waiting 01:13:55 1469e6f7b9e6: Waiting 01:13:55 eaf3925da568: Waiting 01:13:55 bab4dde63d76: Waiting 01:13:55 5851b861e8e6: Waiting 01:13:55 b352a97aabf1: Waiting 01:13:55 e2be974225ed: Verifying Checksum 01:13:55 e2be974225ed: Download complete 01:13:55 988bab9f4d93: Verifying Checksum 01:13:55 988bab9f4d93: Download complete 01:13:56 1469e6f7b9e6: Verifying Checksum 01:13:56 1469e6f7b9e6: Download complete 01:13:56 339a4e72a1f5: Verifying Checksum 01:13:56 339a4e72a1f5: Download complete 01:13:56 eaf3925da568: Download complete 01:13:56 bde34c3a00c8: Verifying Checksum 01:13:56 bde34c3a00c8: Download complete 01:13:56 b352a97aabf1: Verifying Checksum 01:13:56 b352a97aabf1: Download complete 01:13:56 4872d77fe225: Verifying Checksum 01:13:56 4872d77fe225: Download complete 01:13:56 5851b861e8e6: Download complete 01:13:56 b85a868b505f: Verifying Checksum 01:13:56 b85a868b505f: Download complete 01:13:56 bab4dde63d76: Verifying Checksum 01:13:56 bab4dde63d76: Download complete 01:13:57 b85a868b505f: Pull complete 01:13:57 e2be974225ed: Pull complete 01:13:58 339a4e72a1f5: Pull complete 01:13:58 988bab9f4d93: Pull complete 01:13:58 1469e6f7b9e6: Pull complete 01:13:58 eaf3925da568: Pull complete 01:14:00 bab4dde63d76: Pull complete 01:14:00 bde34c3a00c8: Pull complete 01:14:01 b352a97aabf1: Pull complete 01:14:01 4872d77fe225: Pull complete 01:14:01 5851b861e8e6: Pull complete 01:14:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:01 prd-ubuntu20.04-docker-8c-8g-20344 does not seem to be running inside a container 01:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-47 -v /w/workspace/edgexfoundry_device-gpio_PR-47:/w/workspace/edgexfoundry_device-gpio_PR-47:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-47@tmp:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:14:04 $ docker top a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:14:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:04 [ssh-agent] Looking for ssh-agent implementation... 01:14:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:04 $ docker exec a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 ssh-agent 01:14:04 SSH_AUTH_SOCK=/tmp/ssh-LkqqtJd5ZM4F/agent.34 01:14:04 SSH_AGENT_PID=40 01:14:04 Running ssh-add (command line suppressed) 01:14:04 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-47@tmp/private_key_3508060060900368579.key (/w/workspace/edgexfoundry_device-gpio_PR-47@tmp/private_key_3508060060900368579.key) 01:14:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:04 + git tag --points-at HEAD [Pipeline] } 01:14:04 $ docker exec --env ******** --env ******** a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 ssh-agent -k 01:14:05 unset SSH_AUTH_SOCK; 01:14:05 unset SSH_AGENT_PID; 01:14:05 echo Agent pid 40 killed; 01:14:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:14:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:05 [ssh-agent] Looking for ssh-agent implementation... 01:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:05 $ docker exec a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 ssh-agent 01:14:05 SSH_AUTH_SOCK=/tmp/ssh-UaddpdodO4Y7/agent.73 01:14:05 SSH_AGENT_PID=79 01:14:05 Running ssh-add (command line suppressed) 01:14:05 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-47@tmp/private_key_1396410342782120885.key (/w/workspace/edgexfoundry_device-gpio_PR-47@tmp/private_key_1396410342782120885.key) 01:14:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:05 + git semver init 01:14:06 2022-07-18 01:14:06,127 [run_init] DEBUG init version:0.0.0 force:False 01:14:06 2022-07-18 01:14:06,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-47/.semver 01:14:06 2022-07-18 01:14:06,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-47/.semver 01:14:06 2022-07-18 01:14:06,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-47/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-47, universal_newlines=False, shell=None, istream=None) 01:14:07 2022-07-18 01:14:07,090 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-47/.git/info/exclude 01:14:07 2022-07-18 01:14:07,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-47/.semver/PR-47 with force:False 01:14:07 2022-07-18 01:14:07,091 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-47/.semver/PR-47 01:14:07 2022-07-18 01:14:07,093 [execute] INFO git cat-file --batch-check 01:14:07 2022-07-18 01:14:07,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-47/.semver, universal_newlines=False, shell=None, istream=) 01:14:07 2022-07-18 01:14:07,099 [execute] INFO git cat-file --batch 01:14:07 2022-07-18 01:14:07,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-47/.semver, universal_newlines=False, shell=None, istream=) 01:14:07 2022-07-18 01:14:07,105 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-47/.semver/PR-47 01:14:07 0.0.0 [Pipeline] } 01:14:07 $ docker exec --env ******** --env ******** a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 ssh-agent -k 01:14:07 unset SSH_AUTH_SOCK; 01:14:07 unset SSH_AGENT_PID; 01:14:07 echo Agent pid 79 killed; 01:14:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:14:07 + git semver [Pipeline] } 01:14:08 $ docker stop --time=1 a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 01:14:09 $ docker rm -f a54f4240fe15f3afa0872cea10217a41899613bb552d046a45052552567e3821 [Pipeline] // withDockerContainer [Pipeline] sh 01:14:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:14:10 Stashed 1 file(s) [Pipeline] echo 01:14:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:10 provisioning config files... 01:14:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp/config2282181408650593374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:11 ---> docker-login.sh 01:14:11 nexus3.edgexfoundry.org:10001 01:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:11 Configure a credential helper to remove this warning. See 01:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:11 01:14:11 Login Succeeded 01:14:11 nexus3.edgexfoundry.org:10002 01:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:11 Configure a credential helper to remove this warning. See 01:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:11 01:14:11 Login Succeeded 01:14:11 nexus3.edgexfoundry.org:10003 01:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:11 Configure a credential helper to remove this warning. See 01:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:11 01:14:11 Login Succeeded 01:14:11 nexus3.edgexfoundry.org:10004 01:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:11 Configure a credential helper to remove this warning. See 01:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:11 01:14:11 Login Succeeded 01:14:11 docker.io 01:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:11 Configure a credential helper to remove this warning. See 01:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:11 01:14:11 Login Succeeded 01:14:11 ---> docker-login.sh ends [Pipeline] } 01:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:14:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:14:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:14:12 ========================================================= 01:14:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:14:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:14:12 Sending build context to Docker daemon 15.77MB 01:14:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:14:12 Step 2/12 : FROM ${BASE} AS builder 01:14:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:14:12 2408cc74d12b: Pulling fs layer 01:14:12 ea60b727a1ce: Pulling fs layer 01:14:12 30c4a7721957: Pulling fs layer 01:14:12 370296b7ddb6: Pulling fs layer 01:14:12 7c6cee850709: Pulling fs layer 01:14:12 370296b7ddb6: Waiting 01:14:12 39a5fcdaea64: Pulling fs layer 01:14:12 d94ebbe4e438: Pulling fs layer 01:14:12 7c6cee850709: Waiting 01:14:12 bcfd1f05c69d: Pulling fs layer 01:14:12 59ccb84bbe0f: Pulling fs layer 01:14:12 d94ebbe4e438: Waiting 01:14:12 bcfd1f05c69d: Waiting 01:14:12 59ccb84bbe0f: Waiting 01:14:12 30c4a7721957: Verifying Checksum 01:14:12 30c4a7721957: Download complete 01:14:12 ea60b727a1ce: Download complete 01:14:12 7c6cee850709: Verifying Checksum 01:14:12 7c6cee850709: Download complete 01:14:12 39a5fcdaea64: Verifying Checksum 01:14:12 39a5fcdaea64: Download complete 01:14:12 2408cc74d12b: Verifying Checksum 01:14:12 2408cc74d12b: Download complete 01:14:12 d94ebbe4e438: Download complete 01:14:13 2408cc74d12b: Pull complete 01:14:13 ea60b727a1ce: Pull complete 01:14:13 30c4a7721957: Pull complete 01:14:13 59ccb84bbe0f: Verifying Checksum 01:14:13 59ccb84bbe0f: Download complete 01:14:13 bcfd1f05c69d: Verifying Checksum 01:14:13 bcfd1f05c69d: Download complete 01:14:13 370296b7ddb6: Verifying Checksum 01:14:13 370296b7ddb6: Download complete 01:14:17 370296b7ddb6: Pull complete 01:14:17 7c6cee850709: Pull complete 01:14:17 39a5fcdaea64: Pull complete 01:14:17 d94ebbe4e438: Pull complete 01:14:19 bcfd1f05c69d: Pull complete 01:14:20 59ccb84bbe0f: Pull complete 01:14:20 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:14:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:14:20 ---> a4fb48ad2a94 01:14:20 Step 3/12 : ARG MAKE="make build" 01:14:24 ---> Running in f3e6588eeced 01:14:25 Removing intermediate container f3e6588eeced 01:14:25 ---> cf82800a1766 01:14:25 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:14:25 ---> Running in 0b256e1801e4 01:14:25 Removing intermediate container 0b256e1801e4 01:14:25 ---> fbd9fe6ac379 01:14:25 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:14:25 ---> Running in 3d9ba81e369c 01:14:25 Removing intermediate container 3d9ba81e369c 01:14:25 ---> 9ad236093a60 01:14:25 Step 6/12 : WORKDIR /device-gpio 01:14:25 ---> Running in 64a9841b23f7 01:14:25 Removing intermediate container 64a9841b23f7 01:14:25 ---> 2d86beecd0ff 01:14:25 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:14:25 ---> Running in 778b968debb9 01:14:25 Still waiting to schedule task 01:14:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20342’ 01:14:26 Removing intermediate container 778b968debb9 01:14:26 ---> d7b37acf95a8 01:14:26 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:14:26 ---> Running in 7c611695c659 01:14:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:14:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:14:27 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:14:27 (2/4) Installing libedit (20210910.3.1-r0) 01:14:27 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:14:27 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:14:28 Executing busybox-1.35.0-r13.trigger 01:14:28 OK: 216 MiB in 55 packages 01:14:28 Removing intermediate container 7c611695c659 01:14:28 ---> b33ecba78b2b 01:14:28 Step 9/12 : COPY go.mod vendor* ./ 01:14:28 ---> 3e1088ae2471 01:14:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:28 ---> Running in 152d4b690b5d 01:14:55 Removing intermediate container 152d4b690b5d 01:14:55 ---> 0d829f0ec944 01:14:55 Step 11/12 : COPY . . 01:14:55 ---> 6c181bc64be6 01:14:55 Step 12/12 : RUN ${MAKE} 01:14:55 ---> Running in 4d1530f480ab 01:14:55 noop 01:14:55 Removing intermediate container 4d1530f480ab 01:14:55 ---> 2b256765bf63 01:14:55 Successfully built 2b256765bf63 01:14:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:55 + docker inspect -f . ci-base-image-x86_64 01:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:55 prd-ubuntu20.04-docker-8c-8g-20344 does not seem to be running inside a container 01:14:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-47 -v /w/workspace/edgexfoundry_device-gpio_PR-47:/w/workspace/edgexfoundry_device-gpio_PR-47:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-47@tmp:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:14:56 $ docker top 939c40275adde60e0e00beb343698d930e5406083dfa7203ac769ef594280f25 -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:56 + go version 01:14:56 go version go1.18.3 linux/amd64 [Pipeline] } 01:14:56 $ docker stop --time=1 939c40275adde60e0e00beb343698d930e5406083dfa7203ac769ef594280f25 01:14:58 $ docker rm -f 939c40275adde60e0e00beb343698d930e5406083dfa7203ac769ef594280f25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:58 + docker inspect -f . ci-base-image-x86_64 01:14:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:58 prd-ubuntu20.04-docker-8c-8g-20344 does not seem to be running inside a container 01:14:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-47 -v /w/workspace/edgexfoundry_device-gpio_PR-47:/w/workspace/edgexfoundry_device-gpio_PR-47:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-47@tmp:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:14:59 $ docker top e8fdbabad614147d45ea986cca36de64ca840bc1f7b2849e4972854b5fb386d2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-47 [Pipeline] fileExists [Pipeline] sh 01:15:00 + make test 01:15:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:15:00 ? github.com/edgexfoundry/device-gpio [no test files] 01:15:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:15:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:15:15 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:15:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:15:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:15:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:15:18 ./bin/test-attribution-txt.sh [Pipeline] echo 01:15:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:15:19 $ docker stop --time=1 e8fdbabad614147d45ea986cca36de64ca840bc1f7b2849e4972854b5fb386d2 01:15:21 $ docker rm -f e8fdbabad614147d45ea986cca36de64ca840bc1f7b2849e4972854b5fb386d2 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:15:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:15:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:15:23 + ls -al . 01:15:23 total 160 01:15:23 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 01:15 . 01:15:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:13 .. 01:15:23 -rw-rw-r-- 1 jenkins jenkins 120 Jul 18 01:13 .dockerignore 01:15:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:15 .git 01:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:13 .github 01:15:23 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 01:13 .gitignore 01:15:23 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:13 .golangci.yml 01:15:23 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:14 .semver 01:15:23 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 18 01:13 Attribution.txt 01:15:23 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 18 01:13 CHANGELOG.md 01:15:23 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 18 01:13 Dockerfile 01:15:23 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:13 GOVERNANCE.md 01:15:23 -rw-rw-r-- 1 jenkins jenkins 657 Jul 18 01:13 Jenkinsfile 01:15:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:13 LICENSE 01:15:23 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 18 01:13 Makefile 01:15:23 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 01:13 OWNERS.md 01:15:23 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 18 01:13 README.md 01:15:23 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:14 VERSION 01:15:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:13 bin 01:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:13 cmd 01:15:23 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 01:15 coverage.out 01:15:23 -rw-rw-r-- 1 jenkins jenkins 3288 Jul 18 01:13 go.mod 01:15:23 -rw-rw-r-- 1 jenkins jenkins 35450 Jul 18 01:13 go.sum 01:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:13 internal 01:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:13 snap 01:15:23 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 01:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:23 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0d602dcb5f148122e99b0d2d87b9840c00c98548 --label arch=amd64 --label version=0.0.0 . 01:15:23 Sending build context to Docker daemon 15.77MB 01:15:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:15:23 Step 2/26 : FROM ${BASE} AS builder 01:15:23 ---> 2b256765bf63 01:15:23 Step 3/26 : ARG MAKE="make build" 01:15:23 ---> Running in e7df5cfa7f8f 01:15:24 Removing intermediate container e7df5cfa7f8f 01:15:24 ---> d68ed6b3753c 01:15:24 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:15:24 ---> Running in 08505fac696b 01:15:24 Removing intermediate container 08505fac696b 01:15:24 ---> dbb0b5799e7c 01:15:24 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:15:24 ---> Running in b0540e47f385 01:15:24 Removing intermediate container b0540e47f385 01:15:24 ---> 3eb13754f963 01:15:24 Step 6/26 : WORKDIR /device-gpio 01:15:24 ---> Running in 6b3edcdc3f8c 01:15:24 Removing intermediate container 6b3edcdc3f8c 01:15:24 ---> eb285f754e29 01:15:24 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:24 ---> Running in 4e62f7e64d89 01:15:25 Removing intermediate container 4e62f7e64d89 01:15:25 ---> 46cb6a5e8d9d 01:15:25 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:25 ---> Running in e1ff85a344dd 01:15:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:15:26 OK: 216 MiB in 55 packages 01:15:26 Removing intermediate container e1ff85a344dd 01:15:26 ---> b22976da335f 01:15:26 Step 9/26 : COPY go.mod vendor* ./ 01:15:27 ---> 7eab3db3231e 01:15:27 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:27 ---> Running in bc5c7ee123c6 01:15:27 Removing intermediate container bc5c7ee123c6 01:15:27 ---> 511ced1d969d 01:15:27 Step 11/26 : COPY . . 01:15:28 ---> f01f2bc8908b 01:15:28 Step 12/26 : RUN ${MAKE} 01:15:28 ---> Running in 942822fbd4a2 01:15:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:15:50 Removing intermediate container 942822fbd4a2 01:15:50 ---> 060365b9593b 01:15:50 Step 13/26 : FROM alpine:3.16 01:15:50 3.16: Pulling from library/alpine 01:15:50 2408cc74d12b: Already exists 01:15:50 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:15:50 Status: Downloaded newer image for alpine:3.16 01:15:50 ---> e66264b98777 01:15:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:15:50 ---> Running in 6ab3c0b50950 01:15:50 Removing intermediate container 6ab3c0b50950 01:15:50 ---> 1d521ab5be70 01:15:50 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:50 ---> Running in ea98f361cc8d 01:15:50 Removing intermediate container ea98f361cc8d 01:15:50 ---> da3d2858355d 01:15:50 Step 16/26 : RUN apk add --update --no-cache zeromq 01:15:50 ---> Running in 80f71740fc25 01:15:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:15:52 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:15:52 (2/5) Installing libsodium (1.0.18-r0) 01:15:52 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:15:52 (4/5) Installing libzmq (4.3.4-r0) 01:15:52 (5/5) Installing zeromq (4.3.4-r0) 01:15:52 Executing busybox-1.35.0-r13.trigger 01:15:52 OK: 8 MiB in 19 packages 01:15:53 Removing intermediate container 80f71740fc25 01:15:53 ---> b41a670e0e87 01:15:53 Step 17/26 : WORKDIR / 01:15:53 ---> Running in 089af46568f9 01:15:54 Removing intermediate container 089af46568f9 01:15:54 ---> 19bdecf5c478 01:15:54 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:15:54 ---> 3ff723d7e322 01:15:54 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:15:54 ---> 931631fdaf6a 01:15:54 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:15:55 ---> 6ff7cd1c639d 01:15:55 Step 21/26 : EXPOSE 59910 01:15:55 ---> Running in 3007b052f655 01:15:55 Removing intermediate container 3007b052f655 01:15:55 ---> eea13ce15e7e 01:15:55 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:15:55 ---> Running in c28334e3f4fe 01:15:55 Removing intermediate container c28334e3f4fe 01:15:55 ---> 89eb4d02fbff 01:15:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:15:55 ---> Running in c5c4aad9f58b 01:15:55 Removing intermediate container c5c4aad9f58b 01:15:55 ---> 08389ea26665 01:15:55 Step 24/26 : LABEL arch=amd64 01:15:55 ---> Running in d419983ffdf8 01:15:55 Removing intermediate container d419983ffdf8 01:15:55 ---> 29a40e8e8003 01:15:55 Step 25/26 : LABEL git_sha=0d602dcb5f148122e99b0d2d87b9840c00c98548 01:15:55 ---> Running in b4faed40fbac 01:15:55 Removing intermediate container b4faed40fbac 01:15:55 ---> ded58b1660e4 01:15:55 Step 26/26 : LABEL version=0.0.0 01:15:55 ---> Running in 247974aecc0d 01:15:56 Removing intermediate container 247974aecc0d 01:15:56 ---> 38ba145a70d0 01:15:56 [Warning] One or more build-args [ARCH] were not consumed 01:15:56 Successfully built 38ba145a70d0 01:15:56 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:56 01:15:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:57 latest: Pulling from edgex-lftools-log-publisher 01:15:57 5eb5b503b376: Pulling fs layer 01:15:57 5c69ac0246d0: Pulling fs layer 01:15:57 ec43610c2a17: Pulling fs layer 01:15:57 3a2ae6a8a46f: Pulling fs layer 01:15:57 33b1e0a273af: Pulling fs layer 01:15:57 5d3b04190fa2: Pulling fs layer 01:15:57 2f39f015ded8: Pulling fs layer 01:15:57 33b1e0a273af: Waiting 01:15:57 5d3b04190fa2: Waiting 01:15:57 2f39f015ded8: Waiting 01:15:57 3a2ae6a8a46f: Waiting 01:15:57 5c69ac0246d0: Download complete 01:15:57 3a2ae6a8a46f: Verifying Checksum 01:15:57 3a2ae6a8a46f: Download complete 01:15:57 ec43610c2a17: Verifying Checksum 01:15:57 ec43610c2a17: Download complete 01:15:57 33b1e0a273af: Verifying Checksum 01:15:57 33b1e0a273af: Download complete 01:15:57 5d3b04190fa2: Download complete 01:15:57 5eb5b503b376: Verifying Checksum 01:15:57 5eb5b503b376: Download complete 01:15:58 2f39f015ded8: Verifying Checksum 01:15:58 2f39f015ded8: Download complete 01:15:58 5eb5b503b376: Pull complete 01:15:58 5c69ac0246d0: Pull complete 01:15:59 ec43610c2a17: Pull complete 01:15:59 3a2ae6a8a46f: Pull complete 01:15:59 33b1e0a273af: Pull complete 01:15:59 5d3b04190fa2: Pull complete 01:16:04 2f39f015ded8: Pull complete 01:16:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:04 prd-ubuntu20.04-docker-8c-8g-20344 does not seem to be running inside a container 01:16:04 $ 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-47 -v /w/workspace/edgexfoundry_device-gpio_PR-47:/w/workspace/edgexfoundry_device-gpio_PR-47:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-47@tmp:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:16:07 $ docker top 12f856df8022d51265e194203619ddc687c8f22408701201833b330723dd6861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:08 ---> job-cost.sh 01:16:08 lf-activate-venv: SKIPPING 01:16:08 INFO: No Stack... 01:16:08 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:08 INFO: Archiving Costs [Pipeline] sh 01:16:09 + cat /w/workspace/edgexfoundry_device-gpio_PR-47/archives/cost.csv 01:16:09 + cut -d, -f6 [Pipeline] lock 01:16:09 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] 01:16:09 Resource [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] did not exist. Created. 01:16:09 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:09 + echo total: 0.2199999988079071 [Pipeline] stash 01:16:09 Stashed 1 file(s) [Pipeline] } 01:16:09 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:09 $ docker stop --time=1 12f856df8022d51265e194203619ddc687c8f22408701201833b330723dd6861 01:16:11 $ docker rm -f 12f856df8022d51265e194203619ddc687c8f22408701201833b330723dd6861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:18:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20346 in /w/workspace/edgexfoundry_device-gpio_PR-47 [Pipeline] { [Pipeline] ws 01:18:03 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:18:03 The recommended git tool is: git 01:18:11 using credential edgex-jenkins-ssh 01:18:11 Cloning the remote Git repository 01:18:11 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:18:11 > git init /w/workspace/device-gpio/1 # timeout=10 01:18:11 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:18:11 > git --version # timeout=10 01:18:11 > git --version # 'git version 2.25.1' 01:18:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:13 Merging remotes/origin/main commit 438e9b89ef4afb0993607790962057af5e89a430 into PR head commit 0d602dcb5f148122e99b0d2d87b9840c00c98548 01:18:14 Merge succeeded, producing 0d602dcb5f148122e99b0d2d87b9840c00c98548 01:18:14 Checking out Revision 0d602dcb5f148122e99b0d2d87b9840c00c98548 (PR-47) 01:18:13 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:18:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:13 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:18:13 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:18:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:18:13 > git config core.sparsecheckout # timeout=10 01:18:13 > git checkout -f 0d602dcb5f148122e99b0d2d87b9840c00c98548 # timeout=10 01:18:13 > git remote # timeout=10 01:18:13 > git config --get remote.origin.url # timeout=10 01:18:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:14 > git merge 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 01:18:14 > git rev-parse HEAD^{commit} # timeout=10 01:18:14 > git config core.sparsecheckout # timeout=10 01:18:14 > git checkout -f 0d602dcb5f148122e99b0d2d87b9840c00c98548 # timeout=10 01:18:18 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:18:18 > git --version # timeout=10 01:18:18 > git --version # 'git version 2.25.1' 01:18:18 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:18:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:18:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:19 Dload Upload Total Spent Left Speed 01:18:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 01:18:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:18:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:18:20 + sudo tee /etc/docker/daemon.new 01:18:20 { 01:18:20 "registry-mirrors": [ 01:18:20 "https://nexus3.edgexfoundry.org:10001" 01:18:20 ], 01:18:20 "bip": "10.250.0.254/24", 01:18:20 "hosts": [ 01:18:20 "tcp://0.0.0.0:5555", 01:18:20 "unix:///var/run/docker.sock" 01:18:20 ], 01:18:20 "mtu": 1458, 01:18:20 "selinux-enabled": true, 01:18:20 "seccomp-profile": "/etc/docker/seccomp.json" 01:18:20 } [Pipeline] sh 01:18:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:18:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:39 provisioning config files... 01:18:39 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1159151404195113860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:40 ---> docker-login.sh 01:18:40 nexus3.edgexfoundry.org:10001 01:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:41 Configure a credential helper to remove this warning. See 01:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:41 01:18:41 Login Succeeded 01:18:41 nexus3.edgexfoundry.org:10002 01:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:42 Configure a credential helper to remove this warning. See 01:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:42 01:18:42 Login Succeeded 01:18:42 nexus3.edgexfoundry.org:10003 01:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:42 Configure a credential helper to remove this warning. See 01:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:42 01:18:42 Login Succeeded 01:18:42 nexus3.edgexfoundry.org:10004 01:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:43 Configure a credential helper to remove this warning. See 01:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:43 01:18:43 Login Succeeded 01:18:43 docker.io 01:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:44 Configure a credential helper to remove this warning. See 01:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:44 01:18:44 Login Succeeded 01:18:44 ---> docker-login.sh ends [Pipeline] } 01:18:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:44 ========================================================= 01:18:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:18:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:18:45 Sending build context to Docker daemon 7.949MB 01:18:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:18:45 Step 2/12 : FROM ${BASE} AS builder 01:18:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:18:45 b3c136eddcbf: Pulling fs layer 01:18:45 c0a3192eca97: Pulling fs layer 01:18:45 a050256f5b6f: Pulling fs layer 01:18:45 656be50a0ddc: Pulling fs layer 01:18:45 2bbca73fdf42: Pulling fs layer 01:18:45 46d945488cbd: Pulling fs layer 01:18:45 8a5474983e97: Pulling fs layer 01:18:45 329c88fbcd65: Pulling fs layer 01:18:45 46d945488cbd: Waiting 01:18:45 8a5474983e97: Waiting 01:18:45 329c88fbcd65: Waiting 01:18:45 656be50a0ddc: Waiting 01:18:45 2bbca73fdf42: Waiting 01:18:45 a050256f5b6f: Verifying Checksum 01:18:45 a050256f5b6f: Download complete 01:18:45 c0a3192eca97: Verifying Checksum 01:18:45 c0a3192eca97: Download complete 01:18:46 2bbca73fdf42: Verifying Checksum 01:18:46 2bbca73fdf42: Download complete 01:18:46 b3c136eddcbf: Verifying Checksum 01:18:46 b3c136eddcbf: Download complete 01:18:46 46d945488cbd: Verifying Checksum 01:18:46 46d945488cbd: Download complete 01:18:47 b3c136eddcbf: Pull complete 01:18:47 329c88fbcd65: Verifying Checksum 01:18:47 329c88fbcd65: Download complete 01:18:47 c0a3192eca97: Pull complete 01:18:48 a050256f5b6f: Pull complete 01:18:48 8a5474983e97: Verifying Checksum 01:18:48 8a5474983e97: Download complete 01:18:49 656be50a0ddc: Verifying Checksum 01:18:49 656be50a0ddc: Download complete 01:19:04 656be50a0ddc: Pull complete 01:19:04 2bbca73fdf42: Pull complete 01:19:04 46d945488cbd: Pull complete 01:19:07 8a5474983e97: Pull complete 01:19:09 329c88fbcd65: Pull complete 01:19:09 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:19:09 ---> ff4287adb874 01:19:09 Step 3/12 : ARG MAKE="make build" 01:19:11 ---> Running in 8e012bd6fa22 01:19:11 Removing intermediate container 8e012bd6fa22 01:19:11 ---> 7adb8d380644 01:19:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:19:11 ---> Running in 1ff3aa565f3e 01:19:12 Removing intermediate container 1ff3aa565f3e 01:19:12 ---> c7408c4f53d6 01:19:12 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:19:12 ---> Running in 80f0752ab24d 01:19:12 Removing intermediate container 80f0752ab24d 01:19:12 ---> bb75b74bf39d 01:19:12 Step 6/12 : WORKDIR /device-gpio 01:19:12 ---> Running in d7faba922579 01:19:12 Removing intermediate container d7faba922579 01:19:12 ---> f07412b040c2 01:19:12 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:19:13 ---> Running in bd0fe38dc398 01:19:15 Removing intermediate container bd0fe38dc398 01:19:15 ---> 285c8bd83fc1 01:19:15 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:19:15 ---> Running in d5989d67a137 01:19:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:19:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:19:18 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:19:18 (2/4) Installing libedit (20210910.3.1-r0) 01:19:18 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:19:18 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:19:18 Executing busybox-1.35.0-r13.trigger 01:19:18 OK: 226 MiB in 55 packages 01:19:19 Removing intermediate container d5989d67a137 01:19:19 ---> 64311f136936 01:19:19 Step 9/12 : COPY go.mod vendor* ./ 01:19:20 ---> 869ecbea1b4d 01:19:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:20 ---> Running in b8185de0ca51 01:20:07 Removing intermediate container b8185de0ca51 01:20:07 ---> 49e09a73cc9c 01:20:07 Step 11/12 : COPY . . 01:20:07 ---> 0b45902e0555 01:20:07 Step 12/12 : RUN ${MAKE} 01:20:07 ---> Running in f50a6864fa54 01:20:08 noop 01:20:08 Removing intermediate container f50a6864fa54 01:20:08 ---> d0a7e02b62ac 01:20:08 Successfully built d0a7e02b62ac 01:20:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:09 + docker inspect -f . ci-base-image-arm64 01:20:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:09 prd-ubuntu20.04-docker-arm64-4c-16g-20346 does not seem to be running inside a container 01:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:20:10 $ docker top 0351a7826457079b8449eb29f85d13fdbbf131c0988367c7172392404220e984 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:11 + go version 01:20:11 go version go1.18.3 linux/arm64 [Pipeline] } 01:20:11 $ docker stop --time=1 0351a7826457079b8449eb29f85d13fdbbf131c0988367c7172392404220e984 01:20:13 $ docker rm -f 0351a7826457079b8449eb29f85d13fdbbf131c0988367c7172392404220e984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:14 + docker inspect -f . ci-base-image-arm64 01:20:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:14 prd-ubuntu20.04-docker-arm64-4c-16g-20346 does not seem to be running inside a container 01:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:20:16 $ docker top f6de8c973f2ed25e6b580d493af8c3d74ab4a6b7abcd1fd450905aba0f086d96 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:17 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:20:17 + make test 01:20:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:20:19 ? github.com/edgexfoundry/device-gpio [no test files] 01:21:41 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:21:41 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:21:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:21:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:22:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:22:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:22:03 ./bin/test-attribution-txt.sh [Pipeline] echo 01:22:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:22:03 $ docker stop --time=1 f6de8c973f2ed25e6b580d493af8c3d74ab4a6b7abcd1fd450905aba0f086d96 01:22:05 $ docker rm -f f6de8c973f2ed25e6b580d493af8c3d74ab4a6b7abcd1fd450905aba0f086d96 [Pipeline] // withDockerContainer [Pipeline] sh 01:22:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:22:06 Warning: overwriting stash ‘coverage-report’ 01:22:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:22:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:22:08 + ls -al . 01:22:08 total 156 01:22:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:20 . 01:22:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:18 .. 01:22:08 -rw-rw-r-- 1 jenkins jenkins 120 Jul 18 01:18 .dockerignore 01:22:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:18 .git 01:22:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:18 .github 01:22:08 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 01:18 .gitignore 01:22:08 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:18 .golangci.yml 01:22:08 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 18 01:18 Attribution.txt 01:22:08 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 18 01:18 CHANGELOG.md 01:22:08 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 18 01:18 Dockerfile 01:22:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:18 GOVERNANCE.md 01:22:08 -rw-rw-r-- 1 jenkins jenkins 657 Jul 18 01:18 Jenkinsfile 01:22:08 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:18 LICENSE 01:22:08 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 18 01:18 Makefile 01:22:08 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 01:18 OWNERS.md 01:22:08 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 18 01:18 README.md 01:22:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:14 VERSION 01:22:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:18 bin 01:22:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:18 cmd 01:22:08 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 01:20 coverage.out 01:22:08 -rw-rw-r-- 1 jenkins jenkins 3288 Jul 18 01:18 go.mod 01:22:08 -rw-rw-r-- 1 jenkins jenkins 35450 Jul 18 01:18 go.sum 01:22:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:18 internal 01:22:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:18 snap 01:22:08 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:08 + 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=0d602dcb5f148122e99b0d2d87b9840c00c98548 --label arch=arm64 --label version=0.0.0 . 01:22:09 Sending build context to Docker daemon 7.95MB 01:22:09 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:22:09 Step 2/26 : FROM ${BASE} AS builder 01:22:09 ---> d0a7e02b62ac 01:22:09 Step 3/26 : ARG MAKE="make build" 01:22:09 ---> Running in 622381a2f6ac 01:22:09 Removing intermediate container 622381a2f6ac 01:22:09 ---> fd901138d9e8 01:22:09 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:22:09 ---> Running in e1adfce6411e 01:22:10 Removing intermediate container e1adfce6411e 01:22:10 ---> e044e8dbab4e 01:22:10 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:22:10 ---> Running in 18bf2393aca7 01:22:10 Removing intermediate container 18bf2393aca7 01:22:10 ---> 4f74ee2e2f1c 01:22:10 Step 6/26 : WORKDIR /device-gpio 01:22:10 ---> Running in 1c1bb9b287e4 01:22:10 Removing intermediate container 1c1bb9b287e4 01:22:10 ---> 707124eb9d9f 01:22:10 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:22:11 ---> Running in 29056d67db07 01:22:13 Removing intermediate container 29056d67db07 01:22:13 ---> f9a6393f9611 01:22:13 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:22:13 ---> Running in c93e9dffdfb0 01:22:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:22:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:22:16 OK: 226 MiB in 55 packages 01:22:16 Removing intermediate container c93e9dffdfb0 01:22:16 ---> 60bdcc8de128 01:22:16 Step 9/26 : COPY go.mod vendor* ./ 01:22:17 ---> 0f2b1a3d5426 01:22:17 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:17 ---> Running in 11415cd77a4d 01:22:19 Removing intermediate container 11415cd77a4d 01:22:19 ---> b7cdea0533d7 01:22:19 Step 11/26 : COPY . . 01:22:20 ---> 3997fd6830c0 01:22:20 Step 12/26 : RUN ${MAKE} 01:22:20 ---> Running in e4ea0aa8969a 01:22:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:24:43 Removing intermediate container e4ea0aa8969a 01:24:43 ---> b7a3a5a46296 01:24:43 Step 13/26 : FROM alpine:3.16 01:24:43 3.16: Pulling from library/alpine 01:24:43 b3c136eddcbf: Already exists 01:24:43 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:24:43 Status: Downloaded newer image for alpine:3.16 01:24:43 ---> 6e30ab57aeee 01:24:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:24:43 ---> Running in 22135a257063 01:24:43 Removing intermediate container 22135a257063 01:24:43 ---> fc63a41bb6af 01:24:43 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:24:43 ---> Running in f2801a35d2d8 01:24:43 Removing intermediate container f2801a35d2d8 01:24:43 ---> 9f8f890577c8 01:24:43 Step 16/26 : RUN apk add --update --no-cache zeromq 01:24:43 ---> Running in 87df52d77122 01:24:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:24:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:24:43 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:24:43 (2/5) Installing libsodium (1.0.18-r0) 01:24:43 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:24:43 (4/5) Installing libzmq (4.3.4-r0) 01:24:44 (5/5) Installing zeromq (4.3.4-r0) 01:24:44 Executing busybox-1.35.0-r13.trigger 01:24:44 OK: 8 MiB in 19 packages 01:24:45 Removing intermediate container 87df52d77122 01:24:45 ---> 14391eddadc1 01:24:45 Step 17/26 : WORKDIR / 01:24:45 ---> Running in d1bbf96de60c 01:24:45 Removing intermediate container d1bbf96de60c 01:24:45 ---> 6918975c9537 01:24:45 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:24:46 ---> 958bb430119c 01:24:46 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:24:46 ---> 23da7ac8f471 01:24:46 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:24:48 ---> c60deae1def3 01:24:48 Step 21/26 : EXPOSE 59910 01:24:48 ---> Running in a62b6702166a 01:24:48 Removing intermediate container a62b6702166a 01:24:48 ---> 041d4051c2cd 01:24:48 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:24:48 ---> Running in d2de2df3721d 01:24:49 Removing intermediate container d2de2df3721d 01:24:49 ---> 86d2a55a58bb 01:24:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:24:49 ---> Running in f2544e4baef2 01:24:49 Removing intermediate container f2544e4baef2 01:24:49 ---> db0a4f85fcba 01:24:49 Step 24/26 : LABEL arch=arm64 01:24:49 ---> Running in 88789ca0033b 01:24:49 Removing intermediate container 88789ca0033b 01:24:49 ---> 630cdff6e1d3 01:24:49 Step 25/26 : LABEL git_sha=0d602dcb5f148122e99b0d2d87b9840c00c98548 01:24:49 ---> Running in 5d1d31511dcb 01:24:50 Removing intermediate container 5d1d31511dcb 01:24:50 ---> e33cd0822f75 01:24:50 Step 26/26 : LABEL version=0.0.0 01:24:50 ---> Running in b5d7f60f58ef 01:24:50 Removing intermediate container b5d7f60f58ef 01:24:50 ---> 182e73e1c266 01:24:50 [Warning] One or more build-args [ARCH] were not consumed 01:24:50 Successfully built 182e73e1c266 01:24:50 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:24:51 01:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:24:52 arm64: Pulling from edgex-lftools-log-publisher 01:24:52 8998bd30e6a1: Pulling fs layer 01:24:52 04944245beec: Pulling fs layer 01:24:52 699f458cf7ca: Pulling fs layer 01:24:52 765212b225bb: Pulling fs layer 01:24:52 f23df028b6ca: Pulling fs layer 01:24:52 d65c8cfc05b1: Pulling fs layer 01:24:52 2437ff75d9bd: Pulling fs layer 01:24:52 f23df028b6ca: Waiting 01:24:52 d65c8cfc05b1: Waiting 01:24:52 2437ff75d9bd: Waiting 01:24:52 765212b225bb: Waiting 01:24:52 04944245beec: Verifying Checksum 01:24:52 04944245beec: Download complete 01:24:52 765212b225bb: Verifying Checksum 01:24:52 765212b225bb: Download complete 01:24:52 f23df028b6ca: Verifying Checksum 01:24:52 f23df028b6ca: Download complete 01:24:52 d65c8cfc05b1: Verifying Checksum 01:24:52 d65c8cfc05b1: Download complete 01:24:52 699f458cf7ca: Verifying Checksum 01:24:52 699f458cf7ca: Download complete 01:24:53 8998bd30e6a1: Verifying Checksum 01:24:53 8998bd30e6a1: Download complete 01:24:55 2437ff75d9bd: Verifying Checksum 01:24:55 2437ff75d9bd: Download complete 01:24:57 8998bd30e6a1: Pull complete 01:24:57 04944245beec: Pull complete 01:24:59 699f458cf7ca: Pull complete 01:24:59 765212b225bb: Pull complete 01:25:00 f23df028b6ca: Pull complete 01:25:00 d65c8cfc05b1: Pull complete 01:25:15 2437ff75d9bd: Pull complete 01:25:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:25:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:15 prd-ubuntu20.04-docker-arm64-4c-16g-20346 does not seem to be running inside a container 01:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:25:18 $ docker top 37a6154945a407e206b22026ec99450722e64f71fd8c2a04e228c9c86e8be43b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:19 ---> job-cost.sh 01:25:19 lf-activate-venv: SKIPPING 01:25:19 INFO: No Stack... 01:25:20 INFO: Retrieving Pricing Info for: v3-standard-4 01:25:21 INFO: Archiving Costs [Pipeline] sh 01:25:21 + + catcut -d, /w/workspace/device-gpio/1/archives/cost.csv -f6 01:25:21 [Pipeline] lock 01:25:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] 01:25:21 Resource [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] did not exist. Created. 01:25:21 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:25:22 /w/workspace/device-gpio/1@tmp/durable-e78899de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:25:23 + echo total: 0.10999999940395355 [Pipeline] stash 01:25:23 Warning: overwriting stash ‘stack-cost’ 01:25:23 Stashed 1 file(s) [Pipeline] } 01:25:23 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-47-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:25:23 $ docker stop --time=1 37a6154945a407e206b22026ec99450722e64f71fd8c2a04e228c9c86e8be43b 01:25:24 $ docker rm -f 37a6154945a407e206b22026ec99450722e64f71fd8c2a04e228c9c86e8be43b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:25:26 provisioning config files... 01:25:26 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp/config6037442182564458260tmp [Pipeline] { [Pipeline] sh 01:25:26 + set +x 01:25:26 + + bash -s --curl 01:25:26 -s https://codecov.io/bash 01:25:26 01:25:26 _____ _ 01:25:26 / ____| | | 01:25:26 | | ___ __| | ___ ___ _____ __ 01:25:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:25:26 | |___| (_) | (_| | __/ (_| (_) \ V / 01:25:26 \_____\___/ \__,_|\___|\___\___/ \_/ 01:25:26 Bash-1.0.6 01:25:26 01:25:26 01:25:26 ==> git version 2.25.1 found 01:25:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:25:26 Release-Date: 2020-01-08 01:25:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:25:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:25:26 ==> Jenkins CI detected. 01:25:26 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-47 01:25:26 project root: . 01:25:26 --> token set from env 01:25:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:25:26 ==> Running gcov in . (disable via -X gcov) 01:25:26 ==> Python coveragepy not found 01:25:26 ==> Searching for coverage reports in: 01:25:26 + . 01:25:26 -> Found 1 reports 01:25:26 ==> Detecting git/mercurial file structure 01:25:26 ==> Reading reports 01:25:26 + ./coverage.out bytes=10 01:25:26 ==> Appending adjustments 01:25:26 https://docs.codecov.io/docs/fixing-reports 01:25:26 + Found adjustments 01:25:26 ==> Gzipping contents 01:25:26 4.0K /tmp/codecov.1YW2Za.gz 01:25:26 ==> Uploading reports 01:25:26 url: https://codecov.io 01:25:26 query: branch=PR-47&commit=0d602dcb5f148122e99b0d2d87b9840c00c98548&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=47&job=&cmd_args= 01:25:26 -> Pinging Codecov 01:25:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-47&commit=0d602dcb5f148122e99b0d2d87b9840c00c98548&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=47&job=&cmd_args= 01:25:27 -> Uploading to 01:25:27 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/0d602dcb5f148122e99b0d2d87b9840c00c98548/e7633a25-08cd-4c4a-b4a5-3b8b71a32780.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T012526Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bdf5d3dc3bdef16d07ca8b34424423a2894774553ad3a8e3d4f3ba64d655f32f 01:25:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:25:27 Dload Upload Total Spent Left Speed 01:25:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3314 --:--:-- --:--:-- --:--:-- 3328 01:25:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/0d602dcb5f148122e99b0d2d87b9840c00c98548 [Pipeline] } 01:25:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:25:29 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-47/archives ] 01:25:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-47/archives 01:25:29 total 16 01:25:29 drwxr-xr-x 3 root root 4096 Jul 18 01:16 . 01:25:29 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:16 .. 01:25:29 drwxr-xr-x 2 root root 4096 Jul 18 01:16 cost 01:25:29 -rw-r--r-- 1 root root 81 Jul 18 01:16 cost.csv 01:25:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-47/archives 01:25:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-47/archives 01:25:29 total 16 01:25:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:16 . 01:25:29 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:16 .. 01:25:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 01:16 cost 01:25:29 -rw-r--r-- 1 jenkins jenkins 81 Jul 18 01:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:25:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:25:30 ---> package-listing.sh 01:25:30 ++ facter osfamily 01:25:30 ++ tr '[:upper:]' '[:lower:]' 01:25:30 + OS_FAMILY=debian 01:25:30 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-47 01:25:30 + START_PACKAGES=/tmp/packages_start.txt 01:25:30 + END_PACKAGES=/tmp/packages_end.txt 01:25:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:25:30 + PACKAGES=/tmp/packages_start.txt 01:25:30 + '[' /w/workspace/edgexfoundry_device-gpio_PR-47 ']' 01:25:30 + PACKAGES=/tmp/packages_end.txt 01:25:30 + case "${OS_FAMILY}" in 01:25:30 + dpkg -l 01:25:30 + grep '^ii' 01:25:30 + '[' -f /tmp/packages_start.txt ']' 01:25:30 + '[' -f /tmp/packages_end.txt ']' 01:25:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:25:30 + '[' /w/workspace/edgexfoundry_device-gpio_PR-47 ']' 01:25:30 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-47/archives/ 01:25:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-47/archives/ [Pipeline] echo 01:25:30 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-47/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:25:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:25:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:31 prd-ubuntu20.04-docker-8c-8g-20344 does not seem to be running inside a container 01:25:32 $ 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-47/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-47 -v /w/workspace/edgexfoundry_device-gpio_PR-47:/w/workspace/edgexfoundry_device-gpio_PR-47:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-47@tmp:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:25:32 $ docker top 1d9cb80e2cc4ae726eb88f8c3eb146960f7d41a8d96a3a543cb121126eb66bd1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:25:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:25:33 + ls /var/log/sa-host 01:25:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:33 provisioning config files... 01:25:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-47@tmp/config822184447462468936tmp [Pipeline] { [Pipeline] echo 01:25:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:25:33 ---> create-netrc.sh [Pipeline] } 01:25:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:25:34 ---> python-tools-install.sh [Pipeline] echo 01:25:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:25:34 ---> sudo-logs.sh 01:25:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:25:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:25:35 ---> job-cost.sh 01:25:35 lf-activate-venv: SKIPPING 01:25:35 DEBUG: total: 0.2199999988079071 01:25:35 INFO: Retrieving Stack Cost... 01:25:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:25:35 INFO: Archiving Costs [Pipeline] echo 01:25:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:25:36 ---> logs-deploy.sh 01:25:36 lf-activate-venv: SKIPPING 01:25:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-47/1 01:25:36 INFO: archiving workspace using pattern(s): 01:25:37 Archives upload complete. 01:25:37 INFO: archiving logs to Nexus 01:25:38 ---> uname -a: 01:25:38 Linux prd-ubuntu20-04-docker-8c-8g-20344 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:25:38 01:25:38 01:25:38 ---> lscpu: 01:25:38 Architecture: x86_64 01:25:38 CPU op-mode(s): 32-bit, 64-bit 01:25:38 Byte Order: Little Endian 01:25:38 Address sizes: 40 bits physical, 48 bits virtual 01:25:38 CPU(s): 8 01:25:38 On-line CPU(s) list: 0-7 01:25:38 Thread(s) per core: 1 01:25:38 Core(s) per socket: 1 01:25:38 Socket(s): 8 01:25:38 NUMA node(s): 1 01:25:38 Vendor ID: AuthenticAMD 01:25:38 CPU family: 23 01:25:38 Model: 49 01:25:38 Model name: AMD EPYC-Rome Processor 01:25:38 Stepping: 0 01:25:38 CPU MHz: 2799.864 01:25:38 BogoMIPS: 5599.72 01:25:38 Virtualization: AMD-V 01:25:38 Hypervisor vendor: KVM 01:25:38 Virtualization type: full 01:25:38 L1d cache: 256 KiB 01:25:38 L1i cache: 256 KiB 01:25:38 L2 cache: 4 MiB 01:25:38 L3 cache: 128 MiB 01:25:38 NUMA node0 CPU(s): 0-7 01:25:38 Vulnerability Itlb multihit: Not affected 01:25:38 Vulnerability L1tf: Not affected 01:25:38 Vulnerability Mds: Not affected 01:25:38 Vulnerability Meltdown: Not affected 01:25:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:25:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:25:38 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:25:38 Vulnerability Srbds: Not affected 01:25:38 Vulnerability Tsx async abort: Not affected 01:25:38 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 01:25:38 01:25:38 01:25:38 ---> nproc: 01:25:38 8 01:25:38 01:25:38 01:25:38 ---> df -h: 01:25:38 Filesystem Size Used Avail Use% Mounted on 01:25:38 overlay 155G 11G 145G 7% / 01:25:38 tmpfs 64M 0 64M 0% /dev 01:25:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:25:38 shm 64M 0 64M 0% /dev/shm 01:25:38 /dev/vda1 155G 11G 145G 7% /facter-os 01:25:38 01:25:38 01:25:38 ---> sar -b -r -n DEV: 01:25:38 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20344) 07/18/22 _x86_64_ (8 CPU) 01:25:38 01:25:38 01:13:09 LINUX RESTART (8 CPU) 01:25:38 01:25:38 01:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:25:38 01:15:01 188.25 3.73 184.52 0.00 361.54 67760.97 0.00 01:25:38 01:16:01 161.17 0.08 161.09 0.00 8.00 24097.58 0.00 01:25:38 01:17:01 30.66 0.02 30.64 0.00 0.13 16460.34 0.00 01:25:38 01:18:01 1.97 0.00 1.97 0.00 0.00 23.06 0.00 01:25:38 01:19:01 1.20 0.02 1.18 0.00 0.13 14.53 0.00 01:25:38 01:20:01 1.55 0.00 1.55 0.00 0.00 18.53 0.00 01:25:38 01:21:01 2.57 0.87 1.70 0.00 18.40 24.53 0.00 01:25:38 01:22:01 1.48 0.00 1.48 0.00 0.00 17.06 0.00 01:25:38 01:23:01 0.95 0.00 0.95 0.00 0.00 10.80 0.00 01:25:38 01:24:01 1.93 0.00 1.93 0.00 0.00 26.80 0.00 01:25:38 01:25:01 0.98 0.00 0.98 0.00 0.00 11.46 0.00 01:25:38 Average: 35.70 0.43 35.27 0.00 35.29 9860.52 0.00 01:25:38 01:25:38 01:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:25:38 01:15:01 28333020 31704636 584436 1.78 160080 3420428 2417060 7.12 1270344 2826184 31808 01:25:38 01:16:01 27682532 31724736 565048 1.72 169088 4046136 2329560 6.87 1316720 3394692 425456 01:25:38 01:17:01 27676188 31773460 515304 1.57 173284 4077884 1929008 5.68 1281084 3414088 24 01:25:38 01:18:01 27677256 31774888 513236 1.56 173332 4077896 1929008 5.68 1280484 3414096 12 01:25:38 01:19:01 27678572 31776392 511860 1.56 173396 4077896 1929008 5.68 1278820 3414248 12 01:25:38 01:20:01 27678540 31776408 511768 1.56 173436 4077904 1929008 5.68 1279072 3414248 16 01:25:38 01:21:01 27686132 31784900 503060 1.53 173504 4078420 1974620 5.82 1270448 3414672 12 01:25:38 01:22:01 27686124 31784904 503020 1.53 173528 4078424 1974620 5.82 1270432 3414676 12 01:25:38 01:23:01 27686292 31785124 502984 1.53 173552 4078424 1974620 5.82 1270436 3414684 12 01:25:38 01:24:01 27685912 31784900 503096 1.53 173612 4078532 1974620 5.82 1271096 3414792 208 01:25:38 01:25:01 27686108 31785140 502812 1.53 173636 4078536 1974620 5.82 1270596 3414796 196 01:25:38 Average: 27741516 31768681 519693 1.58 171859 4015498 2030523 5.98 1278139 3359198 41615 01:25:38 01:25:38 01:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:25:38 01:15:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 01:25:38 01:15:01 docker0 135.19 163.61 10.60 1184.15 0.00 0.00 0.00 0.00 01:25:38 01:15:01 ens3 369.37 276.00 5160.04 91.57 0.00 0.00 0.00 0.00 01:25:38 01:15:01 veth15313a3 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 01:25:38 01:16:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 01:25:38 01:16:01 docker0 19.86 24.46 1.18 98.89 0.00 0.00 0.00 0.00 01:25:38 01:16:01 ens3 151.52 98.03 2640.55 20.40 0.00 0.00 0.00 0.00 01:25:38 01:17:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 01:25:38 01:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:17:01 ens3 35.61 33.21 13.92 54.06 0.00 0.00 0.00 0.00 01:25:38 01:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:25:38 01:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:18:01 ens3 1.27 0.62 0.18 0.11 0.00 0.00 0.00 0.00 01:25:38 01:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:19:01 ens3 1.35 0.78 2.08 0.36 0.00 0.00 0.00 0.00 01:25:38 01:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:25:38 01:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:20:01 ens3 0.50 0.32 0.26 0.20 0.00 0.00 0.00 0.00 01:25:38 01:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:21:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:25:38 01:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:22:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 01:25:38 01:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:23:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:25:38 01:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:24:01 ens3 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 01:25:38 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 01:25:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:25:38 Average: lo 0.52 0.52 0.05 0.05 0.00 0.00 0.00 0.00 01:25:38 Average: docker0 14.10 17.10 1.07 116.64 0.00 0.00 0.00 0.00 01:25:38 Average: ens3 50.92 37.21 710.65 15.16 0.00 0.00 0.00 0.00 01:25:38 01:25:38 01:25:38 ---> sar -P ALL: 01:25:38 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20344) 07/18/22 _x86_64_ (8 CPU) 01:25:38 01:25:38 01:13:09 LINUX RESTART (8 CPU) 01:25:38 01:25:38 01:14:01 CPU %user %nice %system %iowait %steal %idle 01:25:38 01:15:01 all 9.95 0.00 4.22 4.44 0.07 81.31 01:25:38 01:15:01 0 8.53 0.00 4.51 13.22 0.10 73.65 01:25:38 01:15:01 1 11.58 0.00 3.59 1.14 0.07 83.62 01:25:38 01:15:01 2 9.91 0.00 4.48 2.51 0.07 83.04 01:25:38 01:15:01 3 9.48 0.00 3.67 0.44 0.07 86.34 01:25:38 01:15:01 4 10.22 0.00 3.81 0.46 0.05 85.46 01:25:38 01:15:01 5 9.54 0.00 3.99 6.55 0.05 79.86 01:25:38 01:15:01 6 10.17 0.00 4.71 2.10 0.08 82.93 01:25:38 01:15:01 7 10.19 0.00 5.03 9.19 0.08 75.50 01:25:38 01:16:01 all 35.72 0.00 6.23 2.00 0.09 55.96 01:25:38 01:16:01 0 36.97 0.00 5.33 0.13 0.08 57.48 01:25:38 01:16:01 1 36.30 0.00 6.04 0.37 0.08 57.21 01:25:38 01:16:01 2 35.60 0.00 6.13 1.97 0.08 56.21 01:25:38 01:16:01 3 35.16 0.00 6.74 6.13 0.10 51.86 01:25:38 01:16:01 4 36.24 0.00 6.18 0.57 0.10 56.91 01:25:38 01:16:01 5 35.57 0.00 6.55 1.92 0.08 55.87 01:25:38 01:16:01 6 34.35 0.00 6.16 3.47 0.08 55.94 01:25:38 01:16:01 7 35.61 0.00 6.70 1.40 0.08 56.21 01:25:38 01:17:01 all 1.28 0.00 0.53 0.75 0.01 97.42 01:25:38 01:17:01 0 1.75 0.00 0.93 4.43 0.05 92.84 01:25:38 01:17:01 1 1.23 0.00 0.53 0.48 0.02 97.73 01:25:38 01:17:01 2 1.42 0.00 0.63 0.00 0.02 97.93 01:25:38 01:17:01 3 1.30 0.00 0.48 0.03 0.02 98.16 01:25:38 01:17:01 4 1.17 0.00 0.35 0.08 0.00 98.39 01:25:38 01:17:01 5 0.98 0.00 0.33 0.03 0.00 98.65 01:25:38 01:17:01 6 1.38 0.00 0.42 0.93 0.00 97.26 01:25:38 01:17:01 7 1.00 0.00 0.58 0.00 0.02 98.40 01:25:38 01:18:01 all 0.05 0.00 0.01 0.01 0.00 99.92 01:25:38 01:18:01 0 0.30 0.00 0.03 0.02 0.00 99.65 01:25:38 01:18:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:18:01 2 0.03 0.00 0.03 0.00 0.02 99.92 01:25:38 01:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:18:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:25:38 01:18:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:18:01 6 0.03 0.00 0.02 0.10 0.02 99.83 01:25:38 01:18:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:19:01 all 0.22 0.00 0.02 0.01 0.00 99.74 01:25:38 01:19:01 0 1.50 0.00 0.02 0.00 0.00 98.48 01:25:38 01:19:01 1 0.03 0.00 0.03 0.00 0.00 99.93 01:25:38 01:19:01 2 0.05 0.00 0.03 0.00 0.00 99.92 01:25:38 01:19:01 3 0.02 0.00 0.02 0.00 0.00 99.97 01:25:38 01:19:01 4 0.02 0.00 0.00 0.00 0.02 99.97 01:25:38 01:19:01 5 0.05 0.00 0.02 0.00 0.00 99.93 01:25:38 01:19:01 6 0.07 0.00 0.00 0.12 0.00 99.82 01:25:38 01:19:01 7 0.03 0.00 0.03 0.00 0.00 99.93 01:25:38 01:20:01 all 0.02 0.00 0.01 0.00 0.00 99.97 01:25:38 01:20:01 0 0.08 0.00 0.02 0.02 0.00 99.88 01:25:38 01:20:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:20:01 2 0.03 0.00 0.02 0.00 0.02 99.93 01:25:38 01:20:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:25:38 01:20:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:25:38 01:20:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:20:01 6 0.02 0.00 0.02 0.02 0.00 99.95 01:25:38 01:20:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:21:01 all 0.06 0.00 0.03 0.01 0.00 99.89 01:25:38 01:21:01 0 0.03 0.00 0.02 0.00 0.02 99.93 01:25:38 01:21:01 1 0.02 0.00 0.02 0.02 0.00 99.95 01:25:38 01:21:01 2 0.07 0.00 0.03 0.00 0.00 99.90 01:25:38 01:21:01 3 0.05 0.00 0.05 0.02 0.00 99.88 01:25:38 01:21:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:25:38 01:21:01 5 0.20 0.00 0.07 0.03 0.02 99.68 01:25:38 01:21:01 6 0.03 0.00 0.03 0.02 0.00 99.92 01:25:38 01:21:01 7 0.05 0.00 0.05 0.00 0.00 99.90 01:25:38 01:22:01 all 0.10 0.00 0.02 0.00 0.00 99.87 01:25:38 01:22:01 0 0.75 0.00 0.07 0.00 0.00 99.19 01:25:38 01:22:01 1 0.00 0.00 0.02 0.00 0.00 99.98 01:25:38 01:22:01 2 0.03 0.00 0.02 0.00 0.02 99.93 01:25:38 01:22:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:25:38 01:22:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:22:01 5 0.02 0.00 0.00 0.02 0.00 99.97 01:25:38 01:22:01 6 0.00 0.00 0.02 0.02 0.00 99.97 01:25:38 01:22:01 7 0.00 0.00 0.02 0.00 0.02 99.97 01:25:38 01:23:01 all 0.02 0.00 0.01 0.00 0.00 99.97 01:25:38 01:23:01 0 0.03 0.00 0.02 0.00 0.00 99.95 01:25:38 01:23:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:23:01 2 0.02 0.00 0.02 0.00 0.00 99.97 01:25:38 01:23:01 3 0.02 0.00 0.00 0.00 0.02 99.97 01:25:38 01:23:01 4 0.03 0.00 0.00 0.00 0.00 99.97 01:25:38 01:23:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:23:01 6 0.03 0.00 0.00 0.00 0.00 99.97 01:25:38 01:23:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:25:38 01:24:01 all 0.01 0.00 0.00 0.01 0.00 99.97 01:25:38 01:24:01 0 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:24:01 1 0.02 0.00 0.00 0.02 0.00 99.97 01:25:38 01:24:01 2 0.05 0.00 0.03 0.00 0.02 99.90 01:25:38 01:24:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:25:38 01:24:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:24:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:24:01 6 0.00 0.00 0.00 0.03 0.00 99.97 01:25:38 01:24:01 7 0.03 0.00 0.00 0.00 0.00 99.97 01:25:38 01:25:01 all 0.02 0.00 0.01 0.00 0.00 99.97 01:25:38 01:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 01:25:38 01:25:01 1 0.00 0.00 0.02 0.00 0.00 99.98 01:25:38 01:25:01 2 0.00 0.00 0.00 0.00 0.00 100.00 01:25:38 01:25:01 3 0.02 0.00 0.00 0.00 0.00 99.98 01:25:38 01:25:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:25:38 01:25:01 5 0.00 0.00 0.00 0.02 0.00 99.98 01:25:38 01:25:01 6 0.07 0.00 0.02 0.02 0.00 99.90 01:25:38 01:25:01 7 0.00 0.00 0.02 0.00 0.00 99.98 01:25:38 01:25:38 Average: CPU %user %nice %system %iowait %steal %idle 01:25:38 Average: all 4.28 0.00 1.00 0.65 0.02 94.05 01:25:38 Average: 0 4.52 0.00 0.99 1.61 0.02 92.86 01:25:38 Average: 1 4.43 0.00 0.92 0.18 0.02 94.44 01:25:38 Average: 2 4.26 0.00 1.03 0.40 0.02 94.29 01:25:38 Average: 3 4.15 0.00 0.99 0.60 0.02 94.25 01:25:38 Average: 4 4.30 0.00 0.93 0.10 0.02 94.65 01:25:38 Average: 5 4.18 0.00 0.99 0.77 0.01 94.05 01:25:38 Average: 6 4.16 0.00 1.03 0.62 0.02 94.18 01:25:38 Average: 7 4.22 0.00 1.12 0.95 0.02 93.70 01:25:38 01:25:38 01:25:38