Pull request #58 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a62776ea683615eaaafb8ece202a55b03f17b8f7+af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 (b00b468aa27d1bfa3720cf0832d2b759f883f5d7) 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-ssh12657720266482413462.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-ssh720853010741276925.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-58/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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3445722502401026393.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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7660232704533455260.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-ssh1831581762120797693.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-58/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-58/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13036310501274259078.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 ‘prd-ubuntu20.04-docker-8c-8g-6616’ Running on prd-ubuntu20.04-docker-8c-8g-6622 in /w/workspace/edgexfoundry_device-gpio_PR-58 [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-58 # 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/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 into PR head commit a62776ea683615eaaafb8ece202a55b03f17b8f7 Merge succeeded, producing a62776ea683615eaaafb8ece202a55b03f17b8f7 Checking out Revision a62776ea683615eaaafb8ece202a55b03f17b8f7 (PR-58) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:05:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:05:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # 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 af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:05:21 ========================================================= 01:05:21 EdgeX Global Pipelines Version Info 01:05:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:05:21 ------------------- 01:05:21 stable info: 01:05:21 ------------------- 01:05:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:05:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:05:21 Message: update stable to v1.0.239 01:05:22 ------------------- 01:05:22 experimental info: 01:05:22 ------------------- 01:05:22 Commited By: **** collab-it+edgex@linuxfoundation.org 01:05:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:05:22 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:05:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:05:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:05:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:05:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:05:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-58 [Pipeline] echo 01:05:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-58 [Pipeline] echo 01:05:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-58 [Pipeline] echo 01:05:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo 01:05:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a62776e [Pipeline] echo 01:05:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:24 provisioning config files... 01:05:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config17609830606624935578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:24 ---> docker-login.sh 01:05:24 nexus3.edgexfoundry.org:10001 01:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:25 Configure a credential helper to remove this warning. See 01:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:25 01:05:25 Login Succeeded 01:05:25 nexus3.edgexfoundry.org:10002 01:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:25 Configure a credential helper to remove this warning. See 01:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:25 01:05:25 Login Succeeded 01:05:25 nexus3.edgexfoundry.org:10003 01:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:25 Configure a credential helper to remove this warning. See 01:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:25 01:05:25 Login Succeeded 01:05:25 nexus3.edgexfoundry.org:10004 01:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:25 Configure a credential helper to remove this warning. See 01:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:25 01:05:25 Login Succeeded 01:05:25 docker.io 01:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:25 Configure a credential helper to remove this warning. See 01:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:25 01:05:25 Login Succeeded 01:05:25 ---> docker-login.sh ends [Pipeline] } 01:05:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:05:26 + git rev-list -1 --merges a62776ea683615eaaafb8ece202a55b03f17b8f7~1..a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo 01:05:26 -----------> git rev-list -1 --merges a62776ea683615eaaafb8ece202a55b03f17b8f7~1..a62776ea683615eaaafb8ece202a55b03f17b8f7 a62776ea683615eaaafb8ece202a55b03f17b8f7 [false] [Pipeline] sh 01:05:27 + git log --format=format:%s -1 a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo 01:05:27 ========================================================= 01:05:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:05:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:27 + git log --format=format:%s -1 a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] echo 01:05:27 [semverPrep] GIT_COMMIT: a62776ea683615eaaafb8ece202a55b03f17b8f7, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 01:05:27 [semverPrep] This is not a build commit. [Pipeline] sh 01:05:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:05:28 + grep -v github /etc/ssh/ssh_known_hosts 01:05:28 + [ -e /tmp/ssh_known_hosts ] 01:05:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:05:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:05:28 + sudo tee -a /etc/ssh/ssh_known_hosts 01:05:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:28 01:05:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:29 0.1.4: Pulling from edgex-devops/py-git-semver 01:05:29 b85a868b505f: Pulling fs layer 01:05:29 e2be974225ed: Pulling fs layer 01:05:29 339a4e72a1f5: Pulling fs layer 01:05:29 988bab9f4d93: Pulling fs layer 01:05:29 1469e6f7b9e6: Pulling fs layer 01:05:29 eaf3925da568: Pulling fs layer 01:05:29 bab4dde63d76: Pulling fs layer 01:05:29 bde34c3a00c8: Pulling fs layer 01:05:29 b352a97aabf1: Pulling fs layer 01:05:29 4872d77fe225: Pulling fs layer 01:05:29 5851b861e8e6: Pulling fs layer 01:05:29 988bab9f4d93: Waiting 01:05:29 1469e6f7b9e6: Waiting 01:05:29 bde34c3a00c8: Waiting 01:05:29 bab4dde63d76: Waiting 01:05:29 4872d77fe225: Waiting 01:05:29 eaf3925da568: Waiting 01:05:29 5851b861e8e6: Waiting 01:05:29 e2be974225ed: Verifying Checksum 01:05:29 e2be974225ed: Download complete 01:05:29 988bab9f4d93: Verifying Checksum 01:05:29 988bab9f4d93: Download complete 01:05:29 1469e6f7b9e6: Verifying Checksum 01:05:29 1469e6f7b9e6: Download complete 01:05:29 339a4e72a1f5: Verifying Checksum 01:05:29 339a4e72a1f5: Download complete 01:05:29 eaf3925da568: Verifying Checksum 01:05:29 eaf3925da568: Download complete 01:05:29 bde34c3a00c8: Download complete 01:05:29 b352a97aabf1: Download complete 01:05:29 4872d77fe225: Download complete 01:05:29 5851b861e8e6: Download complete 01:05:29 b85a868b505f: Verifying Checksum 01:05:29 b85a868b505f: Download complete 01:05:29 bab4dde63d76: Verifying Checksum 01:05:29 bab4dde63d76: Download complete 01:05:30 b85a868b505f: Pull complete 01:05:31 e2be974225ed: Pull complete 01:05:31 339a4e72a1f5: Pull complete 01:05:31 988bab9f4d93: Pull complete 01:05:32 1469e6f7b9e6: Pull complete 01:05:32 eaf3925da568: Pull complete 01:05:33 bab4dde63d76: Pull complete 01:05:34 bde34c3a00c8: Pull complete 01:05:34 b352a97aabf1: Pull complete 01:05:34 4872d77fe225: Pull complete 01:05:34 5851b861e8e6: Pull complete 01:05:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:34 prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container 01:05:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:05:36 $ docker top 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 -eo pid,comm 01:05:36 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). 01:05:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:05:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:36 [ssh-agent] Looking for ssh-agent implementation... 01:05:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:36 $ docker exec 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent 01:05:36 SSH_AUTH_SOCK=/tmp/ssh-cYTX8CiP86UQ/agent.33 01:05:36 SSH_AGENT_PID=39 01:05:36 Running ssh-add (command line suppressed) 01:05:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_14604205996499134264.key (/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_14604205996499134264.key) 01:05:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:37 + git tag --points-at HEAD [Pipeline] } 01:05:37 $ docker exec --env ******** --env ******** 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent -k 01:05:37 unset SSH_AUTH_SOCK; 01:05:37 unset SSH_AGENT_PID; 01:05:37 echo Agent pid 39 killed; 01:05:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:05:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:37 [ssh-agent] Looking for ssh-agent implementation... 01:05:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:37 $ docker exec 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent 01:05:37 SSH_AUTH_SOCK=/tmp/ssh-RFrP9DfUUxyj/agent.71 01:05:37 SSH_AGENT_PID=77 01:05:37 Running ssh-add (command line suppressed) 01:05:37 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_1518476632991813071.key (/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/private_key_1518476632991813071.key) 01:05:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:37 + git semver init 01:05:38 2022-10-03 01:05:38,137 [run_init] DEBUG init version:0.0.0 force:False 01:05:38 2022-10-03 01:05:38,138 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-58/.semver 01:05:38 2022-10-03 01:05:38,139 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-58/.semver 01:05:38 2022-10-03 01:05:38,139 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-58/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-58, universal_newlines=False, shell=None, istream=None) 01:05:39 2022-10-03 01:05:39,263 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-58/.git/info/exclude 01:05:39 2022-10-03 01:05:39,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-58/.semver/PR-58 with force:False 01:05:39 2022-10-03 01:05:39,264 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-58/.semver/PR-58 01:05:39 2022-10-03 01:05:39,268 [execute] INFO git cat-file --batch-check 01:05:39 2022-10-03 01:05:39,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-58/.semver, universal_newlines=False, shell=None, istream=) 01:05:39 2022-10-03 01:05:39,274 [execute] INFO git cat-file --batch 01:05:39 2022-10-03 01:05:39,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-58/.semver, universal_newlines=False, shell=None, istream=) 01:05:39 2022-10-03 01:05:39,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-58/.semver/PR-58 01:05:39 0.0.0 [Pipeline] } 01:05:39 $ docker exec --env ******** --env ******** 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 ssh-agent -k 01:05:39 unset SSH_AUTH_SOCK; 01:05:39 unset SSH_AGENT_PID; 01:05:39 echo Agent pid 77 killed; 01:05:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:05:40 + git semver [Pipeline] } 01:05:40 $ docker stop --time=1 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 01:05:41 $ docker rm -f 065806ddc7c6bf8234fb4aa5a1b9d121b806dca3f831de5c41a200d255c774a7 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:05:42 Stashed 1 file(s) [Pipeline] echo 01:05:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:43 provisioning config files... 01:05:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config7806194964458775565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:43 ---> docker-login.sh 01:05:43 nexus3.edgexfoundry.org:10001 01:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:43 Configure a credential helper to remove this warning. See 01:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:43 01:05:43 Login Succeeded 01:05:43 nexus3.edgexfoundry.org:10002 01:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:43 Configure a credential helper to remove this warning. See 01:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:43 01:05:43 Login Succeeded 01:05:43 nexus3.edgexfoundry.org:10003 01:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:43 Configure a credential helper to remove this warning. See 01:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:43 01:05:43 Login Succeeded 01:05:43 nexus3.edgexfoundry.org:10004 01:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:43 Configure a credential helper to remove this warning. See 01:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:43 01:05:43 Login Succeeded 01:05:43 docker.io 01:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:44 Configure a credential helper to remove this warning. See 01:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:44 01:05:44 Login Succeeded 01:05:44 ---> docker-login.sh ends [Pipeline] } 01:05:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:44 ========================================================= 01:05:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:05:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:05:45 Sending build context to Docker daemon 15.85MB 01:05:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:05:45 Step 2/13 : FROM ${BASE} AS builder 01:05:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:05:45 2408cc74d12b: Pulling fs layer 01:05:45 ea60b727a1ce: Pulling fs layer 01:05:45 30c4a7721957: Pulling fs layer 01:05:45 370296b7ddb6: Pulling fs layer 01:05:45 7c6cee850709: Pulling fs layer 01:05:45 aa9baa53a306: Pulling fs layer 01:05:45 8b309c321861: Pulling fs layer 01:05:45 d8d76fd02f46: Pulling fs layer 01:05:45 fa31f396de31: Pulling fs layer 01:05:45 aa9baa53a306: Waiting 01:05:45 fa31f396de31: Waiting 01:05:45 370296b7ddb6: Waiting 01:05:45 8b309c321861: Waiting 01:05:45 d8d76fd02f46: Waiting 01:05:45 30c4a7721957: Verifying Checksum 01:05:45 30c4a7721957: Download complete 01:05:45 ea60b727a1ce: Verifying Checksum 01:05:45 ea60b727a1ce: Download complete 01:05:45 7c6cee850709: Verifying Checksum 01:05:45 7c6cee850709: Download complete 01:05:45 aa9baa53a306: Verifying Checksum 01:05:45 aa9baa53a306: Download complete 01:05:45 2408cc74d12b: Verifying Checksum 01:05:45 2408cc74d12b: Download complete 01:05:45 8b309c321861: Verifying Checksum 01:05:45 8b309c321861: Download complete 01:05:45 2408cc74d12b: Pull complete 01:05:45 ea60b727a1ce: Pull complete 01:05:45 30c4a7721957: Pull complete 01:05:46 fa31f396de31: Download complete 01:05:46 370296b7ddb6: Verifying Checksum 01:05:46 370296b7ddb6: Download complete 01:05:46 d8d76fd02f46: Download complete 01:05:50 370296b7ddb6: Pull complete 01:05:50 7c6cee850709: Pull complete 01:05:50 aa9baa53a306: Pull complete 01:05:50 8b309c321861: Pull complete 01:05:52 d8d76fd02f46: Pull complete 01:05:53 fa31f396de31: Pull complete 01:05:53 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 01:05:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:05:53 ---> cef68f9685f8 01:05:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:05:55 ---> Running in 03a612301c85 01:05:55 Removing intermediate container 03a612301c85 01:05:55 ---> cdb8dbaebffd 01:05:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:55 ---> Running in 8710a45b48e5 01:05:55 Removing intermediate container 8710a45b48e5 01:05:55 ---> 04869de0cb52 01:05:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:05:55 ---> Running in 12cc2b72553d 01:05:55 Removing intermediate container 12cc2b72553d 01:05:55 ---> b37225c8d821 01:05:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:05:55 ---> Running in d33a7a54d2f1 01:05:55 Removing intermediate container d33a7a54d2f1 01:05:55 ---> eb2a07fd9c27 01:05:55 Step 7/13 : WORKDIR /device-gpio 01:05:55 ---> Running in db304970eb4d 01:05:55 Removing intermediate container db304970eb4d 01:05:55 ---> c3b17444e68f 01:05:55 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:05:55 ---> Running in 8e377b979fc5 01:05:56 Removing intermediate container 8e377b979fc5 01:05:56 ---> 7023c55a8c1c 01:05:56 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:56 ---> Running in 2459c8949a2e 01:05:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:05:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:05:57 Still waiting to schedule task 01:05:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6620’ 01:05:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:05:58 (2/4) Installing libedit (20210910.3.1-r0) 01:05:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:05:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:05:58 Executing busybox-1.35.0-r13.trigger 01:05:58 OK: 216 MiB in 55 packages 01:05:58 Removing intermediate container 2459c8949a2e 01:05:58 ---> 33597d969001 01:05:58 Step 10/13 : COPY go.mod vendor* ./ 01:05:58 ---> dd34144f9aa9 01:05:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:58 ---> Running in ce97c1ecd401 01:06:25 Removing intermediate container ce97c1ecd401 01:06:25 ---> a7bacdea85b7 01:06:25 Step 12/13 : COPY . . 01:06:25 ---> 1301e4157610 01:06:25 Step 13/13 : RUN ${MAKE} 01:06:25 ---> Running in 3c19fa02c117 01:06:25 noop 01:06:25 Removing intermediate container 3c19fa02c117 01:06:25 ---> a69045586606 01:06:25 Successfully built a69045586606 01:06:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:25 + docker inspect -f . ci-base-image-x86_64 01:06:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:26 prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container 01:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@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 ******** ci-base-image-x86_64 cat 01:06:26 $ docker top e155967ee0982a92488ba0e8bb6cbc7d08ceee26558b08f662d0e9bc0f78c71e -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:26 + go version 01:06:26 go version go1.18.3 linux/amd64 [Pipeline] } 01:06:27 $ docker stop --time=1 e155967ee0982a92488ba0e8bb6cbc7d08ceee26558b08f662d0e9bc0f78c71e 01:06:28 $ docker rm -f e155967ee0982a92488ba0e8bb6cbc7d08ceee26558b08f662d0e9bc0f78c71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:29 + docker inspect -f . ci-base-image-x86_64 01:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:29 prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container 01:06:29 $ 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-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@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 ******** ci-base-image-x86_64 cat 01:06:29 $ docker top 6fd6fc38f95e8ba1faa88f54a90c3bd6b72a3fa8d6547b236082297b44f8875f -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-58 [Pipeline] fileExists [Pipeline] sh 01:06:30 + make test 01:06:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:06:30 ? github.com/edgexfoundry/device-gpio [no test files] 01:06:40 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:06:40 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:06:47 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:06:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:06:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:50 ./bin/test-attribution-txt.sh [Pipeline] echo 01:06:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:06:50 $ docker stop --time=1 6fd6fc38f95e8ba1faa88f54a90c3bd6b72a3fa8d6547b236082297b44f8875f 01:06:52 $ docker rm -f 6fd6fc38f95e8ba1faa88f54a90c3bd6b72a3fa8d6547b236082297b44f8875f [Pipeline] // withDockerContainer [Pipeline] sh 01:06:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:06:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:53 + ls -al . 01:06:53 total 164 01:06:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:06 . 01:06:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:05 .. 01:06:53 -rw-rw-r-- 1 jenkins jenkins 120 Oct 3 01:05 .dockerignore 01:06:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:06 .git 01:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:05 .github 01:06:53 -rw-rw-r-- 1 jenkins jenkins 343 Oct 3 01:05 .gitignore 01:06:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:05 .golangci.yml 01:06:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:05 .semver 01:06:53 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 3 01:05 Attribution.txt 01:06:53 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 3 01:05 CHANGELOG.md 01:06:53 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 3 01:05 Dockerfile 01:06:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:05 GOVERNANCE.md 01:06:53 -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:05 Jenkinsfile 01:06:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:05 LICENSE 01:06:53 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 3 01:05 Makefile 01:06:53 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 01:05 OWNERS.md 01:06:53 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 3 01:05 README.md 01:06:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:05 VERSION 01:06:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:05 bin 01:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:05 cmd 01:06:53 -rw-r--r-- 1 jenkins jenkins 10 Oct 3 01:06 coverage.out 01:06:53 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 3 01:05 go.mod 01:06:53 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 3 01:05 go.sum 01:06:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:05 internal 01:06:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:05 snap 01:06:53 -rw-rw-r-- 1 jenkins jenkins 209 Oct 3 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:54 + 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=a62776ea683615eaaafb8ece202a55b03f17b8f7 --label arch=amd64 --label version=0.0.0 . 01:06:54 Sending build context to Docker daemon 15.85MB 01:06:54 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:06:54 Step 2/27 : FROM ${BASE} AS builder 01:06:54 ---> a69045586606 01:06:54 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:06:54 ---> Running in d2840b12de7f 01:06:54 Removing intermediate container d2840b12de7f 01:06:54 ---> 9c88fe15aec8 01:06:54 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:54 ---> Running in 101c24266a8c 01:06:54 Removing intermediate container 101c24266a8c 01:06:54 ---> b2bc9cd81504 01:06:54 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:06:54 ---> Running in 7206b00a3b19 01:06:54 Removing intermediate container 7206b00a3b19 01:06:54 ---> 35ad3e47097b 01:06:54 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:06:54 ---> Running in fa471b164bd4 01:06:55 Removing intermediate container fa471b164bd4 01:06:55 ---> 8325b1cfa618 01:06:55 Step 7/27 : WORKDIR /device-gpio 01:06:55 ---> Running in be4d5e723aef 01:06:55 Removing intermediate container be4d5e723aef 01:06:55 ---> 6cbef3dc951b 01:06:55 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:55 ---> Running in 98f9cab801bf 01:06:55 Removing intermediate container 98f9cab801bf 01:06:55 ---> 1c51657309ae 01:06:55 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:55 ---> Running in f3ce20f94605 01:06:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:06:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:06:57 OK: 216 MiB in 55 packages 01:06:57 Removing intermediate container f3ce20f94605 01:06:57 ---> b119a8baf00f 01:06:57 Step 10/27 : COPY go.mod vendor* ./ 01:06:57 ---> 857f064850f1 01:06:57 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:57 ---> Running in 77913e5f4ccc 01:06:58 Removing intermediate container 77913e5f4ccc 01:06:58 ---> 8759e266f8e8 01:06:58 Step 12/27 : COPY . . 01:06:59 ---> 7a56d1ac01f7 01:06:59 Step 13/27 : RUN ${MAKE} 01:06:59 ---> Running in 6060b51bfd1e 01:06:59 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 01:07:21 Removing intermediate container 6060b51bfd1e 01:07:21 ---> baea845055d9 01:07:21 Step 14/27 : FROM alpine:3.16 01:07:21 3.16: Pulling from library/alpine 01:07:21 213ec9aee27d: Pulling fs layer 01:07:21 213ec9aee27d: Verifying Checksum 01:07:21 213ec9aee27d: Download complete 01:07:21 213ec9aee27d: Pull complete 01:07:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:07:21 Status: Downloaded newer image for alpine:3.16 01:07:21 ---> 9c6f07244728 01:07:21 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:07:21 ---> Running in 488f84f707f6 01:07:21 Removing intermediate container 488f84f707f6 01:07:21 ---> 97cc12f7673b 01:07:21 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:21 ---> Running in c9e51faa621d 01:07:21 Removing intermediate container c9e51faa621d 01:07:21 ---> 7d6a699da536 01:07:21 Step 17/27 : RUN apk add --update --no-cache zeromq 01:07:21 ---> Running in f08186398af5 01:07:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:07:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:07:22 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:07:22 (2/5) Installing libsodium (1.0.18-r0) 01:07:22 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:07:22 (4/5) Installing libzmq (4.3.4-r0) 01:07:22 (5/5) Installing zeromq (4.3.4-r0) 01:07:22 Executing busybox-1.35.0-r17.trigger 01:07:22 OK: 8 MiB in 19 packages 01:07:22 Removing intermediate container f08186398af5 01:07:22 ---> 1c6fc61cbd4c 01:07:22 Step 18/27 : WORKDIR / 01:07:23 ---> Running in 33c88e2e10e8 01:07:23 Removing intermediate container 33c88e2e10e8 01:07:23 ---> 6dd61a347c16 01:07:23 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 01:07:23 ---> 63e04abc6a40 01:07:23 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 01:07:23 ---> 8c9e0e822831 01:07:23 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 01:07:24 ---> cd6efddece86 01:07:24 Step 22/27 : EXPOSE 59910 01:07:24 ---> Running in b2b303f2be6a 01:07:24 Removing intermediate container b2b303f2be6a 01:07:24 ---> c34bb20ca262 01:07:24 Step 23/27 : ENTRYPOINT ["/device-gpio"] 01:07:24 ---> Running in fcf3d01c6e88 01:07:24 Removing intermediate container fcf3d01c6e88 01:07:24 ---> efdf650a94b3 01:07:24 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:07:24 ---> Running in dad59df78c7f 01:07:24 Removing intermediate container dad59df78c7f 01:07:24 ---> c11fb15d4345 01:07:24 Step 25/27 : LABEL arch=amd64 01:07:24 ---> Running in 4fd93309856e 01:07:24 Removing intermediate container 4fd93309856e 01:07:24 ---> 4a0e583fed50 01:07:24 Step 26/27 : LABEL git_sha=a62776ea683615eaaafb8ece202a55b03f17b8f7 01:07:24 ---> Running in 8b1041c09a57 01:07:24 Removing intermediate container 8b1041c09a57 01:07:24 ---> c91d5b555685 01:07:24 Step 27/27 : LABEL version=0.0.0 01:07:24 ---> Running in 5b0d6f613264 01:07:24 Removing intermediate container 5b0d6f613264 01:07:24 ---> 3d5d0d22c1ce 01:07:24 [Warning] One or more build-args [ARCH] were not consumed 01:07:24 Successfully built 3d5d0d22c1ce 01:07:24 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:25 01:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:26 latest: Pulling from edgex-lftools-log-publisher 01:07:26 5eb5b503b376: Pulling fs layer 01:07:26 5c69ac0246d0: Pulling fs layer 01:07:26 ec43610c2a17: Pulling fs layer 01:07:26 3a2ae6a8a46f: Pulling fs layer 01:07:26 33b1e0a273af: Pulling fs layer 01:07:26 5d3b04190fa2: Pulling fs layer 01:07:26 2f39f015ded8: Pulling fs layer 01:07:26 33b1e0a273af: Waiting 01:07:26 5d3b04190fa2: Waiting 01:07:26 2f39f015ded8: Waiting 01:07:26 3a2ae6a8a46f: Waiting 01:07:26 5c69ac0246d0: Download complete 01:07:26 3a2ae6a8a46f: Verifying Checksum 01:07:26 3a2ae6a8a46f: Download complete 01:07:26 ec43610c2a17: Verifying Checksum 01:07:26 ec43610c2a17: Download complete 01:07:26 5d3b04190fa2: Verifying Checksum 01:07:26 5d3b04190fa2: Download complete 01:07:26 33b1e0a273af: Verifying Checksum 01:07:26 33b1e0a273af: Download complete 01:07:26 5eb5b503b376: Verifying Checksum 01:07:26 5eb5b503b376: Download complete 01:07:27 2f39f015ded8: Download complete 01:07:27 5eb5b503b376: Pull complete 01:07:27 5c69ac0246d0: Pull complete 01:07:28 ec43610c2a17: Pull complete 01:07:28 3a2ae6a8a46f: Pull complete 01:07:28 33b1e0a273af: Pull complete 01:07:28 5d3b04190fa2: Pull complete 01:07:32 2f39f015ded8: Pull complete 01:07:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:33 prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container 01:07:33 $ 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-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:07:34 $ docker top ad73d8c882108b05a01ae919ffea7fa81f745aec31300aaddf78369f896406fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:35 ---> job-cost.sh 01:07:35 lf-activate-venv: SKIPPING 01:07:35 INFO: No Stack... 01:07:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:36 INFO: Archiving Costs [Pipeline] sh 01:07:36 + cat /w/workspace/edgexfoundry_device-gpio_PR-58/archives/cost.csv 01:07:36 + cut -d, -f6 [Pipeline] lock 01:07:36 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] 01:07:36 Resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] did not exist. Created. 01:07:36 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:36 + echo total: 0.2199999988079071 [Pipeline] stash 01:07:36 Stashed 1 file(s) [Pipeline] } 01:07:37 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:37 $ docker stop --time=1 ad73d8c882108b05a01ae919ffea7fa81f745aec31300aaddf78369f896406fe 01:07:38 $ docker rm -f ad73d8c882108b05a01ae919ffea7fa81f745aec31300aaddf78369f896406fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6625 in /w/workspace/edgexfoundry_device-gpio_PR-58 [Pipeline] { [Pipeline] ws 01:08:15 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:08:15 The recommended git tool is: git 01:08:21 using credential edgex-jenkins-ssh 01:08:21 Cloning the remote Git repository 01:08:21 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:08:21 > git init /w/workspace/device-gpio/1 # timeout=10 01:08:22 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:08:22 > git --version # timeout=10 01:08:22 > git --version # 'git version 2.25.1' 01:08:22 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:22 Verifying host key using known hosts file 01:08:22 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. 01:08:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:24 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:08:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:25 Merging remotes/origin/main commit af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 into PR head commit a62776ea683615eaaafb8ece202a55b03f17b8f7 01:08:25 Merge succeeded, producing a62776ea683615eaaafb8ece202a55b03f17b8f7 01:08:25 Checking out Revision a62776ea683615eaaafb8ece202a55b03f17b8f7 (PR-58) 01:08:25 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:08:25 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:08:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:25 Verifying host key using known hosts file 01:08:25 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. 01:08:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:08:25 > git config core.sparsecheckout # timeout=10 01:08:25 > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # timeout=10 01:08:25 > git remote # timeout=10 01:08:25 > git config --get remote.origin.url # timeout=10 01:08:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:25 Verifying host key using known hosts file 01:08:25 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. 01:08:25 > git merge af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 # timeout=10 01:08:25 > git rev-parse HEAD^{commit} # timeout=10 01:08:25 > git config core.sparsecheckout # timeout=10 01:08:25 > git checkout -f a62776ea683615eaaafb8ece202a55b03f17b8f7 # timeout=10 01:08:26 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 01:08:26 > git --version # timeout=10 01:08:26 > git --version # 'git version 2.25.1' 01:08:26 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:08:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:08:27 Dload Upload Total Spent Left Speed 01:08:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 65295 0 --:--:-- --:--:-- --:--:-- 65295 [Pipeline] sh 01:08:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:08:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:08:28 + sudo tee /etc/docker/daemon.new 01:08:28 { 01:08:28 "registry-mirrors": [ 01:08:28 "https://nexus3.edgexfoundry.org:10001" 01:08:28 ], 01:08:28 "bip": "10.250.0.254/24", 01:08:28 "hosts": [ 01:08:28 "tcp://0.0.0.0:5555", 01:08:28 "unix:///var/run/docker.sock" 01:08:28 ], 01:08:28 "mtu": 1458, 01:08:28 "selinux-enabled": true, 01:08:28 "seccomp-profile": "/etc/docker/seccomp.json" 01:08:28 } [Pipeline] sh 01:08:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:08:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:47 provisioning config files... 01:08:47 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config10183870364632248090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:48 ---> docker-login.sh 01:08:48 nexus3.edgexfoundry.org:10001 01:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:48 Configure a credential helper to remove this warning. See 01:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:48 01:08:48 Login Succeeded 01:08:48 nexus3.edgexfoundry.org:10002 01:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:49 Configure a credential helper to remove this warning. See 01:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:49 01:08:49 Login Succeeded 01:08:49 nexus3.edgexfoundry.org:10003 01:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:49 Configure a credential helper to remove this warning. See 01:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:49 01:08:49 Login Succeeded 01:08:49 nexus3.edgexfoundry.org:10004 01:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:49 Configure a credential helper to remove this warning. See 01:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:49 01:08:49 Login Succeeded 01:08:49 docker.io 01:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:50 Configure a credential helper to remove this warning. See 01:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:50 01:08:50 Login Succeeded 01:08:50 ---> docker-login.sh ends [Pipeline] } 01:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:51 ========================================================= 01:08:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:08:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:08:51 Sending build context to Docker daemon 7.994MB 01:08:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:08:51 Step 2/13 : FROM ${BASE} AS builder 01:08:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:08:52 b3c136eddcbf: Pulling fs layer 01:08:52 c0a3192eca97: Pulling fs layer 01:08:52 a050256f5b6f: Pulling fs layer 01:08:52 656be50a0ddc: Pulling fs layer 01:08:52 2bbca73fdf42: Pulling fs layer 01:08:52 f607e4fc86c3: Pulling fs layer 01:08:52 4d572c569a2c: Pulling fs layer 01:08:52 fcf976331f73: Pulling fs layer 01:08:52 2bbca73fdf42: Waiting 01:08:52 f607e4fc86c3: Waiting 01:08:52 656be50a0ddc: Waiting 01:08:52 4d572c569a2c: Waiting 01:08:52 fcf976331f73: Waiting 01:08:52 a050256f5b6f: Download complete 01:08:52 c0a3192eca97: Download complete 01:08:52 2bbca73fdf42: Download complete 01:08:52 f607e4fc86c3: Verifying Checksum 01:08:52 f607e4fc86c3: Download complete 01:08:52 b3c136eddcbf: Verifying Checksum 01:08:52 b3c136eddcbf: Download complete 01:08:53 fcf976331f73: Verifying Checksum 01:08:53 fcf976331f73: Download complete 01:08:53 b3c136eddcbf: Pull complete 01:08:53 c0a3192eca97: Pull complete 01:08:54 a050256f5b6f: Pull complete 01:08:54 4d572c569a2c: Verifying Checksum 01:08:54 4d572c569a2c: Download complete 01:08:55 656be50a0ddc: Verifying Checksum 01:08:55 656be50a0ddc: Download complete 01:09:07 656be50a0ddc: Pull complete 01:09:07 2bbca73fdf42: Pull complete 01:09:07 f607e4fc86c3: Pull complete 01:09:14 4d572c569a2c: Pull complete 01:09:15 fcf976331f73: Pull complete 01:09:15 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 01:09:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:09:16 ---> 3970a7415f9e 01:09:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:09:18 ---> Running in 9f96978a876c 01:09:18 Removing intermediate container 9f96978a876c 01:09:18 ---> 09ea6692d663 01:09:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:09:18 ---> Running in 94e10bb33c7c 01:09:18 Removing intermediate container 94e10bb33c7c 01:09:18 ---> 5d4cba01d467 01:09:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:09:18 ---> Running in 87ff4cb7dd84 01:09:19 Removing intermediate container 87ff4cb7dd84 01:09:19 ---> 6c8421fa5afe 01:09:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:09:19 ---> Running in 99fc251322de 01:09:19 Removing intermediate container 99fc251322de 01:09:19 ---> 2e127d228380 01:09:19 Step 7/13 : WORKDIR /device-gpio 01:09:19 ---> Running in 517c39f42c8b 01:09:20 Removing intermediate container 517c39f42c8b 01:09:20 ---> 45f43f5524bf 01:09:20 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:20 ---> Running in 6f15ada55550 01:09:22 Removing intermediate container 6f15ada55550 01:09:22 ---> 3a67687f3b45 01:09:22 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:22 ---> Running in 944eadb0b272 01:09:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:09:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:09:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:09:25 (2/4) Installing libedit (20210910.3.1-r0) 01:09:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:09:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:09:25 Executing busybox-1.35.0-r13.trigger 01:09:25 OK: 226 MiB in 55 packages 01:09:27 Removing intermediate container 944eadb0b272 01:09:27 ---> f2b8d8f6da16 01:09:27 Step 10/13 : COPY go.mod vendor* ./ 01:09:27 ---> bd69e2b93323 01:09:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:27 ---> Running in 3fdf053249da 01:10:23 Removing intermediate container 3fdf053249da 01:10:23 ---> 063207468900 01:10:23 Step 12/13 : COPY . . 01:10:23 ---> e666265a7012 01:10:23 Step 13/13 : RUN ${MAKE} 01:10:23 ---> Running in 63a3b280fd0f 01:10:23 noop 01:10:23 Removing intermediate container 63a3b280fd0f 01:10:23 ---> 2f8e89a74914 01:10:23 Successfully built 2f8e89a74914 01:10:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:24 + docker inspect -f . ci-base-image-arm64 01:10:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:24 prd-ubuntu20.04-docker-arm64-4c-16g-6625 does not seem to be running inside a container 01:10:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:26 $ docker top 45683952db01a89f83c03747361e834dc1cabd4dc2a1d0c163f0516fce388435 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:27 + go version 01:10:27 go version go1.18.3 linux/arm64 [Pipeline] } 01:10:27 $ docker stop --time=1 45683952db01a89f83c03747361e834dc1cabd4dc2a1d0c163f0516fce388435 01:10:28 $ docker rm -f 45683952db01a89f83c03747361e834dc1cabd4dc2a1d0c163f0516fce388435 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:29 + docker inspect -f . ci-base-image-arm64 01:10:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:29 prd-ubuntu20.04-docker-arm64-4c-16g-6625 does not seem to be running inside a container 01:10:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:31 $ docker top aa9bd665eabb3d7d612d637a41f02b5749d9ab5531cf81382f2280d87077cc5a -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:32 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:10:32 + make test 01:10:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:10:34 ? github.com/edgexfoundry/device-gpio [no test files] 01:12:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:12:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:12:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:12:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:25 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:25 $ docker stop --time=1 aa9bd665eabb3d7d612d637a41f02b5749d9ab5531cf81382f2280d87077cc5a 01:12:27 $ docker rm -f aa9bd665eabb3d7d612d637a41f02b5749d9ab5531cf81382f2280d87077cc5a [Pipeline] // withDockerContainer [Pipeline] sh 01:12:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:29 Warning: overwriting stash ‘coverage-report’ 01:12:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:30 + ls -al . 01:12:30 total 160 01:12:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:10 . 01:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:08 .. 01:12:30 -rw-rw-r-- 1 jenkins jenkins 120 Oct 3 01:08 .dockerignore 01:12:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:08 .git 01:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:08 .github 01:12:30 -rw-rw-r-- 1 jenkins jenkins 343 Oct 3 01:08 .gitignore 01:12:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:08 .golangci.yml 01:12:30 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 3 01:08 Attribution.txt 01:12:30 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 3 01:08 CHANGELOG.md 01:12:30 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 3 01:08 Dockerfile 01:12:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:08 GOVERNANCE.md 01:12:30 -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:08 Jenkinsfile 01:12:30 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:08 LICENSE 01:12:30 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 3 01:08 Makefile 01:12:30 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 01:08 OWNERS.md 01:12:30 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 3 01:08 README.md 01:12:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:05 VERSION 01:12:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:08 bin 01:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:08 cmd 01:12:30 -rw-r--r-- 1 jenkins jenkins 10 Oct 3 01:10 coverage.out 01:12:30 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 3 01:08 go.mod 01:12:30 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 3 01:08 go.sum 01:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:08 internal 01:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:08 snap 01:12:30 -rw-rw-r-- 1 jenkins jenkins 209 Oct 3 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:30 + 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=a62776ea683615eaaafb8ece202a55b03f17b8f7 --label arch=arm64 --label version=0.0.0 . 01:12:31 Sending build context to Docker daemon 7.995MB 01:12:31 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:12:31 Step 2/27 : FROM ${BASE} AS builder 01:12:31 ---> 2f8e89a74914 01:12:31 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:12:31 ---> Running in 6653ed9b0cb7 01:12:31 Removing intermediate container 6653ed9b0cb7 01:12:31 ---> 5d31c78ae44e 01:12:31 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:31 ---> Running in 0152b367d74b 01:12:32 Removing intermediate container 0152b367d74b 01:12:32 ---> 2a6ac9800a2a 01:12:32 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:12:32 ---> Running in 96059f2ddc3e 01:12:32 Removing intermediate container 96059f2ddc3e 01:12:32 ---> 4d4709c4079d 01:12:32 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:12:32 ---> Running in c81b6617154e 01:12:33 Removing intermediate container c81b6617154e 01:12:33 ---> bc317c592e73 01:12:33 Step 7/27 : WORKDIR /device-gpio 01:12:33 ---> Running in 042cd197e36d 01:12:33 Removing intermediate container 042cd197e36d 01:12:33 ---> 527e3f5df396 01:12:33 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:12:33 ---> Running in b8e48afdf06c 01:12:35 Removing intermediate container b8e48afdf06c 01:12:35 ---> 0f6d3d177014 01:12:35 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:35 ---> Running in 890504c1062c 01:12:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:12:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:12:38 OK: 226 MiB in 55 packages 01:12:40 Removing intermediate container 890504c1062c 01:12:40 ---> 79b064c070fa 01:12:40 Step 10/27 : COPY go.mod vendor* ./ 01:12:40 ---> 2878800f1426 01:12:40 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:40 ---> Running in baffa4ba2474 01:12:42 Removing intermediate container baffa4ba2474 01:12:42 ---> a1ec6e442ac3 01:12:42 Step 12/27 : COPY . . 01:12:43 ---> c8b9cf7e69ae 01:12:43 Step 13/27 : RUN ${MAKE} 01:12:43 ---> Running in 864402ded5bd 01:12:44 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 01:15:36 Removing intermediate container 864402ded5bd 01:15:36 ---> 3ad78c060970 01:15:36 Step 14/27 : FROM alpine:3.16 01:15:36 3.16: Pulling from library/alpine 01:15:36 9b18e9b68314: Pulling fs layer 01:15:36 9b18e9b68314: Verifying Checksum 01:15:36 9b18e9b68314: Download complete 01:15:36 9b18e9b68314: Pull complete 01:15:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:15:36 Status: Downloaded newer image for alpine:3.16 01:15:36 ---> a6215f271958 01:15:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:15:36 ---> Running in 8ad4bd2135bb 01:15:36 Removing intermediate container 8ad4bd2135bb 01:15:36 ---> 5ec665960946 01:15:36 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:36 ---> Running in 3294f2769862 01:15:36 Removing intermediate container 3294f2769862 01:15:36 ---> 38553b0cb879 01:15:36 Step 17/27 : RUN apk add --update --no-cache zeromq 01:15:36 ---> Running in f9a752092e68 01:15:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:15:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:15:37 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:15:37 (2/5) Installing libsodium (1.0.18-r0) 01:15:37 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:15:38 (4/5) Installing libzmq (4.3.4-r0) 01:15:38 (5/5) Installing zeromq (4.3.4-r0) 01:15:38 Executing busybox-1.35.0-r17.trigger 01:15:38 OK: 8 MiB in 19 packages 01:15:39 Removing intermediate container f9a752092e68 01:15:39 ---> 411e1154c0f6 01:15:39 Step 18/27 : WORKDIR / 01:15:39 ---> Running in c4d239ac0bb6 01:15:39 Removing intermediate container c4d239ac0bb6 01:15:39 ---> 62046365dc52 01:15:39 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 01:15:40 ---> 157afba13843 01:15:40 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 01:15:40 ---> fbeeb3c5ce18 01:15:40 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 01:15:41 ---> 594f10a4464c 01:15:41 Step 22/27 : EXPOSE 59910 01:15:42 ---> Running in 43216d080cf0 01:15:42 Removing intermediate container 43216d080cf0 01:15:42 ---> 42384364eba2 01:15:42 Step 23/27 : ENTRYPOINT ["/device-gpio"] 01:15:42 ---> Running in f5184f0caeca 01:15:42 Removing intermediate container f5184f0caeca 01:15:42 ---> 2e469c47ba9f 01:15:42 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:15:42 ---> Running in 1924d1ffbdaf 01:15:42 Removing intermediate container 1924d1ffbdaf 01:15:42 ---> 05982201400d 01:15:42 Step 25/27 : LABEL arch=arm64 01:15:43 ---> Running in 3a18242da1e8 01:15:43 Removing intermediate container 3a18242da1e8 01:15:43 ---> 257dda3b88c8 01:15:43 Step 26/27 : LABEL git_sha=a62776ea683615eaaafb8ece202a55b03f17b8f7 01:15:43 ---> Running in 4ad159b730ad 01:15:43 Removing intermediate container 4ad159b730ad 01:15:43 ---> 778f01007d41 01:15:43 Step 27/27 : LABEL version=0.0.0 01:15:43 ---> Running in f3143198b676 01:15:44 Removing intermediate container f3143198b676 01:15:44 ---> ca1cc23a047f 01:15:44 [Warning] One or more build-args [ARCH] were not consumed 01:15:44 Successfully built ca1cc23a047f 01:15:44 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:44 01:15:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:45 arm64: Pulling from edgex-lftools-log-publisher 01:15:45 8998bd30e6a1: Pulling fs layer 01:15:45 04944245beec: Pulling fs layer 01:15:45 699f458cf7ca: Pulling fs layer 01:15:45 765212b225bb: Pulling fs layer 01:15:45 f23df028b6ca: Pulling fs layer 01:15:45 d65c8cfc05b1: Pulling fs layer 01:15:45 2437ff75d9bd: Pulling fs layer 01:15:45 765212b225bb: Waiting 01:15:45 f23df028b6ca: Waiting 01:15:45 d65c8cfc05b1: Waiting 01:15:45 04944245beec: Verifying Checksum 01:15:45 04944245beec: Download complete 01:15:45 765212b225bb: Verifying Checksum 01:15:45 765212b225bb: Download complete 01:15:45 f23df028b6ca: Verifying Checksum 01:15:45 f23df028b6ca: Download complete 01:15:45 d65c8cfc05b1: Verifying Checksum 01:15:45 d65c8cfc05b1: Download complete 01:15:46 699f458cf7ca: Verifying Checksum 01:15:46 699f458cf7ca: Download complete 01:15:46 8998bd30e6a1: Verifying Checksum 01:15:46 8998bd30e6a1: Download complete 01:15:48 2437ff75d9bd: Verifying Checksum 01:15:48 2437ff75d9bd: Download complete 01:15:50 8998bd30e6a1: Pull complete 01:15:51 04944245beec: Pull complete 01:15:52 699f458cf7ca: Pull complete 01:15:52 765212b225bb: Pull complete 01:15:53 f23df028b6ca: Pull complete 01:15:53 d65c8cfc05b1: Pull complete 01:16:08 2437ff75d9bd: Pull complete 01:16:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:08 prd-ubuntu20.04-docker-arm64-4c-16g-6625 does not seem to be running inside a container 01:16:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:16:11 $ docker top b16767bb4be247c2fa89c4989d1f1d426fa4e328eb0f1f0400922be94fa018d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:12 ---> job-cost.sh 01:16:12 lf-activate-venv: SKIPPING 01:16:12 INFO: No Stack... 01:16:12 INFO: Retrieving Pricing Info for: v3-standard-4 01:16:13 INFO: Archiving Costs [Pipeline] sh 01:16:13 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:16:13 + cut -d, -f6 [Pipeline] lock 01:16:14 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] 01:16:14 Resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] did not exist. Created. 01:16:14 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:14 /w/workspace/device-gpio/1@tmp/durable-a9ae8d08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:16:15 + echo total: 0.10999999940395355 [Pipeline] stash 01:16:15 Warning: overwriting stash ‘stack-cost’ 01:16:15 Stashed 1 file(s) [Pipeline] } 01:16:15 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:15 $ docker stop --time=1 b16767bb4be247c2fa89c4989d1f1d426fa4e328eb0f1f0400922be94fa018d5 01:16:16 $ docker rm -f b16767bb4be247c2fa89c4989d1f1d426fa4e328eb0f1f0400922be94fa018d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:16:17 provisioning config files... 01:16:17 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config9500518044022190683tmp [Pipeline] { [Pipeline] sh 01:16:18 + set +x 01:16:18 + curl -s https://codecov.io/bash 01:16:18 + bash -s -- 01:16:18 01:16:18 _____ _ 01:16:18 / ____| | | 01:16:18 | | ___ __| | ___ ___ _____ __ 01:16:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:18 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:18 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:18 Bash-1.0.6 01:16:18 01:16:18 01:16:18 ==> git version 2.25.1 found 01:16:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:16:18 Release-Date: 2020-01-08 01:16:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:16:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:18 ==> Jenkins CI detected. 01:16:18 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-58 01:16:18 project root: . 01:16:18 --> token set from env 01:16:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:18 ==> Running gcov in . (disable via -X gcov) 01:16:18 ==> Python coveragepy not found 01:16:18 ==> Searching for coverage reports in: 01:16:18 + . 01:16:18 -> Found 1 reports 01:16:18 ==> Detecting git/mercurial file structure 01:16:18 ==> Reading reports 01:16:18 + ./coverage.out bytes=10 01:16:18 ==> Appending adjustments 01:16:18 https://docs.codecov.io/docs/fixing-reports 01:16:18 + Found adjustments 01:16:18 ==> Gzipping contents 01:16:18 4.0K /tmp/codecov.PLqggv.gz 01:16:18 ==> Uploading reports 01:16:18 url: https://codecov.io 01:16:18 query: branch=PR-58&commit=a62776ea683615eaaafb8ece202a55b03f17b8f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=58&job=&cmd_args= 01:16:18 -> Pinging Codecov 01:16:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-58&commit=a62776ea683615eaaafb8ece202a55b03f17b8f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=58&job=&cmd_args= 01:16:18 -> Uploading to 01:16:18 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/3EC07B1A8CA8AF9BCAA0BB9F0134797F/a62776ea683615eaaafb8ece202a55b03f17b8f7/09b8de4a-2a31-4894-a8e5-a93377cf0a1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T011618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7565d99eefc9956e055d49ae7cdb415ffac30e5ec1172b9ddb11e317adbcc2c8 01:16:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:18 Dload Upload Total Spent Left Speed 01:16:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3281 --:--:-- --:--:-- --:--:-- 3281 01:16:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/a62776ea683615eaaafb8ece202a55b03f17b8f7 [Pipeline] } 01:16:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:16:20 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-58/archives ] 01:16:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-58/archives 01:16:20 total 16 01:16:20 drwxr-xr-x 3 root root 4096 Oct 3 01:07 . 01:16:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:07 .. 01:16:20 drwxr-xr-x 2 root root 4096 Oct 3 01:07 cost 01:16:20 -rw-r--r-- 1 root root 82 Oct 3 01:07 cost.csv 01:16:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-58/archives 01:16:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-58/archives 01:16:20 total 16 01:16:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:07 . 01:16:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:07 .. 01:16:20 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:07 cost 01:16:20 -rw-r--r-- 1 jenkins jenkins 82 Oct 3 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:16:21 ---> package-listing.sh 01:16:21 ++ facter osfamily 01:16:21 ++ tr '[:upper:]' '[:lower:]' 01:16:22 + OS_FAMILY=debian 01:16:22 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-58 01:16:22 + START_PACKAGES=/tmp/packages_start.txt 01:16:22 + END_PACKAGES=/tmp/packages_end.txt 01:16:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:16:22 + PACKAGES=/tmp/packages_start.txt 01:16:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-58 ']' 01:16:22 + PACKAGES=/tmp/packages_end.txt 01:16:22 + case "${OS_FAMILY}" in 01:16:22 + dpkg -l 01:16:22 + grep '^ii' 01:16:22 + '[' -f /tmp/packages_start.txt ']' 01:16:22 + '[' -f /tmp/packages_end.txt ']' 01:16:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:16:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-58 ']' 01:16:22 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-58/archives/ 01:16:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-58/archives/ [Pipeline] echo 01:16:22 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-58/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:16:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:23 prd-ubuntu20.04-docker-8c-8g-6622 does not seem to be running inside a container 01:16:23 $ 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-58/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-58 -v /w/workspace/edgexfoundry_device-gpio_PR-58:/w/workspace/edgexfoundry_device-gpio_PR-58:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-58@tmp:/w/workspace/edgexfoundry_device-gpio_PR-58@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:16:23 $ docker top 424180e12d0d60290d678f51365c302255cf1b379cdaa858401b06bd15ab8e56 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:23 + touch /tmp/pre-build-complete [Pipeline] sh 01:16:24 + mkdir -p /var/log/sysstat [Pipeline] sh 01:16:24 + ls /var/log/sa-host 01:16:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:24 provisioning config files... 01:16:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-58@tmp/config757938373350219139tmp [Pipeline] { [Pipeline] echo 01:16:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:16:25 ---> create-netrc.sh [Pipeline] } 01:16:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:16:25 ---> python-tools-install.sh [Pipeline] echo 01:16:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:16:25 ---> sudo-logs.sh 01:16:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:16:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:16:26 ---> job-cost.sh 01:16:26 lf-activate-venv: SKIPPING 01:16:26 DEBUG: total: 0.2199999988079071 01:16:26 INFO: Retrieving Stack Cost... 01:16:26 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:27 INFO: Archiving Costs [Pipeline] echo 01:16:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:16:27 ---> logs-deploy.sh 01:16:27 lf-activate-venv: SKIPPING 01:16:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-58/1 01:16:27 INFO: archiving workspace using pattern(s): 01:16:28 Archives upload complete. 01:16:28 INFO: archiving logs to Nexus