Pull request #57 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 hahattan for edgexfoundry/device-gpio Loading trusted files from base branch main at b6cd987ba5da8be53edaf39b26ab980ed5f4a151 rather than b17bad2fab60dae95b9f6a3174465be8144195a8 Obtained Jenkinsfile from b6cd987ba5da8be53edaf39b26ab980ed5f4a151 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-ssh12888612989023450921.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17137714835973983065.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-57/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-57/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh435180125732063753.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-57/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16644090723220978393.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8326736639933774436.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-57/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-57/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17287676345216125556.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1603 in /w/workspace/edgexfoundry_device-gpio_PR-57 [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-57 # 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/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b6cd987ba5da8be53edaf39b26ab980ed5f4a151 into PR head commit b17bad2fab60dae95b9f6a3174465be8144195a8 Merge succeeded, producing b17bad2fab60dae95b9f6a3174465be8144195a8 Checking out Revision b17bad2fab60dae95b9f6a3174465be8144195a8 (PR-57) > git config core.sparsecheckout # timeout=10 > git checkout -f b17bad2fab60dae95b9f6a3174465be8144195a8 # 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 b6cd987ba5da8be53edaf39b26ab980ed5f4a151 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17bad2fab60dae95b9f6a3174465be8144195a8 # timeout=10 Commit message: "feat: add internal command request/response topics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:01 ========================================================= 06:00:01 EdgeX Global Pipelines Version Info 06:00:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:02 ------------------- 06:00:02 stable info: 06:00:02 ------------------- 06:00:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:00:02 Message: update stable to v1.0.239 06:00:02 ------------------- 06:00:02 experimental info: 06:00:02 ------------------- 06:00:02 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:00:02 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-57 [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-57 [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-57 [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b17bad2fab60dae95b9f6a3174465be8144195a8 [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b17bad2 [Pipeline] echo 06:00:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:04 provisioning config files... 06:00:04 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-57@tmp/config5248532876345376543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:04 ---> docker-login.sh 06:00:04 nexus3.edgexfoundry.org:10001 06:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:05 Configure a credential helper to remove this warning. See 06:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:05 06:00:05 Login Succeeded 06:00:05 nexus3.edgexfoundry.org:10002 06:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:05 Configure a credential helper to remove this warning. See 06:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:05 06:00:05 Login Succeeded 06:00:05 nexus3.edgexfoundry.org:10003 06:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:05 Configure a credential helper to remove this warning. See 06:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:05 06:00:05 Login Succeeded 06:00:05 nexus3.edgexfoundry.org:10004 06:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:05 Configure a credential helper to remove this warning. See 06:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:05 06:00:05 Login Succeeded 06:00:05 docker.io 06:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:12 Configure a credential helper to remove this warning. See 06:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:12 06:00:12 Login Succeeded 06:00:12 ---> docker-login.sh ends [Pipeline] } 06:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:12 + git rev-list -1 --merges b17bad2fab60dae95b9f6a3174465be8144195a8~1..b17bad2fab60dae95b9f6a3174465be8144195a8 [Pipeline] echo 06:00:13 -----------> git rev-list -1 --merges b17bad2fab60dae95b9f6a3174465be8144195a8~1..b17bad2fab60dae95b9f6a3174465be8144195a8 b17bad2fab60dae95b9f6a3174465be8144195a8 [false] [Pipeline] sh 06:00:13 + git log --format=format:%s -1 b17bad2fab60dae95b9f6a3174465be8144195a8 [Pipeline] echo 06:00:13 ========================================================= 06:00:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:13 + git log --format=format:%s -1 b17bad2fab60dae95b9f6a3174465be8144195a8 [Pipeline] echo 06:00:13 [semverPrep] GIT_COMMIT: b17bad2fab60dae95b9f6a3174465be8144195a8, Commit Message: feat: add internal command request/response topics [Pipeline] echo 06:00:13 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:14 + grep -v github /etc/ssh/ssh_known_hosts 06:00:14 + [ -e /tmp/ssh_known_hosts ] 06:00:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:14 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:14 06:00:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:15 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:15 b85a868b505f: Pulling fs layer 06:00:15 e2be974225ed: Pulling fs layer 06:00:15 339a4e72a1f5: Pulling fs layer 06:00:15 988bab9f4d93: Pulling fs layer 06:00:15 1469e6f7b9e6: Pulling fs layer 06:00:15 eaf3925da568: Pulling fs layer 06:00:15 bab4dde63d76: Pulling fs layer 06:00:15 bde34c3a00c8: Pulling fs layer 06:00:15 b352a97aabf1: Pulling fs layer 06:00:15 4872d77fe225: Pulling fs layer 06:00:15 5851b861e8e6: Pulling fs layer 06:00:15 1469e6f7b9e6: Waiting 06:00:15 bab4dde63d76: Waiting 06:00:15 eaf3925da568: Waiting 06:00:15 bde34c3a00c8: Waiting 06:00:15 988bab9f4d93: Waiting 06:00:15 5851b861e8e6: Waiting 06:00:15 4872d77fe225: Waiting 06:00:15 e2be974225ed: Download complete 06:00:15 988bab9f4d93: Verifying Checksum 06:00:15 988bab9f4d93: Download complete 06:00:15 1469e6f7b9e6: Verifying Checksum 06:00:15 1469e6f7b9e6: Download complete 06:00:15 eaf3925da568: Verifying Checksum 06:00:15 eaf3925da568: Download complete 06:00:15 339a4e72a1f5: Download complete 06:00:15 bde34c3a00c8: Verifying Checksum 06:00:15 bde34c3a00c8: Download complete 06:00:15 b352a97aabf1: Download complete 06:00:15 4872d77fe225: Verifying Checksum 06:00:15 4872d77fe225: Download complete 06:00:15 5851b861e8e6: Verifying Checksum 06:00:15 5851b861e8e6: Download complete 06:00:15 b85a868b505f: Verifying Checksum 06:00:15 b85a868b505f: Download complete 06:00:16 bab4dde63d76: Verifying Checksum 06:00:16 bab4dde63d76: Download complete 06:00:17 b85a868b505f: Pull complete 06:00:17 e2be974225ed: Pull complete 06:00:17 339a4e72a1f5: Pull complete 06:00:18 988bab9f4d93: Pull complete 06:00:18 1469e6f7b9e6: Pull complete 06:00:18 eaf3925da568: Pull complete 06:00:20 bab4dde63d76: Pull complete 06:00:20 bde34c3a00c8: Pull complete 06:00:20 b352a97aabf1: Pull complete 06:00:20 4872d77fe225: Pull complete 06:00:20 5851b861e8e6: Pull complete 06:00:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:20 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 06:00:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-57 -v /w/workspace/edgexfoundry_device-gpio_PR-57:/w/workspace/edgexfoundry_device-gpio_PR-57:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-57@tmp:/w/workspace/edgexfoundry_device-gpio_PR-57@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 06:00:24 $ docker top e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c -eo pid,comm 06:00:24 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). 06:00:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:24 [ssh-agent] Looking for ssh-agent implementation... 06:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:24 $ docker exec e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c ssh-agent 06:00:24 SSH_AUTH_SOCK=/tmp/ssh-JOExESclYKtD/agent.32 06:00:24 SSH_AGENT_PID=38 06:00:24 Running ssh-add (command line suppressed) 06:00:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-57@tmp/private_key_7791085058517968133.key (/w/workspace/edgexfoundry_device-gpio_PR-57@tmp/private_key_7791085058517968133.key) 06:00:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:25 + git tag --points-at HEAD [Pipeline] } 06:00:25 $ docker exec --env ******** --env ******** e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c ssh-agent -k 06:00:25 unset SSH_AUTH_SOCK; 06:00:25 unset SSH_AGENT_PID; 06:00:25 echo Agent pid 38 killed; 06:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:25 [ssh-agent] Looking for ssh-agent implementation... 06:00:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:25 $ docker exec e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c ssh-agent 06:00:25 SSH_AUTH_SOCK=/tmp/ssh-tK48QObdhObt/agent.70 06:00:25 SSH_AGENT_PID=76 06:00:25 Running ssh-add (command line suppressed) 06:00:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-57@tmp/private_key_5236593383289003438.key (/w/workspace/edgexfoundry_device-gpio_PR-57@tmp/private_key_5236593383289003438.key) 06:00:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:26 + git semver init 06:00:26 2022-09-28 06:00:26,371 [run_init] DEBUG init version:0.0.0 force:False 06:00:26 2022-09-28 06:00:26,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-57/.semver 06:00:26 2022-09-28 06:00:26,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-57/.semver 06:00:26 2022-09-28 06:00:26,372 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-57/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-57, universal_newlines=False, shell=None, istream=None) 06:00:27 2022-09-28 06:00:27,383 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-57/.git/info/exclude 06:00:27 2022-09-28 06:00:27,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-57/.semver/PR-57 with force:False 06:00:27 2022-09-28 06:00:27,384 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-57/.semver/PR-57 06:00:27 2022-09-28 06:00:27,388 [execute] INFO git cat-file --batch-check 06:00:27 2022-09-28 06:00:27,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-57/.semver, universal_newlines=False, shell=None, istream=) 06:00:27 2022-09-28 06:00:27,395 [execute] INFO git cat-file --batch 06:00:27 2022-09-28 06:00:27,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-57/.semver, universal_newlines=False, shell=None, istream=) 06:00:27 2022-09-28 06:00:27,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-57/.semver/PR-57 06:00:27 0.0.0 [Pipeline] } 06:00:27 $ docker exec --env ******** --env ******** e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c ssh-agent -k 06:00:27 unset SSH_AUTH_SOCK; 06:00:27 unset SSH_AGENT_PID; 06:00:27 echo Agent pid 76 killed; 06:00:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:28 + git semver [Pipeline] } 06:00:28 $ docker stop --time=1 e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c 06:00:30 $ docker rm -f e59bb0d0f96596d3663440d1bf50d4b7c2fe8c377d26e38ac08b3b9b0ccc667c [Pipeline] // withDockerContainer [Pipeline] sh 06:00:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:30 Stashed 1 file(s) [Pipeline] echo 06:00:30 [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 06:00:31 provisioning config files... 06:00:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-57@tmp/config1049761652050626164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:31 ---> docker-login.sh 06:00:31 nexus3.edgexfoundry.org:10001 06:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:31 Configure a credential helper to remove this warning. See 06:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:31 06:00:31 Login Succeeded 06:00:31 nexus3.edgexfoundry.org:10002 06:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:31 Configure a credential helper to remove this warning. See 06:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:31 06:00:31 Login Succeeded 06:00:31 nexus3.edgexfoundry.org:10003 06:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:31 Configure a credential helper to remove this warning. See 06:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:31 06:00:31 Login Succeeded 06:00:31 nexus3.edgexfoundry.org:10004 06:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:31 Configure a credential helper to remove this warning. See 06:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:31 06:00:31 Login Succeeded 06:00:31 docker.io 06:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:33 Configure a credential helper to remove this warning. See 06:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:33 06:00:33 Login Succeeded 06:00:33 ---> docker-login.sh ends [Pipeline] } 06:00:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:33 ========================================================= 06:00:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:00:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:34 + 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 . 06:00:34 Sending build context to Docker daemon 15.86MB 06:00:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:00:34 Step 2/13 : FROM ${BASE} AS builder 06:00:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:34 2408cc74d12b: Pulling fs layer 06:00:34 ea60b727a1ce: Pulling fs layer 06:00:34 30c4a7721957: Pulling fs layer 06:00:34 370296b7ddb6: Pulling fs layer 06:00:34 7c6cee850709: Pulling fs layer 06:00:34 39a5fcdaea64: Pulling fs layer 06:00:34 d94ebbe4e438: Pulling fs layer 06:00:34 bcfd1f05c69d: Pulling fs layer 06:00:34 59ccb84bbe0f: Pulling fs layer 06:00:34 370296b7ddb6: Waiting 06:00:34 7c6cee850709: Waiting 06:00:34 d94ebbe4e438: Waiting 06:00:34 bcfd1f05c69d: Waiting 06:00:34 39a5fcdaea64: Waiting 06:00:34 59ccb84bbe0f: Waiting 06:00:34 30c4a7721957: Verifying Checksum 06:00:34 30c4a7721957: Download complete 06:00:34 ea60b727a1ce: Verifying Checksum 06:00:34 ea60b727a1ce: Download complete 06:00:34 7c6cee850709: Verifying Checksum 06:00:34 7c6cee850709: Download complete 06:00:34 39a5fcdaea64: Download complete 06:00:34 2408cc74d12b: Verifying Checksum 06:00:34 2408cc74d12b: Download complete 06:00:34 d94ebbe4e438: Verifying Checksum 06:00:34 d94ebbe4e438: Download complete 06:00:34 2408cc74d12b: Pull complete 06:00:35 ea60b727a1ce: Pull complete 06:00:35 30c4a7721957: Pull complete 06:00:35 bcfd1f05c69d: Download complete 06:00:35 59ccb84bbe0f: Verifying Checksum 06:00:35 59ccb84bbe0f: Download complete 06:00:35 370296b7ddb6: Verifying Checksum 06:00:35 370296b7ddb6: Download complete 06:00:38 370296b7ddb6: Pull complete 06:00:38 7c6cee850709: Pull complete 06:00:38 39a5fcdaea64: Pull complete 06:00:39 d94ebbe4e438: Pull complete 06:00:41 bcfd1f05c69d: Pull complete 06:00:42 59ccb84bbe0f: Pull complete 06:00:42 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:00:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:00:42 ---> a4fb48ad2a94 06:00:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:00:45 ---> Running in a821912b6541 06:00:45 Removing intermediate container a821912b6541 06:00:45 ---> aaab8b53a1ec 06:00:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:45 ---> Running in 3ea481ab72fb 06:00:45 Removing intermediate container 3ea481ab72fb 06:00:45 ---> baed78dc7db9 06:00:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:00:45 ---> Running in d2c5e6a4f3cc 06:00:45 Removing intermediate container d2c5e6a4f3cc 06:00:45 ---> 5fa0f1775a30 06:00:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:00:45 ---> Running in aabfdafd2943 06:00:45 Removing intermediate container aabfdafd2943 06:00:45 ---> 45acc6c0f8db 06:00:45 Step 7/13 : WORKDIR /device-gpio 06:00:45 ---> Running in fba57b340b4c 06:00:45 Removing intermediate container fba57b340b4c 06:00:45 ---> 45bcdaeda69b 06:00:45 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:45 ---> Running in 6e4dbfa10b7d 06:00:46 Removing intermediate container 6e4dbfa10b7d 06:00:46 ---> 6e59407a0fea 06:00:46 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:46 ---> Running in 66fae6981aba 06:00:46 Still waiting to schedule task 06:00:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1514’ is offline 06:00:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:00:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:00:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 06:00:47 (2/4) Installing libedit (20210910.3.1-r0) 06:00:47 (3/4) Installing openssh-client-common (9.0_p1-r2) 06:00:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 06:00:47 Executing busybox-1.35.0-r13.trigger 06:00:47 OK: 216 MiB in 55 packages 06:00:48 Removing intermediate container 66fae6981aba 06:00:48 ---> 2552c52197ff 06:00:48 Step 10/13 : COPY go.mod vendor* ./ 06:00:48 ---> f1f4f94f3c2a 06:00:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:48 ---> Running in 93f9ce91958d 06:01:06 Removing intermediate container 93f9ce91958d 06:01:06 ---> 0ad6b94ff57a 06:01:06 Step 12/13 : COPY . . 06:01:06 ---> 2acd7c14c8a3 06:01:06 Step 13/13 : RUN ${MAKE} 06:01:06 ---> Running in b91691972dca 06:01:06 noop 06:01:06 Removing intermediate container b91691972dca 06:01:06 ---> 15cea9f94ebb 06:01:06 Successfully built 15cea9f94ebb 06:01:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:06 + docker inspect -f . ci-base-image-x86_64 06:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:07 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 06:01:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-57 -v /w/workspace/edgexfoundry_device-gpio_PR-57:/w/workspace/edgexfoundry_device-gpio_PR-57:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-57@tmp:/w/workspace/edgexfoundry_device-gpio_PR-57@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 06:01:07 $ docker top 307033e0d0a99b0ba7bdb24e214177b50146bb0dbe0c02979490d370cc18ae4f -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:07 + go version 06:01:07 go version go1.18.3 linux/amd64 [Pipeline] } 06:01:07 $ docker stop --time=1 307033e0d0a99b0ba7bdb24e214177b50146bb0dbe0c02979490d370cc18ae4f 06:01:09 $ docker rm -f 307033e0d0a99b0ba7bdb24e214177b50146bb0dbe0c02979490d370cc18ae4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:09 + docker inspect -f . ci-base-image-x86_64 06:01:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:09 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 06:01:09 $ 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-57 -v /w/workspace/edgexfoundry_device-gpio_PR-57:/w/workspace/edgexfoundry_device-gpio_PR-57:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-57@tmp:/w/workspace/edgexfoundry_device-gpio_PR-57@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 06:01:10 $ docker top 091138195a66fbe9cc1866ad47debc7784f12883b981fba32b1d6cff9ba0324e -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-57 [Pipeline] fileExists [Pipeline] sh 06:01:11 + make test 06:01:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:01:11 ? github.com/edgexfoundry/device-gpio [no test files] 06:01:19 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:01:19 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:01:24 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." 06:01:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:01:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:27 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:27 $ docker stop --time=1 091138195a66fbe9cc1866ad47debc7784f12883b981fba32b1d6cff9ba0324e 06:01:29 $ docker rm -f 091138195a66fbe9cc1866ad47debc7784f12883b981fba32b1d6cff9ba0324e [Pipeline] // withDockerContainer [Pipeline] sh 06:01:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:31 + ls -al . 06:01:31 total 164 06:01:31 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 06:01 . 06:01:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 05:59 .. 06:01:31 -rw-rw-r-- 1 jenkins jenkins 120 Sep 28 05:59 .dockerignore 06:01:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:01 .git 06:01:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:59 .github 06:01:31 -rw-rw-r-- 1 jenkins jenkins 343 Sep 28 05:59 .gitignore 06:01:31 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 05:59 .golangci.yml 06:01:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:00 .semver 06:01:31 -rw-rw-r-- 1 jenkins jenkins 9691 Sep 28 05:59 Attribution.txt 06:01:31 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 28 05:59 CHANGELOG.md 06:01:31 -rw-rw-r-- 1 jenkins jenkins 1929 Sep 28 05:59 Dockerfile 06:01:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 05:59 GOVERNANCE.md 06:01:31 -rw-rw-r-- 1 jenkins jenkins 657 Sep 28 05:59 Jenkinsfile 06:01:31 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 05:59 LICENSE 06:01:31 -rw-rw-r-- 1 jenkins jenkins 2085 Sep 28 05:59 Makefile 06:01:31 -rw-rw-r-- 1 jenkins jenkins 617 Sep 28 05:59 OWNERS.md 06:01:31 -rw-rw-r-- 1 jenkins jenkins 11842 Sep 28 05:59 README.md 06:01:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 06:00 VERSION 06:01:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 05:59 bin 06:01:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:59 cmd 06:01:31 -rw-r--r-- 1 jenkins jenkins 10 Sep 28 06:01 coverage.out 06:01:31 -rw-rw-r-- 1 jenkins jenkins 3459 Sep 28 05:59 go.mod 06:01:31 -rw-rw-r-- 1 jenkins jenkins 38054 Sep 28 05:59 go.sum 06:01:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 05:59 internal 06:01:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 05:59 snap 06:01:31 -rw-rw-r-- 1 jenkins jenkins 209 Sep 28 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:31 + 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=b17bad2fab60dae95b9f6a3174465be8144195a8 --label arch=amd64 --label version=0.0.0 . 06:01:31 Sending build context to Docker daemon 15.86MB 06:01:31 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 06:01:31 Step 2/27 : FROM ${BASE} AS builder 06:01:31 ---> 15cea9f94ebb 06:01:31 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:01:31 ---> Running in d9427fe0cf71 06:01:32 Removing intermediate container d9427fe0cf71 06:01:32 ---> 01d10805a45d 06:01:32 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:32 ---> Running in 4022f0d3bd15 06:01:32 Removing intermediate container 4022f0d3bd15 06:01:32 ---> 015f47923138 06:01:32 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:01:32 ---> Running in a77a1edd4e72 06:01:32 Removing intermediate container a77a1edd4e72 06:01:32 ---> e95c2f99db88 06:01:32 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:01:32 ---> Running in c847501e2e51 06:01:32 Removing intermediate container c847501e2e51 06:01:32 ---> ad6e714ff722 06:01:32 Step 7/27 : WORKDIR /device-gpio 06:01:32 ---> Running in 7a6c80bc26d0 06:01:32 Removing intermediate container 7a6c80bc26d0 06:01:32 ---> 96d6e4a62c93 06:01:32 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:32 ---> Running in 6ac9ea31c73b 06:01:32 Removing intermediate container 6ac9ea31c73b 06:01:32 ---> 4c5387973f65 06:01:32 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:32 ---> Running in 0b463f659085 06:01:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:34 OK: 216 MiB in 55 packages 06:01:34 Removing intermediate container 0b463f659085 06:01:34 ---> 15a7606079f4 06:01:34 Step 10/27 : COPY go.mod vendor* ./ 06:01:34 ---> 40fed8ab8f85 06:01:34 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:34 ---> Running in 88fb646ffbcc 06:01:35 Removing intermediate container 88fb646ffbcc 06:01:35 ---> b2800daa26c8 06:01:35 Step 12/27 : COPY . . 06:01:35 ---> 30b1b5d84ac2 06:01:35 Step 13/27 : RUN ${MAKE} 06:01:35 ---> Running in 9670490083a0 06:01:35 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 06:01:57 Removing intermediate container 9670490083a0 06:01:57 ---> c16bbb42760f 06:01:57 Step 14/27 : FROM alpine:3.16 06:01:57 3.16: Pulling from library/alpine 06:01:57 213ec9aee27d: Pulling fs layer 06:01:57 213ec9aee27d: Verifying Checksum 06:01:57 213ec9aee27d: Download complete 06:01:57 213ec9aee27d: Pull complete 06:01:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:01:57 Status: Downloaded newer image for alpine:3.16 06:01:57 ---> 9c6f07244728 06:01:57 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:01:57 ---> Running in 9942fef267fb 06:01:57 Removing intermediate container 9942fef267fb 06:01:57 ---> dd2752828630 06:01:57 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:57 ---> Running in f48347250c40 06:01:57 Removing intermediate container f48347250c40 06:01:57 ---> 8ed3926c7ff5 06:01:57 Step 17/27 : RUN apk add --update --no-cache zeromq 06:01:57 ---> Running in 0dee7cecd6bc 06:01:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:59 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:01:59 (2/5) Installing libsodium (1.0.18-r0) 06:01:59 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:01:59 (4/5) Installing libzmq (4.3.4-r0) 06:01:59 (5/5) Installing zeromq (4.3.4-r0) 06:01:59 Executing busybox-1.35.0-r17.trigger 06:01:59 OK: 8 MiB in 19 packages 06:02:00 Removing intermediate container 0dee7cecd6bc 06:02:00 ---> 0ab90a9a571a 06:02:00 Step 18/27 : WORKDIR / 06:02:00 ---> Running in bc980d459ba2 06:02:00 Removing intermediate container bc980d459ba2 06:02:00 ---> 4b06ad8fabaf 06:02:00 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 06:02:00 ---> 506c4aab3d3c 06:02:00 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 06:02:00 ---> eb3ec2f910c4 06:02:00 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 06:02:01 ---> e7c76c846aba 06:02:01 Step 22/27 : EXPOSE 59910 06:02:01 ---> Running in 9df8770ec3e7 06:02:01 Removing intermediate container 9df8770ec3e7 06:02:01 ---> d651d39fb5e7 06:02:01 Step 23/27 : ENTRYPOINT ["/device-gpio"] 06:02:01 ---> Running in c44e435f4ef6 06:02:01 Removing intermediate container c44e435f4ef6 06:02:01 ---> 387334c993bd 06:02:01 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:02:01 ---> Running in 2e3f4e24b0d7 06:02:01 Removing intermediate container 2e3f4e24b0d7 06:02:01 ---> 150f9a2897cb 06:02:01 Step 25/27 : LABEL arch=amd64 06:02:01 ---> Running in bde9b050454f 06:02:01 Removing intermediate container bde9b050454f 06:02:01 ---> 8a95e5c3371f 06:02:01 Step 26/27 : LABEL git_sha=b17bad2fab60dae95b9f6a3174465be8144195a8 06:02:01 ---> Running in 6a6487bbcbd5 06:02:01 Removing intermediate container 6a6487bbcbd5 06:02:01 ---> bf8583b4e5e2 06:02:01 Step 27/27 : LABEL version=0.0.0 06:02:01 ---> Running in c8662f6618da 06:02:01 Removing intermediate container c8662f6618da 06:02:01 ---> 672fea0edad4 06:02:01 [Warning] One or more build-args [ARCH] were not consumed 06:02:01 Successfully built 672fea0edad4 06:02:01 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 06:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:02 06:02:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:03 latest: Pulling from edgex-lftools-log-publisher 06:02:03 5eb5b503b376: Pulling fs layer 06:02:03 5c69ac0246d0: Pulling fs layer 06:02:03 ec43610c2a17: Pulling fs layer 06:02:03 3a2ae6a8a46f: Pulling fs layer 06:02:03 33b1e0a273af: Pulling fs layer 06:02:03 5d3b04190fa2: Pulling fs layer 06:02:03 2f39f015ded8: Pulling fs layer 06:02:03 33b1e0a273af: Waiting 06:02:03 2f39f015ded8: Waiting 06:02:03 5d3b04190fa2: Waiting 06:02:03 3a2ae6a8a46f: Waiting 06:02:03 5c69ac0246d0: Download complete 06:02:03 3a2ae6a8a46f: Verifying Checksum 06:02:03 3a2ae6a8a46f: Download complete 06:02:03 33b1e0a273af: Verifying Checksum 06:02:03 33b1e0a273af: Download complete 06:02:03 5d3b04190fa2: Verifying Checksum 06:02:03 5d3b04190fa2: Download complete 06:02:03 ec43610c2a17: Verifying Checksum 06:02:03 ec43610c2a17: Download complete 06:02:03 5eb5b503b376: Verifying Checksum 06:02:03 5eb5b503b376: Download complete 06:02:03 2f39f015ded8: Download complete 06:02:04 5eb5b503b376: Pull complete 06:02:04 5c69ac0246d0: Pull complete 06:02:04 ec43610c2a17: Pull complete 06:02:05 3a2ae6a8a46f: Pull complete 06:02:05 33b1e0a273af: Pull complete 06:02:05 5d3b04190fa2: Pull complete 06:02:09 2f39f015ded8: Pull complete 06:02:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:09 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 06:02:09 $ 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-57 -v /w/workspace/edgexfoundry_device-gpio_PR-57:/w/workspace/edgexfoundry_device-gpio_PR-57:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-57@tmp:/w/workspace/edgexfoundry_device-gpio_PR-57@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 06:02:12 $ docker top 9e4b71302545e5f3865f6c23888a89e82191ad4aa07f01a4dc6f1f01af770916 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:13 ---> job-cost.sh 06:02:13 lf-activate-venv: SKIPPING 06:02:13 INFO: No Stack... 06:02:13 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:14 INFO: Archiving Costs [Pipeline] sh 06:02:14 + cat /w/workspace/edgexfoundry_device-gpio_PR-57/archives/cost.csv 06:02:14 + cut -d, -f6 [Pipeline] lock 06:02:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] 06:02:14 Resource [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] did not exist. Created. 06:02:14 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:14 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:14 Stashed 1 file(s) [Pipeline] } 06:02:14 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:14 $ docker stop --time=1 9e4b71302545e5f3865f6c23888a89e82191ad4aa07f01a4dc6f1f01af770916 06:02:16 $ docker rm -f 9e4b71302545e5f3865f6c23888a89e82191ad4aa07f01a4dc6f1f01af770916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1610 in /w/workspace/edgexfoundry_device-gpio_PR-57 [Pipeline] { [Pipeline] ws 06:03:19 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 06:03:19 The recommended git tool is: git 06:03:25 using credential edgex-jenkins-ssh 06:03:25 Cloning the remote Git repository 06:03:25 Cloning repository git@github.com:edgexfoundry/device-gpio.git 06:03:25 > git init /w/workspace/device-gpio/1 # timeout=10 06:03:25 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:03:25 > git --version # timeout=10 06:03:25 > git --version # 'git version 2.25.1' 06:03:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:25 Verifying host key using known hosts file 06:03: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. 06:03:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:27 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:03:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:29 Merging remotes/origin/main commit b6cd987ba5da8be53edaf39b26ab980ed5f4a151 into PR head commit b17bad2fab60dae95b9f6a3174465be8144195a8 06:03:29 Merge succeeded, producing b17bad2fab60dae95b9f6a3174465be8144195a8 06:03:29 Checking out Revision b17bad2fab60dae95b9f6a3174465be8144195a8 (PR-57) 06:03:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:03:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:03:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:28 Verifying host key using known hosts file 06:03:28 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. 06:03:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:29 > git config core.sparsecheckout # timeout=10 06:03:29 > git checkout -f b17bad2fab60dae95b9f6a3174465be8144195a8 # timeout=10 06:03:29 > git remote # timeout=10 06:03:29 > git config --get remote.origin.url # timeout=10 06:03:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:29 Verifying host key using known hosts file 06:03:29 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. 06:03:29 > git merge b6cd987ba5da8be53edaf39b26ab980ed5f4a151 # timeout=10 06:03:29 > git rev-parse HEAD^{commit} # timeout=10 06:03:29 > git config core.sparsecheckout # timeout=10 06:03:29 > git checkout -f b17bad2fab60dae95b9f6a3174465be8144195a8 # timeout=10 06:03:32 Commit message: "feat: add internal command request/response topics" 06:03:33 > git --version # timeout=10 06:03:33 > git --version # 'git version 2.25.1' 06:03:33 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:34 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:34 Dload Upload Total Spent Left Speed 06:03:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh 06:03:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:35 + sudo tee /etc/docker/daemon.new 06:03:35 { 06:03:35 "registry-mirrors": [ 06:03:35 "https://nexus3.edgexfoundry.org:10001" 06:03:35 ], 06:03:35 "bip": "10.250.0.254/24", 06:03:35 "hosts": [ 06:03:35 "tcp://0.0.0.0:5555", 06:03:35 "unix:///var/run/docker.sock" 06:03:35 ], 06:03:35 "mtu": 1458, 06:03:35 "selinux-enabled": true, 06:03:35 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:35 } [Pipeline] sh 06:03:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:54 provisioning config files... 06:03:54 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config17005645312928476163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:54 ---> docker-login.sh 06:03:54 nexus3.edgexfoundry.org:10001 06:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:55 Configure a credential helper to remove this warning. See 06:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:55 06:03:55 Login Succeeded 06:03:55 nexus3.edgexfoundry.org:10002 06:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:55 Configure a credential helper to remove this warning. See 06:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:55 06:03:55 Login Succeeded 06:03:55 nexus3.edgexfoundry.org:10003 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 nexus3.edgexfoundry.org:10004 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 docker.io 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:57 Configure a credential helper to remove this warning. See 06:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:57 06:03:57 Login Succeeded 06:03:57 ---> docker-login.sh ends [Pipeline] } 06:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:57 ========================================================= 06:03:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:03:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:58 + 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 . 06:03:58 Sending build context to Docker daemon 8.006MB 06:03:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:03:58 Step 2/13 : FROM ${BASE} AS builder 06:03:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:58 b3c136eddcbf: Pulling fs layer 06:03:58 c0a3192eca97: Pulling fs layer 06:03:58 a050256f5b6f: Pulling fs layer 06:03:58 656be50a0ddc: Pulling fs layer 06:03:58 2bbca73fdf42: Pulling fs layer 06:03:58 46d945488cbd: Pulling fs layer 06:03:58 8a5474983e97: Pulling fs layer 06:03:58 329c88fbcd65: Pulling fs layer 06:03:58 656be50a0ddc: Waiting 06:03:58 2bbca73fdf42: Waiting 06:03:58 46d945488cbd: Waiting 06:03:58 329c88fbcd65: Waiting 06:03:58 8a5474983e97: Waiting 06:03:58 a050256f5b6f: Verifying Checksum 06:03:58 a050256f5b6f: Download complete 06:03:58 c0a3192eca97: Verifying Checksum 06:03:58 c0a3192eca97: Download complete 06:03:58 2bbca73fdf42: Verifying Checksum 06:03:58 2bbca73fdf42: Download complete 06:03:58 46d945488cbd: Verifying Checksum 06:03:58 46d945488cbd: Download complete 06:03:58 b3c136eddcbf: Download complete 06:03:59 b3c136eddcbf: Pull complete 06:03:59 329c88fbcd65: Verifying Checksum 06:03:59 329c88fbcd65: Download complete 06:04:00 c0a3192eca97: Pull complete 06:04:00 a050256f5b6f: Pull complete 06:04:01 8a5474983e97: Verifying Checksum 06:04:01 8a5474983e97: Download complete 06:04:01 656be50a0ddc: Verifying Checksum 06:04:01 656be50a0ddc: Download complete 06:04:13 656be50a0ddc: Pull complete 06:04:13 2bbca73fdf42: Pull complete 06:04:13 46d945488cbd: Pull complete 06:04:20 8a5474983e97: Pull complete 06:04:22 329c88fbcd65: Pull complete 06:04:22 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:04:22 ---> ff4287adb874 06:04:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:04:23 ---> Running in 8bddb48d0f22 06:04:24 Removing intermediate container 8bddb48d0f22 06:04:24 ---> dd6dd2703ac5 06:04:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:24 ---> Running in 7ff195bfb368 06:04:24 Removing intermediate container 7ff195bfb368 06:04:24 ---> 1d3978de6442 06:04:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:04:24 ---> Running in b0acd27397b1 06:04:24 Removing intermediate container b0acd27397b1 06:04:24 ---> 445c8aa5f0d7 06:04:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:04:24 ---> Running in c31d38428993 06:04:24 Removing intermediate container c31d38428993 06:04:24 ---> 96d2761fa5ea 06:04:24 Step 7/13 : WORKDIR /device-gpio 06:04:25 ---> Running in 18e3d49dc575 06:04:25 Removing intermediate container 18e3d49dc575 06:04:25 ---> 4c44db0f430d 06:04:25 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:25 ---> Running in 7a32610ed5ab 06:04:27 Removing intermediate container 7a32610ed5ab 06:04:27 ---> 24513bf9791d 06:04:27 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:27 ---> Running in fa1f7be7c702 06:04:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:04:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:04:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 06:04:29 (2/4) Installing libedit (20210910.3.1-r0) 06:04:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 06:04:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 06:04:30 Executing busybox-1.35.0-r13.trigger 06:04:30 OK: 226 MiB in 55 packages 06:04:31 Removing intermediate container fa1f7be7c702 06:04:31 ---> d2d4ab1f2e4a 06:04:31 Step 10/13 : COPY go.mod vendor* ./ 06:04:31 ---> 27e93b9d30ce 06:04:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:31 ---> Running in 91c5a918056e 06:05:28 Removing intermediate container 91c5a918056e 06:05:28 ---> 80569c02ce68 06:05:28 Step 12/13 : COPY . . 06:05:28 ---> 28b4a8a3ebf4 06:05:28 Step 13/13 : RUN ${MAKE} 06:05:28 ---> Running in dc7c9d6cad18 06:05:28 noop 06:05:28 Removing intermediate container dc7c9d6cad18 06:05:28 ---> 953ecbffd715 06:05:28 Successfully built 953ecbffd715 06:05:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:28 + docker inspect -f . ci-base-image-arm64 06:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:29 prd-ubuntu20.04-docker-arm64-4c-16g-1610 does not seem to be running inside a container 06:05:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:30 $ docker top 088de28e6140adcb5d6a24d280af5b77262d9d5829b62a6356d71dfbe87412f3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:31 + go version 06:05:31 go version go1.18.3 linux/arm64 [Pipeline] } 06:05:31 $ docker stop --time=1 088de28e6140adcb5d6a24d280af5b77262d9d5829b62a6356d71dfbe87412f3 06:05:32 $ docker rm -f 088de28e6140adcb5d6a24d280af5b77262d9d5829b62a6356d71dfbe87412f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:33 + docker inspect -f . ci-base-image-arm64 06:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:34 prd-ubuntu20.04-docker-arm64-4c-16g-1610 does not seem to be running inside a container 06:05:34 $ 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 ******** -e ******** ci-base-image-arm64 cat 06:05:35 $ docker top 14dba17df3052df68cf14df425af0c000166c5152acdb1c5e134cf8122b6e665 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:35 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 06:05:36 + make test 06:05:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:05:38 ? github.com/edgexfoundry/device-gpio [no test files] 06:06:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:06:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:06:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:06:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:07:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:21 ./bin/test-attribution-txt.sh [Pipeline] echo 06:07:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:07:21 $ docker stop --time=1 14dba17df3052df68cf14df425af0c000166c5152acdb1c5e134cf8122b6e665 06:07:23 $ docker rm -f 14dba17df3052df68cf14df425af0c000166c5152acdb1c5e134cf8122b6e665 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:24 Warning: overwriting stash ‘coverage-report’ 06:07:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:26 + ls -al . 06:07:26 total 160 06:07:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:05 . 06:07:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:03 .. 06:07:26 -rw-rw-r-- 1 jenkins jenkins 120 Sep 28 06:03 .dockerignore 06:07:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:03 .git 06:07:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:03 .github 06:07:26 -rw-rw-r-- 1 jenkins jenkins 343 Sep 28 06:03 .gitignore 06:07:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 06:03 .golangci.yml 06:07:26 -rw-rw-r-- 1 jenkins jenkins 9691 Sep 28 06:03 Attribution.txt 06:07:26 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 28 06:03 CHANGELOG.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 1929 Sep 28 06:03 Dockerfile 06:07:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:03 GOVERNANCE.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 657 Sep 28 06:03 Jenkinsfile 06:07:26 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 06:03 LICENSE 06:07:26 -rw-rw-r-- 1 jenkins jenkins 2085 Sep 28 06:03 Makefile 06:07:26 -rw-rw-r-- 1 jenkins jenkins 617 Sep 28 06:03 OWNERS.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 11842 Sep 28 06:03 README.md 06:07:26 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 06:00 VERSION 06:07:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:03 bin 06:07:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:03 cmd 06:07:26 -rw-r--r-- 1 jenkins jenkins 10 Sep 28 06:05 coverage.out 06:07:26 -rw-rw-r-- 1 jenkins jenkins 3459 Sep 28 06:03 go.mod 06:07:26 -rw-rw-r-- 1 jenkins jenkins 38054 Sep 28 06:03 go.sum 06:07:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:03 internal 06:07:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:03 snap 06:07:26 -rw-rw-r-- 1 jenkins jenkins 209 Sep 28 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:26 + 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=b17bad2fab60dae95b9f6a3174465be8144195a8 --label arch=arm64 --label version=0.0.0 . 06:07:26 Sending build context to Docker daemon 8.007MB 06:07:26 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 06:07:26 Step 2/27 : FROM ${BASE} AS builder 06:07:26 ---> 953ecbffd715 06:07:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:07:27 ---> Running in bccd8ba0d41e 06:07:27 Removing intermediate container bccd8ba0d41e 06:07:27 ---> 5efa5694a8fb 06:07:27 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:27 ---> Running in 2fa5bc6a29e9 06:07:27 Removing intermediate container 2fa5bc6a29e9 06:07:27 ---> 1af60bd2b972 06:07:27 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:07:27 ---> Running in cb429e52a679 06:07:28 Removing intermediate container cb429e52a679 06:07:28 ---> cbd21cc1407a 06:07:28 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:07:28 ---> Running in ff77777ce6b1 06:07:28 Removing intermediate container ff77777ce6b1 06:07:28 ---> d508d40e13c5 06:07:28 Step 7/27 : WORKDIR /device-gpio 06:07:28 ---> Running in f3f27eb26c4e 06:07:29 Removing intermediate container f3f27eb26c4e 06:07:29 ---> 0f60068d234d 06:07:29 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:29 ---> Running in 0905e194acc7 06:07:30 Removing intermediate container 0905e194acc7 06:07:30 ---> 7bd3e1b43669 06:07:30 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:30 ---> Running in fb6d65c7a0f4 06:07:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:07:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:07:33 OK: 226 MiB in 55 packages 06:07:34 Removing intermediate container fb6d65c7a0f4 06:07:34 ---> ea7c23d92078 06:07:34 Step 10/27 : COPY go.mod vendor* ./ 06:07:34 ---> 2ff5c01db9e0 06:07:34 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:34 ---> Running in 3b08f18ef1cf 06:07:37 Removing intermediate container 3b08f18ef1cf 06:07:37 ---> 8e9fb55f79d8 06:07:37 Step 12/27 : COPY . . 06:07:38 ---> e1554cc90468 06:07:38 Step 13/27 : RUN ${MAKE} 06:07:38 ---> Running in c93a405151ff 06:07:39 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 06:10:16 Removing intermediate container c93a405151ff 06:10:16 ---> 5d76521973ac 06:10:16 Step 14/27 : FROM alpine:3.16 06:10:16 3.16: Pulling from library/alpine 06:10:16 9b18e9b68314: Pulling fs layer 06:10:16 9b18e9b68314: Verifying Checksum 06:10:16 9b18e9b68314: Download complete 06:10:16 9b18e9b68314: Pull complete 06:10:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:10:16 Status: Downloaded newer image for alpine:3.16 06:10:16 ---> a6215f271958 06:10:16 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:10:16 ---> Running in 77d4944fd0d5 06:10:16 Removing intermediate container 77d4944fd0d5 06:10:16 ---> 57c535bc2b25 06:10:16 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:16 ---> Running in f828fcff1715 06:10:16 Removing intermediate container f828fcff1715 06:10:16 ---> c003951fec5b 06:10:16 Step 17/27 : RUN apk add --update --no-cache zeromq 06:10:16 ---> Running in 5011f3b65b29 06:10:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:10:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:10:18 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:10:18 (2/5) Installing libsodium (1.0.18-r0) 06:10:18 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:10:18 (4/5) Installing libzmq (4.3.4-r0) 06:10:19 (5/5) Installing zeromq (4.3.4-r0) 06:10:19 Executing busybox-1.35.0-r17.trigger 06:10:19 OK: 8 MiB in 19 packages 06:10:20 Removing intermediate container 5011f3b65b29 06:10:20 ---> 52a7f344d05d 06:10:20 Step 18/27 : WORKDIR / 06:10:20 ---> Running in 7c12b44394fd 06:10:20 Removing intermediate container 7c12b44394fd 06:10:20 ---> dc5c6a2672e0 06:10:20 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 06:10:21 ---> 61587ee17895 06:10:21 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 06:10:21 ---> 64d6948de21d 06:10:21 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 06:10:23 ---> 270299b1ada9 06:10:23 Step 22/27 : EXPOSE 59910 06:10:23 ---> Running in 9ae6da1ee931 06:10:23 Removing intermediate container 9ae6da1ee931 06:10:23 ---> 3077c66dd479 06:10:23 Step 23/27 : ENTRYPOINT ["/device-gpio"] 06:10:23 ---> Running in ea906ebd2814 06:10:23 Removing intermediate container ea906ebd2814 06:10:23 ---> a8ae4c1403fd 06:10:23 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:10:24 ---> Running in 8cec779de568 06:10:24 Removing intermediate container 8cec779de568 06:10:24 ---> 7c4a090c3225 06:10:24 Step 25/27 : LABEL arch=arm64 06:10:24 ---> Running in b7e2ed9c6e59 06:10:24 Removing intermediate container b7e2ed9c6e59 06:10:24 ---> da1a7d9be9c7 06:10:24 Step 26/27 : LABEL git_sha=b17bad2fab60dae95b9f6a3174465be8144195a8 06:10:24 ---> Running in 10b6c7df1f3d 06:10:24 Removing intermediate container 10b6c7df1f3d 06:10:24 ---> bea392b99c69 06:10:24 Step 27/27 : LABEL version=0.0.0 06:10:25 ---> Running in f22badf1c70e 06:10:25 Removing intermediate container f22badf1c70e 06:10:25 ---> e1f5b5d34a5e 06:10:25 [Warning] One or more build-args [ARCH] were not consumed 06:10:25 Successfully built e1f5b5d34a5e 06:10:25 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 06:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:26 06:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:26 arm64: Pulling from edgex-lftools-log-publisher 06:10:26 8998bd30e6a1: Pulling fs layer 06:10:26 04944245beec: Pulling fs layer 06:10:26 699f458cf7ca: Pulling fs layer 06:10:26 765212b225bb: Pulling fs layer 06:10:26 f23df028b6ca: Pulling fs layer 06:10:26 d65c8cfc05b1: Pulling fs layer 06:10:26 2437ff75d9bd: Pulling fs layer 06:10:26 d65c8cfc05b1: Waiting 06:10:26 765212b225bb: Waiting 06:10:26 f23df028b6ca: Waiting 06:10:26 2437ff75d9bd: Waiting 06:10:26 04944245beec: Verifying Checksum 06:10:26 04944245beec: Download complete 06:10:26 765212b225bb: Verifying Checksum 06:10:26 765212b225bb: Download complete 06:10:26 f23df028b6ca: Verifying Checksum 06:10:26 f23df028b6ca: Download complete 06:10:26 d65c8cfc05b1: Download complete 06:10:27 699f458cf7ca: Verifying Checksum 06:10:27 699f458cf7ca: Download complete 06:10:27 8998bd30e6a1: Verifying Checksum 06:10:27 8998bd30e6a1: Download complete 06:10:30 2437ff75d9bd: Verifying Checksum 06:10:30 2437ff75d9bd: Download complete 06:10:31 8998bd30e6a1: Pull complete 06:10:32 04944245beec: Pull complete 06:10:33 699f458cf7ca: Pull complete 06:10:33 765212b225bb: Pull complete 06:10:33 f23df028b6ca: Pull complete 06:10:34 d65c8cfc05b1: Pull complete 06:10:49 2437ff75d9bd: Pull complete 06:10:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-1610 does not seem to be running inside a container 06:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:10:52 $ docker top 11f37dae688f169234c6852c28cae28374626709d17dc00d465dfc11efa5ed27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:52 ---> job-cost.sh 06:10:53 lf-activate-venv: SKIPPING 06:10:53 INFO: No Stack... 06:10:53 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:54 INFO: Archiving Costs [Pipeline] sh 06:10:54 + cut+ -d, -f6 06:10:54 cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 06:10:54 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] 06:10:54 Resource [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] did not exist. Created. 06:10:54 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:55 /w/workspace/device-gpio/1@tmp/durable-587e97d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:55 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:55 Warning: overwriting stash ‘stack-cost’ 06:10:55 Stashed 1 file(s) [Pipeline] } 06:10:55 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:55 $ docker stop --time=1 11f37dae688f169234c6852c28cae28374626709d17dc00d465dfc11efa5ed27 06:10:57 $ docker rm -f 11f37dae688f169234c6852c28cae28374626709d17dc00d465dfc11efa5ed27 [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 06:10:58 provisioning config files... 06:10:58 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-57@tmp/config11276638684978978239tmp [Pipeline] { [Pipeline] sh 06:10:58 + set +x 06:10:58 + curl -s https://codecov.io/bash 06:10:58 + bash -s -- 06:10:58 06:10:58 _____ _ 06:10:58 / ____| | | 06:10:58 | | ___ __| | ___ ___ _____ __ 06:10:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:10:58 | |___| (_) | (_| | __/ (_| (_) \ V / 06:10:58 \_____\___/ \__,_|\___|\___\___/ \_/ 06:10:58 Bash-1.0.6 06:10:58 06:10:58 06:10:58 ==> git version 2.25.1 found 06:10:58 ==> 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 06:10:58 Release-Date: 2020-01-08 06:10:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:10:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:10:58 ==> Jenkins CI detected. 06:10:58 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-57 06:10:58 project root: . 06:10:58 --> token set from env 06:10:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:10:58 ==> Running gcov in . (disable via -X gcov) 06:10:58 ==> Python coveragepy not found 06:10:58 ==> Searching for coverage reports in: 06:10:58 + . 06:10:58 -> Found 1 reports 06:10:58 ==> Detecting git/mercurial file structure 06:10:58 ==> Reading reports 06:10:58 + ./coverage.out bytes=10 06:10:58 ==> Appending adjustments 06:10:58 https://docs.codecov.io/docs/fixing-reports 06:10:58 + Found adjustments 06:10:58 ==> Gzipping contents 06:10:58 4.0K /tmp/codecov.TASuSh.gz 06:10:58 ==> Uploading reports 06:10:58 url: https://codecov.io 06:10:58 query: branch=PR-57&commit=b17bad2fab60dae95b9f6a3174465be8144195a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=57&job=&cmd_args= 06:10:58 -> Pinging Codecov 06:10:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-57&commit=b17bad2fab60dae95b9f6a3174465be8144195a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=57&job=&cmd_args= 06:10:59 -> Uploading to 06:10:59 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b17bad2fab60dae95b9f6a3174465be8144195a8/4d962e1e-be30-43b9-b52b-2c4c1c99437e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T061059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81842d9e1c3f6af8e294698588701f740712f8f5d34b89c3ef1791840a6b237b 06:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:59 Dload Upload Total Spent Left Speed 06:11:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3027 --:--:-- --:--:-- --:--:-- 3027 06:11:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/b17bad2fab60dae95b9f6a3174465be8144195a8 [Pipeline] } 06:11:00 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 06:11:01 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-57/archives ] 06:11:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-57/archives 06:11:01 total 16 06:11:01 drwxr-xr-x 3 root root 4096 Sep 28 06:02 . 06:11:01 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 06:02 .. 06:11:01 drwxr-xr-x 2 root root 4096 Sep 28 06:02 cost 06:11:01 -rw-r--r-- 1 root root 82 Sep 28 06:02 cost.csv 06:11:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-57/archives 06:11:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-57/archives 06:11:01 total 16 06:11:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:02 . 06:11:01 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 06:02 .. 06:11:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 06:02 cost 06:11:01 -rw-r--r-- 1 jenkins jenkins 82 Sep 28 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:02 ---> package-listing.sh 06:11:02 ++ facter osfamily 06:11:02 ++ tr '[:upper:]' '[:lower:]' 06:11:03 + OS_FAMILY=debian 06:11:03 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-57 06:11:03 + START_PACKAGES=/tmp/packages_start.txt 06:11:03 + END_PACKAGES=/tmp/packages_end.txt 06:11:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:03 + PACKAGES=/tmp/packages_start.txt 06:11:03 + '[' /w/workspace/edgexfoundry_device-gpio_PR-57 ']' 06:11:03 + PACKAGES=/tmp/packages_end.txt 06:11:03 + case "${OS_FAMILY}" in 06:11:03 + dpkg -l 06:11:03 + grep '^ii' 06:11:03 + '[' -f /tmp/packages_start.txt ']' 06:11:03 + '[' -f /tmp/packages_end.txt ']' 06:11:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:03 + '[' /w/workspace/edgexfoundry_device-gpio_PR-57 ']' 06:11:03 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-57/archives/ 06:11:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-57/archives/ [Pipeline] echo 06:11:03 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-57/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:04 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 06:11:04 $ 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-57/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-57 -v /w/workspace/edgexfoundry_device-gpio_PR-57:/w/workspace/edgexfoundry_device-gpio_PR-57:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-57@tmp:/w/workspace/edgexfoundry_device-gpio_PR-57@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 06:11:04 $ docker top e0a4579d7970c0b7a73634e95da76511e54adea50fc3183786e4f762761dffb9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:05 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:05 + ls /var/log/sa-host 06:11:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:05 provisioning config files... 06:11:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-57@tmp/config1797744066651816369tmp [Pipeline] { [Pipeline] echo 06:11:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:06 ---> create-netrc.sh [Pipeline] } 06:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:06 ---> python-tools-install.sh [Pipeline] echo 06:11:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:06 ---> sudo-logs.sh 06:11:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:07 ---> job-cost.sh 06:11:07 lf-activate-venv: SKIPPING 06:11:07 DEBUG: total: 0.2199999988079071 06:11:07 INFO: Retrieving Stack Cost... 06:11:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:08 INFO: Archiving Costs [Pipeline] echo 06:11:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:08 ---> logs-deploy.sh 06:11:08 lf-activate-venv: SKIPPING 06:11:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-57/1 06:11:08 INFO: archiving workspace using pattern(s): 06:11:09 Archives upload complete. 06:11:09 INFO: archiving logs to Nexus