Pull request #64 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-gpio Loading trusted files from base branch main at b99ee17479275846ebb326ecdfd2e35febb27ada rather than 3364db2711e1aa49d3c50c72141011318f1eeb11 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-ssh1184165302198609717.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-ssh7482384683272043682.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2594236259421474574.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7414483193121084782.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16912497578719611350.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4389048830439334001.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117006’ Running on prd-ubuntu20.04-docker-8c-8g-117008 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 > 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 Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit 3364db2711e1aa49d3c50c72141011318f1eeb11 Merge succeeded, producing 3364db2711e1aa49d3c50c72141011318f1eeb11 Checking out Revision 3364db2711e1aa49d3c50c72141011318f1eeb11 (PR-64) > git config core.sparsecheckout # timeout=10 > git checkout -f 3364db2711e1aa49d3c50c72141011318f1eeb11 # 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3364db2711e1aa49d3c50c72141011318f1eeb11 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:37:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:37:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:37:07 ========================================================= 23:37:07 EdgeX Global Pipelines Version Info 23:37:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:37:08 ------------------- 23:37:08 stable info: 23:37:08 ------------------- 23:37:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:08 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:37:08 Message: update stable to v1.0.243 23:37:08 ------------------- 23:37:08 experimental info: 23:37:08 ------------------- 23:37:08 Commited By: **** collab-it+edgex@linuxfoundation.org 23:37:08 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:37:08 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:37:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3364db2711e1aa49d3c50c72141011318f1eeb11 [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3364db2 [Pipeline] echo 23:37:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:10 provisioning config files... 23:37:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config8779873339593981495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:11 ---> docker-login.sh 23:37:11 nexus3.edgexfoundry.org:10001 23:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:11 Configure a credential helper to remove this warning. See 23:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:11 23:37:11 Login Succeeded 23:37:11 nexus3.edgexfoundry.org:10002 23:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:11 Configure a credential helper to remove this warning. See 23:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:11 23:37:11 Login Succeeded 23:37:11 nexus3.edgexfoundry.org:10003 23:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:11 Configure a credential helper to remove this warning. See 23:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:11 23:37:11 Login Succeeded 23:37:11 nexus3.edgexfoundry.org:10004 23:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:11 Configure a credential helper to remove this warning. See 23:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:11 23:37:11 Login Succeeded 23:37:11 docker.io 23:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:12 Configure a credential helper to remove this warning. See 23:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:12 23:37:12 Login Succeeded 23:37:12 ---> docker-login.sh ends [Pipeline] } 23:37:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:37:12 + git rev-list -1 --merges 3364db2711e1aa49d3c50c72141011318f1eeb11~1..3364db2711e1aa49d3c50c72141011318f1eeb11 [Pipeline] echo 23:37:12 -----------> git rev-list -1 --merges 3364db2711e1aa49d3c50c72141011318f1eeb11~1..3364db2711e1aa49d3c50c72141011318f1eeb11 3364db2711e1aa49d3c50c72141011318f1eeb11 [false] [Pipeline] sh 23:37:13 + git log --format=format:%s -1 3364db2711e1aa49d3c50c72141011318f1eeb11 [Pipeline] echo 23:37:13 ========================================================= 23:37:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:37:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:13 + git log --format=format:%s -1 3364db2711e1aa49d3c50c72141011318f1eeb11 [Pipeline] echo 23:37:13 [semverPrep] GIT_COMMIT: 3364db2711e1aa49d3c50c72141011318f1eeb11, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 23:37:13 [semverPrep] This is not a build commit. [Pipeline] sh 23:37:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:14 + grep -v github /etc/ssh/ssh_known_hosts 23:37:14 + [ -e /tmp/ssh_known_hosts ] 23:37:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:37:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:37:14 + sudo tee -a /etc/ssh/ssh_known_hosts 23:37:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:14 23:37:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:14 0.1.4: Pulling from edgex-devops/py-git-semver 23:37:14 b85a868b505f: Pulling fs layer 23:37:14 e2be974225ed: Pulling fs layer 23:37:14 339a4e72a1f5: Pulling fs layer 23:37:14 988bab9f4d93: Pulling fs layer 23:37:14 1469e6f7b9e6: Pulling fs layer 23:37:14 eaf3925da568: Pulling fs layer 23:37:14 bab4dde63d76: Pulling fs layer 23:37:14 bde34c3a00c8: Pulling fs layer 23:37:14 b352a97aabf1: Pulling fs layer 23:37:14 4872d77fe225: Pulling fs layer 23:37:14 988bab9f4d93: Waiting 23:37:14 5851b861e8e6: Pulling fs layer 23:37:14 1469e6f7b9e6: Waiting 23:37:14 eaf3925da568: Waiting 23:37:14 bab4dde63d76: Waiting 23:37:14 4872d77fe225: Waiting 23:37:14 5851b861e8e6: Waiting 23:37:14 b352a97aabf1: Waiting 23:37:14 bde34c3a00c8: Waiting 23:37:14 e2be974225ed: Verifying Checksum 23:37:14 e2be974225ed: Download complete 23:37:14 988bab9f4d93: Verifying Checksum 23:37:14 988bab9f4d93: Download complete 23:37:15 1469e6f7b9e6: Verifying Checksum 23:37:15 1469e6f7b9e6: Download complete 23:37:15 eaf3925da568: Verifying Checksum 23:37:15 eaf3925da568: Download complete 23:37:15 339a4e72a1f5: Verifying Checksum 23:37:15 339a4e72a1f5: Download complete 23:37:15 bde34c3a00c8: Verifying Checksum 23:37:15 bde34c3a00c8: Download complete 23:37:15 b352a97aabf1: Download complete 23:37:15 4872d77fe225: Download complete 23:37:15 5851b861e8e6: Verifying Checksum 23:37:15 5851b861e8e6: Download complete 23:37:15 b85a868b505f: Verifying Checksum 23:37:15 b85a868b505f: Download complete 23:37:15 bab4dde63d76: Verifying Checksum 23:37:15 bab4dde63d76: Download complete 23:37:16 b85a868b505f: Pull complete 23:37:16 e2be974225ed: Pull complete 23:37:16 339a4e72a1f5: Pull complete 23:37:16 988bab9f4d93: Pull complete 23:37:17 1469e6f7b9e6: Pull complete 23:37:17 eaf3925da568: Pull complete 23:37:19 bab4dde63d76: Pull complete 23:37:19 bde34c3a00c8: Pull complete 23:37:19 b352a97aabf1: Pull complete 23:37:19 4872d77fe225: Pull complete 23:37:19 5851b861e8e6: Pull complete 23:37:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:19 prd-ubuntu20.04-docker-8c-8g-117008 does not seem to be running inside a container 23:37:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:37:21 $ docker top 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef -eo pid,comm 23:37:21 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). 23:37:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:21 [ssh-agent] Looking for ssh-agent implementation... 23:37:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:21 $ docker exec 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef ssh-agent 23:37:21 SSH_AUTH_SOCK=/tmp/ssh-0htGLvLkwtdD/agent.32 23:37:21 SSH_AGENT_PID=38 23:37:21 Running ssh-add (command line suppressed) 23:37:22 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_4155834229607343223.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_4155834229607343223.key) 23:37:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:22 + git tag --points-at HEAD [Pipeline] } 23:37:22 $ docker exec --env ******** --env ******** 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef ssh-agent -k 23:37:22 unset SSH_AUTH_SOCK; 23:37:22 unset SSH_AGENT_PID; 23:37:22 echo Agent pid 38 killed; 23:37:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:37:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:22 [ssh-agent] Looking for ssh-agent implementation... 23:37:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:22 $ docker exec 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef ssh-agent 23:37:22 SSH_AUTH_SOCK=/tmp/ssh-WA6TVhzrjmou/agent.70 23:37:22 SSH_AGENT_PID=76 23:37:22 Running ssh-add (command line suppressed) 23:37:22 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_11762348731764556454.key (/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/private_key_11762348731764556454.key) 23:37:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:23 + git semver init 23:37:23 2022-10-25 23:37:23,500 [run_init] DEBUG init version:0.0.0 force:False 23:37:23 2022-10-25 23:37:23,500 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver 23:37:23 2022-10-25 23:37:23,501 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-64/.semver 23:37:23 2022-10-25 23:37:23,501 [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) 23:37:24 2022-10-25 23:37:24,564 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.git/info/exclude 23:37:24 2022-10-25 23:37:24,565 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 with force:False 23:37:24 2022-10-25 23:37:24,565 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 23:37:24 2022-10-25 23:37:24,569 [execute] INFO git cat-file --batch-check 23:37:24 2022-10-25 23:37:24,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) 23:37:24 2022-10-25 23:37:24,576 [execute] INFO git cat-file --batch 23:37:24 2022-10-25 23:37:24,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-64/.semver, universal_newlines=False, shell=None, istream=) 23:37:24 2022-10-25 23:37:24,581 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-64/.semver/PR-64 23:37:24 0.0.0 [Pipeline] } 23:37:25 $ docker exec --env ******** --env ******** 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef ssh-agent -k 23:37:25 unset SSH_AUTH_SOCK; 23:37:25 unset SSH_AGENT_PID; 23:37:25 echo Agent pid 76 killed; 23:37:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:25 + git semver [Pipeline] } 23:37:25 $ docker stop --time=1 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef 23:37:27 $ docker rm -f 07e16eda4766fcde42b9144c7f33ec6083c8fc65e20cd142a571cd2186fd47ef [Pipeline] // withDockerContainer [Pipeline] sh 23:37:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:27 Stashed 1 file(s) [Pipeline] echo 23:37:27 [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 23:37:28 provisioning config files... 23:37:28 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config9181078677859502394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:28 ---> docker-login.sh 23:37:28 nexus3.edgexfoundry.org:10001 23:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:28 Configure a credential helper to remove this warning. See 23:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:28 23:37:28 Login Succeeded 23:37:28 nexus3.edgexfoundry.org:10002 23:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:28 Configure a credential helper to remove this warning. See 23:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:28 23:37:28 Login Succeeded 23:37:28 nexus3.edgexfoundry.org:10003 23:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:28 Configure a credential helper to remove this warning. See 23:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:28 23:37:28 Login Succeeded 23:37:28 nexus3.edgexfoundry.org:10004 23:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:28 Configure a credential helper to remove this warning. See 23:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:28 23:37:28 Login Succeeded 23:37:28 docker.io 23:37:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:29 Configure a credential helper to remove this warning. See 23:37:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:29 23:37:29 Login Succeeded 23:37:29 ---> docker-login.sh ends [Pipeline] } 23:37:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:29 ========================================================= 23:37:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:37:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:30 + 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 . 23:37:30 Sending build context to Docker daemon 15.91MB 23:37:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:37:30 Step 2/12 : FROM ${BASE} AS builder 23:37:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:30 213ec9aee27d: Pulling fs layer 23:37:30 4583459ba037: Pulling fs layer 23:37:30 93c1e223e6f2: Pulling fs layer 23:37:30 53926ce57604: Pulling fs layer 23:37:30 21b2b0c7a3f4: Pulling fs layer 23:37:30 30f14e443154: Pulling fs layer 23:37:30 53926ce57604: Waiting 23:37:30 21b2b0c7a3f4: Waiting 23:37:30 801331c1e519: Pulling fs layer 23:37:30 99cc6dd402b0: Pulling fs layer 23:37:30 7d9ed39f4882: Pulling fs layer 23:37:30 30f14e443154: Waiting 23:37:30 99cc6dd402b0: Waiting 23:37:30 801331c1e519: Waiting 23:37:30 7d9ed39f4882: Waiting 23:37:30 93c1e223e6f2: Verifying Checksum 23:37:30 93c1e223e6f2: Download complete 23:37:30 4583459ba037: Download complete 23:37:30 21b2b0c7a3f4: Verifying Checksum 23:37:30 21b2b0c7a3f4: Download complete 23:37:30 30f14e443154: Verifying Checksum 23:37:30 30f14e443154: Download complete 23:37:30 213ec9aee27d: Verifying Checksum 23:37:30 213ec9aee27d: Download complete 23:37:30 801331c1e519: Verifying Checksum 23:37:30 801331c1e519: Download complete 23:37:30 213ec9aee27d: Pull complete 23:37:30 4583459ba037: Pull complete 23:37:30 7d9ed39f4882: Verifying Checksum 23:37:30 7d9ed39f4882: Download complete 23:37:30 93c1e223e6f2: Pull complete 23:37:31 53926ce57604: Verifying Checksum 23:37:31 53926ce57604: Download complete 23:37:31 99cc6dd402b0: Verifying Checksum 23:37:31 99cc6dd402b0: Download complete 23:37:35 53926ce57604: Pull complete 23:37:35 21b2b0c7a3f4: Pull complete 23:37:35 30f14e443154: Pull complete 23:37:35 801331c1e519: Pull complete 23:37:37 99cc6dd402b0: Pull complete 23:37:37 7d9ed39f4882: Pull complete 23:37:37 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 23:37:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:37:37 ---> 1dedd983c030 23:37:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:37:41 ---> Running in 50c8c9fee48f 23:37:41 Removing intermediate container 50c8c9fee48f 23:37:41 ---> 58eaf79a0dfc 23:37:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:41 ---> Running in 5b951dd0528a 23:37:41 Removing intermediate container 5b951dd0528a 23:37:41 ---> b11b568ae752 23:37:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:37:41 ---> Running in c43533b6e511 23:37:41 Removing intermediate container c43533b6e511 23:37:41 ---> 823f445a2cf7 23:37:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:37:41 ---> Running in 2a307695b2c5 23:37:41 Removing intermediate container 2a307695b2c5 23:37:41 ---> ed20343f0c09 23:37:41 Step 7/12 : WORKDIR /device-gpio 23:37:41 ---> Running in e36479e9fbf0 23:37:41 Removing intermediate container e36479e9fbf0 23:37:41 ---> 12ff3fef1790 23:37:41 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:41 ---> Running in 67174cad3f88 23:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:37:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:37:41 (2/4) Installing libedit (20210910.3.1-r0) 23:37:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:37:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:37:41 Executing busybox-1.35.0-r17.trigger 23:37:42 OK: 216 MiB in 55 packages 23:37:42 Removing intermediate container 67174cad3f88 23:37:42 ---> 59fd9f766bfb 23:37:42 Step 9/12 : COPY go.mod vendor* ./ 23:37:42 ---> e18c5425540d 23:37:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:42 ---> Running in c63011983de9 23:37:43 Still waiting to schedule task 23:37:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117007’ is offline 23:38:04 Removing intermediate container c63011983de9 23:38:04 ---> edac6bdccf4e 23:38:04 Step 11/12 : COPY . . 23:38:04 ---> bd3aa988e0a6 23:38:04 Step 12/12 : RUN ${MAKE} 23:38:04 ---> Running in 0f02324307a1 23:38:04 noop 23:38:04 Removing intermediate container 0f02324307a1 23:38:04 ---> 01198c777535 23:38:04 Successfully built 01198c777535 23:38:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:05 + docker inspect -f . ci-base-image-x86_64 23:38:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:05 prd-ubuntu20.04-docker-8c-8g-117008 does not seem to be running inside a container 23:38:05 $ 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 ******** ci-base-image-x86_64 cat 23:38:05 $ docker top 9ee76cad9f598dccd6c2a846777f1368a80182ca270c9ab865e5a6f65e8f9cca -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:06 + go version 23:38:06 go version go1.18.7 linux/amd64 [Pipeline] } 23:38:06 $ docker stop --time=1 9ee76cad9f598dccd6c2a846777f1368a80182ca270c9ab865e5a6f65e8f9cca 23:38:07 $ docker rm -f 9ee76cad9f598dccd6c2a846777f1368a80182ca270c9ab865e5a6f65e8f9cca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:08 + docker inspect -f . ci-base-image-x86_64 23:38:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:08 prd-ubuntu20.04-docker-8c-8g-117008 does not seem to be running inside a container 23:38:08 $ 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 ******** ci-base-image-x86_64 cat 23:38:08 $ docker top d71d0288e9530845aad55b326f2bceeea7f88ae9a4a5a4de07908f603636f7fe -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] fileExists [Pipeline] sh 23:38:09 + make test 23:38:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:38:09 ? github.com/edgexfoundry/device-gpio [no test files] 23:38:19 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:38:19 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:38:26 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." 23:38:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:38:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:38:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:38:28 ./bin/test-attribution-txt.sh [Pipeline] echo 23:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:38:29 $ docker stop --time=1 d71d0288e9530845aad55b326f2bceeea7f88ae9a4a5a4de07908f603636f7fe 23:38:31 $ docker rm -f d71d0288e9530845aad55b326f2bceeea7f88ae9a4a5a4de07908f603636f7fe [Pipeline] // withDockerContainer [Pipeline] sh 23:38:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:38:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:38:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:32 + ls -al . 23:38:32 total 172 23:38:32 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 23:38 . 23:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:37 .. 23:38:32 -rw-rw-r-- 1 jenkins jenkins 120 Oct 25 23:37 .dockerignore 23:38:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:38 .git 23:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:37 .github 23:38:32 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 23:37 .gitignore 23:38:32 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:37 .golangci.yml 23:38:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:37 .semver 23:38:32 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 25 23:37 Attribution.txt 23:38:32 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 25 23:37 CHANGELOG.md 23:38:32 -rw-rw-r-- 1 jenkins jenkins 1693 Oct 25 23:37 Dockerfile 23:38:32 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:37 GOVERNANCE.md 23:38:32 -rw-rw-r-- 1 jenkins jenkins 657 Oct 25 23:37 Jenkinsfile 23:38:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:37 LICENSE 23:38:32 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 25 23:37 Makefile 23:38:32 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 23:37 OWNERS.md 23:38:32 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 25 23:37 README.md 23:38:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:37 VERSION 23:38:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:37 bin 23:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:37 cmd 23:38:32 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 23:38 coverage.out 23:38:32 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 25 23:37 go.mod 23:38:32 -rw-rw-r-- 1 jenkins jenkins 45075 Oct 25 23:37 go.sum 23:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:37 internal 23:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:37 snap 23:38:32 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:33 + 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=3364db2711e1aa49d3c50c72141011318f1eeb11 --label arch=amd64 --label version=0.0.0 . 23:38:33 Sending build context to Docker daemon 15.91MB 23:38:33 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:38:33 Step 2/26 : FROM ${BASE} AS builder 23:38:33 ---> 01198c777535 23:38:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:38:33 ---> Running in b3a3f3eb2b6c 23:38:33 Removing intermediate container b3a3f3eb2b6c 23:38:33 ---> ddd74c0c5222 23:38:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:33 ---> Running in e6785a74edd3 23:38:33 Removing intermediate container e6785a74edd3 23:38:33 ---> b1665bb5d535 23:38:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:38:33 ---> Running in caee8102d67f 23:38:33 Removing intermediate container caee8102d67f 23:38:33 ---> 08b23cf002a3 23:38:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:38:33 ---> Running in dc516a5ef6f3 23:38:33 Removing intermediate container dc516a5ef6f3 23:38:33 ---> 5aef1c7a3f59 23:38:33 Step 7/26 : WORKDIR /device-gpio 23:38:33 ---> Running in 78ab0d7e99b4 23:38:33 Removing intermediate container 78ab0d7e99b4 23:38:33 ---> 76cb4a481a65 23:38:33 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:33 ---> Running in d8c8ad7beb0f 23:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:38:34 OK: 216 MiB in 55 packages 23:38:34 Removing intermediate container d8c8ad7beb0f 23:38:34 ---> 64f027719ea4 23:38:34 Step 9/26 : COPY go.mod vendor* ./ 23:38:34 ---> e66ea4be55fd 23:38:34 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:34 ---> Running in 045c4d94b687 23:38:35 Removing intermediate container 045c4d94b687 23:38:35 ---> 6e43ff3e5e7d 23:38:35 Step 11/26 : COPY . . 23:38:36 ---> f076a5f57e20 23:38:36 Step 12/26 : RUN ${MAKE} 23:38:36 ---> Running in 2f2c03643bd5 23:38:36 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 23:39:02 Removing intermediate container 2f2c03643bd5 23:39:02 ---> cecdb7eb4b7c 23:39:02 Step 13/26 : FROM alpine:3.16 23:39:02 3.16: Pulling from library/alpine 23:39:02 213ec9aee27d: Already exists 23:39:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:39:02 Status: Downloaded newer image for alpine:3.16 23:39:02 ---> 9c6f07244728 23:39:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:39:02 ---> Running in b8511848283b 23:39:02 Removing intermediate container b8511848283b 23:39:02 ---> 8f30bebfa654 23:39:02 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:39:02 ---> Running in c91728f9eb27 23:39:02 Removing intermediate container c91728f9eb27 23:39:02 ---> 700aca6ecfa6 23:39:02 Step 16/26 : RUN apk add --update --no-cache zeromq 23:39:02 ---> Running in 1ab3b79bbf0b 23:39:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:39:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:39:02 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:39:02 (2/5) Installing libsodium (1.0.18-r0) 23:39:02 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:39:02 (4/5) Installing libzmq (4.3.4-r0) 23:39:03 (5/5) Installing zeromq (4.3.4-r0) 23:39:03 Executing busybox-1.35.0-r17.trigger 23:39:03 OK: 8 MiB in 19 packages 23:39:04 Removing intermediate container 1ab3b79bbf0b 23:39:04 ---> 8b8a22600d94 23:39:04 Step 17/26 : WORKDIR / 23:39:04 ---> Running in a46ff26c940b 23:39:04 Removing intermediate container a46ff26c940b 23:39:04 ---> 0843afcf52d7 23:39:04 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 23:39:04 ---> f03bff369eff 23:39:04 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 23:39:04 ---> 2bd01910854a 23:39:04 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 23:39:05 ---> 55192d8ba9d9 23:39:05 Step 21/26 : EXPOSE 59910 23:39:05 ---> Running in 88763bb8d835 23:39:05 Removing intermediate container 88763bb8d835 23:39:05 ---> 08c1bafb450d 23:39:05 Step 22/26 : ENTRYPOINT ["/device-gpio"] 23:39:05 ---> Running in 5538ccef5fa7 23:39:05 Removing intermediate container 5538ccef5fa7 23:39:05 ---> 526a1ee9f35b 23:39:05 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:39:05 ---> Running in 4159b35418eb 23:39:05 Removing intermediate container 4159b35418eb 23:39:05 ---> 433689f40137 23:39:05 Step 24/26 : LABEL arch=amd64 23:39:05 ---> Running in 76f2e084c8e8 23:39:05 Removing intermediate container 76f2e084c8e8 23:39:05 ---> ecbe87fec295 23:39:05 Step 25/26 : LABEL git_sha=3364db2711e1aa49d3c50c72141011318f1eeb11 23:39:05 ---> Running in 5d3837d8b69b 23:39:05 Removing intermediate container 5d3837d8b69b 23:39:05 ---> 94ff9c917d75 23:39:05 Step 26/26 : LABEL version=0.0.0 23:39:05 ---> Running in 02901831ed03 23:39:05 Removing intermediate container 02901831ed03 23:39:05 ---> ba30ac12bdab 23:39:05 [Warning] One or more build-args [ARCH] were not consumed 23:39:05 Successfully built ba30ac12bdab 23:39:05 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 23:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:06 23:39:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:06 latest: Pulling from edgex-lftools-log-publisher 23:39:06 5eb5b503b376: Pulling fs layer 23:39:06 5c69ac0246d0: Pulling fs layer 23:39:06 ec43610c2a17: Pulling fs layer 23:39:06 3a2ae6a8a46f: Pulling fs layer 23:39:06 33b1e0a273af: Pulling fs layer 23:39:06 5d3b04190fa2: Pulling fs layer 23:39:06 2f39f015ded8: Pulling fs layer 23:39:06 33b1e0a273af: Waiting 23:39:06 3a2ae6a8a46f: Waiting 23:39:06 5d3b04190fa2: Waiting 23:39:06 5c69ac0246d0: Verifying Checksum 23:39:06 5c69ac0246d0: Download complete 23:39:06 3a2ae6a8a46f: Verifying Checksum 23:39:06 3a2ae6a8a46f: Download complete 23:39:06 33b1e0a273af: Verifying Checksum 23:39:06 33b1e0a273af: Download complete 23:39:07 5d3b04190fa2: Verifying Checksum 23:39:07 5d3b04190fa2: Download complete 23:39:07 ec43610c2a17: Download complete 23:39:07 5eb5b503b376: Verifying Checksum 23:39:07 5eb5b503b376: Download complete 23:39:07 2f39f015ded8: Download complete 23:39:08 5eb5b503b376: Pull complete 23:39:08 5c69ac0246d0: Pull complete 23:39:09 ec43610c2a17: Pull complete 23:39:09 3a2ae6a8a46f: Pull complete 23:39:09 33b1e0a273af: Pull complete 23:39:09 5d3b04190fa2: Pull complete 23:39:13 2f39f015ded8: Pull complete 23:39:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:13 prd-ubuntu20.04-docker-8c-8g-117008 does not seem to be running inside a container 23:39:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:39:16 $ docker top 838657b2e63a4385973aa0407c680ea568cdda42c5fe3396baadf7705b6227d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:16 ---> job-cost.sh 23:39:16 lf-activate-venv: SKIPPING 23:39:16 INFO: No Stack... 23:39:17 INFO: Retrieving Pricing Info for: v3-standard-8 23:39:17 INFO: Archiving Costs [Pipeline] sh 23:39:18 + cut -d, -f6 23:39:18 + cat /w/workspace/edgexfoundry_device-gpio_PR-64/archives/cost.csv [Pipeline] lock 23:39:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] 23:39:18 Resource [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] did not exist. Created. 23:39:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117009 in /w/workspace/edgexfoundry_device-gpio_PR-64 [Pipeline] { [Pipeline] ws 23:39:18 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 23:39:18 + echo total: 0.2199999988079071 23:39:18 The recommended git tool is: git [Pipeline] stash 23:39:18 Stashed 1 file(s) [Pipeline] } 23:39:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:39:18 $ docker stop --time=1 838657b2e63a4385973aa0407c680ea568cdda42c5fe3396baadf7705b6227d2 23:39:20 $ docker rm -f 838657b2e63a4385973aa0407c680ea568cdda42c5fe3396baadf7705b6227d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:39:23 using credential edgex-jenkins-ssh 23:39:23 Cloning the remote Git repository 23:39:23 Cloning repository git@github.com:edgexfoundry/device-gpio.git 23:39:23 > git init /w/workspace/device-gpio/1 # timeout=10 23:39:23 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:39:23 > git --version # timeout=10 23:39:23 > git --version # 'git version 2.25.1' 23:39:23 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:23 Verifying host key using known hosts file 23:39:23 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. 23:39:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:39:25 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:39:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:39:27 Merging remotes/origin/main commit b99ee17479275846ebb326ecdfd2e35febb27ada into PR head commit 3364db2711e1aa49d3c50c72141011318f1eeb11 23:39:27 Merge succeeded, producing 3364db2711e1aa49d3c50c72141011318f1eeb11 23:39:27 Checking out Revision 3364db2711e1aa49d3c50c72141011318f1eeb11 (PR-64) 23:39:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:39:26 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:39:26 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:26 Verifying host key using known hosts file 23:39:26 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. 23:39:26 > 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 23:39:27 > git config core.sparsecheckout # timeout=10 23:39:27 > git checkout -f 3364db2711e1aa49d3c50c72141011318f1eeb11 # timeout=10 23:39:27 > git remote # timeout=10 23:39:27 > git config --get remote.origin.url # timeout=10 23:39:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:27 Verifying host key using known hosts file 23:39:27 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. 23:39:27 > git merge b99ee17479275846ebb326ecdfd2e35febb27ada # timeout=10 23:39:27 > git rev-parse HEAD^{commit} # timeout=10 23:39:27 > git config core.sparsecheckout # timeout=10 23:39:27 > git checkout -f 3364db2711e1aa49d3c50c72141011318f1eeb11 # timeout=10 23:39:30 Commit message: "build: Latest go-mods, config and Dockerfile fix" 23:39:30 > git --version # timeout=10 23:39:30 > git --version # 'git version 2.25.1' 23:39:30 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:39:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:39:31 % Total % Received % Xferd Average Speed Time Time Time Current 23:39:31 Dload Upload Total Spent Left Speed 23:39:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 23:39:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:39:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:39:32 + sudo tee /etc/docker/daemon.new 23:39:32 { 23:39:32 "registry-mirrors": [ 23:39:32 "https://nexus3.edgexfoundry.org:10001" 23:39:32 ], 23:39:32 "bip": "10.250.0.254/24", 23:39:32 "hosts": [ 23:39:32 "tcp://0.0.0.0:5555", 23:39:32 "unix:///var/run/docker.sock" 23:39:32 ], 23:39:32 "mtu": 1458, 23:39:32 "selinux-enabled": true, 23:39:32 "seccomp-profile": "/etc/docker/seccomp.json" 23:39:32 } [Pipeline] sh 23:39:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:39:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:51 provisioning config files... 23:39:52 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config18398360020689181909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:52 ---> docker-login.sh 23:39:52 nexus3.edgexfoundry.org:10001 23:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:52 Configure a credential helper to remove this warning. See 23:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:52 23:39:52 Login Succeeded 23:39:52 nexus3.edgexfoundry.org:10002 23:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:53 Configure a credential helper to remove this warning. See 23:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:53 23:39:53 Login Succeeded 23:39:53 nexus3.edgexfoundry.org:10003 23:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:53 Configure a credential helper to remove this warning. See 23:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:53 23:39:53 Login Succeeded 23:39:53 nexus3.edgexfoundry.org:10004 23:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:54 Configure a credential helper to remove this warning. See 23:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:54 23:39:54 Login Succeeded 23:39:54 docker.io 23:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:54 Configure a credential helper to remove this warning. See 23:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:54 23:39:54 Login Succeeded 23:39:54 ---> docker-login.sh ends [Pipeline] } 23:39:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:39:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:39:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:39:55 ========================================================= 23:39:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:39:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:55 + 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 . 23:39:55 Sending build context to Docker daemon 8.036MB 23:39:55 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:39:55 Step 2/12 : FROM ${BASE} AS builder 23:39:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:39:56 9b18e9b68314: Pulling fs layer 23:39:56 d32db5db7311: Pulling fs layer 23:39:56 d0c4b47475fc: Pulling fs layer 23:39:56 5831b945b038: Pulling fs layer 23:39:56 86bbec2aaacd: Pulling fs layer 23:39:56 e10730c5d714: Pulling fs layer 23:39:56 5dd5c2283517: Pulling fs layer 23:39:56 d5ac0230b979: Pulling fs layer 23:39:56 5831b945b038: Waiting 23:39:56 86bbec2aaacd: Waiting 23:39:56 e10730c5d714: Waiting 23:39:56 5dd5c2283517: Waiting 23:39:56 d5ac0230b979: Waiting 23:39:56 d0c4b47475fc: Download complete 23:39:56 d32db5db7311: Verifying Checksum 23:39:56 d32db5db7311: Download complete 23:39:56 86bbec2aaacd: Verifying Checksum 23:39:56 86bbec2aaacd: Download complete 23:39:56 e10730c5d714: Verifying Checksum 23:39:56 e10730c5d714: Download complete 23:39:56 9b18e9b68314: Verifying Checksum 23:39:56 9b18e9b68314: Download complete 23:39:57 9b18e9b68314: Pull complete 23:39:57 d5ac0230b979: Verifying Checksum 23:39:57 d5ac0230b979: Download complete 23:39:57 d32db5db7311: Pull complete 23:39:58 d0c4b47475fc: Pull complete 23:39:58 5dd5c2283517: Verifying Checksum 23:39:58 5dd5c2283517: Download complete 23:39:59 5831b945b038: Verifying Checksum 23:39:59 5831b945b038: Download complete 23:40:11 5831b945b038: Pull complete 23:40:11 86bbec2aaacd: Pull complete 23:40:11 e10730c5d714: Pull complete 23:40:19 5dd5c2283517: Pull complete 23:40:20 d5ac0230b979: Pull complete 23:40:20 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 23:40:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:40:20 ---> 59b3b1a385d4 23:40:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:40:22 ---> Running in 80f0de2d74b9 23:40:22 Removing intermediate container 80f0de2d74b9 23:40:22 ---> 51adf327c8ad 23:40:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:40:22 ---> Running in f0f556bb3479 23:40:22 Removing intermediate container f0f556bb3479 23:40:22 ---> 2855496c4cea 23:40:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:40:23 ---> Running in 6b24b791f922 23:40:23 Removing intermediate container 6b24b791f922 23:40:23 ---> a086ac90b212 23:40:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:40:23 ---> Running in aa6310bfc386 23:40:23 Removing intermediate container aa6310bfc386 23:40:23 ---> 3131793e686f 23:40:23 Step 7/12 : WORKDIR /device-gpio 23:40:23 ---> Running in bb34ee6ebadf 23:40:24 Removing intermediate container bb34ee6ebadf 23:40:24 ---> 05b49356bb58 23:40:24 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:40:24 ---> Running in df22d763ad06 23:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:40:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:40:26 (2/4) Installing libedit (20210910.3.1-r0) 23:40:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:40:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:40:26 Executing busybox-1.35.0-r17.trigger 23:40:26 OK: 226 MiB in 55 packages 23:40:27 Removing intermediate container df22d763ad06 23:40:27 ---> 2365c833549c 23:40:27 Step 9/12 : COPY go.mod vendor* ./ 23:40:28 ---> fa9c86a1c8b1 23:40:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:28 ---> Running in fb4c480a529c 23:41:24 Removing intermediate container fb4c480a529c 23:41:24 ---> 683986fd8a7e 23:41:24 Step 11/12 : COPY . . 23:41:24 ---> bc46bee54045 23:41:24 Step 12/12 : RUN ${MAKE} 23:41:24 ---> Running in a3f0dc03601b 23:41:24 noop 23:41:24 Removing intermediate container a3f0dc03601b 23:41:24 ---> 04344aeaee2d 23:41:24 Successfully built 04344aeaee2d 23:41:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:25 + docker inspect -f . ci-base-image-arm64 23:41:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:25 prd-ubuntu20.04-docker-arm64-4c-16g-117009 does not seem to be running inside a container 23:41:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:41:26 $ docker top 205b53130727cdd8ed34baedcf423bae2a74978a92f401fe2f7eb26e0ea8e7a5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:27 + go version 23:41:27 go version go1.18.7 linux/arm64 [Pipeline] } 23:41:27 $ docker stop --time=1 205b53130727cdd8ed34baedcf423bae2a74978a92f401fe2f7eb26e0ea8e7a5 23:41:29 $ docker rm -f 205b53130727cdd8ed34baedcf423bae2a74978a92f401fe2f7eb26e0ea8e7a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:29 + docker inspect -f . ci-base-image-arm64 23:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:30 prd-ubuntu20.04-docker-arm64-4c-16g-117009 does not seem to be running inside a container 23:41:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:41:32 $ docker top 1d319d43a9bb6fe8f7f472005699e0dbffbb685a075a2bc5d5bb677e33d7f49a -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:33 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 23:41:33 + make test 23:41:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:41:35 ? github.com/edgexfoundry/device-gpio [no test files] 23:42:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:42:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:42:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:42:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:43:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:43:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:43:11 ./bin/test-attribution-txt.sh [Pipeline] echo 23:43:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:43:11 $ docker stop --time=1 1d319d43a9bb6fe8f7f472005699e0dbffbb685a075a2bc5d5bb677e33d7f49a 23:43:13 $ docker rm -f 1d319d43a9bb6fe8f7f472005699e0dbffbb685a075a2bc5d5bb677e33d7f49a [Pipeline] // withDockerContainer [Pipeline] sh 23:43:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:43:14 Warning: overwriting stash ‘coverage-report’ 23:43:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:43:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:43:15 + ls -al . 23:43:15 total 168 23:43:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:41 . 23:43:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:39 .. 23:43:15 -rw-rw-r-- 1 jenkins jenkins 120 Oct 25 23:39 .dockerignore 23:43:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:39 .git 23:43:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:39 .github 23:43:15 -rw-rw-r-- 1 jenkins jenkins 343 Oct 25 23:39 .gitignore 23:43:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:39 .golangci.yml 23:43:15 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 25 23:39 Attribution.txt 23:43:15 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 25 23:39 CHANGELOG.md 23:43:15 -rw-rw-r-- 1 jenkins jenkins 1693 Oct 25 23:39 Dockerfile 23:43:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:39 GOVERNANCE.md 23:43:15 -rw-rw-r-- 1 jenkins jenkins 657 Oct 25 23:39 Jenkinsfile 23:43:15 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:39 LICENSE 23:43:15 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 25 23:39 Makefile 23:43:15 -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 23:39 OWNERS.md 23:43:15 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 25 23:39 README.md 23:43:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:37 VERSION 23:43:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:39 bin 23:43:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:39 cmd 23:43:15 -rw-r--r-- 1 jenkins jenkins 10 Oct 25 23:41 coverage.out 23:43:15 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 25 23:39 go.mod 23:43:15 -rw-rw-r-- 1 jenkins jenkins 45075 Oct 25 23:39 go.sum 23:43:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:39 internal 23:43:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:39 snap 23:43:15 -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 23:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:16 + 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=3364db2711e1aa49d3c50c72141011318f1eeb11 --label arch=arm64 --label version=0.0.0 . 23:43:16 Sending build context to Docker daemon 8.037MB 23:43:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:43:16 Step 2/26 : FROM ${BASE} AS builder 23:43:16 ---> 04344aeaee2d 23:43:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:43:16 ---> Running in de3fbbbfde77 23:43:17 Removing intermediate container de3fbbbfde77 23:43:17 ---> 7d3168e4a950 23:43:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:17 ---> Running in 7700d4dca41c 23:43:17 Removing intermediate container 7700d4dca41c 23:43:17 ---> 740219a7b92e 23:43:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:43:17 ---> Running in 6ba4b3939ba1 23:43:17 Removing intermediate container 6ba4b3939ba1 23:43:17 ---> e32421650d0a 23:43:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:43:17 ---> Running in ecbc77ef9272 23:43:18 Removing intermediate container ecbc77ef9272 23:43:18 ---> 2e42f08dc06c 23:43:18 Step 7/26 : WORKDIR /device-gpio 23:43:18 ---> Running in 3e10ffda06c5 23:43:18 Removing intermediate container 3e10ffda06c5 23:43:18 ---> 3ad3f944beff 23:43:18 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:18 ---> Running in e9eae5686d87 23:43:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:43:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:43:20 OK: 226 MiB in 55 packages 23:43:21 Removing intermediate container e9eae5686d87 23:43:21 ---> 28fbbe128b43 23:43:21 Step 9/26 : COPY go.mod vendor* ./ 23:43:22 ---> 76f0b3b120e3 23:43:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:22 ---> Running in 06d9024629db 23:43:24 Removing intermediate container 06d9024629db 23:43:24 ---> cc758496f572 23:43:24 Step 11/26 : COPY . . 23:43:25 ---> 0de2535dfaaf 23:43:25 Step 12/26 : RUN ${MAKE} 23:43:25 ---> Running in 8a7b39ebfeff 23:43:26 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 23:46:03 Removing intermediate container 8a7b39ebfeff 23:46:03 ---> 8e99d1f91023 23:46:03 Step 13/26 : FROM alpine:3.16 23:46:03 3.16: Pulling from library/alpine 23:46:03 9b18e9b68314: Already exists 23:46:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:46:03 Status: Downloaded newer image for alpine:3.16 23:46:03 ---> a6215f271958 23:46:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:46:03 ---> Running in 9500f3b286ab 23:46:03 Removing intermediate container 9500f3b286ab 23:46:03 ---> 22709a339854 23:46:03 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:46:03 ---> Running in 3a8146b48f12 23:46:03 Removing intermediate container 3a8146b48f12 23:46:03 ---> bfe9bc58ec2c 23:46:03 Step 16/26 : RUN apk add --update --no-cache zeromq 23:46:03 ---> Running in 4596a8dcbf52 23:46:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:46:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:46:03 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:46:03 (2/5) Installing libsodium (1.0.18-r0) 23:46:03 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:46:03 (4/5) Installing libzmq (4.3.4-r0) 23:46:03 (5/5) Installing zeromq (4.3.4-r0) 23:46:03 Executing busybox-1.35.0-r17.trigger 23:46:03 OK: 8 MiB in 19 packages 23:46:03 Removing intermediate container 4596a8dcbf52 23:46:03 ---> 9e51a92993a3 23:46:03 Step 17/26 : WORKDIR / 23:46:03 ---> Running in d0d6f0864177 23:46:03 Removing intermediate container d0d6f0864177 23:46:03 ---> 811226a2c3ea 23:46:03 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 23:46:03 ---> 7ce1c3c0bf4d 23:46:03 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 23:46:03 ---> 22386733d35b 23:46:03 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 23:46:03 ---> 3aa91fabf664 23:46:03 Step 21/26 : EXPOSE 59910 23:46:03 ---> Running in 888690308f1b 23:46:03 Removing intermediate container 888690308f1b 23:46:03 ---> 906eb617d42e 23:46:03 Step 22/26 : ENTRYPOINT ["/device-gpio"] 23:46:03 ---> Running in 1c75512fb0d1 23:46:03 Removing intermediate container 1c75512fb0d1 23:46:03 ---> b58a888535e7 23:46:03 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:46:03 ---> Running in 6647e9f75a18 23:46:03 Removing intermediate container 6647e9f75a18 23:46:03 ---> ad161840f749 23:46:03 Step 24/26 : LABEL arch=arm64 23:46:03 ---> Running in 5dc7c4ed666d 23:46:04 Removing intermediate container 5dc7c4ed666d 23:46:04 ---> f895e2f05409 23:46:04 Step 25/26 : LABEL git_sha=3364db2711e1aa49d3c50c72141011318f1eeb11 23:46:04 ---> Running in f376273a9161 23:46:04 Removing intermediate container f376273a9161 23:46:04 ---> 62b5f79ebf72 23:46:04 Step 26/26 : LABEL version=0.0.0 23:46:04 ---> Running in 7585bfdc84b9 23:46:04 Removing intermediate container 7585bfdc84b9 23:46:04 ---> 1c695c8622fb 23:46:04 [Warning] One or more build-args [ARCH] were not consumed 23:46:04 Successfully built 1c695c8622fb 23:46:04 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 23:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:05 23:46:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:06 arm64: Pulling from edgex-lftools-log-publisher 23:46:06 8998bd30e6a1: Pulling fs layer 23:46:06 04944245beec: Pulling fs layer 23:46:06 699f458cf7ca: Pulling fs layer 23:46:06 765212b225bb: Pulling fs layer 23:46:06 f23df028b6ca: Pulling fs layer 23:46:06 d65c8cfc05b1: Pulling fs layer 23:46:06 2437ff75d9bd: Pulling fs layer 23:46:06 f23df028b6ca: Waiting 23:46:06 d65c8cfc05b1: Waiting 23:46:06 2437ff75d9bd: Waiting 23:46:06 765212b225bb: Waiting 23:46:06 04944245beec: Verifying Checksum 23:46:06 04944245beec: Download complete 23:46:06 765212b225bb: Verifying Checksum 23:46:06 765212b225bb: Download complete 23:46:06 f23df028b6ca: Download complete 23:46:06 d65c8cfc05b1: Verifying Checksum 23:46:06 d65c8cfc05b1: Download complete 23:46:06 699f458cf7ca: Verifying Checksum 23:46:06 699f458cf7ca: Download complete 23:46:07 8998bd30e6a1: Verifying Checksum 23:46:07 8998bd30e6a1: Download complete 23:46:09 2437ff75d9bd: Verifying Checksum 23:46:09 2437ff75d9bd: Download complete 23:46:10 8998bd30e6a1: Pull complete 23:46:11 04944245beec: Pull complete 23:46:12 699f458cf7ca: Pull complete 23:46:12 765212b225bb: Pull complete 23:46:13 f23df028b6ca: Pull complete 23:46:13 d65c8cfc05b1: Pull complete 23:46:28 2437ff75d9bd: Pull complete 23:46:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:46:28 prd-ubuntu20.04-docker-arm64-4c-16g-117009 does not seem to be running inside a container 23:46:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:46:31 $ docker top 6e06a79381e0239aab07692d1c5c5bf101866acec771fdf5b952bb6763306715 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:31 ---> job-cost.sh 23:46:32 lf-activate-venv: SKIPPING 23:46:32 INFO: No Stack... 23:46:32 INFO: Retrieving Pricing Info for: v3-standard-4 23:46:33 INFO: Archiving Costs [Pipeline] sh 23:46:33 + cat /w/workspace/device-gpio/1/archives/cost.csv 23:46:33 + cut -d, -f6 [Pipeline] lock 23:46:34 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] 23:46:34 Resource [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] did not exist. Created. 23:46:34 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:46:34 /w/workspace/device-gpio/1@tmp/durable-3bc77417/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:46:34 + echo total: 0.10999999940395355 [Pipeline] stash 23:46:34 Warning: overwriting stash ‘stack-cost’ 23:46:34 Stashed 1 file(s) [Pipeline] } 23:46:34 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-64-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:46:35 $ docker stop --time=1 6e06a79381e0239aab07692d1c5c5bf101866acec771fdf5b952bb6763306715 23:46:36 $ docker rm -f 6e06a79381e0239aab07692d1c5c5bf101866acec771fdf5b952bb6763306715 [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 23:46:37 provisioning config files... 23:46:37 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config9129075686590810246tmp [Pipeline] { [Pipeline] sh 23:46:37 + set +x 23:46:37 + curl -s https://codecov.io/bash 23:46:37 + bash -s -- 23:46:37 23:46:37 _____ _ 23:46:37 / ____| | | 23:46:37 | | ___ __| | ___ ___ _____ __ 23:46:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:46:37 | |___| (_) | (_| | __/ (_| (_) \ V / 23:46:37 \_____\___/ \__,_|\___|\___\___/ \_/ 23:46:37 Bash-1.0.6 23:46:37 23:46:37 23:46:37 ==> git version 2.25.1 found 23:46:37 ==> 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 23:46:37 Release-Date: 2020-01-08 23:46:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:46:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:46:37 ==> Jenkins CI detected. 23:46:37 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-64 23:46:37 project root: . 23:46:37 --> token set from env 23:46:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:46:37 ==> Running gcov in . (disable via -X gcov) 23:46:37 ==> Python coveragepy not found 23:46:37 ==> Searching for coverage reports in: 23:46:37 + . 23:46:38 -> Found 1 reports 23:46:38 ==> Detecting git/mercurial file structure 23:46:38 ==> Reading reports 23:46:38 + ./coverage.out bytes=10 23:46:38 ==> Appending adjustments 23:46:38 https://docs.codecov.io/docs/fixing-reports 23:46:38 + Found adjustments 23:46:38 ==> Gzipping contents 23:46:38 4.0K /tmp/codecov.OnJ8aR.gz 23:46:38 ==> Uploading reports 23:46:38 url: https://codecov.io 23:46:38 query: branch=PR-64&commit=3364db2711e1aa49d3c50c72141011318f1eeb11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= 23:46:38 -> Pinging Codecov 23:46:38 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=3364db2711e1aa49d3c50c72141011318f1eeb11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-64%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=64&job=&cmd_args= 23:46:38 -> Uploading to 23:46:38 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/3364db2711e1aa49d3c50c72141011318f1eeb11/b25f2450-69b6-4515-acaf-a1c68de3874c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T234638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79b30d534a89e46e9530ef2a48ad7b613b6cf390b68fade0bbbad36457bda619 23:46:38 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:38 Dload Upload Total Spent Left Speed 23:46:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2665 --:--:-- --:--:-- --:--:-- 2674 23:46:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/3364db2711e1aa49d3c50c72141011318f1eeb11 [Pipeline] } 23:46:38 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 23:46:40 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-64/archives ] 23:46:40 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives 23:46:40 total 16 23:46:40 drwxr-xr-x 3 root root 4096 Oct 25 23:39 . 23:46:40 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:39 .. 23:46:40 drwxr-xr-x 2 root root 4096 Oct 25 23:39 cost 23:46:40 -rw-r--r-- 1 root root 82 Oct 25 23:39 cost.csv 23:46:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-64/archives 23:46:40 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-64/archives 23:46:40 total 16 23:46:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:39 . 23:46:40 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:39 .. 23:46:40 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 23:39 cost 23:46:40 -rw-r--r-- 1 jenkins jenkins 82 Oct 25 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:46:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:46:41 ---> package-listing.sh 23:46:41 ++ facter osfamily 23:46:41 ++ tr '[:upper:]' '[:lower:]' 23:46:41 + OS_FAMILY=debian 23:46:41 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-64 23:46:41 + START_PACKAGES=/tmp/packages_start.txt 23:46:41 + END_PACKAGES=/tmp/packages_end.txt 23:46:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:46:41 + PACKAGES=/tmp/packages_start.txt 23:46:41 + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' 23:46:41 + PACKAGES=/tmp/packages_end.txt 23:46:41 + case "${OS_FAMILY}" in 23:46:41 + dpkg -l 23:46:41 + grep '^ii' 23:46:41 + '[' -f /tmp/packages_start.txt ']' 23:46:41 + '[' -f /tmp/packages_end.txt ']' 23:46:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:46:41 + '[' /w/workspace/edgexfoundry_device-gpio_PR-64 ']' 23:46:41 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ 23:46:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-64/archives/ [Pipeline] echo 23:46:41 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 23:46:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:46:42 prd-ubuntu20.04-docker-8c-8g-117008 does not seem to be running inside a container 23:46:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:46:43 $ docker top ea46b2c51e86afcc97ecd7504b029ad5883ad11f6f3a9ae378794687bc24d87e -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:43 + touch /tmp/pre-build-complete [Pipeline] sh 23:46:43 + mkdir -p /var/log/sysstat [Pipeline] sh 23:46:44 + ls /var/log/sa-host 23:46:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:44 provisioning config files... 23:46:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-64@tmp/config5119689833632585228tmp [Pipeline] { [Pipeline] echo 23:46:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:46:44 ---> create-netrc.sh [Pipeline] } 23:46:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:46:45 ---> python-tools-install.sh [Pipeline] echo 23:46:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:46:45 ---> sudo-logs.sh 23:46:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:46:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:46:45 ---> job-cost.sh 23:46:45 lf-activate-venv: SKIPPING 23:46:45 DEBUG: total: 0.2199999988079071 23:46:45 INFO: Retrieving Stack Cost... 23:46:46 INFO: Retrieving Pricing Info for: v3-standard-8 23:46:46 INFO: Archiving Costs [Pipeline] echo 23:46:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:46:47 ---> logs-deploy.sh 23:46:47 lf-activate-venv: SKIPPING 23:46:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-64/1 23:46:47 INFO: archiving workspace using pattern(s): 23:46:48 Archives upload complete. 23:46:48 INFO: archiving logs to Nexus 23:46:48 ---> uname -a: 23:46:48 Linux prd-ubuntu20-04-docker-8c-8g-117008 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:46:48 23:46:48 23:46:48 ---> lscpu: 23:46:48 Architecture: x86_64 23:46:48 CPU op-mode(s): 32-bit, 64-bit 23:46:48 Byte Order: Little Endian 23:46:48 Address sizes: 40 bits physical, 48 bits virtual 23:46:48 CPU(s): 8 23:46:48 On-line CPU(s) list: 0-7 23:46:48 Thread(s) per core: 1 23:46:48 Core(s) per socket: 1 23:46:48 Socket(s): 8 23:46:48 NUMA node(s): 1 23:46:48 Vendor ID: AuthenticAMD 23:46:48 CPU family: 23 23:46:48 Model: 49 23:46:48 Model name: AMD EPYC-Rome Processor 23:46:48 Stepping: 0 23:46:48 CPU MHz: 2799.988 23:46:48 BogoMIPS: 5599.97 23:46:48 Virtualization: AMD-V 23:46:48 Hypervisor vendor: KVM 23:46:48 Virtualization type: full 23:46:48 L1d cache: 256 KiB 23:46:48 L1i cache: 256 KiB 23:46:48 L2 cache: 4 MiB 23:46:48 L3 cache: 128 MiB 23:46:48 NUMA node0 CPU(s): 0-7 23:46:48 Vulnerability Itlb multihit: Not affected 23:46:48 Vulnerability L1tf: Not affected 23:46:48 Vulnerability Mds: Not affected 23:46:48 Vulnerability Meltdown: Not affected 23:46:48 Vulnerability Mmio stale data: Not affected 23:46:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:46:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:46:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:46:48 Vulnerability Srbds: Not affected 23:46:48 Vulnerability Tsx async abort: Not affected 23:46:48 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 23:46:48 23:46:48 23:46:48 ---> nproc: 23:46:48 8 23:46:48 23:46:48 23:46:48 ---> df -h: 23:46:48 Filesystem Size Used Avail Use% Mounted on 23:46:48 overlay 155G 12G 144G 8% / 23:46:48 tmpfs 64M 0 64M 0% /dev 23:46:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:46:48 shm 64M 0 64M 0% /dev/shm 23:46:48 /dev/vda1 155G 12G 144G 8% /facter-os 23:46:48 23:46:48 23:46:48 ---> sar -b -r -n DEV: 23:46:48 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117008) 10/25/22 _x86_64_ (8 CPU) 23:46:48 23:46:48 23:36:26 LINUX RESTART (8 CPU) 23:46:48 23:46:48 23:37:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:46:48 23:38:01 379.43 11.83 367.60 0.00 1831.69 70940.11 0.00 23:46:48 23:39:01 146.06 0.15 145.91 0.00 7.07 31367.44 0.00 23:46:48 23:40:01 81.35 0.05 81.30 0.00 9.73 19413.56 0.00 23:46:48 23:41:01 1.97 0.00 1.97 0.00 0.00 21.74 0.00 23:46:48 23:42:01 40.83 10.35 30.48 0.00 2906.18 4840.79 0.00 23:46:48 23:43:01 2.25 0.00 2.25 0.00 0.00 27.20 0.00 23:46:48 23:44:01 0.97 0.00 0.97 0.00 0.00 10.93 0.00 23:46:48 23:45:01 1.53 0.00 1.53 0.00 0.00 16.13 0.00 23:46:48 23:46:01 0.93 0.00 0.93 0.00 0.00 10.13 0.00 23:46:48 Average: 72.24 2.47 69.77 0.00 525.85 13965.74 0.00 23:46:48 23:46:48 23:37:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:46:48 23:38:01 27992092 31588820 723204 2.20 136872 3625544 1889284 5.57 1150988 3267212 223540 23:46:48 23:39:01 28255068 31550604 760680 2.31 142172 3356696 1973056 5.81 1205300 2983156 700 23:46:48 23:40:01 27767064 31586876 722980 2.20 151548 3821324 1800004 5.30 1214916 3409328 184 23:46:48 23:41:01 27767180 31587028 722632 2.20 151588 3821324 1800004 5.30 1214796 3409328 212 23:46:48 23:42:01 27483896 31577808 714408 2.17 170164 4070864 1841868 5.43 1361380 3519844 248 23:46:48 23:43:01 27485396 31579272 713140 2.17 170212 4070860 1841868 5.43 1361144 3519804 164 23:46:48 23:44:01 27491372 31585268 707276 2.15 170228 4070864 1841868 5.43 1355804 3519808 172 23:46:48 23:45:01 27492012 31586012 706716 2.15 170260 4070864 1841868 5.43 1355164 3519904 12 23:46:48 23:46:01 27491704 31585712 706972 2.15 170280 4070868 1841868 5.43 1355172 3519908 12 23:46:48 Average: 27691754 31580822 719779 2.19 159258 3886579 1852410 5.46 1286074 3407588 25027 23:46:48 23:46:48 23:37:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:46:48 23:38:01 docker0 173.51 215.13 14.20 1949.13 0.00 0.00 0.00 0.00 23:46:48 23:38:01 lo 6.64 6.64 0.65 0.65 0.00 0.00 0.00 0.00 23:46:48 23:38:01 ens3 558.30 414.59 7865.80 83.99 0.00 0.00 0.00 0.00 23:46:48 23:39:01 docker0 4.50 6.90 0.26 51.60 0.00 0.00 0.00 0.00 23:46:48 23:39:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 23:46:48 23:39:01 veth942d547 2.77 2.97 0.19 11.05 0.00 0.00 0.00 0.00 23:46:48 23:39:01 ens3 45.43 31.48 90.02 16.47 0.00 0.00 0.00 0.00 23:46:48 23:40:01 docker0 9.33 10.13 0.53 47.42 0.00 0.00 0.00 0.00 23:46:48 23:40:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 23:46:48 23:40:01 ens3 116.53 80.39 2571.78 13.33 0.00 0.00 0.00 0.00 23:46:48 23:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:46:48 23:41:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 23:46:48 23:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:42:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 23:46:48 23:42:01 ens3 90.52 59.57 1299.70 4.31 0.00 0.00 0.00 0.00 23:46:48 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:46:48 23:43:01 ens3 1.37 0.80 2.03 0.24 0.00 0.00 0.00 0.00 23:46:48 23:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:44:01 ens3 4.60 2.63 10.66 0.19 0.00 0.00 0.00 0.00 23:46:48 23:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:46:48 23:45:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 23:46:48 23:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 23:46:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 23:46:48 Average: docker0 20.53 25.44 1.64 224.37 0.00 0.00 0.00 0.00 23:46:48 Average: lo 1.08 1.08 0.10 0.10 0.00 0.00 0.00 0.00 23:46:48 Average: ens3 89.90 64.87 1303.33 13.04 0.00 0.00 0.00 0.00 23:46:48 23:46:48 23:46:48 ---> sar -P ALL: 23:46:48 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117008) 10/25/22 _x86_64_ (8 CPU) 23:46:48 23:46:48 23:36:26 LINUX RESTART (8 CPU) 23:46:48 23:46:48 23:37:02 CPU %user %nice %system %iowait %steal %idle 23:46:48 23:38:01 all 10.06 0.00 4.47 3.14 0.06 82.27 23:46:48 23:38:01 0 9.60 0.00 3.56 0.44 0.05 86.35 23:46:48 23:38:01 1 9.34 0.00 5.19 4.30 0.07 81.10 23:46:48 23:38:01 2 11.52 0.00 4.74 0.14 0.05 83.56 23:46:48 23:38:01 3 10.73 0.00 4.06 0.72 0.05 84.44 23:46:48 23:38:01 4 9.11 0.00 5.11 4.17 0.05 81.55 23:46:48 23:38:01 5 9.40 0.00 4.31 6.39 0.05 79.84 23:46:48 23:38:01 6 9.72 0.00 3.68 0.76 0.05 85.80 23:46:48 23:38:01 7 11.09 0.00 5.12 8.23 0.07 75.49 23:46:48 23:39:01 all 39.15 0.00 6.63 1.45 0.08 52.69 23:46:48 23:39:01 0 37.24 0.00 5.60 2.93 0.09 54.15 23:46:48 23:39:01 1 39.13 0.00 7.00 2.98 0.07 50.82 23:46:48 23:39:01 2 40.34 0.00 6.66 0.10 0.07 52.83 23:46:48 23:39:01 3 39.22 0.00 6.64 1.38 0.08 52.67 23:46:48 23:39:01 4 39.03 0.00 6.40 1.57 0.08 52.91 23:46:48 23:39:01 5 39.30 0.00 6.67 0.35 0.08 53.59 23:46:48 23:39:01 6 39.61 0.00 6.41 0.25 0.07 53.66 23:46:48 23:39:01 7 39.29 0.00 7.66 2.06 0.10 50.88 23:46:48 23:40:01 all 3.14 0.00 1.36 0.77 0.02 94.71 23:46:48 23:40:01 0 3.01 0.00 0.87 0.22 0.02 95.88 23:46:48 23:40:01 1 4.59 0.00 1.49 1.45 0.02 92.45 23:46:48 23:40:01 2 2.95 0.00 1.12 0.12 0.03 95.78 23:46:48 23:40:01 3 3.35 0.00 1.07 0.54 0.02 95.03 23:46:48 23:40:01 4 2.80 0.00 1.90 3.57 0.02 91.72 23:46:48 23:40:01 5 3.05 0.00 1.21 0.22 0.02 95.51 23:46:48 23:40:01 6 3.02 0.00 1.61 0.02 0.02 95.34 23:46:48 23:40:01 7 2.31 0.00 1.59 0.05 0.05 95.99 23:46:48 23:41:01 all 0.27 0.00 0.01 0.01 0.00 99.71 23:46:48 23:41:01 0 0.03 0.00 0.03 0.02 0.00 99.92 23:46:48 23:41:01 1 2.00 0.00 0.00 0.03 0.02 97.95 23:46:48 23:41:01 2 0.03 0.00 0.03 0.00 0.02 99.92 23:46:48 23:41:01 3 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:41:01 4 0.02 0.00 0.02 0.00 0.00 99.97 23:46:48 23:41:01 5 0.00 0.00 0.00 0.00 0.00 100.00 23:46:48 23:41:01 6 0.00 0.00 0.00 0.00 0.00 100.00 23:46:48 23:41:01 7 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:42:01 all 1.27 0.00 0.82 0.42 0.01 97.47 23:46:48 23:42:01 0 0.95 0.00 0.40 0.07 0.02 98.56 23:46:48 23:42:01 1 1.22 0.00 0.49 1.04 0.02 97.24 23:46:48 23:42:01 2 1.52 0.00 1.49 0.05 0.02 96.93 23:46:48 23:42:01 3 1.64 0.00 1.50 0.95 0.02 95.89 23:46:48 23:42:01 4 1.05 0.00 0.58 0.82 0.02 97.53 23:46:48 23:42:01 5 2.07 0.00 0.80 0.30 0.00 96.83 23:46:48 23:42:01 6 0.78 0.00 0.92 0.03 0.02 98.25 23:46:48 23:42:01 7 0.95 0.00 0.40 0.13 0.02 98.50 23:46:48 23:43:01 all 0.11 0.00 0.02 0.01 0.01 99.86 23:46:48 23:43:01 0 0.07 0.00 0.00 0.00 0.00 99.93 23:46:48 23:43:01 1 0.72 0.00 0.05 0.00 0.02 99.22 23:46:48 23:43:01 2 0.00 0.00 0.02 0.00 0.00 99.98 23:46:48 23:43:01 3 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:43:01 4 0.03 0.00 0.03 0.03 0.03 99.87 23:46:48 23:43:01 5 0.00 0.00 0.00 0.03 0.00 99.97 23:46:48 23:43:01 6 0.02 0.00 0.02 0.00 0.00 99.97 23:46:48 23:43:01 7 0.02 0.00 0.02 0.00 0.00 99.97 23:46:48 23:44:01 all 0.13 0.00 0.02 0.00 0.00 99.84 23:46:48 23:44:01 0 0.03 0.00 0.02 0.00 0.00 99.95 23:46:48 23:44:01 1 0.81 0.00 0.05 0.00 0.02 99.12 23:46:48 23:44:01 2 0.02 0.00 0.02 0.00 0.00 99.97 23:46:48 23:44:01 3 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:44:01 4 0.03 0.00 0.05 0.02 0.02 99.88 23:46:48 23:44:01 5 0.02 0.00 0.03 0.00 0.00 99.95 23:46:48 23:44:01 6 0.03 0.00 0.00 0.00 0.00 99.97 23:46:48 23:44:01 7 0.08 0.00 0.00 0.00 0.00 99.92 23:46:48 23:45:01 all 0.06 0.00 0.01 0.00 0.01 99.92 23:46:48 23:45:01 0 0.02 0.00 0.00 0.00 0.02 99.97 23:46:48 23:45:01 1 0.35 0.00 0.02 0.00 0.02 99.62 23:46:48 23:45:01 2 0.02 0.00 0.02 0.00 0.00 99.97 23:46:48 23:45:01 3 0.00 0.00 0.00 0.00 0.00 100.00 23:46:48 23:45:01 4 0.05 0.00 0.03 0.02 0.02 99.88 23:46:48 23:45:01 5 0.02 0.00 0.00 0.02 0.02 99.95 23:46:48 23:45:01 6 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:45:01 7 0.00 0.00 0.02 0.00 0.02 99.97 23:46:48 23:46:01 all 0.07 0.00 0.01 0.00 0.00 99.91 23:46:48 23:46:01 0 0.03 0.00 0.03 0.00 0.00 99.93 23:46:48 23:46:01 1 0.42 0.00 0.02 0.00 0.00 99.57 23:46:48 23:46:01 2 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:46:01 3 0.00 0.00 0.02 0.00 0.00 99.98 23:46:48 23:46:01 4 0.02 0.00 0.03 0.00 0.02 99.93 23:46:48 23:46:01 5 0.02 0.00 0.00 0.02 0.00 99.97 23:46:48 23:46:01 6 0.02 0.00 0.00 0.00 0.00 99.98 23:46:48 23:46:01 7 0.02 0.00 0.00 0.02 0.00 99.97 23:46:48 Average: all 5.97 0.00 1.47 0.64 0.02 91.91 23:46:48 Average: 0 5.59 0.00 1.15 0.40 0.02 92.84 23:46:48 Average: 1 6.46 0.00 1.57 1.08 0.03 90.87 23:46:48 Average: 2 6.22 0.00 1.55 0.04 0.02 92.17 23:46:48 Average: 3 6.05 0.00 1.46 0.40 0.02 92.07 23:46:48 Average: 4 5.74 0.00 1.56 1.12 0.03 91.56 23:46:48 Average: 5 5.94 0.00 1.43 0.80 0.02 91.81 23:46:48 Average: 6 5.86 0.00 1.39 0.12 0.02 92.62 23:46:48 Average: 7 5.90 0.00 1.62 1.14 0.03 91.30 23:46:48 23:46:48 23:46:48