Pull request #64 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-gpio Loading trusted files from base branch main at b99ee17479275846ebb326ecdfd2e35febb27ada rather than 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 Obtained Jenkinsfile from b99ee17479275846ebb326ecdfd2e35febb27ada 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-ssh3085940010040061907.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh2858795847701727444.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12526209281596151164.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh198152515420941587.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh587225589057162956.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117312 in /w/workspace/edgexfoundry_device-gpio_PR-64 [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-64 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 Merge succeeded, producing 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 Checking out Revision 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 (PR-64) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:34:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:34:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:34:05 ========================================================= 20:34:05 EdgeX Global Pipelines Version Info 20:34:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ac8fd53f425014fb181e3c5b50d1e6e50784dc7d # timeout=10 20:34:06 ------------------- 20:34:06 stable info: 20:34:06 ------------------- 20:34:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:34:06 Message: update stable to v1.0.243 20:34:06 ------------------- 20:34:06 experimental info: 20:34:06 ------------------- 20:34:06 Commited By: **** collab-it+edgex@linuxfoundation.org 20:34:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:34:06 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dfec82 [Pipeline] echo 20:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:07 provisioning config files... 20:34:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config314815459899751413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:07 ---> docker-login.sh 20:34:07 nexus3.edgexfoundry.org:10001 20:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:07 Configure a credential helper to remove this warning. See 20:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:07 20:34:07 Login Succeeded 20:34:07 nexus3.edgexfoundry.org:10002 20:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:07 Configure a credential helper to remove this warning. See 20:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:07 20:34:07 Login Succeeded 20:34:07 nexus3.edgexfoundry.org:10003 20:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:07 Configure a credential helper to remove this warning. See 20:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:07 20:34:07 Login Succeeded 20:34:07 nexus3.edgexfoundry.org:10004 20:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:08 Configure a credential helper to remove this warning. See 20:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:08 20:34:08 Login Succeeded 20:34:08 docker.io 20:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:08 Configure a credential helper to remove this warning. See 20:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:08 20:34:08 Login Succeeded 20:34:08 ---> docker-login.sh ends [Pipeline] } 20:34:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:34:08 + git rev-list -1 --merges 9dfec82b6ebe8e5c96003dcf033134f7b43537e6~1..9dfec82b6ebe8e5c96003dcf033134f7b43537e6 [Pipeline] echo 20:34:08 -----------> git rev-list -1 --merges 9dfec82b6ebe8e5c96003dcf033134f7b43537e6~1..9dfec82b6ebe8e5c96003dcf033134f7b43537e6 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 [false] [Pipeline] sh 20:34:09 + git log --format=format:%s -1 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 [Pipeline] echo 20:34:09 ========================================================= 20:34:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:34:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:09 + git log --format=format:%s -1 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 [Pipeline] echo 20:34:09 [semverPrep] GIT_COMMIT: 9dfec82b6ebe8e5c96003dcf033134f7b43537e6, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 20:34:09 [semverPrep] This is not a build commit. [Pipeline] sh 20:34:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:34:09 + grep -v github /etc/ssh/ssh_known_hosts 20:34:09 + [ -e /tmp/ssh_known_hosts ] 20:34:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:34:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:34:09 + sudo tee -a /etc/ssh/ssh_known_hosts 20:34:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:10 20:34:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:10 0.1.4: Pulling from edgex-devops/py-git-semver 20:34:10 b85a868b505f: Pulling fs layer 20:34:10 e2be974225ed: Pulling fs layer 20:34:10 339a4e72a1f5: Pulling fs layer 20:34:10 988bab9f4d93: Pulling fs layer 20:34:10 1469e6f7b9e6: Pulling fs layer 20:34:10 eaf3925da568: Pulling fs layer 20:34:10 bab4dde63d76: Pulling fs layer 20:34:10 bde34c3a00c8: Pulling fs layer 20:34:10 b352a97aabf1: Pulling fs layer 20:34:10 4872d77fe225: Pulling fs layer 20:34:10 5851b861e8e6: Pulling fs layer 20:34:10 bab4dde63d76: Waiting 20:34:10 bde34c3a00c8: Waiting 20:34:10 b352a97aabf1: Waiting 20:34:10 4872d77fe225: Waiting 20:34:10 5851b861e8e6: Waiting 20:34:10 1469e6f7b9e6: Waiting 20:34:10 eaf3925da568: Waiting 20:34:10 e2be974225ed: Download complete 20:34:10 988bab9f4d93: Verifying Checksum 20:34:10 988bab9f4d93: Download complete 20:34:10 1469e6f7b9e6: Verifying Checksum 20:34:10 1469e6f7b9e6: Download complete 20:34:10 eaf3925da568: Download complete 20:34:10 339a4e72a1f5: Verifying Checksum 20:34:10 339a4e72a1f5: Download complete 20:34:10 bde34c3a00c8: Verifying Checksum 20:34:10 bde34c3a00c8: Download complete 20:34:10 b352a97aabf1: Verifying Checksum 20:34:10 b352a97aabf1: Download complete 20:34:10 4872d77fe225: Download complete 20:34:10 5851b861e8e6: Download complete 20:34:10 b85a868b505f: Download complete 20:34:10 bab4dde63d76: Verifying Checksum 20:34:10 bab4dde63d76: Download complete 20:34:12 b85a868b505f: Pull complete 20:34:12 e2be974225ed: Pull complete 20:34:12 339a4e72a1f5: Pull complete 20:34:12 988bab9f4d93: Pull complete 20:34:13 1469e6f7b9e6: Pull complete 20:34:13 eaf3925da568: Pull complete 20:34:15 bab4dde63d76: Pull complete 20:34:15 bde34c3a00c8: Pull complete 20:34:15 b352a97aabf1: Pull complete 20:34:15 4872d77fe225: Pull complete 20:34:15 5851b861e8e6: Pull complete 20:34:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:15 prd-ubuntu20.04-docker-8c-8g-117312 does not seem to be running inside a container 20:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:34:17 $ docker top 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 -eo pid,comm 20:34:17 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). 20:34:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:34:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:17 [ssh-agent] Looking for ssh-agent implementation... 20:34:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:17 $ docker exec 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 ssh-agent 20:34:17 SSH_AUTH_SOCK=/tmp/ssh-CJemg6oCrx0J/agent.33 20:34:17 SSH_AGENT_PID=39 20:34:17 Running ssh-add (command line suppressed) 20:34:17 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_12642431709684146267.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_12642431709684146267.key) 20:34:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:18 + git tag --points-at HEAD [Pipeline] } 20:34:18 $ docker exec --env ******** --env ******** 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 ssh-agent -k 20:34:18 unset SSH_AUTH_SOCK; 20:34:18 unset SSH_AGENT_PID; 20:34:18 echo Agent pid 39 killed; 20:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:18 [ssh-agent] Looking for ssh-agent implementation... 20:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:18 $ docker exec 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 ssh-agent 20:34:18 SSH_AUTH_SOCK=/tmp/ssh-T9PEJihQJ4R7/agent.72 20:34:18 SSH_AGENT_PID=78 20:34:18 Running ssh-add (command line suppressed) 20:34:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_10796114844872730267.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_10796114844872730267.key) 20:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:18 + git semver init 20:34:19 2022-10-26 20:34:19,198 [run_init] DEBUG init version:0.0.0 force:False 20:34:19 2022-10-26 20:34:19,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver 20:34:19 2022-10-26 20:34:19,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-64/.semver 20:34:19 2022-10-26 20:34:19,199 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-64/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64, universal_newlines=False, shell=None, istream=None) 20:34:20 2022-10-26 20:34:20,200 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.git/info/exclude 20:34:20 2022-10-26 20:34:20,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 with force:False 20:34:20 2022-10-26 20:34:20,201 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 20:34:20 2022-10-26 20:34:20,205 [execute] INFO git cat-file --batch-check 20:34:20 2022-10-26 20:34:20,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) 20:34:20 2022-10-26 20:34:20,212 [execute] INFO git cat-file --batch 20:34:20 2022-10-26 20:34:20,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) 20:34:20 2022-10-26 20:34:20,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 20:34:20 0.0.0 [Pipeline] } 20:34:20 $ docker exec --env ******** --env ******** 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 ssh-agent -k 20:34:20 unset SSH_AUTH_SOCK; 20:34:20 unset SSH_AGENT_PID; 20:34:20 echo Agent pid 78 killed; 20:34:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:21 + git semver [Pipeline] } 20:34:21 $ docker stop --time=1 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 20:34:22 $ docker rm -f 3dec010e6846f0d17aea2ecdd444538ecc7034abb9dffa99ee328d45e4a9aba6 [Pipeline] // withDockerContainer [Pipeline] sh 20:34:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:34:23 Stashed 1 file(s) [Pipeline] echo 20:34:23 [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 20:34:23 provisioning config files... 20:34:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config4658703068704216166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:23 ---> docker-login.sh 20:34:23 nexus3.edgexfoundry.org:10001 20:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:23 Configure a credential helper to remove this warning. See 20:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:23 20:34:23 Login Succeeded 20:34:23 nexus3.edgexfoundry.org:10002 20:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:23 Configure a credential helper to remove this warning. See 20:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:23 20:34:23 Login Succeeded 20:34:23 nexus3.edgexfoundry.org:10003 20:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:23 Configure a credential helper to remove this warning. See 20:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:23 20:34:23 Login Succeeded 20:34:23 nexus3.edgexfoundry.org:10004 20:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:23 Configure a credential helper to remove this warning. See 20:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:23 20:34:23 Login Succeeded 20:34:23 docker.io 20:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:24 Configure a credential helper to remove this warning. See 20:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:24 20:34:24 Login Succeeded 20:34:24 ---> docker-login.sh ends [Pipeline] } 20:34:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:24 ========================================================= 20:34:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:34:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:24 + 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 . 20:34:24 Sending build context to Docker daemon 15.91MB 20:34:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:34:24 Step 2/12 : FROM ${BASE} AS builder 20:34:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:25 213ec9aee27d: Pulling fs layer 20:34:25 4583459ba037: Pulling fs layer 20:34:25 93c1e223e6f2: Pulling fs layer 20:34:25 53926ce57604: Pulling fs layer 20:34:25 21b2b0c7a3f4: Pulling fs layer 20:34:25 30f14e443154: Pulling fs layer 20:34:25 801331c1e519: Pulling fs layer 20:34:25 99cc6dd402b0: Pulling fs layer 20:34:25 7d9ed39f4882: Pulling fs layer 20:34:25 801331c1e519: Waiting 20:34:25 99cc6dd402b0: Waiting 20:34:25 7d9ed39f4882: Waiting 20:34:25 30f14e443154: Waiting 20:34:25 53926ce57604: Waiting 20:34:25 21b2b0c7a3f4: Waiting 20:34:25 93c1e223e6f2: Download complete 20:34:25 4583459ba037: Download complete 20:34:25 21b2b0c7a3f4: Verifying Checksum 20:34:25 21b2b0c7a3f4: Download complete 20:34:25 30f14e443154: Verifying Checksum 20:34:25 30f14e443154: Download complete 20:34:25 213ec9aee27d: Download complete 20:34:25 801331c1e519: Verifying Checksum 20:34:25 801331c1e519: Download complete 20:34:25 213ec9aee27d: Pull complete 20:34:25 4583459ba037: Pull complete 20:34:25 93c1e223e6f2: Pull complete 20:34:25 7d9ed39f4882: Verifying Checksum 20:34:25 7d9ed39f4882: Download complete 20:34:25 99cc6dd402b0: Verifying Checksum 20:34:25 99cc6dd402b0: Download complete 20:34:25 53926ce57604: Verifying Checksum 20:34:25 53926ce57604: Download complete 20:34:30 53926ce57604: Pull complete 20:34:30 21b2b0c7a3f4: Pull complete 20:34:30 30f14e443154: Pull complete 20:34:30 801331c1e519: Pull complete 20:34:32 99cc6dd402b0: Pull complete 20:34:32 7d9ed39f4882: Pull complete 20:34:32 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:34:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:34:33 ---> 1dedd983c030 20:34:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:34:36 ---> Running in c063807ba0d8 20:34:36 Removing intermediate container c063807ba0d8 20:34:36 ---> c94220bfade0 20:34:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:34:36 ---> Running in 30de5e17e935 20:34:36 Removing intermediate container 30de5e17e935 20:34:36 ---> c0cf59b85993 20:34:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:34:36 ---> Running in ad487dbaad85 20:34:36 Removing intermediate container ad487dbaad85 20:34:36 ---> 5e7ff4596bc6 20:34:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:34:36 ---> Running in 6e6cea57b7eb 20:34:37 Removing intermediate container 6e6cea57b7eb 20:34:37 ---> de33f72ac9fd 20:34:37 Step 7/12 : WORKDIR /device-gpio 20:34:37 ---> Running in c441b51736e6 20:34:37 Removing intermediate container c441b51736e6 20:34:37 ---> 57367c8b7b84 20:34:37 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:37 ---> Running in 7d059ccaf81e 20:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:34:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:34:37 (2/4) Installing libedit (20210910.3.1-r0) 20:34:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:34:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:34:37 Executing busybox-1.35.0-r17.trigger 20:34:37 OK: 216 MiB in 55 packages 20:34:38 Still waiting to schedule task 20:34:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:34:38 Removing intermediate container 7d059ccaf81e 20:34:38 ---> 6e57654d9bad 20:34:38 Step 9/12 : COPY go.mod vendor* ./ 20:34:38 ---> a31b4ed1b8d9 20:34:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:38 ---> Running in 396f3cc9bc24 20:34:56 Removing intermediate container 396f3cc9bc24 20:34:56 ---> 3b7cc2e28e76 20:34:56 Step 11/12 : COPY . . 20:34:56 ---> c9e1f2051e8b 20:34:56 Step 12/12 : RUN ${MAKE} 20:34:56 ---> Running in 3bb75fbc3219 20:34:57 noop 20:34:57 Removing intermediate container 3bb75fbc3219 20:34:57 ---> 3ef056b68bba 20:34:57 Successfully built 3ef056b68bba 20:34:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:57 + docker inspect -f . ci-base-image-x86_64 20:34:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:57 prd-ubuntu20.04-docker-8c-8g-117312 does not seem to be running inside a container 20:34:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:34:58 $ docker top feed34259a03c985a36dce37d968e1dbd278e16bbed05ef0ff9a6a3545aa63bf -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:58 + go version 20:34:58 go version go1.18.7 linux/amd64 [Pipeline] } 20:34:58 $ docker stop --time=1 feed34259a03c985a36dce37d968e1dbd278e16bbed05ef0ff9a6a3545aa63bf 20:34:59 $ docker rm -f feed34259a03c985a36dce37d968e1dbd278e16bbed05ef0ff9a6a3545aa63bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:00 + docker inspect -f . ci-base-image-x86_64 20:35:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:00 prd-ubuntu20.04-docker-8c-8g-117312 does not seem to be running inside a container 20:35:00 $ 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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:35:00 $ docker top b18dde790d0ddffe45878cdef0430f683e8a27bb406f60c3630d75d83fa9482f -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] fileExists [Pipeline] sh 20:35:01 + make test 20:35:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:35:01 ? github.com/edgexfoundry/device-gpio [no test files] 20:35:11 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 20:35:11 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 20:35:19 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." 20:35:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:35:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:22 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:35:22 $ docker stop --time=1 b18dde790d0ddffe45878cdef0430f683e8a27bb406f60c3630d75d83fa9482f 20:35:24 $ docker rm -f b18dde790d0ddffe45878cdef0430f683e8a27bb406f60c3630d75d83fa9482f [Pipeline] // withDockerContainer [Pipeline] sh 20:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:35:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:25 + ls -al . 20:35:25 total 172 20:35:25 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:35 . 20:35:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:33 .. 20:35:25 -rw-rw-r-- 1 jenkins jenkins 120 Oct 26 20:34 .dockerignore 20:35:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:35 .git 20:35:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:34 .github 20:35:25 -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 20:34 .gitignore 20:35:25 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:34 .golangci.yml 20:35:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:34 .semver 20:35:25 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 26 20:34 Attribution.txt 20:35:25 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 26 20:34 CHANGELOG.md 20:35:25 -rw-rw-r-- 1 jenkins jenkins 1604 Oct 26 20:34 Dockerfile 20:35:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:34 GOVERNANCE.md 20:35:25 -rw-rw-r-- 1 jenkins jenkins 657 Oct 26 20:34 Jenkinsfile 20:35:25 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:34 LICENSE 20:35:25 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 26 20:34 Makefile 20:35:25 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 20:34 OWNERS.md 20:35:25 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 26 20:34 README.md 20:35:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:34 VERSION 20:35:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:34 bin 20:35:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:34 cmd 20:35:25 -rw-r--r-- 1 jenkins jenkins 10 Oct 26 20:35 coverage.out 20:35:25 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 26 20:34 go.mod 20:35:25 -rw-rw-r-- 1 jenkins jenkins 45075 Oct 26 20:34 go.sum 20:35:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:34 internal 20:35:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:34 snap 20:35:25 -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:25 + 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=9dfec82b6ebe8e5c96003dcf033134f7b43537e6 --label arch=amd64 --label version=0.0.0 . 20:35:25 Sending build context to Docker daemon 15.91MB 20:35:25 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:35:25 Step 2/25 : FROM ${BASE} AS builder 20:35:25 ---> 3ef056b68bba 20:35:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:35:25 ---> Running in 2fe8b9e2a8b3 20:35:25 Removing intermediate container 2fe8b9e2a8b3 20:35:25 ---> b58ac9fda7e6 20:35:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:25 ---> Running in fb41aae7ca4f 20:35:26 Removing intermediate container fb41aae7ca4f 20:35:26 ---> 4bcfc5207c2a 20:35:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:35:26 ---> Running in 0354e2ee61b9 20:35:26 Removing intermediate container 0354e2ee61b9 20:35:26 ---> b330717b1f90 20:35:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:35:26 ---> Running in caffaf3995b3 20:35:26 Removing intermediate container caffaf3995b3 20:35:26 ---> c0373a7360fc 20:35:26 Step 7/25 : WORKDIR /device-gpio 20:35:26 ---> Running in b02674aa4c8b 20:35:26 Removing intermediate container b02674aa4c8b 20:35:26 ---> 58d301fa684c 20:35:26 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:26 ---> Running in 4baab9af9a33 20:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:35:27 OK: 216 MiB in 55 packages 20:35:27 Removing intermediate container 4baab9af9a33 20:35:27 ---> 26ee4e8abbfd 20:35:27 Step 9/25 : COPY go.mod vendor* ./ 20:35:27 ---> f80c1f30272d 20:35:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:27 ---> Running in 54583ffe899c 20:35:28 Removing intermediate container 54583ffe899c 20:35:28 ---> a910bc40b63f 20:35:28 Step 11/25 : COPY . . 20:35:29 ---> f355325ea309 20:35:29 Step 12/25 : RUN ${MAKE} 20:35:29 ---> Running in db0580fea73c 20:35:29 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 20:35:51 Removing intermediate container db0580fea73c 20:35:51 ---> 90668f0162be 20:35:51 Step 13/25 : FROM alpine:3.16 20:35:51 3.16: Pulling from library/alpine 20:35:51 213ec9aee27d: Already exists 20:35:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:35:51 Status: Downloaded newer image for alpine:3.16 20:35:51 ---> 9c6f07244728 20:35:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:35:51 ---> Running in f9785cbd507b 20:35:51 Removing intermediate container f9785cbd507b 20:35:51 ---> 5232be05fe31 20:35:51 Step 15/25 : RUN apk add --update --no-cache zeromq 20:35:51 ---> Running in 4a9c4b90cd1f 20:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:35:52 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:35:52 (2/5) Installing libsodium (1.0.18-r0) 20:35:52 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:35:52 (4/5) Installing libzmq (4.3.4-r0) 20:35:52 (5/5) Installing zeromq (4.3.4-r0) 20:35:52 Executing busybox-1.35.0-r17.trigger 20:35:52 OK: 8 MiB in 19 packages 20:35:52 Removing intermediate container 4a9c4b90cd1f 20:35:52 ---> 1d36efb7c7b9 20:35:52 Step 16/25 : WORKDIR / 20:35:53 ---> Running in c03cebf9e32e 20:35:53 Removing intermediate container c03cebf9e32e 20:35:53 ---> 9345c6bbde7f 20:35:53 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 20:35:53 ---> 8ae3e93dbea6 20:35:53 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 20:35:53 ---> 6bec4223631e 20:35:53 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 20:35:53 ---> 88312441204e 20:35:53 Step 20/25 : EXPOSE 59910 20:35:54 ---> Running in 8b92be4f22d6 20:35:54 Removing intermediate container 8b92be4f22d6 20:35:54 ---> e82be23f4cf9 20:35:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 20:35:54 ---> Running in 54b62ae96284 20:35:54 Removing intermediate container 54b62ae96284 20:35:54 ---> 66b523d15e8c 20:35:54 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:35:54 ---> Running in 3bb38900e7d5 20:35:54 Removing intermediate container 3bb38900e7d5 20:35:54 ---> e3b3651e502e 20:35:54 Step 23/25 : LABEL arch=amd64 20:35:54 ---> Running in c73fce94951c 20:35:54 Removing intermediate container c73fce94951c 20:35:54 ---> 2c8a690d4ad1 20:35:54 Step 24/25 : LABEL git_sha=9dfec82b6ebe8e5c96003dcf033134f7b43537e6 20:35:54 ---> Running in 4d7eee8ec1c7 20:35:54 Removing intermediate container 4d7eee8ec1c7 20:35:54 ---> d01a0fc26252 20:35:54 Step 25/25 : LABEL version=0.0.0 20:35:54 ---> Running in 85edbdabf0e1 20:35:54 Removing intermediate container 85edbdabf0e1 20:35:54 ---> 74b932523389 20:35:54 [Warning] One or more build-args [ARCH] were not consumed 20:35:54 Successfully built 74b932523389 20:35:54 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 20:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:55 20:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:55 latest: Pulling from edgex-lftools-log-publisher 20:35:55 5eb5b503b376: Pulling fs layer 20:35:55 5c69ac0246d0: Pulling fs layer 20:35:55 ec43610c2a17: Pulling fs layer 20:35:55 3a2ae6a8a46f: Pulling fs layer 20:35:55 33b1e0a273af: Pulling fs layer 20:35:55 5d3b04190fa2: Pulling fs layer 20:35:55 2f39f015ded8: Pulling fs layer 20:35:55 33b1e0a273af: Waiting 20:35:55 3a2ae6a8a46f: Waiting 20:35:55 5d3b04190fa2: Waiting 20:35:55 5c69ac0246d0: Verifying Checksum 20:35:55 5c69ac0246d0: Download complete 20:35:55 3a2ae6a8a46f: Download complete 20:35:55 33b1e0a273af: Verifying Checksum 20:35:55 33b1e0a273af: Download complete 20:35:55 ec43610c2a17: Verifying Checksum 20:35:55 ec43610c2a17: Download complete 20:35:55 5d3b04190fa2: Verifying Checksum 20:35:55 5d3b04190fa2: Download complete 20:35:55 5eb5b503b376: Download complete 20:35:56 2f39f015ded8: Download complete 20:35:57 5eb5b503b376: Pull complete 20:35:57 5c69ac0246d0: Pull complete 20:35:57 ec43610c2a17: Pull complete 20:35:57 3a2ae6a8a46f: Pull complete 20:35:58 33b1e0a273af: Pull complete 20:35:58 5d3b04190fa2: Pull complete 20:36:03 2f39f015ded8: Pull complete 20:36:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:36:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:03 prd-ubuntu20.04-docker-8c-8g-117312 does not seem to be running inside a container 20:36:03 $ 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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:36:05 $ docker top b06f72a0fa79620432a74225c27215c95f201bec1a638d77848da143e51afe15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:05 ---> job-cost.sh 20:36:05 lf-activate-venv: SKIPPING 20:36:05 INFO: No Stack... 20:36:05 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:06 INFO: Archiving Costs [Pipeline] sh 20:36:06 + cat /w/workspace/edgexfoundry_device-gpio_PR-64/archives/cost.csv 20:36:06 + cut -d, -f6 [Pipeline] lock 20:36:06 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] 20:36:06 Resource [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] did not exist. Created. 20:36:06 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:07 + echo total: 0.2199999988079071 [Pipeline] stash 20:36:07 Stashed 1 file(s) [Pipeline] } 20:36:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:07 $ docker stop --time=1 b06f72a0fa79620432a74225c27215c95f201bec1a638d77848da143e51afe15 20:36:08 $ docker rm -f b06f72a0fa79620432a74225c27215c95f201bec1a638d77848da143e51afe15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:37:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117316 in /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] { [Pipeline] ws 20:37:07 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 20:37:07 The recommended git tool is: git 20:37:14 using credential edgex-jenkins-ssh 20:37:14 Cloning the remote Git repository 20:37:14 Cloning repository git@github.com:edgexfoundry/device-gpio.git 20:37:14 > git init /w/workspace/device-gpio/4 # timeout=10 20:37:14 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:37:14 > git --version # timeout=10 20:37:14 > git --version # 'git version 2.25.1' 20:37:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:15 Verifying host key using known hosts file 20:37:15 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:37:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:17 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:37:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:18 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:37:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:37:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:18 Verifying host key using known hosts file 20:37:18 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:37:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:37:19 Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 20:37:19 Merge succeeded, producing 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 20:37:19 Checking out Revision 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 (PR-64) 20:37:19 > git config core.sparsecheckout # timeout=10 20:37:19 > git checkout -f 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 # timeout=10 20:37:19 > git remote # timeout=10 20:37:19 > git config --get remote.origin.url # timeout=10 20:37:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:19 Verifying host key using known hosts file 20:37:19 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:37:19 > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 20:37:19 > git rev-parse HEAD^{commit} # timeout=10 20:37:19 > git config core.sparsecheckout # timeout=10 20:37:19 > git checkout -f 9dfec82b6ebe8e5c96003dcf033134f7b43537e6 # timeout=10 20:37:23 Commit message: "build: Latest go-mods, config and Dockerfile fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:37:24 % Total % Received % Xferd Average Speed Time Time Time Current 20:37:24 Dload Upload Total Spent Left Speed 20:37:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 20:37:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:37:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:37:25 + sudo tee /etc/docker/daemon.new 20:37:25 { 20:37:25 "registry-mirrors": [ 20:37:25 "https://nexus3.edgexfoundry.org:10001" 20:37:25 ], 20:37:25 "bip": "10.250.0.254/24", 20:37:25 "hosts": [ 20:37:25 "tcp://0.0.0.0:5555", 20:37:25 "unix:///var/run/docker.sock" 20:37:25 ], 20:37:25 "mtu": 1458, 20:37:25 "selinux-enabled": true, 20:37:25 "seccomp-profile": "/etc/docker/seccomp.json" 20:37:25 } [Pipeline] sh 20:37:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:37:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:44 provisioning config files... 20:37:44 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config13836696156322447425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:45 ---> docker-login.sh 20:37:45 nexus3.edgexfoundry.org:10001 20:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:45 Configure a credential helper to remove this warning. See 20:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:45 20:37:45 Login Succeeded 20:37:45 nexus3.edgexfoundry.org:10002 20:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:46 Configure a credential helper to remove this warning. See 20:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:46 20:37:46 Login Succeeded 20:37:46 nexus3.edgexfoundry.org:10003 20:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:46 Configure a credential helper to remove this warning. See 20:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:46 20:37:46 Login Succeeded 20:37:46 nexus3.edgexfoundry.org:10004 20:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:47 Configure a credential helper to remove this warning. See 20:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:47 20:37:47 Login Succeeded 20:37:47 docker.io 20:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:47 Configure a credential helper to remove this warning. See 20:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:47 20:37:47 Login Succeeded 20:37:47 ---> docker-login.sh ends [Pipeline] } 20:37:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:48 ========================================================= 20:37:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:37:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:48 + 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 . 20:37:48 Sending build context to Docker daemon 8.036MB 20:37:48 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:37:48 Step 2/12 : FROM ${BASE} AS builder 20:37:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:37:49 9b18e9b68314: Pulling fs layer 20:37:49 d32db5db7311: Pulling fs layer 20:37:49 d0c4b47475fc: Pulling fs layer 20:37:49 5831b945b038: Pulling fs layer 20:37:49 86bbec2aaacd: Pulling fs layer 20:37:49 e10730c5d714: Pulling fs layer 20:37:49 5dd5c2283517: Pulling fs layer 20:37:49 d5ac0230b979: Pulling fs layer 20:37:49 e10730c5d714: Waiting 20:37:49 5dd5c2283517: Waiting 20:37:49 d5ac0230b979: Waiting 20:37:49 86bbec2aaacd: Waiting 20:37:49 5831b945b038: Waiting 20:37:49 d0c4b47475fc: Verifying Checksum 20:37:49 d0c4b47475fc: Download complete 20:37:49 d32db5db7311: Download complete 20:37:49 86bbec2aaacd: Download complete 20:37:49 e10730c5d714: Verifying Checksum 20:37:49 e10730c5d714: Download complete 20:37:49 9b18e9b68314: Verifying Checksum 20:37:49 9b18e9b68314: Download complete 20:37:50 9b18e9b68314: Pull complete 20:37:50 d5ac0230b979: Verifying Checksum 20:37:50 d5ac0230b979: Download complete 20:37:51 d32db5db7311: Pull complete 20:37:51 d0c4b47475fc: Pull complete 20:37:52 5dd5c2283517: Verifying Checksum 20:37:52 5dd5c2283517: Download complete 20:37:52 5831b945b038: Verifying Checksum 20:37:52 5831b945b038: Download complete 20:38:07 5831b945b038: Pull complete 20:38:07 86bbec2aaacd: Pull complete 20:38:07 e10730c5d714: Pull complete 20:38:13 5dd5c2283517: Pull complete 20:38:14 d5ac0230b979: Pull complete 20:38:14 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:38:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:38:14 ---> 59b3b1a385d4 20:38:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:38:16 ---> Running in 88f7a91cd6e2 20:38:16 Removing intermediate container 88f7a91cd6e2 20:38:16 ---> 646ec6acea6b 20:38:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:16 ---> Running in b3faa0ae3d9c 20:38:17 Removing intermediate container b3faa0ae3d9c 20:38:17 ---> dda188779c73 20:38:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:38:17 ---> Running in 31997d6f2942 20:38:17 Removing intermediate container 31997d6f2942 20:38:17 ---> 6f91e86944a2 20:38:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:38:18 ---> Running in 14b6ba20eb5c 20:38:18 Removing intermediate container 14b6ba20eb5c 20:38:18 ---> abe088aa321d 20:38:18 Step 7/12 : WORKDIR /device-gpio 20:38:18 ---> Running in 4015477b88f5 20:38:19 Removing intermediate container 4015477b88f5 20:38:19 ---> dc7067a051af 20:38:19 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:38:19 ---> Running in b51f79a3ea25 20:38:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:38:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:38:22 (2/4) Installing libedit (20210910.3.1-r0) 20:38:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:38:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:38:22 Executing busybox-1.35.0-r17.trigger 20:38:22 OK: 226 MiB in 55 packages 20:38:24 Removing intermediate container b51f79a3ea25 20:38:24 ---> a5eecb2fade9 20:38:24 Step 9/12 : COPY go.mod vendor* ./ 20:38:24 ---> c14e811d6549 20:38:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:24 ---> Running in 868242c2fc4c 20:39:32 Removing intermediate container 868242c2fc4c 20:39:32 ---> 8c5ce2354255 20:39:32 Step 11/12 : COPY . . 20:39:32 ---> a780d51da995 20:39:32 Step 12/12 : RUN ${MAKE} 20:39:32 ---> Running in f3d8d12cc8a8 20:39:32 noop 20:39:32 Removing intermediate container f3d8d12cc8a8 20:39:32 ---> a235a4db28f1 20:39:32 Successfully built a235a4db28f1 20:39:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:33 + docker inspect -f . ci-base-image-arm64 20:39:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:33 prd-ubuntu20.04-docker-arm64-4c-16g-117316 does not seem to be running inside a container 20:39:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:34 $ docker top b9ae448c9b1d023c467a29b75cd9b4d1ed3a3e0b932c8b6bc15d8e5be8eb40d5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:35 + go version 20:39:35 go version go1.18.7 linux/arm64 [Pipeline] } 20:39:35 $ docker stop --time=1 b9ae448c9b1d023c467a29b75cd9b4d1ed3a3e0b932c8b6bc15d8e5be8eb40d5 20:39:37 $ docker rm -f b9ae448c9b1d023c467a29b75cd9b4d1ed3a3e0b932c8b6bc15d8e5be8eb40d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:37 + docker inspect -f . ci-base-image-arm64 20:39:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:38 prd-ubuntu20.04-docker-arm64-4c-16g-117316 does not seem to be running inside a container 20:39:38 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:39 $ docker top 6320129518b2878cf31efd45e85f580e3ee46f7c8dbbafa6e6d07e4956c7482a -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:40 + git config --global --add safe.directory /w/workspace/device-gpio/4 [Pipeline] fileExists [Pipeline] sh 20:39:40 + make test 20:39:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:39:42 ? github.com/edgexfoundry/device-gpio [no test files] 20:41:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 20:41:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 20:41:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:41:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:42:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:00 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:42:00 $ docker stop --time=1 6320129518b2878cf31efd45e85f580e3ee46f7c8dbbafa6e6d07e4956c7482a 20:42:02 $ docker rm -f 6320129518b2878cf31efd45e85f580e3ee46f7c8dbbafa6e6d07e4956c7482a [Pipeline] // withDockerContainer [Pipeline] sh 20:42:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:03 Warning: overwriting stash ‘coverage-report’ 20:42:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:05 + ls -al . 20:42:05 total 168 20:42:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:39 . 20:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:37 .. 20:42:05 -rw-rw-r-- 1 jenkins jenkins 120 Oct 26 20:37 .dockerignore 20:42:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:37 .git 20:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:37 .github 20:42:05 -rw-rw-r-- 1 jenkins jenkins 343 Oct 26 20:37 .gitignore 20:42:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:37 .golangci.yml 20:42:05 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 26 20:37 Attribution.txt 20:42:05 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 26 20:37 CHANGELOG.md 20:42:05 -rw-rw-r-- 1 jenkins jenkins 1604 Oct 26 20:37 Dockerfile 20:42:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:37 GOVERNANCE.md 20:42:05 -rw-rw-r-- 1 jenkins jenkins 657 Oct 26 20:37 Jenkinsfile 20:42:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:37 LICENSE 20:42:05 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 26 20:37 Makefile 20:42:05 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 20:37 OWNERS.md 20:42:05 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 26 20:37 README.md 20:42:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:34 VERSION 20:42:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:37 bin 20:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:37 cmd 20:42:05 -rw-r--r-- 1 jenkins jenkins 10 Oct 26 20:39 coverage.out 20:42:05 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 26 20:37 go.mod 20:42:05 -rw-rw-r-- 1 jenkins jenkins 45075 Oct 26 20:37 go.sum 20:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:37 internal 20:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:37 snap 20:42:05 -rw-rw-r-- 1 jenkins jenkins 209 Oct 26 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:05 + 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=9dfec82b6ebe8e5c96003dcf033134f7b43537e6 --label arch=arm64 --label version=0.0.0 . 20:42:05 Sending build context to Docker daemon 8.037MB 20:42:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:42:06 Step 2/25 : FROM ${BASE} AS builder 20:42:06 ---> a235a4db28f1 20:42:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:42:06 ---> Running in 77d62cb10af3 20:42:06 Removing intermediate container 77d62cb10af3 20:42:06 ---> 117f2e591d30 20:42:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:06 ---> Running in 4d91cdec58a0 20:42:06 Removing intermediate container 4d91cdec58a0 20:42:06 ---> e9088494915f 20:42:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:42:07 ---> Running in e857bd9ba3cf 20:42:07 Removing intermediate container e857bd9ba3cf 20:42:07 ---> 548006c57885 20:42:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:42:07 ---> Running in 2c18d09acb32 20:42:08 Removing intermediate container 2c18d09acb32 20:42:08 ---> 989525a1c3a7 20:42:08 Step 7/25 : WORKDIR /device-gpio 20:42:08 ---> Running in a44301432a07 20:42:08 Removing intermediate container a44301432a07 20:42:08 ---> 89d20ddec97a 20:42:08 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:08 ---> Running in cc6d1936da7b 20:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:42:11 OK: 226 MiB in 55 packages 20:42:12 Removing intermediate container cc6d1936da7b 20:42:12 ---> 098bc22bf623 20:42:12 Step 9/25 : COPY go.mod vendor* ./ 20:42:14 ---> 559511f50cf5 20:42:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:14 ---> Running in 4b101442bc23 20:42:18 Removing intermediate container 4b101442bc23 20:42:18 ---> 38eb68610438 20:42:18 Step 11/25 : COPY . . 20:42:20 ---> bd905e3b4a4c 20:42:20 Step 12/25 : RUN ${MAKE} 20:42:20 ---> Running in 32f842569c26 20:42:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 20:45:16 Removing intermediate container 32f842569c26 20:45:16 ---> 004273212541 20:45:16 Step 13/25 : FROM alpine:3.16 20:45:16 3.16: Pulling from library/alpine 20:45:16 9b18e9b68314: Already exists 20:45:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:45:16 Status: Downloaded newer image for alpine:3.16 20:45:16 ---> a6215f271958 20:45:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:45:16 ---> Running in 84f80e9c32fc 20:45:16 Removing intermediate container 84f80e9c32fc 20:45:16 ---> bc591db72ff3 20:45:16 Step 15/25 : RUN apk add --update --no-cache zeromq 20:45:16 ---> Running in 8356be4efa51 20:45:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:45:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:45:16 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:45:16 (2/5) Installing libsodium (1.0.18-r0) 20:45:16 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:45:16 (4/5) Installing libzmq (4.3.4-r0) 20:45:16 (5/5) Installing zeromq (4.3.4-r0) 20:45:16 Executing busybox-1.35.0-r17.trigger 20:45:16 OK: 8 MiB in 19 packages 20:45:16 Removing intermediate container 8356be4efa51 20:45:16 ---> 181c9e2be9a2 20:45:16 Step 16/25 : WORKDIR / 20:45:16 ---> Running in 8828af96dfdb 20:45:16 Removing intermediate container 8828af96dfdb 20:45:16 ---> d21dca818505 20:45:16 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 20:45:16 ---> 04f6a7c006d7 20:45:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 20:45:16 ---> d80914a9abd5 20:45:16 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 20:45:16 ---> a04e830f7bb6 20:45:16 Step 20/25 : EXPOSE 59910 20:45:16 ---> Running in 319cc0384f05 20:45:16 Removing intermediate container 319cc0384f05 20:45:16 ---> a0936b2e32d3 20:45:16 Step 21/25 : ENTRYPOINT ["/device-gpio"] 20:45:16 ---> Running in fcc12cd33896 20:45:16 Removing intermediate container fcc12cd33896 20:45:16 ---> 373cb2668327 20:45:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:45:16 ---> Running in 03b49029d01d 20:45:16 Removing intermediate container 03b49029d01d 20:45:16 ---> 2edc192a92cc 20:45:16 Step 23/25 : LABEL arch=arm64 20:45:16 ---> Running in 143efde4cff7 20:45:16 Removing intermediate container 143efde4cff7 20:45:16 ---> 2389e43c7e72 20:45:16 Step 24/25 : LABEL git_sha=9dfec82b6ebe8e5c96003dcf033134f7b43537e6 20:45:16 ---> Running in 85e514e99911 20:45:16 Removing intermediate container 85e514e99911 20:45:16 ---> cb74c2094c52 20:45:16 Step 25/25 : LABEL version=0.0.0 20:45:16 ---> Running in 84ee7cd06b7c 20:45:17 Removing intermediate container 84ee7cd06b7c 20:45:17 ---> e3c09b021364 20:45:17 [Warning] One or more build-args [ARCH] were not consumed 20:45:17 Successfully built e3c09b021364 20:45:17 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 20:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:17 20:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:18 arm64: Pulling from edgex-lftools-log-publisher 20:45:18 8998bd30e6a1: Pulling fs layer 20:45:18 04944245beec: Pulling fs layer 20:45:18 699f458cf7ca: Pulling fs layer 20:45:18 765212b225bb: Pulling fs layer 20:45:18 f23df028b6ca: Pulling fs layer 20:45:18 d65c8cfc05b1: Pulling fs layer 20:45:18 2437ff75d9bd: Pulling fs layer 20:45:18 f23df028b6ca: Waiting 20:45:18 d65c8cfc05b1: Waiting 20:45:18 2437ff75d9bd: Waiting 20:45:18 765212b225bb: Waiting 20:45:18 04944245beec: Verifying Checksum 20:45:18 04944245beec: Download complete 20:45:18 765212b225bb: Download complete 20:45:18 f23df028b6ca: Verifying Checksum 20:45:18 f23df028b6ca: Download complete 20:45:18 d65c8cfc05b1: Verifying Checksum 20:45:18 d65c8cfc05b1: Download complete 20:45:18 699f458cf7ca: Verifying Checksum 20:45:18 699f458cf7ca: Download complete 20:45:18 8998bd30e6a1: Download complete 20:45:21 2437ff75d9bd: Verifying Checksum 20:45:21 2437ff75d9bd: Download complete 20:45:23 8998bd30e6a1: Pull complete 20:45:23 04944245beec: Pull complete 20:45:24 699f458cf7ca: Pull complete 20:45:25 765212b225bb: Pull complete 20:45:25 f23df028b6ca: Pull complete 20:45:26 d65c8cfc05b1: Pull complete 20:45:41 2437ff75d9bd: Pull complete 20:45:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:45:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:41 prd-ubuntu20.04-docker-arm64-4c-16g-117316 does not seem to be running inside a container 20:45:41 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:45:44 $ docker top 112f89983145b97465656b4737fba3d37195a1172d78cd0c2c118c6d214720bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:45 ---> job-cost.sh 20:45:45 lf-activate-venv: SKIPPING 20:45:45 INFO: No Stack... 20:45:45 INFO: Retrieving Pricing Info for: v3-standard-4 20:45:46 INFO: Archiving Costs [Pipeline] sh 20:45:47 + cat /w/workspace/device-gpio/4/archives/cost.csv 20:45:47 + cut -d, -f6 [Pipeline] lock 20:45:47 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] 20:45:47 Resource [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] did not exist. Created. 20:45:47 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:48 /w/workspace/device-gpio/4@tmp/durable-2855c818/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:45:48 + echo total: 0.10999999940395355 [Pipeline] stash 20:45:48 Warning: overwriting stash ‘stack-cost’ 20:45:48 Stashed 1 file(s) [Pipeline] } 20:45:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:48 $ docker stop --time=1 112f89983145b97465656b4737fba3d37195a1172d78cd0c2c118c6d214720bf 20:45:50 $ docker rm -f 112f89983145b97465656b4737fba3d37195a1172d78cd0c2c118c6d214720bf [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 20:45:50 provisioning config files... 20:45:50 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config8429224540579222925tmp [Pipeline] { [Pipeline] sh 20:45:51 + set +x 20:45:51 + curl -s https://codecov.io/bash 20:45:51 + bash -s -- 20:45:51 20:45:51 _____ _ 20:45:51 / ____| | | 20:45:51 | | ___ __| | ___ ___ _____ __ 20:45:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:45:51 | |___| (_) | (_| | __/ (_| (_) \ V / 20:45:51 \_____\___/ \__,_|\___|\___\___/ \_/ 20:45:51 Bash-1.0.6 20:45:51 20:45:51 20:45:51 ==> git version 2.25.1 found 20:45:51 ==> 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 20:45:51 Release-Date: 2020-01-08 20:45:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:45:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:45:51 ==> Jenkins CI detected. 20:45:51 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-64 20:45:51 project root: . 20:45:51 --> token set from env 20:45:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:45:51 ==> Running gcov in . (disable via -X gcov) 20:45:51 ==> Python coveragepy not found 20:45:51 ==> Searching for coverage reports in: 20:45:51 + . 20:45:51 -> Found 1 reports 20:45:51 ==> Detecting git/mercurial file structure 20:45:51 ==> Reading reports 20:45:51 + ./coverage.out bytes=10 20:45:51 ==> Appending adjustments 20:45:51 https://docs.codecov.io/docs/fixing-reports 20:45:51 + Found adjustments 20:45:51 ==> Gzipping contents 20:45:51 4.0K /tmp/codecov.SBQIUE.gz 20:45:51 ==> Uploading reports 20:45:51 url: https://codecov.io 20:45:51 query: branch=PR-64&commit=9dfec82b6ebe8e5c96003dcf033134f7b43537e6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= 20:45:51 -> Pinging Codecov 20:45:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-64&commit=9dfec82b6ebe8e5c96003dcf033134f7b43537e6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= 20:45:51 -> Uploading to 20:45:51 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9dfec82b6ebe8e5c96003dcf033134f7b43537e6/0a5ae780-0e84-4c8d-81cc-175b1d80bc71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T204551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8f38323e7689b4fc18ee77235093ae923d1eba6f02d59b17b349566def3c08b 20:45:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:51 Dload Upload Total Spent Left Speed 20:45:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3366 --:--:-- --:--:-- --:--:-- 3351 20:45:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9dfec82b6ebe8e5c96003dcf033134f7b43537e6 [Pipeline] } 20:45:51 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 20:45:52 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-64/archives ] 20:45:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives 20:45:52 total 16 20:45:52 drwxr-xr-x 3 root root 4096 Oct 26 20:36 . 20:45:52 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:36 .. 20:45:52 drwxr-xr-x 2 root root 4096 Oct 26 20:36 cost 20:45:52 -rw-r--r-- 1 root root 82 Oct 26 20:36 cost.csv 20:45:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-64/archives 20:45:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives 20:45:52 total 16 20:45:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:36 . 20:45:52 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:36 .. 20:45:52 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:36 cost 20:45:52 -rw-r--r-- 1 jenkins jenkins 82 Oct 26 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:45:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:45:53 ---> package-listing.sh 20:45:53 ++ facter osfamily 20:45:53 ++ tr '[:upper:]' '[:lower:]' 20:45:54 + OS_FAMILY=debian 20:45:54 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-64 20:45:54 + START_PACKAGES=/tmp/packages_start.txt 20:45:54 + END_PACKAGES=/tmp/packages_end.txt 20:45:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:45:54 + PACKAGES=/tmp/packages_start.txt 20:45:54 + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' 20:45:54 + PACKAGES=/tmp/packages_end.txt 20:45:54 + case "${OS_FAMILY}" in 20:45:54 + dpkg -l 20:45:54 + grep '^ii' 20:45:54 + '[' -f /tmp/packages_start.txt ']' 20:45:54 + '[' -f /tmp/packages_end.txt ']' 20:45:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:45:54 + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' 20:45:54 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ 20:45:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ [Pipeline] echo 20:45:54 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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:45:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:54 prd-ubuntu20.04-docker-8c-8g-117312 does not seem to be running inside a container 20:45:55 $ 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-64/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-64 -v /w/workspace/edgexfoundry_device-gpio_PR-64:/w/workspace/edgexfoundry_device-gpio_PR-64:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-64@tmp:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:45:55 $ docker top 5fbd98e8a01066450f6f6c81543c07e56df12ba484758321e9e7dc5114a2e79a -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:45:55 + mkdir -p /var/log/sysstat [Pipeline] sh 20:45:56 + ls /var/log/sa-host 20:45:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:56 provisioning config files... 20:45:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config14821103829469144751tmp [Pipeline] { [Pipeline] echo 20:45:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:45:56 ---> create-netrc.sh [Pipeline] } 20:45:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:45:56 ---> python-tools-install.sh [Pipeline] echo 20:45:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:45:57 ---> sudo-logs.sh 20:45:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:45:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:45:57 ---> job-cost.sh 20:45:57 lf-activate-venv: SKIPPING 20:45:57 DEBUG: total: 0.2199999988079071 20:45:57 INFO: Retrieving Stack Cost... 20:45:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:58 INFO: Archiving Costs [Pipeline] echo 20:45:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:45:58 ---> logs-deploy.sh 20:45:58 lf-activate-venv: SKIPPING 20:45:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-64/4 20:45:58 INFO: archiving workspace using pattern(s): 20:45:59 Archives upload complete. 20:45:59 INFO: archiving logs to Nexus 20:46:00 ---> uname -a: 20:46:00 Linux prd-ubuntu20-04-docker-8c-8g-117312 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:46:00 20:46:00 20:46:00 ---> lscpu: 20:46:00 Architecture: x86_64 20:46:00 CPU op-mode(s): 32-bit, 64-bit 20:46:00 Byte Order: Little Endian 20:46:00 Address sizes: 40 bits physical, 48 bits virtual 20:46:00 CPU(s): 8 20:46:00 On-line CPU(s) list: 0-7 20:46:00 Thread(s) per core: 1 20:46:00 Core(s) per socket: 1 20:46:00 Socket(s): 8 20:46:00 NUMA node(s): 1 20:46:00 Vendor ID: AuthenticAMD 20:46:00 CPU family: 23 20:46:00 Model: 49 20:46:00 Model name: AMD EPYC-Rome Processor 20:46:00 Stepping: 0 20:46:00 CPU MHz: 2799.998 20:46:00 BogoMIPS: 5599.99 20:46:00 Virtualization: AMD-V 20:46:00 Hypervisor vendor: KVM 20:46:00 Virtualization type: full 20:46:00 L1d cache: 256 KiB 20:46:00 L1i cache: 256 KiB 20:46:00 L2 cache: 4 MiB 20:46:00 L3 cache: 128 MiB 20:46:00 NUMA node0 CPU(s): 0-7 20:46:00 Vulnerability Itlb multihit: Not affected 20:46:00 Vulnerability L1tf: Not affected 20:46:00 Vulnerability Mds: Not affected 20:46:00 Vulnerability Meltdown: Not affected 20:46:00 Vulnerability Mmio stale data: Not affected 20:46:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:46:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:46:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:46:00 Vulnerability Srbds: Not affected 20:46:00 Vulnerability Tsx async abort: Not affected 20:46:00 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 20:46:00 20:46:00 20:46:00 ---> nproc: 20:46:00 8 20:46:00 20:46:00 20:46:00 ---> df -h: 20:46:00 Filesystem Size Used Avail Use% Mounted on 20:46:00 overlay 155G 12G 144G 8% / 20:46:00 tmpfs 64M 0 64M 0% /dev 20:46:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:46:00 shm 64M 0 64M 0% /dev/shm 20:46:00 /dev/vda1 155G 12G 144G 8% /facter-os 20:46:00 20:46:00 20:46:00 ---> sar -b -r -n DEV: 20:46:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117312) 10/26/22 _x86_64_ (8 CPU) 20:46:00 20:46:00 20:33:26 LINUX RESTART (8 CPU) 20:46:00 20:46:00 20:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:46:00 20:35:01 369.14 11.15 357.99 0.00 1717.45 78985.24 0.00 20:46:00 20:36:01 149.23 0.33 148.89 0.00 16.40 24431.26 0.00 20:46:00 20:37:01 31.91 0.03 31.87 0.00 6.53 16459.06 0.00 20:46:00 20:38:01 2.07 0.00 2.07 0.00 0.00 22.79 0.00 20:46:00 20:39:01 37.71 9.33 28.38 0.00 2884.32 4755.87 0.00 20:46:00 20:40:01 2.68 0.00 2.68 0.00 0.00 30.52 0.00 20:46:00 20:41:01 1.27 0.00 1.27 0.00 0.00 13.60 0.00 20:46:00 20:42:01 2.02 0.00 2.02 0.00 0.00 21.46 0.00 20:46:00 20:43:01 1.30 0.00 1.30 0.00 0.00 14.40 0.00 20:46:00 20:44:01 2.63 0.00 2.63 0.00 0.00 39.59 0.00 20:46:00 20:45:01 1.42 0.00 1.42 0.00 0.00 15.06 0.00 20:46:00 Average: 54.66 1.89 52.77 0.00 420.38 11343.49 0.00 20:46:00 20:46:00 20:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:46:00 20:35:01 28484936 31542412 765672 2.33 138300 3125820 1846956 5.44 1104020 2856680 400 20:46:00 20:36:01 27665708 31522420 783516 2.38 149132 3861728 2065912 6.09 1257860 3464828 499096 20:46:00 20:37:01 27736820 31560444 744028 2.26 151712 3820040 1773336 5.23 1233780 3410772 12 20:46:00 20:38:01 27736952 31560884 743344 2.26 151780 3820164 1773336 5.23 1233812 3410904 12 20:46:00 20:39:01 27449496 31543672 740080 2.25 170104 4068964 1788196 5.27 1385472 3519560 256 20:46:00 20:40:01 27451136 31545400 738364 2.25 170188 4068952 1804248 5.32 1384516 3519520 8 20:46:00 20:41:01 27461588 31555900 727788 2.21 170244 4068964 1804248 5.32 1374340 3519524 16 20:46:00 20:42:01 27462196 31556616 727040 2.21 170324 4068964 1804248 5.32 1374648 3519544 8 20:46:00 20:43:01 27462404 31556876 726712 2.21 170376 4068968 1804248 5.32 1374540 3519544 4 20:46:00 20:44:01 27462072 31556800 726816 2.21 170500 4068972 1804248 5.32 1374816 3519668 8 20:46:00 20:45:01 27462024 31556836 726756 2.21 170592 4068972 1804248 5.32 1374684 3519672 8 20:46:00 Average: 27621394 31550751 740920 2.25 162114 3919137 1824839 5.38 1315681 3434565 45439 20:46:00 20:46:00 20:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:46:00 20:35:01 ens3 568.47 372.14 7614.91 87.19 0.00 0.00 0.00 0.00 20:46:00 20:35:01 docker0 164.76 239.01 13.56 1920.37 0.00 0.00 0.00 0.00 20:46:00 20:35:01 vethebff60e 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:35:01 lo 6.07 6.07 0.59 0.59 0.00 0.00 0.00 0.00 20:46:00 20:36:01 ens3 127.78 80.95 2637.95 19.23 0.00 0.00 0.00 0.00 20:46:00 20:36:01 docker0 4.32 9.52 0.27 98.11 0.00 0.00 0.00 0.00 20:46:00 20:36:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 20:46:00 20:37:01 ens3 14.26 8.05 13.76 4.52 0.00 0.00 0.00 0.00 20:46:00 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:37:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 20:46:00 20:38:01 ens3 1.40 0.45 0.58 0.39 0.00 0.00 0.00 0.00 20:46:00 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:46:00 20:39:01 ens3 57.94 28.75 1298.05 2.72 0.00 0.00 0.00 0.00 20:46:00 20:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:39:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 20:46:00 20:40:01 ens3 1.22 0.15 0.10 0.01 0.00 0.00 0.00 0.00 20:46:00 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:46:00 20:41:01 ens3 2.05 0.57 0.69 0.40 0.00 0.00 0.00 0.00 20:46:00 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:42:01 ens3 0.92 0.55 0.30 0.22 0.00 0.00 0.00 0.00 20:46:00 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:46:00 20:43:01 ens3 2.25 0.57 0.64 0.41 0.00 0.00 0.00 0.00 20:46:00 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:44:01 ens3 2.33 0.65 0.71 0.47 0.00 0.00 0.00 0.00 20:46:00 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:46:00 20:45:01 ens3 0.78 0.42 0.41 0.27 0.00 0.00 0.00 0.00 20:46:00 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:00 Average: ens3 70.85 44.83 1051.53 10.53 0.00 0.00 0.00 0.00 20:46:00 Average: docker0 15.37 22.59 1.26 183.48 0.00 0.00 0.00 0.00 20:46:00 Average: lo 0.85 0.85 0.08 0.08 0.00 0.00 0.00 0.00 20:46:00 20:46:00 20:46:00 ---> sar -P ALL: 20:46:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117312) 10/26/22 _x86_64_ (8 CPU) 20:46:00 20:46:00 20:33:26 LINUX RESTART (8 CPU) 20:46:00 20:46:00 20:34:01 CPU %user %nice %system %iowait %steal %idle 20:46:00 20:35:01 all 11.32 0.00 5.78 2.60 0.08 80.22 20:46:00 20:35:01 0 10.98 0.00 4.91 1.10 0.07 82.95 20:46:00 20:35:01 1 9.97 0.00 5.00 0.86 0.07 84.10 20:46:00 20:35:01 2 10.47 0.00 7.77 8.79 0.08 72.89 20:46:00 20:35:01 3 11.24 0.00 6.69 3.79 0.08 78.20 20:46:00 20:35:01 4 10.87 0.00 5.13 0.44 0.07 83.49 20:46:00 20:35:01 5 13.99 0.00 5.51 1.96 0.07 78.47 20:46:00 20:35:01 6 10.63 0.00 4.94 2.67 0.08 81.68 20:46:00 20:35:01 7 12.39 0.00 6.33 1.22 0.12 79.94 20:46:00 20:36:01 all 42.77 0.00 7.88 1.02 0.10 48.23 20:46:00 20:36:01 0 42.27 0.00 7.41 1.45 0.10 48.78 20:46:00 20:36:01 1 41.95 0.00 8.04 0.31 0.08 49.62 20:46:00 20:36:01 2 42.85 0.00 9.29 2.34 0.10 45.42 20:46:00 20:36:01 3 43.62 0.00 7.21 0.20 0.10 48.87 20:46:00 20:36:01 4 42.58 0.00 7.91 0.07 0.10 49.34 20:46:00 20:36:01 5 42.56 0.00 7.48 0.19 0.08 49.69 20:46:00 20:36:01 6 40.51 0.00 7.43 1.68 0.08 50.30 20:46:00 20:36:01 7 45.82 0.00 8.30 1.91 0.12 43.85 20:46:00 20:37:01 all 0.83 0.00 0.37 0.43 0.01 98.37 20:46:00 20:37:01 0 0.62 0.00 0.38 1.52 0.02 97.46 20:46:00 20:37:01 1 0.55 0.00 0.38 0.00 0.02 99.05 20:46:00 20:37:01 2 0.92 0.00 0.58 1.64 0.02 96.84 20:46:00 20:37:01 3 2.50 0.00 0.28 0.00 0.00 97.22 20:46:00 20:37:01 4 0.37 0.00 0.23 0.02 0.00 99.38 20:46:00 20:37:01 5 0.70 0.00 0.33 0.03 0.02 98.92 20:46:00 20:37:01 6 0.38 0.00 0.43 0.02 0.00 99.17 20:46:00 20:37:01 7 0.55 0.00 0.32 0.22 0.00 98.91 20:46:00 20:38:01 all 0.10 0.00 0.03 0.02 0.00 99.85 20:46:00 20:38:01 0 0.08 0.00 0.05 0.08 0.00 99.78 20:46:00 20:38:01 1 0.00 0.00 0.02 0.00 0.00 99.98 20:46:00 20:38:01 2 0.27 0.00 0.02 0.00 0.00 99.72 20:46:00 20:38:01 3 0.42 0.00 0.08 0.00 0.02 99.48 20:46:00 20:38:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:46:00 20:38:01 5 0.02 0.00 0.00 0.02 0.00 99.97 20:46:00 20:38:01 6 0.00 0.00 0.03 0.05 0.00 99.92 20:46:00 20:38:01 7 0.03 0.00 0.03 0.00 0.00 99.93 20:46:00 20:39:01 all 1.17 0.00 0.82 0.29 0.01 97.71 20:46:00 20:39:01 0 0.84 0.00 0.48 1.12 0.02 97.54 20:46:00 20:39:01 1 1.07 0.00 0.65 0.12 0.00 98.16 20:46:00 20:39:01 2 2.35 0.00 0.72 0.27 0.02 96.65 20:46:00 20:39:01 3 1.17 0.00 0.83 0.38 0.00 97.61 20:46:00 20:39:01 4 0.62 0.00 1.75 0.05 0.02 97.56 20:46:00 20:39:01 5 0.99 0.00 0.47 0.08 0.02 98.45 20:46:00 20:39:01 6 1.23 0.00 1.05 0.03 0.02 97.66 20:46:00 20:39:01 7 1.10 0.00 0.57 0.28 0.02 98.03 20:46:00 20:40:01 all 0.03 0.00 0.03 0.00 0.00 99.94 20:46:00 20:40:01 0 0.07 0.00 0.07 0.02 0.00 99.85 20:46:00 20:40:01 1 0.03 0.00 0.02 0.00 0.02 99.93 20:46:00 20:40:01 2 0.07 0.00 0.03 0.00 0.00 99.90 20:46:00 20:40:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:46:00 20:40:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:46:00 20:40:01 5 0.00 0.00 0.02 0.02 0.00 99.97 20:46:00 20:40:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:46:00 20:40:01 7 0.07 0.00 0.02 0.00 0.00 99.92 20:46:00 20:41:01 all 0.06 0.00 0.02 0.01 0.00 99.91 20:46:00 20:41:01 0 0.03 0.00 0.07 0.03 0.02 99.85 20:46:00 20:41:01 1 0.20 0.00 0.02 0.00 0.00 99.78 20:46:00 20:41:01 2 0.08 0.00 0.00 0.00 0.00 99.92 20:46:00 20:41:01 3 0.05 0.00 0.02 0.00 0.00 99.93 20:46:00 20:41:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:46:00 20:41:01 5 0.02 0.00 0.03 0.02 0.00 99.93 20:46:00 20:41:01 6 0.07 0.00 0.02 0.00 0.00 99.92 20:46:00 20:41:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:46:00 20:42:01 all 0.29 0.00 0.02 0.01 0.00 99.68 20:46:00 20:42:01 0 0.10 0.00 0.03 0.03 0.00 99.83 20:46:00 20:42:01 1 2.00 0.00 0.02 0.00 0.00 97.98 20:46:00 20:42:01 2 0.05 0.00 0.00 0.00 0.00 99.95 20:46:00 20:42:01 3 0.03 0.00 0.02 0.00 0.00 99.95 20:46:00 20:42:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:46:00 20:42:01 5 0.02 0.00 0.03 0.03 0.00 99.92 20:46:00 20:42:01 6 0.05 0.00 0.02 0.00 0.00 99.93 20:46:00 20:42:01 7 0.03 0.00 0.02 0.00 0.00 99.95 20:46:00 20:43:01 all 0.06 0.00 0.02 0.01 0.00 99.92 20:46:00 20:43:01 0 0.07 0.00 0.05 0.03 0.02 99.83 20:46:00 20:43:01 1 0.20 0.00 0.00 0.00 0.00 99.80 20:46:00 20:43:01 2 0.05 0.00 0.00 0.00 0.00 99.95 20:46:00 20:43:01 3 0.05 0.00 0.05 0.00 0.00 99.90 20:46:00 20:43:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:46:00 20:43:01 5 0.02 0.00 0.00 0.02 0.00 99.97 20:46:00 20:43:01 6 0.03 0.00 0.02 0.00 0.00 99.95 20:46:00 20:43:01 7 0.05 0.00 0.02 0.00 0.00 99.93 20:46:00 20:44:01 all 0.03 0.00 0.02 0.01 0.00 99.94 20:46:00 20:44:01 0 0.08 0.00 0.05 0.03 0.00 99.83 20:46:00 20:44:01 1 0.03 0.00 0.00 0.00 0.00 99.97 20:46:00 20:44:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:46:00 20:44:01 3 0.00 0.00 0.00 0.00 0.02 99.98 20:46:00 20:44:01 4 0.02 0.00 0.02 0.00 0.00 99.97 20:46:00 20:44:01 5 0.05 0.00 0.03 0.02 0.00 99.90 20:46:00 20:44:01 6 0.00 0.00 0.00 0.02 0.00 99.98 20:46:00 20:44:01 7 0.03 0.00 0.02 0.00 0.00 99.95 20:46:00 20:45:01 all 0.04 0.00 0.01 0.01 0.00 99.94 20:46:00 20:45:01 0 0.08 0.00 0.08 0.03 0.00 99.80 20:46:00 20:45:01 1 0.03 0.00 0.02 0.00 0.00 99.95 20:46:00 20:45:01 2 0.07 0.00 0.00 0.00 0.00 99.93 20:46:00 20:45:01 3 0.03 0.00 0.02 0.00 0.00 99.95 20:46:00 20:45:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:46:00 20:45:01 5 0.02 0.00 0.00 0.02 0.00 99.97 20:46:00 20:45:01 6 0.03 0.00 0.00 0.00 0.00 99.97 20:46:00 20:45:01 7 0.07 0.00 0.00 0.00 0.02 99.92 20:46:00 20:46:00 Average: CPU %user %nice %system %iowait %steal %idle 20:46:00 Average: all 5.10 0.00 1.35 0.40 0.02 93.14 20:46:00 Average: 0 4.98 0.00 1.23 0.49 0.02 93.28 20:46:00 Average: 1 5.03 0.00 1.27 0.12 0.02 93.57 20:46:00 Average: 2 5.15 0.00 1.66 1.17 0.02 91.99 20:46:00 Average: 3 5.32 0.00 1.37 0.39 0.02 92.90 20:46:00 Average: 4 4.90 0.00 1.36 0.05 0.02 93.67 20:46:00 Average: 5 5.24 0.00 1.25 0.22 0.02 93.27 20:46:00 Average: 6 4.76 0.00 1.26 0.40 0.02 93.56 20:46:00 Average: 7 5.41 0.00 1.40 0.33 0.02 92.84 20:46:00 20:46:00 20:46:00