Pull request #63 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32544b034dda28de1bd73d1ec14b808edd03342d+89403c3d66cf45a4c65845d7eb210f5c9736c687 (36f10ea1066f14cdf78e8fcbc38ee9867041e11f) 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-ssh14234615349321370475.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh466443705374541057.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-63/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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16108503713501662471.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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4281594031857876133.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8961735903100502846.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-63/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-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7946654025499417322.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8914’ Running on prd-ubuntu20.04-docker-8c-8g-8920 in /w/workspace/edgexfoundry_device-gpio_PR-63 [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-63 # 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 89403c3d66cf45a4c65845d7eb210f5c9736c687 into PR head commit 32544b034dda28de1bd73d1ec14b808edd03342d Merge succeeded, producing 32544b034dda28de1bd73d1ec14b808edd03342d Checking out Revision 32544b034dda28de1bd73d1ec14b808edd03342d (PR-63) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # 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 89403c3d66cf45a4c65845d7eb210f5c9736c687 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # timeout=10 [Pipeline] timeout 01:11:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:11:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:11:21 ========================================================= 01:11:21 EdgeX Global Pipelines Version Info 01:11:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:11:22 ------------------- 01:11:22 stable info: 01:11:22 ------------------- 01:11:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:11:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:11:22 Message: update stable to v1.0.243 01:11:22 ------------------- 01:11:22 experimental info: 01:11:22 ------------------- 01:11:22 Commited By: **** collab-it+edgex@linuxfoundation.org 01:11:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:11:22 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:11:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:11:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:11:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:11:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo 01:11:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo 01:11:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo 01:11:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo 01:11:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32544b0 [Pipeline] echo 01:11:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:24 provisioning config files... 01:11:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config1929142105324949692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:24 ---> docker-login.sh 01:11:24 nexus3.edgexfoundry.org:10001 01:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:25 Configure a credential helper to remove this warning. See 01:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:25 01:11:25 Login Succeeded 01:11:25 nexus3.edgexfoundry.org:10002 01:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:25 Configure a credential helper to remove this warning. See 01:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:25 01:11:25 Login Succeeded 01:11:25 nexus3.edgexfoundry.org:10003 01:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:25 Configure a credential helper to remove this warning. See 01:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:25 01:11:25 Login Succeeded 01:11:25 nexus3.edgexfoundry.org:10004 01:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:25 Configure a credential helper to remove this warning. See 01:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:25 01:11:25 Login Succeeded 01:11:25 docker.io 01:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:25 Configure a credential helper to remove this warning. See 01:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:25 01:11:25 Login Succeeded 01:11:25 ---> docker-login.sh ends [Pipeline] } 01:11:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:11:26 + git rev-list -1 --merges 32544b034dda28de1bd73d1ec14b808edd03342d~1..32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo 01:11:26 -----------> git rev-list -1 --merges 32544b034dda28de1bd73d1ec14b808edd03342d~1..32544b034dda28de1bd73d1ec14b808edd03342d 32544b034dda28de1bd73d1ec14b808edd03342d [false] [Pipeline] sh 01:11:26 + git log --format=format:%s -1 32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo 01:11:26 ========================================================= 01:11:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:11:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:11:27 + git log --format=format:%s -1 32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] echo 01:11:27 [semverPrep] GIT_COMMIT: 32544b034dda28de1bd73d1ec14b808edd03342d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:11:27 [semverPrep] This is not a build commit. [Pipeline] sh 01:11:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:11:27 + grep -v github /etc/ssh/ssh_known_hosts 01:11:27 + [ -e /tmp/ssh_known_hosts ] 01:11:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:11:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:11:27 + sudo tee -a /etc/ssh/ssh_known_hosts 01:11:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:11:28 01:11: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:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:11:28 0.1.4: Pulling from edgex-devops/py-git-semver 01:11:28 b85a868b505f: Pulling fs layer 01:11:28 e2be974225ed: Pulling fs layer 01:11:28 339a4e72a1f5: Pulling fs layer 01:11:28 988bab9f4d93: Pulling fs layer 01:11:28 1469e6f7b9e6: Pulling fs layer 01:11:28 eaf3925da568: Pulling fs layer 01:11:28 bab4dde63d76: Pulling fs layer 01:11:28 bde34c3a00c8: Pulling fs layer 01:11:28 b352a97aabf1: Pulling fs layer 01:11:28 4872d77fe225: Pulling fs layer 01:11:28 5851b861e8e6: Pulling fs layer 01:11:28 bab4dde63d76: Waiting 01:11:28 bde34c3a00c8: Waiting 01:11:28 b352a97aabf1: Waiting 01:11:28 4872d77fe225: Waiting 01:11:28 5851b861e8e6: Waiting 01:11:28 988bab9f4d93: Waiting 01:11:28 1469e6f7b9e6: Waiting 01:11:28 eaf3925da568: Waiting 01:11:28 e2be974225ed: Download complete 01:11:28 988bab9f4d93: Verifying Checksum 01:11:28 988bab9f4d93: Download complete 01:11:28 1469e6f7b9e6: Verifying Checksum 01:11:28 1469e6f7b9e6: Download complete 01:11:28 eaf3925da568: Verifying Checksum 01:11:28 eaf3925da568: Download complete 01:11:28 339a4e72a1f5: Verifying Checksum 01:11:28 bde34c3a00c8: Download complete 01:11:28 b352a97aabf1: Verifying Checksum 01:11:28 b352a97aabf1: Download complete 01:11:28 4872d77fe225: Download complete 01:11:28 5851b861e8e6: Download complete 01:11:28 b85a868b505f: Download complete 01:11:29 bab4dde63d76: Verifying Checksum 01:11:29 bab4dde63d76: Download complete 01:11:30 b85a868b505f: Pull complete 01:11:30 e2be974225ed: Pull complete 01:11:30 339a4e72a1f5: Pull complete 01:11:30 988bab9f4d93: Pull complete 01:11:31 1469e6f7b9e6: Pull complete 01:11:31 eaf3925da568: Pull complete 01:11:33 bab4dde63d76: Pull complete 01:11:33 bde34c3a00c8: Pull complete 01:11:33 b352a97aabf1: Pull complete 01:11:33 4872d77fe225: Pull complete 01:11:33 5851b861e8e6: Pull complete 01:11:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:11:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:33 prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container 01:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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:11:34 $ docker top dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae -eo pid,comm 01:11:34 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:11:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:11:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:11:34 [ssh-agent] Looking for ssh-agent implementation... 01:11:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:11:35 $ docker exec dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent 01:11:35 SSH_AUTH_SOCK=/tmp/ssh-vUnRFwZ5icm1/agent.32 01:11:35 SSH_AGENT_PID=38 01:11:35 Running ssh-add (command line suppressed) 01:11:35 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_4213578101771286417.key (/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_4213578101771286417.key) 01:11:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:11:35 + git tag --points-at HEAD [Pipeline] } 01:11:35 $ docker exec --env ******** --env ******** dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent -k 01:11:35 unset SSH_AUTH_SOCK; 01:11:35 unset SSH_AGENT_PID; 01:11:35 echo Agent pid 38 killed; 01:11:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:11:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:11:35 [ssh-agent] Looking for ssh-agent implementation... 01:11:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:11:35 $ docker exec dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent 01:11:36 SSH_AUTH_SOCK=/tmp/ssh-SBiKQXGE6aCt/agent.70 01:11:36 SSH_AGENT_PID=76 01:11:36 Running ssh-add (command line suppressed) 01:11:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_8804451398681773272.key (/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/private_key_8804451398681773272.key) 01:11:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:11:36 + git semver init 01:11:36 2022-10-24 01:11:36,703 [run_init] DEBUG init version:0.0.0 force:False 01:11:36 2022-10-24 01:11:36,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-63/.semver 01:11:36 2022-10-24 01:11:36,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-63/.semver 01:11:36 2022-10-24 01:11:36,705 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-63/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-63, universal_newlines=False, shell=None, istream=None) 01:11:37 2022-10-24 01:11:37,685 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-63/.git/info/exclude 01:11:37 2022-10-24 01:11:37,685 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-63/.semver/PR-63 with force:False 01:11:37 2022-10-24 01:11:37,685 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-63/.semver/PR-63 01:11:37 2022-10-24 01:11:37,690 [execute] INFO git cat-file --batch-check 01:11:37 2022-10-24 01:11:37,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-63/.semver, universal_newlines=False, shell=None, istream=) 01:11:37 2022-10-24 01:11:37,695 [execute] INFO git cat-file --batch 01:11:37 2022-10-24 01:11:37,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-63/.semver, universal_newlines=False, shell=None, istream=) 01:11:37 2022-10-24 01:11:37,701 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-63/.semver/PR-63 01:11:37 0.0.0 [Pipeline] } 01:11:37 $ docker exec --env ******** --env ******** dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae ssh-agent -k 01:11:37 unset SSH_AUTH_SOCK; 01:11:37 unset SSH_AGENT_PID; 01:11:37 echo Agent pid 76 killed; 01:11:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:11:38 + git semver [Pipeline] } 01:11:38 $ docker stop --time=1 dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae 01:11:39 $ docker rm -f dc595a35afd361728a9d3617368f76c1435e4dd6f608522294bda9cc23d441ae [Pipeline] // withDockerContainer [Pipeline] sh 01:11:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:11:40 Stashed 1 file(s) [Pipeline] echo 01:11:40 [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:11:41 provisioning config files... 01:11:41 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config5399722438510004668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:41 ---> docker-login.sh 01:11:41 nexus3.edgexfoundry.org:10001 01:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:41 Configure a credential helper to remove this warning. See 01:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:41 01:11:41 Login Succeeded 01:11:41 nexus3.edgexfoundry.org:10002 01:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:41 Configure a credential helper to remove this warning. See 01:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:41 01:11:41 Login Succeeded 01:11:41 nexus3.edgexfoundry.org:10003 01:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:41 Configure a credential helper to remove this warning. See 01:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:41 01:11:41 Login Succeeded 01:11:41 nexus3.edgexfoundry.org:10004 01:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:41 Configure a credential helper to remove this warning. See 01:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:41 01:11:41 Login Succeeded 01:11:41 docker.io 01:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:42 Configure a credential helper to remove this warning. See 01:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:42 01:11:42 Login Succeeded 01:11:42 ---> docker-login.sh ends [Pipeline] } 01:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:42 ========================================================= 01:11:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:11:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:43 + 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:11:43 Sending build context to Docker daemon 15.88MB 01:11:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:11:43 Step 2/13 : FROM ${BASE} AS builder 01:11:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:11:43 213ec9aee27d: Pulling fs layer 01:11:43 4583459ba037: Pulling fs layer 01:11:43 93c1e223e6f2: Pulling fs layer 01:11:43 53926ce57604: Pulling fs layer 01:11:43 21b2b0c7a3f4: Pulling fs layer 01:11:43 30f14e443154: Pulling fs layer 01:11:43 801331c1e519: Pulling fs layer 01:11:43 99cc6dd402b0: Pulling fs layer 01:11:43 7d9ed39f4882: Pulling fs layer 01:11:43 53926ce57604: Waiting 01:11:43 21b2b0c7a3f4: Waiting 01:11:43 30f14e443154: Waiting 01:11:43 801331c1e519: Waiting 01:11:43 99cc6dd402b0: Waiting 01:11:43 7d9ed39f4882: Waiting 01:11:43 93c1e223e6f2: Verifying Checksum 01:11:43 93c1e223e6f2: Download complete 01:11:43 4583459ba037: Download complete 01:11:43 21b2b0c7a3f4: Verifying Checksum 01:11:43 21b2b0c7a3f4: Download complete 01:11:43 30f14e443154: Verifying Checksum 01:11:43 30f14e443154: Download complete 01:11:43 213ec9aee27d: Verifying Checksum 01:11:43 213ec9aee27d: Download complete 01:11:43 801331c1e519: Verifying Checksum 01:11:43 801331c1e519: Download complete 01:11:43 213ec9aee27d: Pull complete 01:11:43 4583459ba037: Pull complete 01:11:43 93c1e223e6f2: Pull complete 01:11:43 7d9ed39f4882: Verifying Checksum 01:11:43 7d9ed39f4882: Download complete 01:11:43 99cc6dd402b0: Verifying Checksum 01:11:43 99cc6dd402b0: Download complete 01:11:44 53926ce57604: Verifying Checksum 01:11:44 53926ce57604: Download complete 01:11:47 53926ce57604: Pull complete 01:11:47 21b2b0c7a3f4: Pull complete 01:11:47 30f14e443154: Pull complete 01:11:47 801331c1e519: Pull complete 01:11:49 99cc6dd402b0: Pull complete 01:11:50 7d9ed39f4882: Pull complete 01:11:50 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:11:50 ---> 1dedd983c030 01:11:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:11:51 ---> Running in 5a75197a0d11 01:11:51 Removing intermediate container 5a75197a0d11 01:11:51 ---> 5c20cea993f9 01:11:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:11:51 ---> Running in 54bf1e2cb792 01:11:52 Removing intermediate container 54bf1e2cb792 01:11:52 ---> 8fed1dd0cead 01:11:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:11:52 ---> Running in 96e2a892160b 01:11:52 Removing intermediate container 96e2a892160b 01:11:52 ---> 1509dc96c501 01:11:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:11:52 ---> Running in 8dbe2d4c6836 01:11:52 Removing intermediate container 8dbe2d4c6836 01:11:52 ---> dd6e03452d0f 01:11:52 Step 7/13 : WORKDIR /device-gpio 01:11:52 ---> Running in 98cd4936338b 01:11:52 Removing intermediate container 98cd4936338b 01:11:52 ---> b2980f95877d 01:11:52 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:11:52 ---> Running in f43923eb3a67 01:11:53 Removing intermediate container f43923eb3a67 01:11:53 ---> 2a389a4e2531 01:11:53 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:11:53 ---> Running in f856d23f9bd9 01:11:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:11:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:11:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:11:54 (2/4) Installing libedit (20210910.3.1-r0) 01:11:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:11:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:11:55 Executing busybox-1.35.0-r17.trigger 01:11:55 OK: 216 MiB in 55 packages 01:11:55 Removing intermediate container f856d23f9bd9 01:11:55 ---> 4574e1b56c94 01:11:55 Step 10/13 : COPY go.mod vendor* ./ 01:11:55 ---> 9ae04d944d71 01:11:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:11:55 ---> Running in dea818cc3655 01:11:55 Still waiting to schedule task 01:11:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8918’ 01:12:17 Removing intermediate container dea818cc3655 01:12:17 ---> 85f3a0982514 01:12:17 Step 12/13 : COPY . . 01:12:17 ---> 844243822ccd 01:12:17 Step 13/13 : RUN ${MAKE} 01:12:17 ---> Running in 91e747e53bc6 01:12:17 noop 01:12:17 Removing intermediate container 91e747e53bc6 01:12:17 ---> 97d4b28c22c4 01:12:17 Successfully built 97d4b28c22c4 01:12:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:18 + docker inspect -f . ci-base-image-x86_64 01:12:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:18 prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container 01:12:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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:12:18 $ docker top 4a8335694eb1cbad8c48e35132561e37d302326b3ff7bca7a6df648be82e70e2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:18 + go version 01:12:18 go version go1.18.7 linux/amd64 [Pipeline] } 01:12:19 $ docker stop --time=1 4a8335694eb1cbad8c48e35132561e37d302326b3ff7bca7a6df648be82e70e2 01:12:20 $ docker rm -f 4a8335694eb1cbad8c48e35132561e37d302326b3ff7bca7a6df648be82e70e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:20 + docker inspect -f . ci-base-image-x86_64 01:12:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:21 prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container 01:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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:12:21 $ docker top 857a6f2a8785ad46f69959804ff7db380f458a237e29a624e4d7b6ae7b4c6998 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-63 [Pipeline] fileExists [Pipeline] sh 01:12:22 + make test 01:12:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:12:22 ? github.com/edgexfoundry/device-gpio [no test files] 01:12:30 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:12:30 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:12:37 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:12:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:12:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:39 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:40 $ docker stop --time=1 857a6f2a8785ad46f69959804ff7db380f458a237e29a624e4d7b6ae7b4c6998 01:12:41 $ docker rm -f 857a6f2a8785ad46f69959804ff7db380f458a237e29a624e4d7b6ae7b4c6998 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:43 + ls -al . 01:12:43 total 164 01:12:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:12 . 01:12:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:11 .. 01:12:43 -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 01:11 .dockerignore 01:12:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:12 .git 01:12:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:11 .github 01:12:43 -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 01:11 .gitignore 01:12:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:11 .golangci.yml 01:12:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:11 .semver 01:12:43 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 24 01:11 Attribution.txt 01:12:43 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 24 01:11 CHANGELOG.md 01:12:43 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 24 01:11 Dockerfile 01:12:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:11 GOVERNANCE.md 01:12:43 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 01:11 Jenkinsfile 01:12:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:11 LICENSE 01:12:43 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 24 01:11 Makefile 01:12:43 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 01:11 OWNERS.md 01:12:43 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 24 01:11 README.md 01:12:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:11 VERSION 01:12:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:11 bin 01:12:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:11 cmd 01:12:43 -rw-r--r-- 1 jenkins jenkins 10 Oct 24 01:12 coverage.out 01:12:43 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 24 01:11 go.mod 01:12:43 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 24 01:11 go.sum 01:12:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:11 internal 01:12:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:11 snap 01:12:43 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:43 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=32544b034dda28de1bd73d1ec14b808edd03342d --label arch=amd64 --label version=0.0.0 . 01:12:43 Sending build context to Docker daemon 15.88MB 01:12:43 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:12:43 Step 2/27 : FROM ${BASE} AS builder 01:12:43 ---> 97d4b28c22c4 01:12:43 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:12:43 ---> Running in f9e937fbe95e 01:12:43 Removing intermediate container f9e937fbe95e 01:12:43 ---> d4d36d4a7a9f 01:12:43 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:43 ---> Running in bfe94b53488d 01:12:43 Removing intermediate container bfe94b53488d 01:12:43 ---> 36902bb222c3 01:12:43 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:12:44 ---> Running in a8738b297b9a 01:12:44 Removing intermediate container a8738b297b9a 01:12:44 ---> d408b91d312f 01:12:44 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:12:44 ---> Running in 8837d8a43860 01:12:44 Removing intermediate container 8837d8a43860 01:12:44 ---> 18b7c11bda27 01:12:44 Step 7/27 : WORKDIR /device-gpio 01:12:44 ---> Running in 93e4b2ccf961 01:12:44 Removing intermediate container 93e4b2ccf961 01:12:44 ---> ada71c8a57aa 01:12:44 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:12:44 ---> Running in a795d6b44670 01:12:45 Removing intermediate container a795d6b44670 01:12:45 ---> 8ed809df7039 01:12:45 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:45 ---> Running in 0d84ddbd4444 01:12:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:12:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:12:46 OK: 216 MiB in 55 packages 01:12:46 Removing intermediate container 0d84ddbd4444 01:12:46 ---> 6c5b1e30b2e4 01:12:46 Step 10/27 : COPY go.mod vendor* ./ 01:12:47 ---> 9d49f9bab355 01:12:47 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:47 ---> Running in 4e446defc3f4 01:12:47 Removing intermediate container 4e446defc3f4 01:12:47 ---> 12cf148aca2d 01:12:47 Step 12/27 : COPY . . 01:12:48 ---> e3a088bbebc3 01:12:48 Step 13/27 : RUN ${MAKE} 01:12:48 ---> Running in 7a4bf729e331 01:12:48 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:13:06 Removing intermediate container 7a4bf729e331 01:13:06 ---> cf5bf3d5506a 01:13:06 Step 14/27 : FROM alpine:3.16 01:13:06 3.16: Pulling from library/alpine 01:13:06 213ec9aee27d: Already exists 01:13:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:13:06 Status: Downloaded newer image for alpine:3.16 01:13:06 ---> 9c6f07244728 01:13:06 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:13:06 ---> Running in e60d2fdbf623 01:13:06 Removing intermediate container e60d2fdbf623 01:13:06 ---> 1386b5c6af59 01:13:06 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:13:06 ---> Running in fc899871b7c7 01:13:07 Removing intermediate container fc899871b7c7 01:13:07 ---> cd48d738ebe3 01:13:07 Step 17/27 : RUN apk add --update --no-cache zeromq 01:13:07 ---> Running in 95f513c669d1 01:13:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:13:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:13:09 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:13:09 (2/5) Installing libsodium (1.0.18-r0) 01:13:09 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:13:09 (4/5) Installing libzmq (4.3.4-r0) 01:13:09 (5/5) Installing zeromq (4.3.4-r0) 01:13:09 Executing busybox-1.35.0-r17.trigger 01:13:09 OK: 8 MiB in 19 packages 01:13:09 Removing intermediate container 95f513c669d1 01:13:09 ---> 893fa370dcfb 01:13:09 Step 18/27 : WORKDIR / 01:13:09 ---> Running in da34e23ecb24 01:13:09 Removing intermediate container da34e23ecb24 01:13:09 ---> 156d72cfb3dd 01:13:09 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 01:13:10 ---> 1f7d775059ae 01:13:10 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 01:13:10 ---> 4c9794194068 01:13:10 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 01:13:10 ---> 588cec0570c7 01:13:10 Step 22/27 : EXPOSE 59910 01:13:10 ---> Running in 8cfa6edfc506 01:13:10 Removing intermediate container 8cfa6edfc506 01:13:10 ---> bf3f7b39ef8b 01:13:10 Step 23/27 : ENTRYPOINT ["/device-gpio"] 01:13:10 ---> Running in 3ec7da267c44 01:13:10 Removing intermediate container 3ec7da267c44 01:13:10 ---> b4aa7f1e53ca 01:13:10 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:13:10 ---> Running in b8005ad245db 01:13:11 Removing intermediate container b8005ad245db 01:13:11 ---> f728091fa6c7 01:13:11 Step 25/27 : LABEL arch=amd64 01:13:11 ---> Running in aa4664d79f1b 01:13:11 Removing intermediate container aa4664d79f1b 01:13:11 ---> 88680a1a5e97 01:13:11 Step 26/27 : LABEL git_sha=32544b034dda28de1bd73d1ec14b808edd03342d 01:13:11 ---> Running in af6dadc2971b 01:13:11 Removing intermediate container af6dadc2971b 01:13:11 ---> 42f2dd787bc2 01:13:11 Step 27/27 : LABEL version=0.0.0 01:13:11 ---> Running in 9fde253b799e 01:13:11 Removing intermediate container 9fde253b799e 01:13:11 ---> 6855771e513a 01:13:11 [Warning] One or more build-args [ARCH] were not consumed 01:13:11 Successfully built 6855771e513a 01:13:11 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:13:12 01:13:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:13:12 latest: Pulling from edgex-lftools-log-publisher 01:13:12 5eb5b503b376: Pulling fs layer 01:13:12 5c69ac0246d0: Pulling fs layer 01:13:12 ec43610c2a17: Pulling fs layer 01:13:12 3a2ae6a8a46f: Pulling fs layer 01:13:12 33b1e0a273af: Pulling fs layer 01:13:12 5d3b04190fa2: Pulling fs layer 01:13:12 2f39f015ded8: Pulling fs layer 01:13:12 3a2ae6a8a46f: Waiting 01:13:12 33b1e0a273af: Waiting 01:13:12 5d3b04190fa2: Waiting 01:13:12 2f39f015ded8: Waiting 01:13:12 5c69ac0246d0: Verifying Checksum 01:13:12 5c69ac0246d0: Download complete 01:13:12 3a2ae6a8a46f: Download complete 01:13:12 33b1e0a273af: Verifying Checksum 01:13:12 33b1e0a273af: Download complete 01:13:12 5d3b04190fa2: Verifying Checksum 01:13:12 5d3b04190fa2: Download complete 01:13:12 ec43610c2a17: Verifying Checksum 01:13:12 ec43610c2a17: Download complete 01:13:12 5eb5b503b376: Verifying Checksum 01:13:12 5eb5b503b376: Download complete 01:13:13 2f39f015ded8: Download complete 01:13:14 5eb5b503b376: Pull complete 01:13:14 5c69ac0246d0: Pull complete 01:13:14 ec43610c2a17: Pull complete 01:13:14 3a2ae6a8a46f: Pull complete 01:13:14 33b1e0a273af: Pull complete 01:13:14 5d3b04190fa2: Pull complete 01:13:19 2f39f015ded8: Pull complete 01:13:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:13:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:13:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:19 prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container 01:13:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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:13:20 $ docker top 5b7fa8d44d844b31bd8f9c4cce0bf314bdb49138ac50168598de35b2e2dad2ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:21 ---> job-cost.sh 01:13:21 lf-activate-venv: SKIPPING 01:13:21 INFO: No Stack... 01:13:21 INFO: Retrieving Pricing Info for: v3-standard-8 01:13:22 INFO: Archiving Costs [Pipeline] sh 01:13:22 + cat /w/workspace/edgexfoundry_device-gpio_PR-63/archives/cost.csv 01:13:22 + cut -d, -f6 [Pipeline] lock 01:13:22 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] 01:13:22 Resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] did not exist. Created. 01:13:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:13:22 + echo total: 0.2199999988079071 [Pipeline] stash 01:13:22 Stashed 1 file(s) [Pipeline] } 01:13:22 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:13:23 $ docker stop --time=1 5b7fa8d44d844b31bd8f9c4cce0bf314bdb49138ac50168598de35b2e2dad2ac 01:13:24 $ docker rm -f 5b7fa8d44d844b31bd8f9c4cce0bf314bdb49138ac50168598de35b2e2dad2ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:15:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8921 in /w/workspace/edgexfoundry_device-gpio_PR-63 [Pipeline] { [Pipeline] ws 01:15:18 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:15:18 The recommended git tool is: git 01:15:23 using credential edgex-jenkins-ssh 01:15:24 Cloning the remote Git repository 01:15:24 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:15:24 > git init /w/workspace/device-gpio/1 # timeout=10 01:15:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:15:24 > git --version # timeout=10 01:15:24 > git --version # 'git version 2.25.1' 01:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:24 Verifying host key using known hosts file 01:15:24 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:15:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:15:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:26 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:15:27 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:27 Verifying host key using known hosts file 01:15:27 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:15:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:15:27 Merging remotes/origin/main commit 89403c3d66cf45a4c65845d7eb210f5c9736c687 into PR head commit 32544b034dda28de1bd73d1ec14b808edd03342d 01:15:27 Merge succeeded, producing 32544b034dda28de1bd73d1ec14b808edd03342d 01:15:27 Checking out Revision 32544b034dda28de1bd73d1ec14b808edd03342d (PR-63) 01:15:28 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:15:28 > git --version # timeout=10 01:15:28 > git --version # 'git version 2.25.1' 01:15:28 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 01:15:27 > git config core.sparsecheckout # timeout=10 01:15:27 > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # timeout=10 01:15:27 > git remote # timeout=10 01:15:27 > git config --get remote.origin.url # timeout=10 01:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:27 Verifying host key using known hosts file 01:15:27 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:15:27 > git merge 89403c3d66cf45a4c65845d7eb210f5c9736c687 # timeout=10 01:15:27 > git rev-parse HEAD^{commit} # timeout=10 01:15:27 > git config core.sparsecheckout # timeout=10 01:15:27 > git checkout -f 32544b034dda28de1bd73d1ec14b808edd03342d # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:15:29 % Total % Received % Xferd Average Speed Time Time Time Current 01:15:29 Dload Upload Total Spent Left Speed 01:15:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 01:15:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:15:30 + sudo tee /etc/docker/daemon.new 01:15:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:15:30 { 01:15:30 "registry-mirrors": [ 01:15:30 "https://nexus3.edgexfoundry.org:10001" 01:15:30 ], 01:15:30 "bip": "10.250.0.254/24", 01:15:30 "hosts": [ 01:15:30 "tcp://0.0.0.0:5555", 01:15:30 "unix:///var/run/docker.sock" 01:15:30 ], 01:15:30 "mtu": 1458, 01:15:30 "selinux-enabled": true, 01:15:30 "seccomp-profile": "/etc/docker/seccomp.json" 01:15:30 } [Pipeline] sh 01:15:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:15:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:49 provisioning config files... 01:15:49 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2285432263198984207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:49 ---> docker-login.sh 01:15:49 nexus3.edgexfoundry.org:10001 01:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:50 Configure a credential helper to remove this warning. See 01:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:50 01:15:50 Login Succeeded 01:15:50 nexus3.edgexfoundry.org:10002 01:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:50 Configure a credential helper to remove this warning. See 01:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:50 01:15:50 Login Succeeded 01:15:51 nexus3.edgexfoundry.org:10003 01:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:51 Configure a credential helper to remove this warning. See 01:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:51 01:15:51 Login Succeeded 01:15:51 nexus3.edgexfoundry.org:10004 01:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:51 Configure a credential helper to remove this warning. See 01:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:51 01:15:51 Login Succeeded 01:15:51 docker.io 01:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:52 Configure a credential helper to remove this warning. See 01:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:52 01:15:52 Login Succeeded 01:15:52 ---> docker-login.sh ends [Pipeline] } 01:15:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:52 ========================================================= 01:15:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:15:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:53 + 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:15:53 Sending build context to Docker daemon 8.006MB 01:15:53 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:15:53 Step 2/13 : FROM ${BASE} AS builder 01:15:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:15:53 9b18e9b68314: Pulling fs layer 01:15:53 d32db5db7311: Pulling fs layer 01:15:53 d0c4b47475fc: Pulling fs layer 01:15:53 5831b945b038: Pulling fs layer 01:15:53 86bbec2aaacd: Pulling fs layer 01:15:53 e10730c5d714: Pulling fs layer 01:15:53 5dd5c2283517: Pulling fs layer 01:15:53 d5ac0230b979: Pulling fs layer 01:15:53 5831b945b038: Waiting 01:15:53 e10730c5d714: Waiting 01:15:53 86bbec2aaacd: Waiting 01:15:53 5dd5c2283517: Waiting 01:15:53 d5ac0230b979: Waiting 01:15:53 d0c4b47475fc: Verifying Checksum 01:15:53 d0c4b47475fc: Download complete 01:15:53 d32db5db7311: Verifying Checksum 01:15:53 d32db5db7311: Download complete 01:15:53 86bbec2aaacd: Verifying Checksum 01:15:53 86bbec2aaacd: Download complete 01:15:53 9b18e9b68314: Verifying Checksum 01:15:53 9b18e9b68314: Download complete 01:15:53 e10730c5d714: Verifying Checksum 01:15:53 e10730c5d714: Download complete 01:15:54 9b18e9b68314: Pull complete 01:15:55 d5ac0230b979: Verifying Checksum 01:15:55 d5ac0230b979: Download complete 01:15:55 d32db5db7311: Pull complete 01:15:55 d0c4b47475fc: Pull complete 01:15:56 5dd5c2283517: Verifying Checksum 01:15:56 5dd5c2283517: Download complete 01:15:56 5831b945b038: Verifying Checksum 01:15:56 5831b945b038: Download complete 01:16:09 5831b945b038: Pull complete 01:16:09 86bbec2aaacd: Pull complete 01:16:09 e10730c5d714: Pull complete 01:16:14 5dd5c2283517: Pull complete 01:16:16 d5ac0230b979: Pull complete 01:16:16 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:16:16 ---> 59b3b1a385d4 01:16:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:16:18 ---> Running in c58795bbe87f 01:16:18 Removing intermediate container c58795bbe87f 01:16:18 ---> 0c416bcb5872 01:16:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:16:18 ---> Running in 6d7d5fa59f84 01:16:18 Removing intermediate container 6d7d5fa59f84 01:16:18 ---> b9152db54c10 01:16:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:16:18 ---> Running in 1804d1c23ade 01:16:18 Removing intermediate container 1804d1c23ade 01:16:18 ---> 43265f6f3796 01:16:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:16:18 ---> Running in 4aa19b8b0214 01:16:19 Removing intermediate container 4aa19b8b0214 01:16:19 ---> 834ff646e9b0 01:16:19 Step 7/13 : WORKDIR /device-gpio 01:16:19 ---> Running in 2569d7d73bd8 01:16:19 Removing intermediate container 2569d7d73bd8 01:16:19 ---> 418eebf9b2f5 01:16:19 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:16:19 ---> Running in 1b07ba828f5b 01:16:21 Removing intermediate container 1b07ba828f5b 01:16:21 ---> bdba0c12502b 01:16:21 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:16:21 ---> Running in c220c0de1767 01:16:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:16:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:16:24 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:16:24 (2/4) Installing libedit (20210910.3.1-r0) 01:16:24 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:16:24 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:16:24 Executing busybox-1.35.0-r17.trigger 01:16:24 OK: 226 MiB in 55 packages 01:16:25 Removing intermediate container c220c0de1767 01:16:25 ---> 46dbe84100d8 01:16:25 Step 10/13 : COPY go.mod vendor* ./ 01:16:26 ---> 29996a1d6e41 01:16:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:26 ---> Running in e2bcbdeaee71 01:17:22 Removing intermediate container e2bcbdeaee71 01:17:22 ---> 5bed78e4b5d4 01:17:22 Step 12/13 : COPY . . 01:17:22 ---> 002d21027ebf 01:17:22 Step 13/13 : RUN ${MAKE} 01:17:22 ---> Running in 41c8186602cd 01:17:22 noop 01:17:22 Removing intermediate container 41c8186602cd 01:17:22 ---> eb3c2f078803 01:17:22 Successfully built eb3c2f078803 01:17:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:23 + docker inspect -f . ci-base-image-arm64 01:17:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:23 prd-ubuntu20.04-docker-arm64-4c-16g-8921 does not seem to be running inside a container 01:17:23 $ 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 ******** ci-base-image-arm64 cat 01:17:24 $ docker top 22a4b1be0b1bc5a8486b71b9b6fdd317bb3b63730d93c26fabe4bbd30b58f58e -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:25 + go version 01:17:25 go version go1.18.7 linux/arm64 [Pipeline] } 01:17:25 $ docker stop --time=1 22a4b1be0b1bc5a8486b71b9b6fdd317bb3b63730d93c26fabe4bbd30b58f58e 01:17:27 $ docker rm -f 22a4b1be0b1bc5a8486b71b9b6fdd317bb3b63730d93c26fabe4bbd30b58f58e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:28 + docker inspect -f . ci-base-image-arm64 01:17:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-8921 does not seem to be running inside a container 01:17:28 $ 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 ******** ci-base-image-arm64 cat 01:17:29 $ docker top 828a150cf105e0575bc9974003b6cbfc782c53784b9bf0cfd05c8a7f5afcd973 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:30 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:17:31 + make test 01:17:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:17:33 ? github.com/edgexfoundry/device-gpio [no test files] 01:18:54 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:18:54 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:18:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:18:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:19:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:19:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:19:16 ./bin/test-attribution-txt.sh [Pipeline] echo 01:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:19:16 $ docker stop --time=1 828a150cf105e0575bc9974003b6cbfc782c53784b9bf0cfd05c8a7f5afcd973 01:19:18 $ docker rm -f 828a150cf105e0575bc9974003b6cbfc782c53784b9bf0cfd05c8a7f5afcd973 [Pipeline] // withDockerContainer [Pipeline] sh 01:19:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:19:19 Warning: overwriting stash ‘coverage-report’ 01:19:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:19:20 + ls -al . 01:19:20 total 160 01:19:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:17 . 01:19:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:15 .. 01:19:20 -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 01:15 .dockerignore 01:19:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:15 .git 01:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:15 .github 01:19:20 -rw-rw-r-- 1 jenkins jenkins 343 Oct 24 01:15 .gitignore 01:19:20 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:15 .golangci.yml 01:19:20 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 24 01:15 Attribution.txt 01:19:20 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 24 01:15 CHANGELOG.md 01:19:20 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 24 01:15 Dockerfile 01:19:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:15 GOVERNANCE.md 01:19:20 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 01:15 Jenkinsfile 01:19:20 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:15 LICENSE 01:19:20 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 24 01:15 Makefile 01:19:20 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 01:15 OWNERS.md 01:19:20 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 24 01:15 README.md 01:19:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:11 VERSION 01:19:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:15 bin 01:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:15 cmd 01:19:20 -rw-r--r-- 1 jenkins jenkins 10 Oct 24 01:17 coverage.out 01:19:20 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 24 01:15 go.mod 01:19:20 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 24 01:15 go.sum 01:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:15 internal 01:19:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:15 snap 01:19:20 -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:21 + 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=32544b034dda28de1bd73d1ec14b808edd03342d --label arch=arm64 --label version=0.0.0 . 01:19:21 Sending build context to Docker daemon 8.007MB 01:19:21 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 01:19:21 Step 2/27 : FROM ${BASE} AS builder 01:19:21 ---> eb3c2f078803 01:19:21 Step 3/27 : ARG ADD_BUILD_TAGS="" 01:19:21 ---> Running in 3d5430fccbda 01:19:22 Removing intermediate container 3d5430fccbda 01:19:22 ---> adbad99ffd2a 01:19:22 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:19:22 ---> Running in f0b1bd65088e 01:19:22 Removing intermediate container f0b1bd65088e 01:19:22 ---> 84d2e530ab8e 01:19:22 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:19:22 ---> Running in aaef4e258d52 01:19:23 Removing intermediate container aaef4e258d52 01:19:23 ---> 42181ef95f85 01:19:23 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 01:19:23 ---> Running in 61dfcff257da 01:19:23 Removing intermediate container 61dfcff257da 01:19:23 ---> d1eb6075dd75 01:19:23 Step 7/27 : WORKDIR /device-gpio 01:19:23 ---> Running in d3cf962fb18b 01:19:23 Removing intermediate container d3cf962fb18b 01:19:23 ---> e379ada55313 01:19:23 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:19:23 ---> Running in 2f5eee4d8d7f 01:19:25 Removing intermediate container 2f5eee4d8d7f 01:19:25 ---> 5ec8db1b6744 01:19:25 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:19:25 ---> Running in ca41deb0c252 01:19:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:19:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:19:28 OK: 226 MiB in 55 packages 01:19:29 Removing intermediate container ca41deb0c252 01:19:29 ---> a69e9a1a4d27 01:19:29 Step 10/27 : COPY go.mod vendor* ./ 01:19:29 ---> 796ff3dc7f58 01:19:29 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:29 ---> Running in 856f9fea1155 01:19:31 Removing intermediate container 856f9fea1155 01:19:31 ---> 61b350a91d8a 01:19:31 Step 12/27 : COPY . . 01:19:32 ---> 628cfd55822d 01:19:32 Step 13/27 : RUN ${MAKE} 01:19:32 ---> Running in 58732f0cd041 01:19:33 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:22:10 Removing intermediate container 58732f0cd041 01:22:10 ---> c289ab2d9a36 01:22:10 Step 14/27 : FROM alpine:3.16 01:22:10 3.16: Pulling from library/alpine 01:22:10 9b18e9b68314: Already exists 01:22:10 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:22:10 Status: Downloaded newer image for alpine:3.16 01:22:10 ---> a6215f271958 01:22:10 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:22:10 ---> Running in 9d14bb682658 01:22:10 Removing intermediate container 9d14bb682658 01:22:10 ---> 5ddfcdaa4269 01:22:10 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:22:10 ---> Running in 92cf68d51b9c 01:22:10 Removing intermediate container 92cf68d51b9c 01:22:10 ---> c91744a2b63b 01:22:10 Step 17/27 : RUN apk add --update --no-cache zeromq 01:22:10 ---> Running in 70e1d34ed280 01:22:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:22:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:22:12 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:22:12 (2/5) Installing libsodium (1.0.18-r0) 01:22:12 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:22:12 (4/5) Installing libzmq (4.3.4-r0) 01:22:12 (5/5) Installing zeromq (4.3.4-r0) 01:22:12 Executing busybox-1.35.0-r17.trigger 01:22:12 OK: 8 MiB in 19 packages 01:22:13 Removing intermediate container 70e1d34ed280 01:22:13 ---> 08ec42c7b710 01:22:13 Step 18/27 : WORKDIR / 01:22:13 ---> Running in a7c192db4f54 01:22:14 Removing intermediate container a7c192db4f54 01:22:14 ---> c8b1e129fdb9 01:22:14 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 01:22:14 ---> e6b620b1c04a 01:22:14 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 01:22:14 ---> b64bdea800e2 01:22:14 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 01:22:16 ---> 99f40c3aa05a 01:22:16 Step 22/27 : EXPOSE 59910 01:22:16 ---> Running in f8d9fe219a8f 01:22:16 Removing intermediate container f8d9fe219a8f 01:22:16 ---> e4ca9ec2384d 01:22:16 Step 23/27 : ENTRYPOINT ["/device-gpio"] 01:22:16 ---> Running in 60a45aec9e46 01:22:17 Removing intermediate container 60a45aec9e46 01:22:17 ---> 1e3e2a7353ef 01:22:17 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:22:17 ---> Running in db3666a388c9 01:22:17 Removing intermediate container db3666a388c9 01:22:17 ---> cc7e1c444f87 01:22:17 Step 25/27 : LABEL arch=arm64 01:22:17 ---> Running in 985c1510c1b7 01:22:17 Removing intermediate container 985c1510c1b7 01:22:17 ---> 5875ed039084 01:22:17 Step 26/27 : LABEL git_sha=32544b034dda28de1bd73d1ec14b808edd03342d 01:22:17 ---> Running in 627f6b7bb4e4 01:22:18 Removing intermediate container 627f6b7bb4e4 01:22:18 ---> 88157ba619b4 01:22:18 Step 27/27 : LABEL version=0.0.0 01:22:18 ---> Running in 182fe43dc519 01:22:18 Removing intermediate container 182fe43dc519 01:22:18 ---> 24dcf153be2c 01:22:18 [Warning] One or more build-args [ARCH] were not consumed 01:22:18 Successfully built 24dcf153be2c 01:22:18 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:22:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:19 01:22:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:20 arm64: Pulling from edgex-lftools-log-publisher 01:22:20 8998bd30e6a1: Pulling fs layer 01:22:20 04944245beec: Pulling fs layer 01:22:20 699f458cf7ca: Pulling fs layer 01:22:20 765212b225bb: Pulling fs layer 01:22:20 f23df028b6ca: Pulling fs layer 01:22:20 d65c8cfc05b1: Pulling fs layer 01:22:20 2437ff75d9bd: Pulling fs layer 01:22:20 765212b225bb: Waiting 01:22:20 f23df028b6ca: Waiting 01:22:20 d65c8cfc05b1: Waiting 01:22:20 2437ff75d9bd: Waiting 01:22:20 04944245beec: Verifying Checksum 01:22:20 04944245beec: Download complete 01:22:20 765212b225bb: Verifying Checksum 01:22:20 765212b225bb: Download complete 01:22:20 f23df028b6ca: Verifying Checksum 01:22:20 f23df028b6ca: Download complete 01:22:20 d65c8cfc05b1: Verifying Checksum 01:22:20 d65c8cfc05b1: Download complete 01:22:20 699f458cf7ca: Verifying Checksum 01:22:20 699f458cf7ca: Download complete 01:22:20 8998bd30e6a1: Download complete 01:22:23 2437ff75d9bd: Verifying Checksum 01:22:23 2437ff75d9bd: Download complete 01:22:24 8998bd30e6a1: Pull complete 01:22:25 04944245beec: Pull complete 01:22:26 699f458cf7ca: Pull complete 01:22:26 765212b225bb: Pull complete 01:22:27 f23df028b6ca: Pull complete 01:22:27 d65c8cfc05b1: Pull complete 01:22:42 2437ff75d9bd: Pull complete 01:22:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:43 prd-ubuntu20.04-docker-arm64-4c-16g-8921 does not seem to be running inside a container 01:22:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:22:45 $ docker top 5b948985db2b77e7e71cdc949a16a616f6195fe07a2921829a50e22f8c3967f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:46 ---> job-cost.sh 01:22:46 lf-activate-venv: SKIPPING 01:22:46 INFO: No Stack... 01:22:47 INFO: Retrieving Pricing Info for: v3-standard-4 01:22:47 INFO: Archiving Costs [Pipeline] sh 01:22:48 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:22:48 + cut -d, -f6 [Pipeline] lock 01:22:48 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] 01:22:48 Resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] did not exist. Created. 01:22:48 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:22:48 /w/workspace/device-gpio/1@tmp/durable-4aaffcc8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:22:49 + echo total: 0.10999999940395355 [Pipeline] stash 01:22:49 Warning: overwriting stash ‘stack-cost’ 01:22:49 Stashed 1 file(s) [Pipeline] } 01:22:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:22:49 $ docker stop --time=1 5b948985db2b77e7e71cdc949a16a616f6195fe07a2921829a50e22f8c3967f7 01:22:50 $ docker rm -f 5b948985db2b77e7e71cdc949a16a616f6195fe07a2921829a50e22f8c3967f7 [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:22:51 provisioning config files... 01:22:51 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config658301156240953135tmp [Pipeline] { [Pipeline] sh 01:22:52 + set +x 01:22:52 + curl -s https://codecov.io/bash 01:22:52 + bash -s -- 01:22:52 01:22:52 _____ _ 01:22:52 / ____| | | 01:22:52 | | ___ __| | ___ ___ _____ __ 01:22:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:22:52 | |___| (_) | (_| | __/ (_| (_) \ V / 01:22:52 \_____\___/ \__,_|\___|\___\___/ \_/ 01:22:52 Bash-1.0.6 01:22:52 01:22:52 01:22:52 ==> git version 2.25.1 found 01:22:52 ==> 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:22:52 Release-Date: 2020-01-08 01:22:52 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:22:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:22:52 ==> Jenkins CI detected. 01:22:52 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-63 01:22:52 project root: . 01:22:52 --> token set from env 01:22:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:22:52 ==> Running gcov in . (disable via -X gcov) 01:22:52 ==> Python coveragepy not found 01:22:52 ==> Searching for coverage reports in: 01:22:52 + . 01:22:52 -> Found 1 reports 01:22:52 ==> Detecting git/mercurial file structure 01:22:52 ==> Reading reports 01:22:52 + ./coverage.out bytes=10 01:22:52 ==> Appending adjustments 01:22:52 https://docs.codecov.io/docs/fixing-reports 01:22:52 + Found adjustments 01:22:52 ==> Gzipping contents 01:22:52 4.0K /tmp/codecov.u0CaLr.gz 01:22:52 ==> Uploading reports 01:22:52 url: https://codecov.io 01:22:52 query: branch=PR-63&commit=32544b034dda28de1bd73d1ec14b808edd03342d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=63&job=&cmd_args= 01:22:52 -> Pinging Codecov 01:22:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-63&commit=32544b034dda28de1bd73d1ec14b808edd03342d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-63%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=63&job=&cmd_args= 01:22:52 -> Uploading to 01:22:52 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/32544b034dda28de1bd73d1ec14b808edd03342d/9a2bd2ea-ab5f-4834-8e70-e65b6d5d341a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T012252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a154d9075c677705e1cbf626f555b3d301389e247bba0312ccda13d6eea675dc 01:22:52 % Total % Received % Xferd Average Speed Time Time Time Current 01:22:52 Dload Upload Total Spent Left Speed 01:22:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3213 --:--:-- --:--:-- --:--:-- 3213 01:22:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/32544b034dda28de1bd73d1ec14b808edd03342d [Pipeline] } 01:22:52 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:22:55 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-63/archives ] 01:22:55 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-63/archives 01:22:55 total 16 01:22:55 drwxr-xr-x 3 root root 4096 Oct 24 01:13 . 01:22:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:13 .. 01:22:55 drwxr-xr-x 2 root root 4096 Oct 24 01:13 cost 01:22:55 -rw-r--r-- 1 root root 82 Oct 24 01:13 cost.csv 01:22:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-63/archives 01:22:55 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-63/archives 01:22:55 total 16 01:22:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:13 . 01:22:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:13 .. 01:22:55 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:13 cost 01:22:55 -rw-r--r-- 1 jenkins jenkins 82 Oct 24 01:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:22:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:22:56 ---> package-listing.sh 01:22:56 ++ facter osfamily 01:22:56 ++ tr '[:upper:]' '[:lower:]' 01:22:56 + OS_FAMILY=debian 01:22:56 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-63 01:22:56 + START_PACKAGES=/tmp/packages_start.txt 01:22:56 + END_PACKAGES=/tmp/packages_end.txt 01:22:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:22:56 + PACKAGES=/tmp/packages_start.txt 01:22:56 + '[' /w/workspace/edgexfoundry_device-gpio_PR-63 ']' 01:22:56 + PACKAGES=/tmp/packages_end.txt 01:22:56 + case "${OS_FAMILY}" in 01:22:56 + dpkg -l 01:22:56 + grep '^ii' 01:22:56 + '[' -f /tmp/packages_start.txt ']' 01:22:56 + '[' -f /tmp/packages_end.txt ']' 01:22:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:22:56 + '[' /w/workspace/edgexfoundry_device-gpio_PR-63 ']' 01:22:56 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-63/archives/ 01:22:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-63/archives/ [Pipeline] echo 01:22:56 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-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:22:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:57 prd-ubuntu20.04-docker-8c-8g-8920 does not seem to be running inside a container 01:22:57 $ 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-63/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-63 -v /w/workspace/edgexfoundry_device-gpio_PR-63:/w/workspace/edgexfoundry_device-gpio_PR-63:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-63@tmp:/w/workspace/edgexfoundry_device-gpio_PR-63@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:22:57 $ docker top 60811144dffb8abd9912f562387f4b257d8841a9ee4c3f4ea8987d28116ffad7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:58 + touch /tmp/pre-build-complete [Pipeline] sh 01:22:58 + mkdir -p /var/log/sysstat [Pipeline] sh 01:22:59 + ls /var/log/sa-host 01:22:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:59 provisioning config files... 01:22:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-63@tmp/config8478436158378088508tmp [Pipeline] { [Pipeline] echo 01:22:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:22:59 ---> create-netrc.sh [Pipeline] } 01:22:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:23:00 ---> python-tools-install.sh [Pipeline] echo 01:23:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:23:00 ---> sudo-logs.sh 01:23:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:23:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:23:00 ---> job-cost.sh 01:23:00 lf-activate-venv: SKIPPING 01:23:00 DEBUG: total: 0.2199999988079071 01:23:00 INFO: Retrieving Stack Cost... 01:23:01 INFO: Retrieving Pricing Info for: v3-standard-8 01:23:01 INFO: Archiving Costs [Pipeline] echo 01:23:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:23:02 ---> logs-deploy.sh 01:23:02 lf-activate-venv: SKIPPING 01:23:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-63/1 01:23:02 INFO: archiving workspace using pattern(s): 01:23:03 Archives upload complete. 01:23:03 INFO: archiving logs to Nexus