Pull request #53 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43673b5525f26dae9b49279547fd28e5f0fb0fc6+1094f563edbbc5735ff7ad494c47030b36b4872c (aa13a90aa338cc30145903c09aa027cfcc0628c3) 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-ssh12722573385328988512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2838402227842886150.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-53/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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8713636062595625592.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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15653748896117066238.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12461906870787826114.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-53/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-53/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16593030358759965696.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24581 in /w/workspace/edgexfoundry_device-gpio_PR-53 [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-53 # 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 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit 43673b5525f26dae9b49279547fd28e5f0fb0fc6 Merge succeeded, producing 43673b5525f26dae9b49279547fd28e5f0fb0fc6 Checking out Revision 43673b5525f26dae9b49279547fd28e5f0fb0fc6 (PR-53) > 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/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # 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 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # 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 bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:15:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:15:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:15:17 ========================================================= 12:15:17 EdgeX Global Pipelines Version Info 12:15:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:15:18 ------------------- 12:15:18 stable info: 12:15:18 ------------------- 12:15:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:15:18 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:15:18 Message: update stable to v1.0.239 12:15:19 ------------------- 12:15:19 experimental info: 12:15:19 ------------------- 12:15:19 Commited By: **** collab-it+edgex@linuxfoundation.org 12:15:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:15:19 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:15:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-53 [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-53 [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-53 [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43673b5 [Pipeline] echo 12:15:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:20 provisioning config files... 12:15:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config6028861195751808069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:21 ---> docker-login.sh 12:15:21 nexus3.edgexfoundry.org:10001 12:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:21 Configure a credential helper to remove this warning. See 12:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:21 12:15:21 Login Succeeded 12:15:21 nexus3.edgexfoundry.org:10002 12:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:21 Configure a credential helper to remove this warning. See 12:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:21 12:15:21 Login Succeeded 12:15:21 nexus3.edgexfoundry.org:10003 12:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:21 Configure a credential helper to remove this warning. See 12:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:21 12:15:21 Login Succeeded 12:15:21 nexus3.edgexfoundry.org:10004 12:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:22 Configure a credential helper to remove this warning. See 12:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:22 12:15:22 Login Succeeded 12:15:22 docker.io 12:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:22 Configure a credential helper to remove this warning. See 12:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:22 12:15:22 Login Succeeded 12:15:22 ---> docker-login.sh ends [Pipeline] } 12:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:15:23 + git rev-list -1 --merges 43673b5525f26dae9b49279547fd28e5f0fb0fc6~1..43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo 12:15:23 -----------> git rev-list -1 --merges 43673b5525f26dae9b49279547fd28e5f0fb0fc6~1..43673b5525f26dae9b49279547fd28e5f0fb0fc6 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [false] [Pipeline] sh 12:15:23 + git log --format=format:%s -1 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo 12:15:23 ========================================================= 12:15:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:15:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:15:23 + git log --format=format:%s -1 43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] echo 12:15:23 [semverPrep] GIT_COMMIT: 43673b5525f26dae9b49279547fd28e5f0fb0fc6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 12:15:23 [semverPrep] This is not a build commit. [Pipeline] sh 12:15:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:15:24 + grep -v github /etc/ssh/ssh_known_hosts 12:15:24 + [ -e /tmp/ssh_known_hosts ] 12:15:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:15:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:15:24 + sudo tee -a /etc/ssh/ssh_known_hosts 12:15:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:15:24 12:15:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:15:25 0.1.4: Pulling from edgex-devops/py-git-semver 12:15:25 b85a868b505f: Pulling fs layer 12:15:25 e2be974225ed: Pulling fs layer 12:15:25 339a4e72a1f5: Pulling fs layer 12:15:25 988bab9f4d93: Pulling fs layer 12:15:25 1469e6f7b9e6: Pulling fs layer 12:15:25 988bab9f4d93: Waiting 12:15:25 eaf3925da568: Pulling fs layer 12:15:25 bab4dde63d76: Pulling fs layer 12:15:25 bde34c3a00c8: Pulling fs layer 12:15:25 b352a97aabf1: Pulling fs layer 12:15:25 1469e6f7b9e6: Waiting 12:15:25 4872d77fe225: Pulling fs layer 12:15:25 5851b861e8e6: Pulling fs layer 12:15:25 eaf3925da568: Waiting 12:15:25 bde34c3a00c8: Waiting 12:15:25 b352a97aabf1: Waiting 12:15:25 4872d77fe225: Waiting 12:15:25 5851b861e8e6: Waiting 12:15:25 bab4dde63d76: Waiting 12:15:25 e2be974225ed: Download complete 12:15:25 988bab9f4d93: Download complete 12:15:25 339a4e72a1f5: Verifying Checksum 12:15:25 339a4e72a1f5: Download complete 12:15:25 1469e6f7b9e6: Verifying Checksum 12:15:25 1469e6f7b9e6: Download complete 12:15:25 eaf3925da568: Verifying Checksum 12:15:25 bde34c3a00c8: Verifying Checksum 12:15:25 bde34c3a00c8: Download complete 12:15:25 b352a97aabf1: Download complete 12:15:25 4872d77fe225: Verifying Checksum 12:15:25 4872d77fe225: Download complete 12:15:25 5851b861e8e6: Verifying Checksum 12:15:25 5851b861e8e6: Download complete 12:15:25 b85a868b505f: Verifying Checksum 12:15:25 b85a868b505f: Download complete 12:15:25 bab4dde63d76: Verifying Checksum 12:15:25 bab4dde63d76: Download complete 12:15:26 b85a868b505f: Pull complete 12:15:26 e2be974225ed: Pull complete 12:15:27 339a4e72a1f5: Pull complete 12:15:27 988bab9f4d93: Pull complete 12:15:27 1469e6f7b9e6: Pull complete 12:15:27 eaf3925da568: Pull complete 12:15:29 bab4dde63d76: Pull complete 12:15:29 bde34c3a00c8: Pull complete 12:15:29 b352a97aabf1: Pull complete 12:15:29 4872d77fe225: Pull complete 12:15:29 5851b861e8e6: Pull complete 12:15:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:15:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:15:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:29 prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container 12:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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 12:15:31 $ docker top b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 -eo pid,comm 12:15:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:15:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:15:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:15:32 [ssh-agent] Looking for ssh-agent implementation... 12:15:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:15:32 $ docker exec b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent 12:15:32 SSH_AUTH_SOCK=/tmp/ssh-fM8tHhx8grsm/agent.32 12:15:32 SSH_AGENT_PID=38 12:15:32 Running ssh-add (command line suppressed) 12:15:32 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_4603176524844308257.key (/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_4603176524844308257.key) 12:15:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:15:32 + git tag --points-at HEAD [Pipeline] } 12:15:32 $ docker exec --env ******** --env ******** b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent -k 12:15:33 unset SSH_AUTH_SOCK; 12:15:33 unset SSH_AGENT_PID; 12:15:33 echo Agent pid 38 killed; 12:15:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:15:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:15:33 [ssh-agent] Looking for ssh-agent implementation... 12:15:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:15:33 $ docker exec b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent 12:15:33 SSH_AUTH_SOCK=/tmp/ssh-IpOapQ4oLZ7G/agent.72 12:15:33 SSH_AGENT_PID=79 12:15:33 Running ssh-add (command line suppressed) 12:15:33 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_2009745886651666398.key (/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/private_key_2009745886651666398.key) 12:15:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:15:33 + git semver init 12:15:34 2022-09-05 12:15:33,998 [run_init] DEBUG init version:0.0.0 force:False 12:15:34 2022-09-05 12:15:33,999 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-53/.semver 12:15:34 2022-09-05 12:15:34,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-53/.semver 12:15:34 2022-09-05 12:15:34,000 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-53/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-53, universal_newlines=False, shell=None, istream=None) 12:15:35 2022-09-05 12:15:34,998 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-53/.git/info/exclude 12:15:35 2022-09-05 12:15:34,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-53/.semver/PR-53 with force:False 12:15:35 2022-09-05 12:15:34,999 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-53/.semver/PR-53 12:15:35 2022-09-05 12:15:35,003 [execute] INFO git cat-file --batch-check 12:15:35 2022-09-05 12:15:35,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-53/.semver, universal_newlines=False, shell=None, istream=) 12:15:35 2022-09-05 12:15:35,010 [execute] INFO git cat-file --batch 12:15:35 2022-09-05 12:15:35,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-53/.semver, universal_newlines=False, shell=None, istream=) 12:15:35 2022-09-05 12:15:35,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-53/.semver/PR-53 12:15:35 0.0.0 [Pipeline] } 12:15:35 $ docker exec --env ******** --env ******** b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 ssh-agent -k 12:15:35 unset SSH_AUTH_SOCK; 12:15:35 unset SSH_AGENT_PID; 12:15:35 echo Agent pid 79 killed; 12:15:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:15:35 + git semver [Pipeline] } 12:15:36 $ docker stop --time=1 b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 12:15:37 $ docker rm -f b2b07cebffaf3159d29c50c942257d587a5917f1d24b44cfefab09e12e5d4882 [Pipeline] // withDockerContainer [Pipeline] sh 12:15:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:15:38 Stashed 1 file(s) [Pipeline] echo 12:15:38 [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 12:15:38 provisioning config files... 12:15:38 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config2402366986847149264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:39 ---> docker-login.sh 12:15:39 nexus3.edgexfoundry.org:10001 12:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:39 Configure a credential helper to remove this warning. See 12:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:39 12:15:39 Login Succeeded 12:15:39 nexus3.edgexfoundry.org:10002 12:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:39 Configure a credential helper to remove this warning. See 12:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:39 12:15:39 Login Succeeded 12:15:39 nexus3.edgexfoundry.org:10003 12:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:39 Configure a credential helper to remove this warning. See 12:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:39 12:15:39 Login Succeeded 12:15:39 nexus3.edgexfoundry.org:10004 12:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:39 Configure a credential helper to remove this warning. See 12:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:39 12:15:39 Login Succeeded 12:15:39 docker.io 12:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:40 Configure a credential helper to remove this warning. See 12:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:40 12:15:40 Login Succeeded 12:15:40 ---> docker-login.sh ends [Pipeline] } 12:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:15:40 ========================================================= 12:15:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:15:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:40 + 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 . 12:15:40 Sending build context to Docker daemon 15.8MB 12:15:40 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:15:40 Step 2/12 : FROM ${BASE} AS builder 12:15:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:15:41 2408cc74d12b: Pulling fs layer 12:15:41 ea60b727a1ce: Pulling fs layer 12:15:41 30c4a7721957: Pulling fs layer 12:15:41 370296b7ddb6: Pulling fs layer 12:15:41 7c6cee850709: Pulling fs layer 12:15:41 39a5fcdaea64: Pulling fs layer 12:15:41 d94ebbe4e438: Pulling fs layer 12:15:41 bcfd1f05c69d: Pulling fs layer 12:15:41 59ccb84bbe0f: Pulling fs layer 12:15:41 7c6cee850709: Waiting 12:15:41 370296b7ddb6: Waiting 12:15:41 39a5fcdaea64: Waiting 12:15:41 bcfd1f05c69d: Waiting 12:15:41 59ccb84bbe0f: Waiting 12:15:41 30c4a7721957: Verifying Checksum 12:15:41 30c4a7721957: Download complete 12:15:41 ea60b727a1ce: Verifying Checksum 12:15:41 ea60b727a1ce: Download complete 12:15:41 7c6cee850709: Download complete 12:15:41 2408cc74d12b: Verifying Checksum 12:15:41 2408cc74d12b: Download complete 12:15:41 39a5fcdaea64: Verifying Checksum 12:15:41 39a5fcdaea64: Download complete 12:15:41 d94ebbe4e438: Download complete 12:15:41 2408cc74d12b: Pull complete 12:15:41 ea60b727a1ce: Pull complete 12:15:41 30c4a7721957: Pull complete 12:15:42 59ccb84bbe0f: Verifying Checksum 12:15:42 59ccb84bbe0f: Download complete 12:15:42 bcfd1f05c69d: Verifying Checksum 12:15:42 bcfd1f05c69d: Download complete 12:15:42 370296b7ddb6: Verifying Checksum 12:15:42 370296b7ddb6: Download complete 12:15:46 370296b7ddb6: Pull complete 12:15:46 7c6cee850709: Pull complete 12:15:46 39a5fcdaea64: Pull complete 12:15:46 d94ebbe4e438: Pull complete 12:15:47 bcfd1f05c69d: Pull complete 12:15:48 59ccb84bbe0f: Pull complete 12:15:48 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 12:15:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:15:48 ---> a4fb48ad2a94 12:15:48 Step 3/12 : ARG MAKE="make build" 12:15:51 ---> Running in a75d011a8409 12:15:51 Removing intermediate container a75d011a8409 12:15:51 ---> eee3fb72ca7f 12:15:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:15:51 ---> Running in 19f5a74c65ee 12:15:51 Removing intermediate container 19f5a74c65ee 12:15:51 ---> db0e6380a5f5 12:15:51 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:15:51 ---> Running in 32a624ab3d62 12:15:51 Removing intermediate container 32a624ab3d62 12:15:51 ---> 46885d110130 12:15:51 Step 6/12 : WORKDIR /device-gpio 12:15:51 ---> Running in 181331bd434e 12:15:51 Removing intermediate container 181331bd434e 12:15:51 ---> 183a9014db09 12:15:51 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:15:51 ---> Running in dd8ea2c4ebc3 12:15:52 Removing intermediate container dd8ea2c4ebc3 12:15:52 ---> 66d6f8200111 12:15:52 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:15:52 ---> Running in 14f63518e5f3 12:15:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:15:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:15:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:15:53 (2/4) Installing libedit (20210910.3.1-r0) 12:15:53 Still waiting to schedule task 12:15:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:15:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:15:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:15:53 Executing busybox-1.35.0-r13.trigger 12:15:53 OK: 216 MiB in 55 packages 12:15:54 Removing intermediate container 14f63518e5f3 12:15:54 ---> 479e13a39a5a 12:15:54 Step 9/12 : COPY go.mod vendor* ./ 12:15:54 ---> 43fa5b304963 12:15:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:15:54 ---> Running in 0172c2194f4a 12:16:16 Removing intermediate container 0172c2194f4a 12:16:16 ---> 48e31fd2ef37 12:16:16 Step 11/12 : COPY . . 12:16:16 ---> 4a8d49bdedcb 12:16:16 Step 12/12 : RUN ${MAKE} 12:16:16 ---> Running in fd5206911dd4 12:16:17 noop 12:16:17 Removing intermediate container fd5206911dd4 12:16:17 ---> e296503abd51 12:16:17 Successfully built e296503abd51 12:16:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:17 + docker inspect -f . ci-base-image-x86_64 12:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:18 prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container 12:16:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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 12:16:18 $ docker top eee9a6103fc2bc27830941b84d14028d8bbe2a7464be0ae9e61fe0445e50b8f0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:18 + go version 12:16:18 go version go1.18.3 linux/amd64 [Pipeline] } 12:16:18 $ docker stop --time=1 eee9a6103fc2bc27830941b84d14028d8bbe2a7464be0ae9e61fe0445e50b8f0 12:16:20 $ docker rm -f eee9a6103fc2bc27830941b84d14028d8bbe2a7464be0ae9e61fe0445e50b8f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:20 + docker inspect -f . ci-base-image-x86_64 12:16:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:20 prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container 12:16:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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 12:16:21 $ docker top 3e09e5fae310cca5b7c4fe440b9f6dcf00daa0b8fb51bd4ec994a12a94424d7c -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-53 [Pipeline] fileExists [Pipeline] sh 12:16:22 + make test 12:16:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:16:22 ? github.com/edgexfoundry/device-gpio [no test files] 12:16:30 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 12:16:30 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 12:16:37 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 12:16:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:16:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:16:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:16:38 ./bin/test-attribution-txt.sh 12:16:38 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 12:16:38 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 12:16:38 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 12:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:16:39 $ docker stop --time=1 3e09e5fae310cca5b7c4fe440b9f6dcf00daa0b8fb51bd4ec994a12a94424d7c 12:16:41 $ docker rm -f 3e09e5fae310cca5b7c4fe440b9f6dcf00daa0b8fb51bd4ec994a12a94424d7c [Pipeline] // withDockerContainer [Pipeline] sh 12:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:16:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:16:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:16:42 + ls -al . 12:16:42 total 160 12:16:42 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 12:16 . 12:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:15 .. 12:16:42 -rw-rw-r-- 1 jenkins jenkins 120 Sep 5 12:15 .dockerignore 12:16:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:16 .git 12:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:15 .github 12:16:42 -rw-rw-r-- 1 jenkins jenkins 343 Sep 5 12:15 .gitignore 12:16:42 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 12:15 .golangci.yml 12:16:42 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 12:15 .semver 12:16:42 -rw-rw-r-- 1 jenkins jenkins 9182 Sep 5 12:15 Attribution.txt 12:16:42 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 5 12:15 CHANGELOG.md 12:16:42 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 5 12:15 Dockerfile 12:16:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 12:15 GOVERNANCE.md 12:16:42 -rw-rw-r-- 1 jenkins jenkins 657 Sep 5 12:15 Jenkinsfile 12:16:42 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 12:15 LICENSE 12:16:42 -rw-rw-r-- 1 jenkins jenkins 1876 Sep 5 12:15 Makefile 12:16:42 -rw-rw-r-- 1 jenkins jenkins 617 Sep 5 12:15 OWNERS.md 12:16:42 -rw-rw-r-- 1 jenkins jenkins 11178 Sep 5 12:15 README.md 12:16:42 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 12:15 VERSION 12:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:15 bin 12:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:15 cmd 12:16:42 -rw-r--r-- 1 jenkins jenkins 10 Sep 5 12:16 coverage.out 12:16:42 -rw-rw-r-- 1 jenkins jenkins 3425 Sep 5 12:15 go.mod 12:16:42 -rw-rw-r-- 1 jenkins jenkins 36813 Sep 5 12:15 go.sum 12:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:15 internal 12:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:15 snap 12:16:42 -rw-rw-r-- 1 jenkins jenkins 209 Sep 5 12:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:43 + 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=43673b5525f26dae9b49279547fd28e5f0fb0fc6 --label arch=amd64 --label version=0.0.0 . 12:16:43 Sending build context to Docker daemon 15.8MB 12:16:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:16:43 Step 2/26 : FROM ${BASE} AS builder 12:16:43 ---> e296503abd51 12:16:43 Step 3/26 : ARG MAKE="make build" 12:16:43 ---> Running in 4f246609eba3 12:16:43 Removing intermediate container 4f246609eba3 12:16:43 ---> c8b6e9a64b83 12:16:43 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:16:43 ---> Running in 68139fc40d7d 12:16:43 Removing intermediate container 68139fc40d7d 12:16:43 ---> f0cad0677706 12:16:43 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 12:16:43 ---> Running in 913c29ce085a 12:16:43 Removing intermediate container 913c29ce085a 12:16:43 ---> 76bf463676f2 12:16:43 Step 6/26 : WORKDIR /device-gpio 12:16:43 ---> Running in e3fec1ac724f 12:16:43 Removing intermediate container e3fec1ac724f 12:16:43 ---> 51f761a35afd 12:16:43 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:16:43 ---> Running in f82f597ce96a 12:16:44 Removing intermediate container f82f597ce96a 12:16:44 ---> 6e824e83de2b 12:16:44 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:16:44 ---> Running in a6275544cb38 12:16:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:16:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:16:45 OK: 216 MiB in 55 packages 12:16:45 Removing intermediate container a6275544cb38 12:16:45 ---> dc58d470c08e 12:16:45 Step 9/26 : COPY go.mod vendor* ./ 12:16:45 ---> b0cd1023a933 12:16:45 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:45 ---> Running in 6053a00279ab 12:16:46 Removing intermediate container 6053a00279ab 12:16:46 ---> 0fc28e0eaa60 12:16:46 Step 11/26 : COPY . . 12:16:47 ---> a430a5a27994 12:16:47 Step 12/26 : RUN ${MAKE} 12:16:47 ---> Running in ce380d55e3b4 12:16:47 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 12:17:05 Removing intermediate container ce380d55e3b4 12:17:05 ---> 77a9dc1d4e4e 12:17:05 Step 13/26 : FROM alpine:3.16 12:17:05 3.16: Pulling from library/alpine 12:17:06 213ec9aee27d: Pulling fs layer 12:17:06 213ec9aee27d: Verifying Checksum 12:17:06 213ec9aee27d: Download complete 12:17:06 213ec9aee27d: Pull complete 12:17:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:17:06 Status: Downloaded newer image for alpine:3.16 12:17:06 ---> 9c6f07244728 12:17:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 12:17:06 ---> Running in fb30dcb54521 12:17:06 Removing intermediate container fb30dcb54521 12:17:06 ---> c819c0cbacd8 12:17:06 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:17:06 ---> Running in 31b04e677375 12:17:07 Removing intermediate container 31b04e677375 12:17:07 ---> c397b83d7322 12:17:07 Step 16/26 : RUN apk add --update --no-cache zeromq 12:17:07 ---> Running in 90f7cdd4f0b0 12:17:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:17:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:17:08 (1/5) Installing libgcc (11.2.1_git20220219-r2) 12:17:09 (2/5) Installing libsodium (1.0.18-r0) 12:17:09 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 12:17:09 (4/5) Installing libzmq (4.3.4-r0) 12:17:09 (5/5) Installing zeromq (4.3.4-r0) 12:17:09 Executing busybox-1.35.0-r17.trigger 12:17:09 OK: 8 MiB in 19 packages 12:17:09 Removing intermediate container 90f7cdd4f0b0 12:17:09 ---> 63cf50c22694 12:17:09 Step 17/26 : WORKDIR / 12:17:09 ---> Running in 9afcb92ec7f2 12:17:09 Removing intermediate container 9afcb92ec7f2 12:17:09 ---> 5bea0a419c10 12:17:09 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 12:17:09 ---> fe4735a50db2 12:17:09 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 12:17:10 ---> f6d589d86a36 12:17:10 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 12:17:10 ---> 42712020654d 12:17:10 Step 21/26 : EXPOSE 59910 12:17:10 ---> Running in c7c113e35b40 12:17:10 Removing intermediate container c7c113e35b40 12:17:10 ---> fab46ba27df2 12:17:10 Step 22/26 : ENTRYPOINT ["/device-gpio"] 12:17:10 ---> Running in 9f9599403af8 12:17:10 Removing intermediate container 9f9599403af8 12:17:10 ---> 04cdbefedac6 12:17:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:17:10 ---> Running in 30a035f9ba96 12:17:10 Removing intermediate container 30a035f9ba96 12:17:10 ---> 1706d0905fe0 12:17:10 Step 24/26 : LABEL arch=amd64 12:17:10 ---> Running in 02df5d95a211 12:17:10 Removing intermediate container 02df5d95a211 12:17:10 ---> 821893010cc7 12:17:10 Step 25/26 : LABEL git_sha=43673b5525f26dae9b49279547fd28e5f0fb0fc6 12:17:10 ---> Running in 6b3a8005615a 12:17:11 Removing intermediate container 6b3a8005615a 12:17:11 ---> d742f3c021f9 12:17:11 Step 26/26 : LABEL version=0.0.0 12:17:11 ---> Running in 983d7a37f798 12:17:11 Removing intermediate container 983d7a37f798 12:17:11 ---> 1257a49dfff5 12:17:11 [Warning] One or more build-args [ARCH] were not consumed 12:17:11 Successfully built 1257a49dfff5 12:17:11 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 12:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:17:12 12:17:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:17:12 latest: Pulling from edgex-lftools-log-publisher 12:17:12 5eb5b503b376: Pulling fs layer 12:17:12 5c69ac0246d0: Pulling fs layer 12:17:12 ec43610c2a17: Pulling fs layer 12:17:12 3a2ae6a8a46f: Pulling fs layer 12:17:12 33b1e0a273af: Pulling fs layer 12:17:12 5d3b04190fa2: Pulling fs layer 12:17:12 2f39f015ded8: Pulling fs layer 12:17:12 3a2ae6a8a46f: Waiting 12:17:12 33b1e0a273af: Waiting 12:17:12 5d3b04190fa2: Waiting 12:17:12 2f39f015ded8: Waiting 12:17:12 5c69ac0246d0: Verifying Checksum 12:17:12 5c69ac0246d0: Download complete 12:17:12 3a2ae6a8a46f: Verifying Checksum 12:17:12 3a2ae6a8a46f: Download complete 12:17:12 33b1e0a273af: Verifying Checksum 12:17:12 33b1e0a273af: Download complete 12:17:12 5d3b04190fa2: Verifying Checksum 12:17:12 5d3b04190fa2: Download complete 12:17:12 ec43610c2a17: Verifying Checksum 12:17:12 ec43610c2a17: Download complete 12:17:12 5eb5b503b376: Download complete 12:17:13 2f39f015ded8: Download complete 12:17:13 5eb5b503b376: Pull complete 12:17:14 5c69ac0246d0: Pull complete 12:17:14 ec43610c2a17: Pull complete 12:17:14 3a2ae6a8a46f: Pull complete 12:17:14 33b1e0a273af: Pull complete 12:17:15 5d3b04190fa2: Pull complete 12:17:19 2f39f015ded8: Pull complete 12:17:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:17:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:17:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:19 prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container 12:17:19 $ 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-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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 12:17:22 $ docker top bd1b3fc05042c4c251b69f440148b18001d9bd90a7047c0d25c9ebabf621a4d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:17:22 ---> job-cost.sh 12:17:22 lf-activate-venv: SKIPPING 12:17:22 INFO: No Stack... 12:17:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:17:23 INFO: Archiving Costs [Pipeline] sh 12:17:23 + cat /w/workspace/edgexfoundry_device-gpio_PR-53/archives/cost.csv 12:17:23 + cut -d, -f6 [Pipeline] lock 12:17:23 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] 12:17:23 Resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] did not exist. Created. 12:17:23 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:17:24 + echo total: 0.2199999988079071 [Pipeline] stash 12:17:24 Stashed 1 file(s) [Pipeline] } 12:17:24 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:17:24 $ docker stop --time=1 bd1b3fc05042c4c251b69f440148b18001d9bd90a7047c0d25c9ebabf621a4d4 12:17:25 $ docker rm -f bd1b3fc05042c4c251b69f440148b18001d9bd90a7047c0d25c9ebabf621a4d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:17:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24582 in /w/workspace/edgexfoundry_device-gpio_PR-53 [Pipeline] { [Pipeline] ws 12:17:31 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 12:17:31 The recommended git tool is: git 12:17:37 using credential edgex-jenkins-ssh 12:17:37 Cloning the remote Git repository 12:17:37 Cloning repository git@github.com:edgexfoundry/device-gpio.git 12:17:37 > git init /w/workspace/device-gpio/1 # timeout=10 12:17:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:17:37 > git --version # timeout=10 12:17:37 > git --version # 'git version 2.25.1' 12:17:37 using GIT_SSH to set credentials SSH Credentials for GitHub 12:17:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:39 Merging remotes/origin/main commit 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit 43673b5525f26dae9b49279547fd28e5f0fb0fc6 12:17:40 Merge succeeded, producing 43673b5525f26dae9b49279547fd28e5f0fb0fc6 12:17:40 Checking out Revision 43673b5525f26dae9b49279547fd28e5f0fb0fc6 (PR-53) 12:17:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:17:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 12:17:39 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 12:17:39 using GIT_SSH to set credentials SSH Credentials for GitHub 12:17:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:17:39 > git config core.sparsecheckout # timeout=10 12:17:39 > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # timeout=10 12:17:39 > git remote # timeout=10 12:17:39 > git config --get remote.origin.url # timeout=10 12:17:39 using GIT_SSH to set credentials SSH Credentials for GitHub 12:17:40 > git merge 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 12:17:40 > git rev-parse HEAD^{commit} # timeout=10 12:17:40 > git config core.sparsecheckout # timeout=10 12:17:40 > git checkout -f 43673b5525f26dae9b49279547fd28e5f0fb0fc6 # timeout=10 12:17:44 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 12:17:44 > git --version # timeout=10 12:17:44 > git --version # 'git version 2.25.1' 12:17:44 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:17:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:17:45 % Total % Received % Xferd Average Speed Time Time Time Current 12:17:45 Dload Upload Total Spent Left Speed 12:17:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88746 [Pipeline] sh 12:17:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:17:46 + sudo tee /etc/docker/daemon.new 12:17:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:17:46 { 12:17:46 "registry-mirrors": [ 12:17:46 "https://nexus3.edgexfoundry.org:10001" 12:17:46 ], 12:17:46 "bip": "10.250.0.254/24", 12:17:46 "hosts": [ 12:17:46 "tcp://0.0.0.0:5555", 12:17:46 "unix:///var/run/docker.sock" 12:17:46 ], 12:17:46 "mtu": 1458, 12:17:46 "selinux-enabled": true, 12:17:46 "seccomp-profile": "/etc/docker/seccomp.json" 12:17:46 } [Pipeline] sh 12:17:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:17:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:18:05 provisioning config files... 12:18:05 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config8586841183347285561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:18:06 ---> docker-login.sh 12:18:06 nexus3.edgexfoundry.org:10001 12:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:18:07 Configure a credential helper to remove this warning. See 12:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:18:07 12:18:07 Login Succeeded 12:18:07 nexus3.edgexfoundry.org:10002 12:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:18:07 Configure a credential helper to remove this warning. See 12:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:18:07 12:18:07 Login Succeeded 12:18:07 nexus3.edgexfoundry.org:10003 12:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:18:08 Configure a credential helper to remove this warning. See 12:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:18:08 12:18:08 Login Succeeded 12:18:08 nexus3.edgexfoundry.org:10004 12:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:18:08 Configure a credential helper to remove this warning. See 12:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:18:08 12:18:08 Login Succeeded 12:18:08 docker.io 12:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:18:09 Configure a credential helper to remove this warning. See 12:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:18:09 12:18:09 Login Succeeded 12:18:09 ---> docker-login.sh ends [Pipeline] } 12:18:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:18:09 ========================================================= 12:18:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:18:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:10 + 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 . 12:18:10 Sending build context to Docker daemon 7.965MB 12:18:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:18:10 Step 2/12 : FROM ${BASE} AS builder 12:18:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:18:10 b3c136eddcbf: Pulling fs layer 12:18:10 c0a3192eca97: Pulling fs layer 12:18:10 a050256f5b6f: Pulling fs layer 12:18:10 656be50a0ddc: Pulling fs layer 12:18:10 2bbca73fdf42: Pulling fs layer 12:18:10 46d945488cbd: Pulling fs layer 12:18:10 8a5474983e97: Pulling fs layer 12:18:10 329c88fbcd65: Pulling fs layer 12:18:10 656be50a0ddc: Waiting 12:18:10 2bbca73fdf42: Waiting 12:18:10 8a5474983e97: Waiting 12:18:10 46d945488cbd: Waiting 12:18:10 329c88fbcd65: Waiting 12:18:10 a050256f5b6f: Verifying Checksum 12:18:10 a050256f5b6f: Download complete 12:18:10 c0a3192eca97: Download complete 12:18:10 2bbca73fdf42: Download complete 12:18:10 46d945488cbd: Verifying Checksum 12:18:10 46d945488cbd: Download complete 12:18:10 b3c136eddcbf: Verifying Checksum 12:18:10 b3c136eddcbf: Download complete 12:18:11 b3c136eddcbf: Pull complete 12:18:12 329c88fbcd65: Verifying Checksum 12:18:12 329c88fbcd65: Download complete 12:18:12 c0a3192eca97: Pull complete 12:18:12 a050256f5b6f: Pull complete 12:18:13 8a5474983e97: Verifying Checksum 12:18:13 8a5474983e97: Download complete 12:18:13 656be50a0ddc: Verifying Checksum 12:18:13 656be50a0ddc: Download complete 12:18:28 656be50a0ddc: Pull complete 12:18:28 2bbca73fdf42: Pull complete 12:18:28 46d945488cbd: Pull complete 12:18:33 8a5474983e97: Pull complete 12:18:35 329c88fbcd65: Pull complete 12:18:35 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 12:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:18:35 ---> ff4287adb874 12:18:35 Step 3/12 : ARG MAKE="make build" 12:18:37 ---> Running in 6018451ed27b 12:18:38 Removing intermediate container 6018451ed27b 12:18:38 ---> 2592b0a287a4 12:18:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:18:38 ---> Running in eaf4ce649181 12:18:38 Removing intermediate container eaf4ce649181 12:18:38 ---> 5abc140826cc 12:18:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:18:38 ---> Running in 9630e3e06aaf 12:18:38 Removing intermediate container 9630e3e06aaf 12:18:38 ---> 2092658e2fd1 12:18:38 Step 6/12 : WORKDIR /device-gpio 12:18:38 ---> Running in 7815541041c6 12:18:39 Removing intermediate container 7815541041c6 12:18:39 ---> dcd927833573 12:18:39 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:18:39 ---> Running in d96e6df9b783 12:18:41 Removing intermediate container d96e6df9b783 12:18:41 ---> 329714475fd8 12:18:41 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:18:41 ---> Running in c1c5ae3b2665 12:18:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:18:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:18:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:18:43 (2/4) Installing libedit (20210910.3.1-r0) 12:18:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:18:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:18:44 Executing busybox-1.35.0-r13.trigger 12:18:44 OK: 226 MiB in 55 packages 12:18:45 Removing intermediate container c1c5ae3b2665 12:18:45 ---> 7f3578a69d89 12:18:45 Step 9/12 : COPY go.mod vendor* ./ 12:18:45 ---> 0184812e2adf 12:18:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:18:45 ---> Running in 3937ff4cf73b 12:19:42 Removing intermediate container 3937ff4cf73b 12:19:42 ---> 975bc6316ed2 12:19:42 Step 11/12 : COPY . . 12:19:42 ---> 4f57a09fa33c 12:19:42 Step 12/12 : RUN ${MAKE} 12:19:42 ---> Running in 387b18c7ae52 12:19:42 noop 12:19:42 Removing intermediate container 387b18c7ae52 12:19:42 ---> 6d788d8decba 12:19:42 Successfully built 6d788d8decba 12:19:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:19:42 + docker inspect -f . ci-base-image-arm64 12:19:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-24582 does not seem to be running inside a container 12:19:43 $ 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 12:19:44 $ docker top 50cc5fcf8f2d38b2aa35c9ea2ec7783ee5c0df95952f75cb94b23f91167b48bb -eo pid,comm [Pipeline] { [Pipeline] sh 12:19:45 + go version 12:19:45 go version go1.18.3 linux/arm64 [Pipeline] } 12:19:45 $ docker stop --time=1 50cc5fcf8f2d38b2aa35c9ea2ec7783ee5c0df95952f75cb94b23f91167b48bb 12:19:47 $ docker rm -f 50cc5fcf8f2d38b2aa35c9ea2ec7783ee5c0df95952f75cb94b23f91167b48bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:19:47 + docker inspect -f . ci-base-image-arm64 12:19:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:19:48 prd-ubuntu20.04-docker-arm64-4c-16g-24582 does not seem to be running inside a container 12:19:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:19:49 $ docker top ea658ecf8ae6a98e0c656fcb05e96ecdb8a46f441340a2c1c754c5c4357e313b -eo pid,comm [Pipeline] { [Pipeline] sh 12:19:50 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 12:19:51 + make test 12:19:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:19:52 ? github.com/edgexfoundry/device-gpio [no test files] 12:21:14 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 12:21:14 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 12:21:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:21:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:21:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:21:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:21:27 ./bin/test-attribution-txt.sh 12:21:27 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 12:21:27 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 12:21:27 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 12:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:21:27 $ docker stop --time=1 ea658ecf8ae6a98e0c656fcb05e96ecdb8a46f441340a2c1c754c5c4357e313b 12:21:28 $ docker rm -f ea658ecf8ae6a98e0c656fcb05e96ecdb8a46f441340a2c1c754c5c4357e313b [Pipeline] // withDockerContainer [Pipeline] sh 12:21:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:21:29 Warning: overwriting stash ‘coverage-report’ 12:21:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:21:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:21:31 + ls -al . 12:21:31 total 156 12:21:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:19 . 12:21:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:17 .. 12:21:31 -rw-rw-r-- 1 jenkins jenkins 120 Sep 5 12:17 .dockerignore 12:21:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:17 .git 12:21:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:17 .github 12:21:31 -rw-rw-r-- 1 jenkins jenkins 343 Sep 5 12:17 .gitignore 12:21:31 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 12:17 .golangci.yml 12:21:31 -rw-rw-r-- 1 jenkins jenkins 9182 Sep 5 12:17 Attribution.txt 12:21:31 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 5 12:17 CHANGELOG.md 12:21:31 -rw-rw-r-- 1 jenkins jenkins 1872 Sep 5 12:17 Dockerfile 12:21:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 12:17 GOVERNANCE.md 12:21:31 -rw-rw-r-- 1 jenkins jenkins 657 Sep 5 12:17 Jenkinsfile 12:21:31 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 12:17 LICENSE 12:21:31 -rw-rw-r-- 1 jenkins jenkins 1876 Sep 5 12:17 Makefile 12:21:31 -rw-rw-r-- 1 jenkins jenkins 617 Sep 5 12:17 OWNERS.md 12:21:31 -rw-rw-r-- 1 jenkins jenkins 11178 Sep 5 12:17 README.md 12:21:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 12:15 VERSION 12:21:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:17 bin 12:21:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:17 cmd 12:21:31 -rw-r--r-- 1 jenkins jenkins 10 Sep 5 12:19 coverage.out 12:21:31 -rw-rw-r-- 1 jenkins jenkins 3425 Sep 5 12:17 go.mod 12:21:31 -rw-rw-r-- 1 jenkins jenkins 36813 Sep 5 12:17 go.sum 12:21:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:17 internal 12:21:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:17 snap 12:21:31 -rw-rw-r-- 1 jenkins jenkins 209 Sep 5 12:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:31 + 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=43673b5525f26dae9b49279547fd28e5f0fb0fc6 --label arch=arm64 --label version=0.0.0 . 12:21:31 Sending build context to Docker daemon 7.966MB 12:21:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:21:32 Step 2/26 : FROM ${BASE} AS builder 12:21:32 ---> 6d788d8decba 12:21:32 Step 3/26 : ARG MAKE="make build" 12:21:32 ---> Running in 5b5ccc421fed 12:21:32 Removing intermediate container 5b5ccc421fed 12:21:32 ---> eefc779328fd 12:21:32 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:21:32 ---> Running in b4025ec57276 12:21:32 Removing intermediate container b4025ec57276 12:21:32 ---> 08e2b3f5fa2e 12:21:32 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 12:21:33 ---> Running in 30e8a3337c5b 12:21:33 Removing intermediate container 30e8a3337c5b 12:21:33 ---> 273f5918f0a3 12:21:33 Step 6/26 : WORKDIR /device-gpio 12:21:33 ---> Running in 4ed30c3d73d1 12:21:33 Removing intermediate container 4ed30c3d73d1 12:21:33 ---> 46b02f3cdc19 12:21:33 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:21:33 ---> Running in 2ca51c44ce32 12:21:35 Removing intermediate container 2ca51c44ce32 12:21:35 ---> 797012462f80 12:21:35 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:21:35 ---> Running in cf9b0370e0a6 12:21:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:21:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:21:38 OK: 226 MiB in 55 packages 12:21:38 Removing intermediate container cf9b0370e0a6 12:21:38 ---> 4662d5bc2ba0 12:21:38 Step 9/26 : COPY go.mod vendor* ./ 12:21:39 ---> 87e4222e3928 12:21:39 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:21:39 ---> Running in 968908e26eaf 12:21:41 Removing intermediate container 968908e26eaf 12:21:41 ---> e854d56464be 12:21:41 Step 11/26 : COPY . . 12:21:42 ---> 874db4ba3b20 12:21:42 Step 12/26 : RUN ${MAKE} 12:21:42 ---> Running in 9827335192ae 12:21:43 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 12:23:50 Removing intermediate container 9827335192ae 12:23:50 ---> 8d5e3c99fadc 12:23:50 Step 13/26 : FROM alpine:3.16 12:23:50 3.16: Pulling from library/alpine 12:23:50 9b18e9b68314: Pulling fs layer 12:23:50 9b18e9b68314: Verifying Checksum 12:23:50 9b18e9b68314: Pull complete 12:23:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:23:50 Status: Downloaded newer image for alpine:3.16 12:23:50 ---> a6215f271958 12:23:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 12:23:50 ---> Running in 191f3289b034 12:23:50 Removing intermediate container 191f3289b034 12:23:50 ---> 6a8fb48c7793 12:23:50 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:23:50 ---> Running in ac5d87baca15 12:23:50 Removing intermediate container ac5d87baca15 12:23:50 ---> 4b403a9a3d4a 12:23:50 Step 16/26 : RUN apk add --update --no-cache zeromq 12:23:50 ---> Running in d4d3f7311408 12:23:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:23:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:23:50 (1/5) Installing libgcc (11.2.1_git20220219-r2) 12:23:50 (2/5) Installing libsodium (1.0.18-r0) 12:23:50 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 12:23:50 (4/5) Installing libzmq (4.3.4-r0) 12:23:50 (5/5) Installing zeromq (4.3.4-r0) 12:23:50 Executing busybox-1.35.0-r17.trigger 12:23:50 OK: 8 MiB in 19 packages 12:23:51 Removing intermediate container d4d3f7311408 12:23:51 ---> a8ef28fa4806 12:23:51 Step 17/26 : WORKDIR / 12:23:51 ---> Running in 975dbb218f36 12:23:51 Removing intermediate container 975dbb218f36 12:23:51 ---> f5cb8fdb9717 12:23:51 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 12:23:52 ---> d2c7c47f79f4 12:23:52 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 12:23:52 ---> 71b595b190e1 12:23:52 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 12:23:53 ---> 7cf4ec0d917b 12:23:53 Step 21/26 : EXPOSE 59910 12:23:53 ---> Running in f3154818e554 12:23:54 Removing intermediate container f3154818e554 12:23:54 ---> 268137680433 12:23:54 Step 22/26 : ENTRYPOINT ["/device-gpio"] 12:23:54 ---> Running in 63f3c0f46481 12:23:54 Removing intermediate container 63f3c0f46481 12:23:54 ---> 5e2d4e834437 12:23:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:23:54 ---> Running in e2273740696a 12:23:55 Removing intermediate container e2273740696a 12:23:55 ---> 062a4b0f990e 12:23:55 Step 24/26 : LABEL arch=arm64 12:23:55 ---> Running in 919814c3a353 12:23:55 Removing intermediate container 919814c3a353 12:23:55 ---> 2667b6da8377 12:23:55 Step 25/26 : LABEL git_sha=43673b5525f26dae9b49279547fd28e5f0fb0fc6 12:23:55 ---> Running in 703e6ef9fa92 12:23:55 Removing intermediate container 703e6ef9fa92 12:23:55 ---> f805edaf6a6b 12:23:55 Step 26/26 : LABEL version=0.0.0 12:23:55 ---> Running in 08667c9cda75 12:23:56 Removing intermediate container 08667c9cda75 12:23:56 ---> 257966132063 12:23:56 [Warning] One or more build-args [ARCH] were not consumed 12:23:56 Successfully built 257966132063 12:23:56 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 12:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:23:56 12:23:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:23:57 arm64: Pulling from edgex-lftools-log-publisher 12:23:57 8998bd30e6a1: Pulling fs layer 12:23:57 04944245beec: Pulling fs layer 12:23:57 699f458cf7ca: Pulling fs layer 12:23:57 765212b225bb: Pulling fs layer 12:23:57 f23df028b6ca: Pulling fs layer 12:23:57 d65c8cfc05b1: Pulling fs layer 12:23:57 2437ff75d9bd: Pulling fs layer 12:23:57 f23df028b6ca: Waiting 12:23:57 765212b225bb: Waiting 12:23:57 d65c8cfc05b1: Waiting 12:23:57 2437ff75d9bd: Waiting 12:23:57 04944245beec: Verifying Checksum 12:23:57 04944245beec: Download complete 12:23:57 765212b225bb: Download complete 12:23:57 f23df028b6ca: Verifying Checksum 12:23:57 f23df028b6ca: Download complete 12:23:57 d65c8cfc05b1: Verifying Checksum 12:23:57 d65c8cfc05b1: Download complete 12:23:57 699f458cf7ca: Verifying Checksum 12:23:57 699f458cf7ca: Download complete 12:23:58 8998bd30e6a1: Verifying Checksum 12:23:58 8998bd30e6a1: Download complete 12:24:00 2437ff75d9bd: Verifying Checksum 12:24:00 2437ff75d9bd: Download complete 12:24:02 8998bd30e6a1: Pull complete 12:24:02 04944245beec: Pull complete 12:24:04 699f458cf7ca: Pull complete 12:24:04 765212b225bb: Pull complete 12:24:05 f23df028b6ca: Pull complete 12:24:05 d65c8cfc05b1: Pull complete 12:24:20 2437ff75d9bd: Pull complete 12:24:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:24:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:21 prd-ubuntu20.04-docker-arm64-4c-16g-24582 does not seem to be running inside a container 12:24:21 $ 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 12:24:23 $ docker top b03005ca45cfe12aafcb96f9c60a3d58f26785d3119c244cc92b2adc58258b9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:24 ---> job-cost.sh 12:24:24 lf-activate-venv: SKIPPING 12:24:24 INFO: No Stack... 12:24:25 INFO: Retrieving Pricing Info for: v3-standard-4 12:24:26 INFO: Archiving Costs [Pipeline] sh 12:24:26 + cut -d, -f6 12:24:26 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 12:24:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] 12:24:26 Resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] did not exist. Created. 12:24:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:24:27 /w/workspace/device-gpio/1@tmp/durable-1e668561/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:24:28 + echo total: 0.10999999940395355 [Pipeline] stash 12:24:28 Warning: overwriting stash ‘stack-cost’ 12:24:28 Stashed 1 file(s) [Pipeline] } 12:24:28 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:24:28 $ docker stop --time=1 b03005ca45cfe12aafcb96f9c60a3d58f26785d3119c244cc92b2adc58258b9a 12:24:30 $ docker rm -f b03005ca45cfe12aafcb96f9c60a3d58f26785d3119c244cc92b2adc58258b9a [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 12:24:31 provisioning config files... 12:24:31 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config4466029635192841586tmp [Pipeline] { [Pipeline] sh 12:24:31 + set +x 12:24:31 + curl -s https://codecov.io/bash 12:24:31 + bash -s -- 12:24:31 12:24:31 _____ _ 12:24:31 / ____| | | 12:24:31 | | ___ __| | ___ ___ _____ __ 12:24:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:24:31 | |___| (_) | (_| | __/ (_| (_) \ V / 12:24:31 \_____\___/ \__,_|\___|\___\___/ \_/ 12:24:31 Bash-1.0.6 12:24:31 12:24:31 12:24:31 ==> git version 2.25.1 found 12:24:31 ==> 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 12:24:31 Release-Date: 2020-01-08 12:24:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:24:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:24:31 ==> Jenkins CI detected. 12:24:31 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-53 12:24:31 project root: . 12:24:31 --> token set from env 12:24:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:24:31 ==> Running gcov in . (disable via -X gcov) 12:24:31 ==> Python coveragepy not found 12:24:31 ==> Searching for coverage reports in: 12:24:31 + . 12:24:31 -> Found 1 reports 12:24:31 ==> Detecting git/mercurial file structure 12:24:31 ==> Reading reports 12:24:31 + ./coverage.out bytes=10 12:24:31 ==> Appending adjustments 12:24:31 https://docs.codecov.io/docs/fixing-reports 12:24:31 + Found adjustments 12:24:31 ==> Gzipping contents 12:24:31 4.0K /tmp/codecov.wz0noS.gz 12:24:31 ==> Uploading reports 12:24:31 url: https://codecov.io 12:24:31 query: branch=PR-53&commit=43673b5525f26dae9b49279547fd28e5f0fb0fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=53&job=&cmd_args= 12:24:31 -> Pinging Codecov 12:24:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-53&commit=43673b5525f26dae9b49279547fd28e5f0fb0fc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=53&job=&cmd_args= 12:24:31 -> Uploading to 12:24:31 https://storage.googleapis.com/codecov/v4/raw/2022-09-05/3EC07B1A8CA8AF9BCAA0BB9F0134797F/43673b5525f26dae9b49279547fd28e5f0fb0fc6/c586de4f-94b7-41ce-9501-7076536f7a92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T122431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5c5d2da9abea05f123806c6428ca5b72e09255372c9ef4f8cebb58b0428e992 12:24:31 % Total % Received % Xferd Average Speed Time Time Time Current 12:24:31 Dload Upload Total Spent Left Speed 12:24:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3475 --:--:-- --:--:-- --:--:-- 3475 12:24:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/43673b5525f26dae9b49279547fd28e5f0fb0fc6 [Pipeline] } 12:24:32 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 12:24:33 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-53/archives ] 12:24:33 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-53/archives 12:24:33 total 16 12:24:33 drwxr-xr-x 3 root root 4096 Sep 5 12:17 . 12:24:33 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 12:17 .. 12:24:33 drwxr-xr-x 2 root root 4096 Sep 5 12:17 cost 12:24:33 -rw-r--r-- 1 root root 82 Sep 5 12:17 cost.csv 12:24:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-53/archives 12:24:33 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-53/archives 12:24:33 total 16 12:24:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 12:17 . 12:24:33 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 12:17 .. 12:24:33 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 12:17 cost 12:24:33 -rw-r--r-- 1 jenkins jenkins 82 Sep 5 12:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:24:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:24:35 ---> package-listing.sh 12:24:35 ++ tr '[:upper:]' '[:lower:]' 12:24:35 ++ facter osfamily 12:24:35 + OS_FAMILY=debian 12:24:35 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-53 12:24:35 + START_PACKAGES=/tmp/packages_start.txt 12:24:35 + END_PACKAGES=/tmp/packages_end.txt 12:24:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:24:35 + PACKAGES=/tmp/packages_start.txt 12:24:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-53 ']' 12:24:35 + PACKAGES=/tmp/packages_end.txt 12:24:35 + case "${OS_FAMILY}" in 12:24:35 + dpkg -l 12:24:35 + grep '^ii' 12:24:35 + '[' -f /tmp/packages_start.txt ']' 12:24:35 + '[' -f /tmp/packages_end.txt ']' 12:24:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:24:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-53 ']' 12:24:35 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-53/archives/ 12:24:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-53/archives/ [Pipeline] echo 12:24:35 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-53/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:24:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:24:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:36 prd-ubuntu20.04-docker-8c-8g-24581 does not seem to be running inside a container 12:24:36 $ 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-53/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-53 -v /w/workspace/edgexfoundry_device-gpio_PR-53:/w/workspace/edgexfoundry_device-gpio_PR-53:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-53@tmp:/w/workspace/edgexfoundry_device-gpio_PR-53@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 12:24:36 $ docker top 2b2472cab501336e937a1c8cbd53a62ade75e51f3554b84d02c0fc8696d276a3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:37 + touch /tmp/pre-build-complete [Pipeline] sh 12:24:37 + mkdir -p /var/log/sysstat [Pipeline] sh 12:24:37 + ls /var/log/sa-host 12:24:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:24:37 provisioning config files... 12:24:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-53@tmp/config4966635878339633755tmp [Pipeline] { [Pipeline] echo 12:24:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:24:38 ---> create-netrc.sh [Pipeline] } 12:24:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:24:38 ---> python-tools-install.sh [Pipeline] echo 12:24:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:24:39 ---> sudo-logs.sh 12:24:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:24:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:24:39 ---> job-cost.sh 12:24:39 lf-activate-venv: SKIPPING 12:24:39 DEBUG: total: 0.2199999988079071 12:24:39 INFO: Retrieving Stack Cost... 12:24:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:24:40 INFO: Archiving Costs [Pipeline] echo 12:24:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:24:40 ---> logs-deploy.sh 12:24:40 lf-activate-venv: SKIPPING 12:24:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-53/1 12:24:40 INFO: archiving workspace using pattern(s): 12:24:41 Archives upload complete. 12:24:41 INFO: archiving logs to Nexus 12:24:42 ---> uname -a: 12:24:42 Linux prd-ubuntu20-04-docker-8c-8g-24581 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 12:24:42 12:24:42 12:24:42 ---> lscpu: 12:24:42 Architecture: x86_64 12:24:42 CPU op-mode(s): 32-bit, 64-bit 12:24:42 Byte Order: Little Endian 12:24:42 Address sizes: 40 bits physical, 48 bits virtual 12:24:42 CPU(s): 8 12:24:42 On-line CPU(s) list: 0-7 12:24:42 Thread(s) per core: 1 12:24:42 Core(s) per socket: 1 12:24:42 Socket(s): 8 12:24:42 NUMA node(s): 1 12:24:42 Vendor ID: AuthenticAMD 12:24:42 CPU family: 23 12:24:42 Model: 49 12:24:42 Model name: AMD EPYC-Rome Processor 12:24:42 Stepping: 0 12:24:42 CPU MHz: 2799.988 12:24:42 BogoMIPS: 5599.97 12:24:42 Virtualization: AMD-V 12:24:42 Hypervisor vendor: KVM 12:24:42 Virtualization type: full 12:24:42 L1d cache: 256 KiB 12:24:42 L1i cache: 256 KiB 12:24:42 L2 cache: 4 MiB 12:24:42 L3 cache: 128 MiB 12:24:42 NUMA node0 CPU(s): 0-7 12:24:42 Vulnerability Itlb multihit: Not affected 12:24:42 Vulnerability L1tf: Not affected 12:24:42 Vulnerability Mds: Not affected 12:24:42 Vulnerability Meltdown: Not affected 12:24:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:24:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:24:42 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:24:42 Vulnerability Srbds: Not affected 12:24:42 Vulnerability Tsx async abort: Not affected 12:24:42 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 12:24:42 12:24:42 12:24:42 ---> nproc: 12:24:42 8 12:24:42 12:24:42 12:24:42 ---> df -h: 12:24:42 Filesystem Size Used Avail Use% Mounted on 12:24:42 overlay 155G 11G 145G 7% / 12:24:42 tmpfs 64M 0 64M 0% /dev 12:24:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:24:42 shm 64M 0 64M 0% /dev/shm 12:24:42 /dev/vda1 155G 11G 145G 7% /facter-os 12:24:42 12:24:42 12:24:42 ---> sar -b -r -n DEV: 12:24:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24581) 09/05/22 _x86_64_ (8 CPU) 12:24:42 12:24:42 12:14:38 LINUX RESTART (8 CPU) 12:24:42 12:24:42 12:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:24:42 12:16:01 406.05 45.19 360.86 0.00 4076.79 155112.81 0.00 12:24:42 12:17:01 149.04 0.78 148.26 0.00 14.93 43003.77 0.00 12:24:42 12:18:01 119.15 0.05 119.10 0.00 4.00 33186.60 0.00 12:24:42 12:19:01 2.28 0.00 2.28 0.00 0.00 25.08 0.00 12:24:42 12:20:01 1.73 0.02 1.72 0.00 0.13 18.93 0.00 12:24:42 12:21:01 2.12 0.00 2.12 0.00 0.00 23.86 0.00 12:24:42 12:22:01 0.85 0.00 0.85 0.00 0.00 10.00 0.00 12:24:42 12:23:01 0.97 0.00 0.97 0.00 0.00 12.00 0.00 12:24:42 12:24:01 1.23 0.00 1.23 0.00 0.00 14.66 0.00 12:24:42 Average: 75.94 5.12 70.82 0.00 455.09 25711.97 0.00 12:24:42 12:24:42 12:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:24:42 12:16:01 28816480 31749940 552000 1.68 119840 3076632 2219436 6.54 1131172 2551456 9024 12:24:42 12:17:01 27700516 31578820 715784 2.18 164732 3894000 2404256 7.09 1648760 3055740 412656 12:24:42 12:18:01 27593076 31768728 527116 1.60 175116 4147368 1869200 5.51 1291892 3486760 304 12:24:42 12:19:01 27593680 31769388 526252 1.60 175172 4147368 1869200 5.51 1290484 3486760 156 12:24:42 12:20:01 27603920 31779696 515972 1.57 175232 4147432 1869200 5.51 1280316 3486832 12 12:24:42 12:21:01 27604352 31780204 515404 1.57 175300 4147444 1869200 5.51 1280684 3486836 12 12:24:42 12:22:01 27612368 31788256 507284 1.54 175312 4147444 1869200 5.51 1273148 3486836 164 12:24:42 12:23:01 27613172 31789116 506456 1.54 175332 4147452 1869200 5.51 1273244 3486888 268 12:24:42 12:24:01 27612872 31788856 506660 1.54 175364 4147452 1869200 5.51 1273144 3486888 164 12:24:42 Average: 27750048 31754778 541436 1.65 167933 4000288 1967566 5.80 1304760 3335000 46973 12:24:42 12:24:42 12:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:24:42 12:16:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 12:24:42 12:16:01 veth2ff5e49 58.54 71.22 5.58 64.74 0.00 0.00 0.00 0.01 12:24:42 12:16:01 docker0 81.57 97.37 6.49 256.69 0.00 0.00 0.00 0.00 12:24:42 12:16:01 ens3 798.53 587.14 6681.85 126.58 0.00 0.00 0.00 0.00 12:24:42 12:17:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 12:24:42 12:17:01 veth1b8edcb 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 12:24:42 12:17:01 docker0 79.70 106.77 6.28 1402.62 0.00 0.00 0.00 0.00 12:24:42 12:17:01 ens3 168.62 126.68 1442.83 58.59 0.00 0.00 0.00 0.00 12:24:42 12:18:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 12:24:42 12:18:01 docker0 9.82 12.10 0.57 57.83 0.00 0.00 0.00 0.00 12:24:42 12:18:01 ens3 152.54 111.01 2643.53 62.19 0.00 0.00 0.00 0.00 12:24:42 12:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:24:42 12:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:19:01 ens3 0.68 0.68 0.04 0.06 0.00 0.00 0.00 0.00 12:24:42 12:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:20:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:24:42 12:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:21:01 ens3 0.30 0.20 0.09 0.07 0.00 0.00 0.00 0.00 12:24:42 12:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:22:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:24:42 12:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:23:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 12:24:42 12:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 12:24:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:24:42 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 12:24:42 Average: docker0 19.01 24.03 1.48 190.79 0.00 0.00 0.00 0.00 12:24:42 Average: ens3 124.54 91.76 1196.48 27.50 0.00 0.00 0.00 0.00 12:24:42 12:24:42 12:24:42 ---> sar -P ALL: 12:24:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24581) 09/05/22 _x86_64_ (8 CPU) 12:24:42 12:24:42 12:14:38 LINUX RESTART (8 CPU) 12:24:42 12:24:42 12:15:01 CPU %user %nice %system %iowait %steal %idle 12:24:42 12:16:01 all 10.44 0.00 3.79 2.43 0.07 83.28 12:24:42 12:16:01 0 8.74 0.00 3.68 2.16 0.05 85.37 12:24:42 12:16:01 1 11.83 0.00 4.43 1.07 0.07 82.60 12:24:42 12:16:01 2 10.43 0.00 4.46 3.34 0.07 81.70 12:24:42 12:16:01 3 8.68 0.00 5.12 5.69 0.07 80.45 12:24:42 12:16:01 4 9.89 0.00 3.45 0.75 0.07 85.84 12:24:42 12:16:01 5 11.17 0.00 3.17 1.47 0.07 84.13 12:24:42 12:16:01 6 13.51 0.00 2.76 0.59 0.05 83.10 12:24:42 12:16:01 7 9.25 0.00 3.23 4.44 0.08 83.00 12:24:42 12:17:01 all 35.55 0.00 6.47 1.59 0.10 56.29 12:24:42 12:17:01 0 36.15 0.00 6.38 0.29 0.08 57.10 12:24:42 12:17:01 1 35.74 0.00 6.12 0.44 0.08 57.61 12:24:42 12:17:01 2 31.26 0.00 5.94 4.28 0.15 58.37 12:24:42 12:17:01 3 36.29 0.00 7.12 1.49 0.10 55.00 12:24:42 12:17:01 4 35.90 0.00 6.92 0.46 0.08 56.64 12:24:42 12:17:01 5 35.84 0.00 6.98 4.72 0.10 52.36 12:24:42 12:17:01 6 35.82 0.00 6.32 0.79 0.10 56.97 12:24:42 12:17:01 7 37.40 0.00 5.97 0.29 0.08 56.26 12:24:42 12:18:01 all 3.95 0.00 1.63 1.00 0.03 93.39 12:24:42 12:18:01 0 4.26 0.00 1.81 2.24 0.03 91.66 12:24:42 12:18:01 1 4.08 0.00 1.78 0.35 0.03 93.75 12:24:42 12:18:01 2 2.58 0.00 1.24 0.05 0.00 96.14 12:24:42 12:18:01 3 4.01 0.00 1.56 0.44 0.03 93.96 12:24:42 12:18:01 4 3.85 0.00 1.32 0.17 0.03 94.62 12:24:42 12:18:01 5 4.26 0.00 1.69 0.10 0.03 93.91 12:24:42 12:18:01 6 4.17 0.00 1.81 1.69 0.03 92.30 12:24:42 12:18:01 7 4.40 0.00 1.83 2.92 0.03 90.82 12:24:42 12:19:01 all 0.01 0.00 0.01 0.00 0.00 99.97 12:24:42 12:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 12:24:42 12:19:01 1 0.00 0.00 0.00 0.02 0.00 99.98 12:24:42 12:19:01 2 0.00 0.00 0.00 0.00 0.02 99.98 12:24:42 12:19:01 3 0.00 0.00 0.02 0.00 0.00 99.98 12:24:42 12:19:01 4 0.03 0.00 0.02 0.00 0.02 99.93 12:24:42 12:19:01 5 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:19:01 6 0.02 0.00 0.02 0.00 0.00 99.97 12:24:42 12:19:01 7 0.02 0.00 0.02 0.02 0.00 99.95 12:24:42 12:20:01 all 0.19 0.00 0.02 0.01 0.00 99.79 12:24:42 12:20:01 0 0.03 0.00 0.02 0.00 0.00 99.95 12:24:42 12:20:01 1 1.32 0.00 0.02 0.03 0.00 98.63 12:24:42 12:20:01 2 0.00 0.00 0.00 0.00 0.00 100.00 12:24:42 12:20:01 3 0.07 0.00 0.03 0.00 0.00 99.90 12:24:42 12:20:01 4 0.03 0.00 0.02 0.00 0.00 99.95 12:24:42 12:20:01 5 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:20:01 7 0.03 0.00 0.05 0.02 0.00 99.90 12:24:42 12:21:01 all 0.12 0.00 0.01 0.01 0.01 99.86 12:24:42 12:21:01 0 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:21:01 1 0.86 0.00 0.02 0.03 0.02 99.07 12:24:42 12:21:01 2 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:21:01 3 0.02 0.00 0.00 0.02 0.02 99.95 12:24:42 12:21:01 4 0.02 0.00 0.02 0.00 0.02 99.95 12:24:42 12:21:01 5 0.00 0.00 0.00 0.00 0.00 100.00 12:24:42 12:21:01 6 0.00 0.00 0.02 0.00 0.00 99.98 12:24:42 12:21:01 7 0.03 0.00 0.02 0.00 0.00 99.95 12:24:42 12:22:01 all 0.02 0.00 0.01 0.00 0.00 99.96 12:24:42 12:22:01 0 0.02 0.00 0.02 0.00 0.02 99.95 12:24:42 12:22:01 1 0.00 0.00 0.00 0.02 0.00 99.98 12:24:42 12:22:01 2 0.00 0.00 0.02 0.00 0.00 99.98 12:24:42 12:22:01 3 0.02 0.00 0.02 0.00 0.00 99.97 12:24:42 12:22:01 4 0.03 0.00 0.00 0.02 0.00 99.95 12:24:42 12:22:01 5 0.00 0.00 0.00 0.00 0.00 100.00 12:24:42 12:22:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:22:01 7 0.08 0.00 0.02 0.00 0.00 99.90 12:24:42 12:23:01 all 0.12 0.00 0.01 0.01 0.00 99.86 12:24:42 12:23:01 0 0.00 0.00 0.02 0.00 0.00 99.98 12:24:42 12:23:01 1 0.95 0.00 0.03 0.02 0.00 99.01 12:24:42 12:23:01 2 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:23:01 3 0.02 0.00 0.00 0.03 0.00 99.95 12:24:42 12:23:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:23:01 5 0.00 0.00 0.00 0.00 0.00 100.00 12:24:42 12:23:01 6 0.00 0.00 0.02 0.00 0.00 99.98 12:24:42 12:23:01 7 0.00 0.00 0.02 0.00 0.02 99.97 12:24:42 12:24:01 all 0.27 0.00 0.01 0.01 0.00 99.72 12:24:42 12:24:01 0 0.03 0.00 0.02 0.00 0.00 99.95 12:24:42 12:24:01 1 1.97 0.00 0.00 0.03 0.00 98.00 12:24:42 12:24:01 2 0.00 0.00 0.02 0.00 0.00 99.98 12:24:42 12:24:01 3 0.02 0.00 0.00 0.02 0.00 99.97 12:24:42 12:24:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:24:01 5 0.02 0.00 0.00 0.00 0.00 99.98 12:24:42 12:24:01 6 0.02 0.00 0.02 0.00 0.00 99.97 12:24:42 12:24:01 7 0.05 0.00 0.02 0.00 0.00 99.93 12:24:42 Average: all 5.58 0.00 1.32 0.56 0.02 92.53 12:24:42 Average: 0 5.43 0.00 1.32 0.52 0.02 92.72 12:24:42 Average: 1 6.26 0.00 1.37 0.22 0.02 92.13 12:24:42 Average: 2 4.86 0.00 1.28 0.84 0.03 92.99 12:24:42 Average: 3 5.40 0.00 1.53 0.84 0.02 92.20 12:24:42 Average: 4 5.48 0.00 1.29 0.15 0.02 93.05 12:24:42 Average: 5 5.65 0.00 1.30 0.69 0.02 92.33 12:24:42 Average: 6 5.90 0.00 1.21 0.34 0.02 92.53 12:24:42 Average: 7 5.64 0.00 1.23 0.85 0.02 92.25 12:24:42 12:24:42 12:24:42