Pull request #146 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-gpio Loading trusted files from base branch main at 21c70a64d9894c2455aedb4662d61c2d9e09ca22 rather than 884b06b8c18245450d923488b3debcbce8b92635 Obtained Jenkinsfile from 21c70a64d9894c2455aedb4662d61c2d9e09ca22 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-ssh10480419967109766630.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8674852030053235726.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15686573342283524603.key > 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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12835729366464065751.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6176755360342363099.key > 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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10633671139769664098.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6259’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6261 in /w/workspace/edgexfoundry_device-gpio_PR-146 [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-146 # 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 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit 884b06b8c18245450d923488b3debcbce8b92635 Merge succeeded, producing 884b06b8c18245450d923488b3debcbce8b92635 Checking out Revision 884b06b8c18245450d923488b3debcbce8b92635 (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f 884b06b8c18245450d923488b3debcbce8b92635 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 884b06b8c18245450d923488b3debcbce8b92635 # timeout=10 Commit message: "refactor!: Change configuration and device toml files to yaml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:57:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:57:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:57:56 ========================================================= 21:57:56 EdgeX Global Pipelines Version Info 21:57:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:57:57 ------------------- 21:57:57 stable info: 21:57:57 ------------------- 21:57:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:57:57 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:57:57 Message: update stable to v1.0.245 21:57:58 ------------------- 21:57:58 experimental info: 21:57:58 ------------------- 21:57:58 Commited By: **** collab-it+edgex@linuxfoundation.org 21:57:58 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:57:58 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 884b06b8c18245450d923488b3debcbce8b92635 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 884b06b [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:58:00 provisioning config files... 21:58:00 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config11071314953208134723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:00 ---> docker-login.sh 21:58:00 nexus3.edgexfoundry.org:10001 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 nexus3.edgexfoundry.org:10002 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 nexus3.edgexfoundry.org:10003 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 nexus3.edgexfoundry.org:10004 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 docker.io 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 ---> docker-login.sh ends [Pipeline] } 21:58:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:58:02 + git rev-list -1 --merges 884b06b8c18245450d923488b3debcbce8b92635~1..884b06b8c18245450d923488b3debcbce8b92635 [Pipeline] echo 21:58:02 -----------> git rev-list -1 --merges 884b06b8c18245450d923488b3debcbce8b92635~1..884b06b8c18245450d923488b3debcbce8b92635 884b06b8c18245450d923488b3debcbce8b92635 [false] [Pipeline] sh 21:58:02 + git log --format=format:%s -1 884b06b8c18245450d923488b3debcbce8b92635 [Pipeline] echo 21:58:02 ========================================================= 21:58:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:58:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:03 + git log --format=format:%s -1 884b06b8c18245450d923488b3debcbce8b92635 [Pipeline] echo 21:58:03 [semverPrep] GIT_COMMIT: 884b06b8c18245450d923488b3debcbce8b92635, Commit Message: refactor!: Change configuration and device toml files to yaml [Pipeline] echo 21:58:03 [semverPrep] This is not a build commit. [Pipeline] sh 21:58:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:58:03 + grep -v github /etc/ssh/ssh_known_hosts 21:58:03 + [ -e /tmp/ssh_known_hosts ] 21:58:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:58:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:58:03 + sudo tee -a /etc/ssh/ssh_known_hosts 21:58:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:04 21:58:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:04 0.1.4: Pulling from edgex-devops/py-git-semver 21:58:04 b85a868b505f: Pulling fs layer 21:58:04 e2be974225ed: Pulling fs layer 21:58:04 339a4e72a1f5: Pulling fs layer 21:58:04 988bab9f4d93: Pulling fs layer 21:58:04 1469e6f7b9e6: Pulling fs layer 21:58:04 eaf3925da568: Pulling fs layer 21:58:04 bab4dde63d76: Pulling fs layer 21:58:04 bde34c3a00c8: Pulling fs layer 21:58:04 b352a97aabf1: Pulling fs layer 21:58:04 4872d77fe225: Pulling fs layer 21:58:04 5851b861e8e6: Pulling fs layer 21:58:04 b352a97aabf1: Waiting 21:58:04 4872d77fe225: Waiting 21:58:04 5851b861e8e6: Waiting 21:58:04 1469e6f7b9e6: Waiting 21:58:04 bab4dde63d76: Waiting 21:58:04 988bab9f4d93: Waiting 21:58:04 eaf3925da568: Waiting 21:58:04 e2be974225ed: Verifying Checksum 21:58:04 e2be974225ed: Download complete 21:58:04 988bab9f4d93: Verifying Checksum 21:58:04 988bab9f4d93: Download complete 21:58:04 339a4e72a1f5: Verifying Checksum 21:58:04 339a4e72a1f5: Download complete 21:58:04 1469e6f7b9e6: Verifying Checksum 21:58:04 1469e6f7b9e6: Download complete 21:58:04 eaf3925da568: Verifying Checksum 21:58:04 eaf3925da568: Download complete 21:58:04 bde34c3a00c8: Download complete 21:58:04 b352a97aabf1: Verifying Checksum 21:58:04 b352a97aabf1: Download complete 21:58:04 4872d77fe225: Verifying Checksum 21:58:04 4872d77fe225: Download complete 21:58:04 5851b861e8e6: Download complete 21:58:05 b85a868b505f: Verifying Checksum 21:58:05 b85a868b505f: Download complete 21:58:05 bab4dde63d76: Download complete 21:58:06 b85a868b505f: Pull complete 21:58:06 e2be974225ed: Pull complete 21:58:06 339a4e72a1f5: Pull complete 21:58:07 988bab9f4d93: Pull complete 21:58:07 1469e6f7b9e6: Pull complete 21:58:07 eaf3925da568: Pull complete 21:58:09 bab4dde63d76: Pull complete 21:58:09 bde34c3a00c8: Pull complete 21:58:09 b352a97aabf1: Pull complete 21:58:09 4872d77fe225: Pull complete 21:58:09 5851b861e8e6: Pull complete 21:58:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:58:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:10 prd-ubuntu20.04-docker-8c-8g-6261 does not seem to be running inside a container 21:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:58:13 $ docker top 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf -eo pid,comm 21:58:13 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). 21:58:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:13 [ssh-agent] Looking for ssh-agent implementation... 21:58:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:13 $ docker exec 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf ssh-agent 21:58:13 SSH_AUTH_SOCK=/tmp/ssh-7Y6nRHZgLp6W/agent.32 21:58:13 SSH_AGENT_PID=38 21:58:13 Running ssh-add (command line suppressed) 21:58:13 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_9272371681252815505.key (/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_9272371681252815505.key) 21:58:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:13 + git tag --points-at HEAD [Pipeline] } 21:58:13 $ docker exec --env ******** --env ******** 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf ssh-agent -k 21:58:14 unset SSH_AUTH_SOCK; 21:58:14 unset SSH_AGENT_PID; 21:58:14 echo Agent pid 38 killed; 21:58:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:58:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:14 [ssh-agent] Looking for ssh-agent implementation... 21:58:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:14 $ docker exec 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf ssh-agent 21:58:14 SSH_AUTH_SOCK=/tmp/ssh-gmJshnhuZxCO/agent.71 21:58:14 SSH_AGENT_PID=77 21:58:14 Running ssh-add (command line suppressed) 21:58:14 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_3137036113157567089.key (/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_3137036113157567089.key) 21:58:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:14 + git semver init 21:58:15 2023-03-29 21:58:15,106 [run_init] DEBUG init version:0.0.0 force:False 21:58:15 2023-03-29 21:58:15,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-146/.semver 21:58:15 2023-03-29 21:58:15,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-146/.semver 21:58:15 2023-03-29 21:58:15,108 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-146/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-146, universal_newlines=False, shell=None, istream=None) 21:58:16 2023-03-29 21:58:15,991 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-146/.git/info/exclude 21:58:16 2023-03-29 21:58:15,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-146/.semver/PR-146 with force:False 21:58:16 2023-03-29 21:58:15,992 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-146/.semver/PR-146 21:58:16 2023-03-29 21:58:15,997 [execute] INFO git cat-file --batch-check 21:58:16 2023-03-29 21:58:15,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-146/.semver, universal_newlines=False, shell=None, istream=) 21:58:16 2023-03-29 21:58:16,004 [execute] INFO git cat-file --batch 21:58:16 2023-03-29 21:58:16,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-146/.semver, universal_newlines=False, shell=None, istream=) 21:58:16 2023-03-29 21:58:16,010 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-146/.semver/PR-146 21:58:16 0.0.0 [Pipeline] } 21:58:16 $ docker exec --env ******** --env ******** 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf ssh-agent -k 21:58:16 unset SSH_AUTH_SOCK; 21:58:16 unset SSH_AGENT_PID; 21:58:16 echo Agent pid 77 killed; 21:58:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:16 + git semver [Pipeline] } 21:58:16 $ docker stop --time=1 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf 21:58:18 $ docker rm -f --volumes 4529145e0bdb54c9400448543773bed8cc617da21e7e487bdc721474d2348eaf [Pipeline] // withDockerContainer [Pipeline] sh 21:58:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:58:18 Stashed 1 file(s) [Pipeline] echo 21:58:18 [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 21:58:19 provisioning config files... 21:58:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config5227566625035222697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:19 ---> docker-login.sh 21:58:19 nexus3.edgexfoundry.org:10001 21:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:19 Configure a credential helper to remove this warning. See 21:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:19 21:58:19 Login Succeeded 21:58:19 nexus3.edgexfoundry.org:10002 21:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:19 Configure a credential helper to remove this warning. See 21:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:19 21:58:19 Login Succeeded 21:58:19 nexus3.edgexfoundry.org:10003 21:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:20 Configure a credential helper to remove this warning. See 21:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:20 21:58:20 Login Succeeded 21:58:20 nexus3.edgexfoundry.org:10004 21:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:20 Configure a credential helper to remove this warning. See 21:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:20 21:58:20 Login Succeeded 21:58:20 docker.io 21:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:20 Configure a credential helper to remove this warning. See 21:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:20 21:58:20 Login Succeeded 21:58:20 ---> docker-login.sh ends [Pipeline] } 21:58:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:58:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:20 ========================================================= 21:58:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:58:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:58:21 Sending build context to Docker daemon 16.08MB 21:58:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:58:21 Step 2/12 : FROM ${BASE} AS builder 21:58:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:58:21 63b65145d645: Pulling fs layer 21:58:21 a2d21d5440eb: Pulling fs layer 21:58:21 935e6c44a52c: Pulling fs layer 21:58:21 94cc34f8dd06: Pulling fs layer 21:58:21 30dea6a524f1: Pulling fs layer 21:58:21 a2aff8979fd8: Pulling fs layer 21:58:21 6808be2612f2: Pulling fs layer 21:58:21 f25807f1079a: Pulling fs layer 21:58:21 94cc34f8dd06: Waiting 21:58:21 30dea6a524f1: Waiting 21:58:21 f25807f1079a: Waiting 21:58:21 a2aff8979fd8: Waiting 21:58:21 6808be2612f2: Waiting 21:58:21 a2d21d5440eb: Verifying Checksum 21:58:21 a2d21d5440eb: Download complete 21:58:21 94cc34f8dd06: Download complete 21:58:21 30dea6a524f1: Verifying Checksum 21:58:21 30dea6a524f1: Download complete 21:58:21 63b65145d645: Download complete 21:58:21 a2aff8979fd8: Verifying Checksum 21:58:21 a2aff8979fd8: Download complete 21:58:21 63b65145d645: Pull complete 21:58:21 a2d21d5440eb: Pull complete 21:58:21 f25807f1079a: Verifying Checksum 21:58:21 f25807f1079a: Download complete 21:58:22 935e6c44a52c: Verifying Checksum 21:58:22 935e6c44a52c: Download complete 21:58:22 6808be2612f2: Verifying Checksum 21:58:22 6808be2612f2: Download complete 21:58:25 935e6c44a52c: Pull complete 21:58:25 94cc34f8dd06: Pull complete 21:58:25 30dea6a524f1: Pull complete 21:58:25 a2aff8979fd8: Pull complete 21:58:28 6808be2612f2: Pull complete 21:58:28 f25807f1079a: Pull complete 21:58:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:58:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:58:28 ---> 3b553350e43f 21:58:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:58:34 Still waiting to schedule task 21:58:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6260’ 21:58:35 ---> Running in 7c3b8dc46252 21:58:35 Removing intermediate container 7c3b8dc46252 21:58:35 ---> 5634eacc28b8 21:58:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:58:35 ---> Running in a6897a10210a 21:58:35 Removing intermediate container a6897a10210a 21:58:35 ---> af4c1d17373b 21:58:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:58:35 ---> Running in 69cafe5e02ce 21:58:35 Removing intermediate container 69cafe5e02ce 21:58:35 ---> 46bfec7d758b 21:58:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:58:35 ---> Running in 09ef85346d6d 21:58:35 Removing intermediate container 09ef85346d6d 21:58:35 ---> 652d6c3db289 21:58:35 Step 7/12 : WORKDIR /device-gpio 21:58:35 ---> Running in 6c185f034277 21:58:35 Removing intermediate container 6c185f034277 21:58:35 ---> c03144778b09 21:58:35 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:35 ---> Running in dc38a65bdecd 21:58:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:58:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:58:35 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:58:35 (2/4) Installing libedit (20221030.3.1-r0) 21:58:35 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:58:35 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:58:35 Executing busybox-1.35.0-r29.trigger 21:58:35 OK: 269 MiB in 57 packages 21:58:36 Removing intermediate container dc38a65bdecd 21:58:36 ---> 57052df3fe37 21:58:36 Step 9/12 : COPY go.mod vendor* ./ 21:58:36 ---> b93078f6353c 21:58:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:36 ---> Running in 94f97911946c 21:59:15 Removing intermediate container 94f97911946c 21:59:15 ---> c6c2d852287a 21:59:15 Step 11/12 : COPY . . 21:59:15 ---> cf73ce10c439 21:59:15 Step 12/12 : RUN ${MAKE} 21:59:15 ---> Running in f306b897eedb 21:59:15 noop 21:59:15 Removing intermediate container f306b897eedb 21:59:15 ---> 75e14e1adda6 21:59:15 Successfully built 75e14e1adda6 21:59:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:16 + docker inspect -f . ci-base-image-x86_64 21:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:16 prd-ubuntu20.04-docker-8c-8g-6261 does not seem to be running inside a container 21:59:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:59:16 $ docker top b60ea389fa4d765c97b944a73f6f98ced6267d6f9f2402535a5fee94bfecc2e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:16 + go version 21:59:16 go version go1.20.2 linux/amd64 [Pipeline] } 21:59:17 $ docker stop --time=1 b60ea389fa4d765c97b944a73f6f98ced6267d6f9f2402535a5fee94bfecc2e5 21:59:18 $ docker rm -f --volumes b60ea389fa4d765c97b944a73f6f98ced6267d6f9f2402535a5fee94bfecc2e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:19 + docker inspect -f . ci-base-image-x86_64 21:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:19 prd-ubuntu20.04-docker-8c-8g-6261 does not seem to be running inside a container 21:59:19 $ 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-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:59:19 $ docker top 7675d9b286501c1d26ae9f49f1e84ea386e155a755cc2f45920c995179e5c48e -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-146 [Pipeline] fileExists [Pipeline] sh 21:59:20 + make test 21:59:20 go test ./... -coverprofile=coverage.out ./... 21:59:25 ? github.com/edgexfoundry/device-gpio [no test files] 21:59:35 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:59:35 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:59:42 go vet ./... 21:59:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:59:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:59:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:59:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:59:44 $ docker stop --time=1 7675d9b286501c1d26ae9f49f1e84ea386e155a755cc2f45920c995179e5c48e 21:59:48 $ docker rm -f --volumes 7675d9b286501c1d26ae9f49f1e84ea386e155a755cc2f45920c995179e5c48e [Pipeline] // withDockerContainer [Pipeline] sh 21:59:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:59:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:59:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:59:49 + ls -al . 21:59:49 total 156 21:59:49 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 21:59 . 21:59:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:57 .. 21:59:49 -rw-rw-r-- 1 jenkins jenkins 120 Mar 29 21:57 .dockerignore 21:59:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 21:58 .git 21:59:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 .github 21:59:49 -rw-rw-r-- 1 jenkins jenkins 343 Mar 29 21:57 .gitignore 21:59:49 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 21:57 .golangci.yml 21:59:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:58 .semver 21:59:49 -rw-rw-r-- 1 jenkins jenkins 9573 Mar 29 21:57 Attribution.txt 21:59:49 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 29 21:57 CHANGELOG.md 21:59:49 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 29 21:57 Dockerfile 21:59:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 21:57 GOVERNANCE.md 21:59:49 -rw-rw-r-- 1 jenkins jenkins 657 Mar 29 21:57 Jenkinsfile 21:59:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 21:57 LICENSE 21:59:49 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 29 21:57 Makefile 21:59:49 -rw-rw-r-- 1 jenkins jenkins 617 Mar 29 21:57 OWNERS.md 21:59:49 -rw-rw-r-- 1 jenkins jenkins 11790 Mar 29 21:57 README.md 21:59:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:58 VERSION 21:59:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 21:57 bin 21:59:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 cmd 21:59:49 -rw-r--r-- 1 jenkins jenkins 10 Mar 29 21:59 coverage.out 21:59:49 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 29 21:57 go.mod 21:59:49 -rw-rw-r-- 1 jenkins jenkins 31438 Mar 29 21:57 go.sum 21:59:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:57 internal 21:59:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:57 snap 21:59:49 -rw-rw-r-- 1 jenkins jenkins 209 Mar 29 21:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:50 + 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=884b06b8c18245450d923488b3debcbce8b92635 --label arch=amd64 --label version=0.0.0 . 21:59:50 Sending build context to Docker daemon 16.08MB 21:59:50 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:59:50 Step 2/25 : FROM ${BASE} AS builder 21:59:50 ---> 75e14e1adda6 21:59:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:59:50 ---> Running in f29866ce5d75 21:59:50 Removing intermediate container f29866ce5d75 21:59:50 ---> 55a012550cf4 21:59:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:59:50 ---> Running in 1debf161e639 21:59:50 Removing intermediate container 1debf161e639 21:59:50 ---> 118be752fe9d 21:59:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:59:50 ---> Running in 7eab524d5b9a 21:59:50 Removing intermediate container 7eab524d5b9a 21:59:50 ---> 9f310d139a9d 21:59:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:59:50 ---> Running in d960b2d0f8b2 21:59:51 Removing intermediate container d960b2d0f8b2 21:59:51 ---> 664cb826aa6f 21:59:51 Step 7/25 : WORKDIR /device-gpio 21:59:51 ---> Running in 9793de4faa14 21:59:51 Removing intermediate container 9793de4faa14 21:59:51 ---> 921f8d2fba58 21:59:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:51 ---> Running in 02c0a6d4557b 21:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:59:51 OK: 269 MiB in 57 packages 21:59:52 Removing intermediate container 02c0a6d4557b 21:59:52 ---> 842832469e57 21:59:52 Step 9/25 : COPY go.mod vendor* ./ 21:59:52 ---> 0513e432c171 21:59:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:52 ---> Running in 05d217c69e35 21:59:53 Removing intermediate container 05d217c69e35 21:59:53 ---> 2e3252f2fe0e 21:59:53 Step 11/25 : COPY . . 21:59:53 ---> f3c2638a215e 21:59:53 Step 12/25 : RUN ${MAKE} 21:59:53 ---> Running in 3fd4f524bcb1 21:59:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 22:00:15 Removing intermediate container 3fd4f524bcb1 22:00:15 ---> 55ec98370137 22:00:15 Step 13/25 : FROM alpine:3.17 22:00:15 3.17: Pulling from library/alpine 22:00:15 f56be85fc22e: Pulling fs layer 22:00:15 f56be85fc22e: Verifying Checksum 22:00:15 f56be85fc22e: Download complete 22:00:15 f56be85fc22e: Pull complete 22:00:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:00:15 Status: Downloaded newer image for alpine:3.17 22:00:15 ---> 9ed4aefc74f6 22:00:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:00:15 ---> Running in 5432c942fbdd 22:00:15 Removing intermediate container 5432c942fbdd 22:00:15 ---> 5d95f44dc5ef 22:00:15 Step 15/25 : RUN apk add --update --no-cache 22:00:15 ---> Running in fa52028d60c4 22:00:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:00:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:00:15 OK: 7 MiB in 15 packages 22:00:15 Removing intermediate container fa52028d60c4 22:00:15 ---> c9ef8485f5ef 22:00:15 Step 16/25 : WORKDIR / 22:00:15 ---> Running in 92d43a776ce7 22:00:15 Removing intermediate container 92d43a776ce7 22:00:15 ---> b63f4fb199ba 22:00:15 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 22:00:16 ---> 9923d2fa5946 22:00:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 22:00:16 ---> 5b79dc7469e0 22:00:16 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 22:00:17 ---> 7f8ffeca01c7 22:00:17 Step 20/25 : EXPOSE 59910 22:00:17 ---> Running in d786e0d3cf80 22:00:17 Removing intermediate container d786e0d3cf80 22:00:17 ---> 83ddc9152836 22:00:17 Step 21/25 : ENTRYPOINT ["/device-gpio"] 22:00:17 ---> Running in 91e28d4f4a8e 22:00:17 Removing intermediate container 91e28d4f4a8e 22:00:17 ---> 5d95aa365e19 22:00:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:00:17 ---> Running in 35dae9eb44c7 22:00:17 Removing intermediate container 35dae9eb44c7 22:00:17 ---> 3ece2798c358 22:00:17 Step 23/25 : LABEL arch=amd64 22:00:17 ---> Running in 579d5f4462cb 22:00:17 Removing intermediate container 579d5f4462cb 22:00:17 ---> 93004fc75943 22:00:17 Step 24/25 : LABEL git_sha=884b06b8c18245450d923488b3debcbce8b92635 22:00:17 ---> Running in 32b9b38cbdc2 22:00:17 Removing intermediate container 32b9b38cbdc2 22:00:17 ---> 800da72580b0 22:00:17 Step 25/25 : LABEL version=0.0.0 22:00:17 ---> Running in dc8734119f89 22:00:17 Removing intermediate container dc8734119f89 22:00:17 ---> 5fb2bda8b2f8 22:00:17 [Warning] One or more build-args [ARCH] were not consumed 22:00:17 Successfully built 5fb2bda8b2f8 22:00:17 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 22:00:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:18 22:00:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:18 latest: Pulling from edgex-lftools-log-publisher 22:00:18 5eb5b503b376: Pulling fs layer 22:00:18 5c69ac0246d0: Pulling fs layer 22:00:18 ec43610c2a17: Pulling fs layer 22:00:18 3a2ae6a8a46f: Pulling fs layer 22:00:18 33b1e0a273af: Pulling fs layer 22:00:18 5d3b04190fa2: Pulling fs layer 22:00:18 2f39f015ded8: Pulling fs layer 22:00:18 3a2ae6a8a46f: Waiting 22:00:18 5d3b04190fa2: Waiting 22:00:18 33b1e0a273af: Waiting 22:00:18 2f39f015ded8: Waiting 22:00:18 5c69ac0246d0: Verifying Checksum 22:00:18 5c69ac0246d0: Download complete 22:00:18 3a2ae6a8a46f: Download complete 22:00:18 33b1e0a273af: Verifying Checksum 22:00:18 33b1e0a273af: Download complete 22:00:18 5d3b04190fa2: Download complete 22:00:18 ec43610c2a17: Verifying Checksum 22:00:18 ec43610c2a17: Download complete 22:00:19 5eb5b503b376: Verifying Checksum 22:00:19 5eb5b503b376: Download complete 22:00:19 2f39f015ded8: Download complete 22:00:20 5eb5b503b376: Pull complete 22:00:20 5c69ac0246d0: Pull complete 22:00:20 ec43610c2a17: Pull complete 22:00:20 3a2ae6a8a46f: Pull complete 22:00:20 33b1e0a273af: Pull complete 22:00:21 5d3b04190fa2: Pull complete 22:00:25 2f39f015ded8: Pull complete 22:00:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:00:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:25 prd-ubuntu20.04-docker-8c-8g-6261 does not seem to be running inside a container 22:00:25 $ 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-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:00:30 $ docker top 779135fa905519a2f9153b6411543e6e8bf67211c847756f5c813d22d63a33d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:30 ---> job-cost.sh 22:00:30 lf-activate-venv: SKIPPING 22:00:30 INFO: No Stack... 22:00:30 INFO: Retrieving Pricing Info for: v3-standard-8 22:00:31 INFO: Archiving Costs [Pipeline] sh 22:00:31 + cat /w/workspace/edgexfoundry_device-gpio_PR-146/archives/cost.csv 22:00:31 + cut -d, -f6 [Pipeline] lock 22:00:31 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] 22:00:31 Resource [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] did not exist. Created. 22:00:31 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:00:32 + echo total: 0.2199999988079071 [Pipeline] stash 22:00:32 Stashed 1 file(s) [Pipeline] } 22:00:32 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:00:32 $ docker stop --time=1 779135fa905519a2f9153b6411543e6e8bf67211c847756f5c813d22d63a33d6 22:00:33 $ docker rm -f --volumes 779135fa905519a2f9153b6411543e6e8bf67211c847756f5c813d22d63a33d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:00:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6263 in /w/workspace/edgexfoundry_device-gpio_PR-146 [Pipeline] { [Pipeline] ws 22:00:54 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 22:00:54 The recommended git tool is: git 22:01:00 using credential edgex-jenkins-ssh 22:01:00 Cloning the remote Git repository 22:01:00 Cloning repository git@github.com:edgexfoundry/device-gpio.git 22:01:00 > git init /w/workspace/device-gpio/1 # timeout=10 22:01:01 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:01:01 > git --version # timeout=10 22:01:01 > git --version # 'git version 2.25.1' 22:01:01 using GIT_SSH to set credentials SSH Credentials for GitHub 22:01:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:01:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:01:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:01:04 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:01:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:01:04 Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit 884b06b8c18245450d923488b3debcbce8b92635 22:01:05 Merge succeeded, producing 884b06b8c18245450d923488b3debcbce8b92635 22:01:05 Checking out Revision 884b06b8c18245450d923488b3debcbce8b92635 (PR-146) 22:01:04 > git config core.sparsecheckout # timeout=10 22:01:04 > git checkout -f 884b06b8c18245450d923488b3debcbce8b92635 # timeout=10 22:01:05 > git remote # timeout=10 22:01:05 > git config --get remote.origin.url # timeout=10 22:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:01:05 > git merge 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 22:01:05 > git rev-parse HEAD^{commit} # timeout=10 22:01:05 > git config core.sparsecheckout # timeout=10 22:01:05 > git checkout -f 884b06b8c18245450d923488b3debcbce8b92635 # timeout=10 22:01:08 Commit message: "refactor!: Change configuration and device toml files to yaml" 22:01:08 > git --version # timeout=10 22:01:08 > git --version # 'git version 2.25.1' 22:01:08 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:01:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:01:10 Dload Upload Total Spent Left Speed 22:01:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 22:01:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:01:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:01:11 + sudo tee /etc/docker/daemon.new 22:01:11 { 22:01:11 "registry-mirrors": [ 22:01:11 "https://nexus3.edgexfoundry.org:10001" 22:01:11 ], 22:01:11 "bip": "10.250.0.254/24", 22:01:11 "hosts": [ 22:01:11 "tcp://0.0.0.0:5555", 22:01:11 "unix:///var/run/docker.sock" 22:01:11 ], 22:01:11 "mtu": 1458, 22:01:11 "selinux-enabled": true, 22:01:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:01:11 } [Pipeline] sh 22:01:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:01:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:30 provisioning config files... 22:01:30 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config7841974388554820740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:30 ---> docker-login.sh 22:01:30 nexus3.edgexfoundry.org:10001 22:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:31 Configure a credential helper to remove this warning. See 22:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:31 22:01:31 Login Succeeded 22:01:31 nexus3.edgexfoundry.org:10002 22:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:31 Configure a credential helper to remove this warning. See 22:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:31 22:01:31 Login Succeeded 22:01:31 nexus3.edgexfoundry.org:10003 22:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:32 Configure a credential helper to remove this warning. See 22:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:32 22:01:32 Login Succeeded 22:01:32 nexus3.edgexfoundry.org:10004 22:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:32 Configure a credential helper to remove this warning. See 22:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:32 22:01:32 Login Succeeded 22:01:32 docker.io 22:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:33 Configure a credential helper to remove this warning. See 22:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:33 22:01:33 Login Succeeded 22:01:33 ---> docker-login.sh ends [Pipeline] } 22:01:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:33 ========================================================= 22:01:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:01:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:01:34 Sending build context to Docker daemon 8.148MB 22:01:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:01:34 Step 2/12 : FROM ${BASE} AS builder 22:01:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:01:34 af6eaf76a39c: Pulling fs layer 22:01:34 55522c791124: Pulling fs layer 22:01:34 ce5c4a1c91eb: Pulling fs layer 22:01:34 169dfbe0d373: Pulling fs layer 22:01:34 e1ff8fa3b103: Pulling fs layer 22:01:34 52ebb69f0ebf: Pulling fs layer 22:01:34 5abe8eddf0d5: Pulling fs layer 22:01:34 52ebb69f0ebf: Waiting 22:01:34 169dfbe0d373: Waiting 22:01:34 e1ff8fa3b103: Waiting 22:01:34 5abe8eddf0d5: Waiting 22:01:34 55522c791124: Verifying Checksum 22:01:34 55522c791124: Download complete 22:01:34 169dfbe0d373: Verifying Checksum 22:01:34 169dfbe0d373: Download complete 22:01:34 e1ff8fa3b103: Verifying Checksum 22:01:34 e1ff8fa3b103: Download complete 22:01:34 af6eaf76a39c: Verifying Checksum 22:01:34 af6eaf76a39c: Download complete 22:01:36 af6eaf76a39c: Pull complete 22:01:36 5abe8eddf0d5: Verifying Checksum 22:01:36 5abe8eddf0d5: Download complete 22:01:36 55522c791124: Pull complete 22:01:37 ce5c4a1c91eb: Download complete 22:01:37 52ebb69f0ebf: Verifying Checksum 22:01:37 52ebb69f0ebf: Download complete 22:01:49 ce5c4a1c91eb: Pull complete 22:01:49 169dfbe0d373: Pull complete 22:01:49 e1ff8fa3b103: Pull complete 22:01:56 52ebb69f0ebf: Pull complete 22:01:57 5abe8eddf0d5: Pull complete 22:01:57 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:01:57 ---> 6cb57ee374ae 22:01:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:01:59 ---> Running in d682dbca9870 22:02:00 Removing intermediate container d682dbca9870 22:02:00 ---> 573b9bb2a0d5 22:02:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:00 ---> Running in 027489cff158 22:02:00 Removing intermediate container 027489cff158 22:02:00 ---> 6b606d1fc4fb 22:02:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 22:02:00 ---> Running in 45d9cb4ed027 22:02:00 Removing intermediate container 45d9cb4ed027 22:02:00 ---> cae1c46d7c7d 22:02:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:02:00 ---> Running in 92c11560caeb 22:02:01 Removing intermediate container 92c11560caeb 22:02:01 ---> b9540498337a 22:02:01 Step 7/12 : WORKDIR /device-gpio 22:02:01 ---> Running in d9b128202ffd 22:02:01 Removing intermediate container d9b128202ffd 22:02:01 ---> 3343bcc7a6ca 22:02:01 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:01 ---> Running in 5ad5580e6a43 22:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:02:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:02:05 (2/4) Installing libedit (20221030.3.1-r0) 22:02:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:02:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:02:05 Executing busybox-1.35.0-r29.trigger 22:02:05 OK: 268 MiB in 57 packages 22:02:06 Removing intermediate container 5ad5580e6a43 22:02:06 ---> 3f14ec497670 22:02:06 Step 9/12 : COPY go.mod vendor* ./ 22:02:07 ---> 240b48a1cbb3 22:02:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:07 ---> Running in 9b8d5042974d 22:03:15 Removing intermediate container 9b8d5042974d 22:03:15 ---> a62d0633ecfb 22:03:15 Step 11/12 : COPY . . 22:03:15 ---> 37032481147d 22:03:15 Step 12/12 : RUN ${MAKE} 22:03:15 ---> Running in ac9b0edd42b0 22:03:15 noop 22:03:17 Removing intermediate container ac9b0edd42b0 22:03:17 ---> fca51a718e24 22:03:17 Successfully built fca51a718e24 22:03:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:18 + docker inspect -f . ci-base-image-arm64 22:03:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:18 prd-ubuntu20.04-docker-arm64-4c-16g-6263 does not seem to be running inside a container 22:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:03:19 $ docker top 16f74f285930f0b79acbc0afb21b09a7cccfc465d8af762fddb3240f05f46404 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:20 + go version 22:03:20 go version go1.20.2 linux/arm64 [Pipeline] } 22:03:20 $ docker stop --time=1 16f74f285930f0b79acbc0afb21b09a7cccfc465d8af762fddb3240f05f46404 22:03:22 $ docker rm -f --volumes 16f74f285930f0b79acbc0afb21b09a7cccfc465d8af762fddb3240f05f46404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:23 + docker inspect -f . ci-base-image-arm64 22:03:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:23 prd-ubuntu20.04-docker-arm64-4c-16g-6263 does not seem to be running inside a container 22:03:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:03:24 $ docker top 4214fbe6fac65de848e2574f421a2c00d0f3586d4e3967697a39beb29d6fedf3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:25 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 22:03:25 + make test 22:03:26 go test ./... -coverprofile=coverage.out ./... 22:03:58 ? github.com/edgexfoundry/device-gpio [no test files] 22:06:05 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 22:06:05 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 22:06:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:06:05 go vet ./... 22:06:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:06:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:06:37 ./bin/test-attribution-txt.sh [Pipeline] echo 22:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:06:37 $ docker stop --time=1 4214fbe6fac65de848e2574f421a2c00d0f3586d4e3967697a39beb29d6fedf3 22:06:39 $ docker rm -f --volumes 4214fbe6fac65de848e2574f421a2c00d0f3586d4e3967697a39beb29d6fedf3 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:40 Warning: overwriting stash ‘coverage-report’ 22:06:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:06:42 + ls -al . 22:06:42 total 152 22:06:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:03 . 22:06:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:01 .. 22:06:42 -rw-rw-r-- 1 jenkins jenkins 120 Mar 29 22:01 .dockerignore 22:06:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:01 .git 22:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:01 .github 22:06:42 -rw-rw-r-- 1 jenkins jenkins 343 Mar 29 22:01 .gitignore 22:06:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 22:01 .golangci.yml 22:06:42 -rw-rw-r-- 1 jenkins jenkins 9573 Mar 29 22:01 Attribution.txt 22:06:42 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 29 22:01 CHANGELOG.md 22:06:42 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 29 22:01 Dockerfile 22:06:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 22:01 GOVERNANCE.md 22:06:42 -rw-rw-r-- 1 jenkins jenkins 657 Mar 29 22:01 Jenkinsfile 22:06:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 22:01 LICENSE 22:06:42 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 29 22:01 Makefile 22:06:42 -rw-rw-r-- 1 jenkins jenkins 617 Mar 29 22:01 OWNERS.md 22:06:42 -rw-rw-r-- 1 jenkins jenkins 11790 Mar 29 22:01 README.md 22:06:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:58 VERSION 22:06:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:01 bin 22:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:01 cmd 22:06:42 -rw-r--r-- 1 jenkins jenkins 10 Mar 29 22:03 coverage.out 22:06:42 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 29 22:01 go.mod 22:06:42 -rw-rw-r-- 1 jenkins jenkins 31438 Mar 29 22:01 go.sum 22:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:01 internal 22:06:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:01 snap 22:06:42 -rw-rw-r-- 1 jenkins jenkins 209 Mar 29 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:42 + 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=884b06b8c18245450d923488b3debcbce8b92635 --label arch=arm64 --label version=0.0.0 . 22:06:42 Sending build context to Docker daemon 8.149MB 22:06:43 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:06:43 Step 2/25 : FROM ${BASE} AS builder 22:06:43 ---> fca51a718e24 22:06:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:06:43 ---> Running in 22e95fc22e28 22:06:43 Removing intermediate container 22e95fc22e28 22:06:43 ---> 9c05615f90bc 22:06:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:06:43 ---> Running in 2644022dd1f6 22:06:43 Removing intermediate container 2644022dd1f6 22:06:43 ---> 1c0b6e7cb339 22:06:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 22:06:43 ---> Running in 417e61250496 22:06:44 Removing intermediate container 417e61250496 22:06:44 ---> 3edb99de57e5 22:06:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:06:44 ---> Running in 20bb596dbb40 22:06:44 Removing intermediate container 20bb596dbb40 22:06:44 ---> dffbd16f087b 22:06:44 Step 7/25 : WORKDIR /device-gpio 22:06:44 ---> Running in 5df53671c45e 22:06:45 Removing intermediate container 5df53671c45e 22:06:45 ---> 418958e1f21a 22:06:45 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:45 ---> Running in 84b83bb4843f 22:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:06:47 OK: 268 MiB in 57 packages 22:06:48 Removing intermediate container 84b83bb4843f 22:06:48 ---> 384bfe102f49 22:06:48 Step 9/25 : COPY go.mod vendor* ./ 22:06:49 ---> a56be723a7d1 22:06:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:49 ---> Running in 1cd6383484da 22:06:52 Removing intermediate container 1cd6383484da 22:06:52 ---> 23f7589e0145 22:06:52 Step 11/25 : COPY . . 22:06:53 ---> f8e363190757 22:06:53 Step 12/25 : RUN ${MAKE} 22:06:53 ---> Running in 6252d1fdb295 22:06:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 22:09:01 Removing intermediate container 6252d1fdb295 22:09:01 ---> dffa93638635 22:09:01 Step 13/25 : FROM alpine:3.17 22:09:01 3.17: Pulling from library/alpine 22:09:01 c41833b44d91: Pulling fs layer 22:09:01 c41833b44d91: Verifying Checksum 22:09:01 c41833b44d91: Download complete 22:09:01 c41833b44d91: Pull complete 22:09:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:09:01 Status: Downloaded newer image for alpine:3.17 22:09:01 ---> 51e60588ff2c 22:09:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:09:01 ---> Running in 55a0a2136603 22:09:01 Removing intermediate container 55a0a2136603 22:09:01 ---> 502c2c8b78a7 22:09:01 Step 15/25 : RUN apk add --update --no-cache 22:09:01 ---> Running in 051eea45522f 22:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:09:03 OK: 7 MiB in 15 packages 22:09:04 Removing intermediate container 051eea45522f 22:09:04 ---> 2a12387a3053 22:09:04 Step 16/25 : WORKDIR / 22:09:04 ---> Running in 953f06b480a0 22:09:04 Removing intermediate container 953f06b480a0 22:09:04 ---> d861a2e06a47 22:09:04 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 22:09:05 ---> ed9bcc60f7e9 22:09:05 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 22:09:06 ---> 565e4efb0d1f 22:09:06 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 22:09:07 ---> c9dcdd01170a 22:09:07 Step 20/25 : EXPOSE 59910 22:09:07 ---> Running in d0f35bbc4ac5 22:09:07 Removing intermediate container d0f35bbc4ac5 22:09:07 ---> b124009816db 22:09:07 Step 21/25 : ENTRYPOINT ["/device-gpio"] 22:09:07 ---> Running in 9e0bc3a397b7 22:09:07 Removing intermediate container 9e0bc3a397b7 22:09:07 ---> d7a96f8cdce1 22:09:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:09:07 ---> Running in 4bf543c870b4 22:09:08 Removing intermediate container 4bf543c870b4 22:09:08 ---> a5bae6c08656 22:09:08 Step 23/25 : LABEL arch=arm64 22:09:08 ---> Running in 1a8b2165cf38 22:09:08 Removing intermediate container 1a8b2165cf38 22:09:08 ---> ed2b81387961 22:09:08 Step 24/25 : LABEL git_sha=884b06b8c18245450d923488b3debcbce8b92635 22:09:08 ---> Running in 875d86cc7079 22:09:09 Removing intermediate container 875d86cc7079 22:09:09 ---> fe38882c94ea 22:09:09 Step 25/25 : LABEL version=0.0.0 22:09:09 ---> Running in 1a7050b50903 22:09:09 Removing intermediate container 1a7050b50903 22:09:09 ---> 9b5fb5e6f02d 22:09:09 [Warning] One or more build-args [ARCH] were not consumed 22:09:09 Successfully built 9b5fb5e6f02d 22:09:09 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 22:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:10 22:09:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:11 arm64: Pulling from edgex-lftools-log-publisher 22:09:11 8998bd30e6a1: Pulling fs layer 22:09:11 04944245beec: Pulling fs layer 22:09:11 699f458cf7ca: Pulling fs layer 22:09:11 765212b225bb: Pulling fs layer 22:09:11 f23df028b6ca: Pulling fs layer 22:09:11 d65c8cfc05b1: Pulling fs layer 22:09:11 2437ff75d9bd: Pulling fs layer 22:09:11 f23df028b6ca: Waiting 22:09:11 d65c8cfc05b1: Waiting 22:09:11 765212b225bb: Waiting 22:09:11 2437ff75d9bd: Waiting 22:09:11 04944245beec: Verifying Checksum 22:09:11 04944245beec: Download complete 22:09:11 765212b225bb: Verifying Checksum 22:09:11 765212b225bb: Download complete 22:09:11 f23df028b6ca: Verifying Checksum 22:09:11 f23df028b6ca: Download complete 22:09:11 d65c8cfc05b1: Verifying Checksum 22:09:11 d65c8cfc05b1: Download complete 22:09:11 699f458cf7ca: Verifying Checksum 22:09:11 699f458cf7ca: Download complete 22:09:11 8998bd30e6a1: Download complete 22:09:13 2437ff75d9bd: Verifying Checksum 22:09:13 2437ff75d9bd: Download complete 22:09:15 8998bd30e6a1: Pull complete 22:09:15 04944245beec: Pull complete 22:09:16 699f458cf7ca: Pull complete 22:09:17 765212b225bb: Pull complete 22:09:17 f23df028b6ca: Pull complete 22:09:17 d65c8cfc05b1: Pull complete 22:09:32 2437ff75d9bd: Pull complete 22:09:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:33 prd-ubuntu20.04-docker-arm64-4c-16g-6263 does not seem to be running inside a container 22:09:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:09:37 $ docker top 13fbfc95de24efab1d1024e1fa1569c1aff1825e9887c7413a73a379c6a37388 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:38 ---> job-cost.sh 22:09:38 lf-activate-venv: SKIPPING 22:09:38 INFO: No Stack... 22:09:38 INFO: Retrieving Pricing Info for: v3-standard-4 22:09:39 INFO: Archiving Costs [Pipeline] sh 22:09:39 + cat /w/workspace/device-gpio/1/archives/cost.csv+ cut -d, -f6 22:09:39 [Pipeline] lock 22:09:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] 22:09:40 Resource [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] did not exist. Created. 22:09:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:09:40 /w/workspace/device-gpio/1@tmp/durable-143e1a09/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:09:41 + echo total: 0.10999999940395355 [Pipeline] stash 22:09:41 Warning: overwriting stash ‘stack-cost’ 22:09:41 Stashed 1 file(s) [Pipeline] } 22:09:41 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:09:41 $ docker stop --time=1 13fbfc95de24efab1d1024e1fa1569c1aff1825e9887c7413a73a379c6a37388 22:09:42 $ docker rm -f --volumes 13fbfc95de24efab1d1024e1fa1569c1aff1825e9887c7413a73a379c6a37388 [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 22:09:43 provisioning config files... 22:09:43 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config17988476556247954739tmp [Pipeline] { [Pipeline] sh 22:09:44 + set +x 22:09:44 + curl -s https://codecov.io/bash 22:09:44 + bash -s -- 22:09:44 22:09:44 _____ _ 22:09:44 / ____| | | 22:09:44 | | ___ __| | ___ ___ _____ __ 22:09:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:09:44 | |___| (_) | (_| | __/ (_| (_) \ V / 22:09:44 \_____\___/ \__,_|\___|\___\___/ \_/ 22:09:44 Bash-1.0.6 22:09:44 22:09:44 22:09:44 ==> git version 2.25.1 found 22:09:44 ==> 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 22:09:44 Release-Date: 2020-01-08 22:09:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:09:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:09:44 ==> Jenkins CI detected. 22:09:44 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-146 22:09:44 project root: . 22:09:44 --> token set from env 22:09:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:09:44 ==> Running gcov in . (disable via -X gcov) 22:09:44 ==> Python coveragepy not found 22:09:44 ==> Searching for coverage reports in: 22:09:44 + . 22:09:44 -> Found 1 reports 22:09:44 ==> Detecting git/mercurial file structure 22:09:44 ==> Reading reports 22:09:44 + ./coverage.out bytes=10 22:09:44 ==> Appending adjustments 22:09:44 https://docs.codecov.io/docs/fixing-reports 22:09:44 + Found adjustments 22:09:44 ==> Gzipping contents 22:09:44 4.0K /tmp/codecov.wGU8vw.gz 22:09:44 ==> Uploading reports 22:09:44 url: https://codecov.io 22:09:44 query: branch=PR-146&commit=884b06b8c18245450d923488b3debcbce8b92635&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=146&job=&cmd_args= 22:09:44 -> Pinging Codecov 22:09:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-146&commit=884b06b8c18245450d923488b3debcbce8b92635&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=146&job=&cmd_args= 22:09:44 -> Uploading to 22:09:44 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/3EC07B1A8CA8AF9BCAA0BB9F0134797F/884b06b8c18245450d923488b3debcbce8b92635/cb553678-cac7-4dd2-b103-bef44d0a8381.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T220944Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8607f260b1389d2f856f15ce44669c32895e70fd93ccc76482e7a7004d92cac 22:09:44 % Total % Received % Xferd Average Speed Time Time Time Current 22:09:44 Dload Upload Total Spent Left Speed 22:09:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 707 0 0 100 707 0 3184 --:--:-- --:--:-- --:--:-- 3170 100 707 0 0 100 707 0 2463 --:--:-- --:--:-- --:--:-- 2454 22:09:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/884b06b8c18245450d923488b3debcbce8b92635 [Pipeline] } 22:09:44 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 22:09:46 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-146/archives ] 22:09:46 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-146/archives 22:09:46 total 16 22:09:46 drwxr-xr-x 3 root root 4096 Mar 29 22:00 . 22:09:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 22:00 .. 22:09:46 drwxr-xr-x 2 root root 4096 Mar 29 22:00 cost 22:09:46 -rw-r--r-- 1 root root 83 Mar 29 22:00 cost.csv 22:09:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-146/archives 22:09:46 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-146/archives 22:09:46 total 16 22:09:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 22:00 . 22:09:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 22:00 .. 22:09:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 22:00 cost 22:09:46 -rw-r--r-- 1 jenkins jenkins 83 Mar 29 22:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:09:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:09:47 ---> package-listing.sh 22:09:47 ++ facter osfamily 22:09:47 ++ tr '[:upper:]' '[:lower:]' 22:09:47 + OS_FAMILY=debian 22:09:47 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-146 22:09:47 + START_PACKAGES=/tmp/packages_start.txt 22:09:47 + END_PACKAGES=/tmp/packages_end.txt 22:09:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:09:47 + PACKAGES=/tmp/packages_start.txt 22:09:47 + '[' /w/workspace/edgexfoundry_device-gpio_PR-146 ']' 22:09:47 + PACKAGES=/tmp/packages_end.txt 22:09:47 + case "${OS_FAMILY}" in 22:09:47 + dpkg -l 22:09:47 + grep '^ii' 22:09:47 + '[' -f /tmp/packages_start.txt ']' 22:09:47 + '[' -f /tmp/packages_end.txt ']' 22:09:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:09:47 + '[' /w/workspace/edgexfoundry_device-gpio_PR-146 ']' 22:09:47 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-146/archives/ 22:09:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-146/archives/ [Pipeline] echo 22:09:47 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:09:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:49 prd-ubuntu20.04-docker-8c-8g-6261 does not seem to be running inside a container 22:09:49 $ 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-146/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-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:09:49 $ docker top 0c403f04a560575950801143fe762f2000dc280a1a30be3872d54d8ea18fd850 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:09:49 + mkdir -p /var/log/sysstat [Pipeline] sh 22:09:50 + ls /var/log/sa-host 22:09:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:09:50 provisioning config files... 22:09:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config2316376001030937539tmp [Pipeline] { [Pipeline] echo 22:09:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:09:50 ---> create-netrc.sh [Pipeline] } 22:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:09:51 ---> python-tools-install.sh [Pipeline] echo 22:09:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:09:51 ---> sudo-logs.sh 22:09:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:09:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:09:52 ---> job-cost.sh 22:09:52 lf-activate-venv: SKIPPING 22:09:52 DEBUG: total: 0.2199999988079071 22:09:52 INFO: Retrieving Stack Cost... 22:09:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:09:52 INFO: Archiving Costs [Pipeline] echo 22:09:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:09:53 ---> logs-deploy.sh 22:09:53 lf-activate-venv: SKIPPING 22:09:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-146/1 22:09:53 INFO: archiving workspace using pattern(s): 22:09:54 Archives upload complete. 22:09:54 INFO: archiving logs to Nexus