Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47277671f3c579d32f0274d79d798fb3a985d419 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-ssh14325235054253483706.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7031099774134549243.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4012806952349383861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh3176999793300225793.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16545875710726043224.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1303 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Avoid second fetch Checking out Revision 47277671f3c579d32f0274d79d798fb3a985d419 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 47277671f3c579d32f0274d79d798fb3a985d419 # timeout=10 Commit message: "Merge pull request #229 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" > git rev-list --no-walk 37aa226f5376ea06b3ad5140468dce2825053009 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:46:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:46:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:46:49 ========================================================= 01:46:49 EdgeX Global Pipelines Version Info 01:46:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:46:50 ------------------- 01:46:50 stable info: 01:46:50 ------------------- 01:46:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:46:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:46:50 Message: update stable to v1.0.258 01:46:50 ------------------- 01:46:50 experimental info: 01:46:50 ------------------- 01:46:50 Commited By: **** collab-it+edgex@linuxfoundation.org 01:46:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:46:50 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:46:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:46:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:46:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] echo 01:46:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4727767 [Pipeline] echo 01:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:46:52 provisioning config files... 01:46:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17355541822992247312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:52 ---> ****-login.sh 01:46:52 nexus3.edgexfoundry.org:10001 01:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:52 Configure a credential helper to remove this warning. See 01:46:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:52 01:46:52 Login Succeeded 01:46:52 nexus3.edgexfoundry.org:10002 01:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:52 Configure a credential helper to remove this warning. See 01:46:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:52 01:46:52 Login Succeeded 01:46:52 nexus3.edgexfoundry.org:10003 01:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:53 Configure a credential helper to remove this warning. See 01:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:53 01:46:53 Login Succeeded 01:46:53 nexus3.edgexfoundry.org:10004 01:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:53 Configure a credential helper to remove this warning. See 01:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:53 01:46:53 Login Succeeded 01:46:53 ****.io 01:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:53 Configure a credential helper to remove this warning. See 01:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:53 01:46:53 Login Succeeded 01:46:53 ---> ****-login.sh ends [Pipeline] } 01:46:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:46:54 + git rev-list -1 --merges 47277671f3c579d32f0274d79d798fb3a985d419~1..47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] echo 01:46:54 -----------> git rev-list -1 --merges 47277671f3c579d32f0274d79d798fb3a985d419~1..47277671f3c579d32f0274d79d798fb3a985d419 47277671f3c579d32f0274d79d798fb3a985d419 01:46:54 47277671f3c579d32f0274d79d798fb3a985d419 [false] [Pipeline] sh 01:46:54 + git log --format=format:%s -1 47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] echo 01:46:54 ========================================================= 01:46:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:46:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:54 + git log --format=format:%s -1 47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] echo 01:46:54 [semverPrep] GIT_COMMIT: 47277671f3c579d32f0274d79d798fb3a985d419, Commit Message: Merge pull request #229 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9 [Pipeline] echo 01:46:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:46:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:46:55 + grep -v github /etc/ssh/ssh_known_hosts 01:46:55 + [ -e /tmp/ssh_known_hosts ] 01:46:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:46:55 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:46:55 sudo tee -a /etc/ssh/ssh_known_hosts 01:46:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:56 01:46:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:57 0.1.4: Pulling from edgex-devops/py-git-semver 01:46:57 b85a868b505f: Pulling fs layer 01:46:57 e2be974225ed: Pulling fs layer 01:46:57 339a4e72a1f5: Pulling fs layer 01:46:57 988bab9f4d93: Pulling fs layer 01:46:57 1469e6f7b9e6: Pulling fs layer 01:46:57 eaf3925da568: Pulling fs layer 01:46:57 bab4dde63d76: Pulling fs layer 01:46:57 1469e6f7b9e6: Waiting 01:46:57 eaf3925da568: Waiting 01:46:57 bab4dde63d76: Waiting 01:46:57 bde34c3a00c8: Pulling fs layer 01:46:57 b352a97aabf1: Pulling fs layer 01:46:57 4872d77fe225: Pulling fs layer 01:46:57 5851b861e8e6: Pulling fs layer 01:46:57 b352a97aabf1: Waiting 01:46:57 bde34c3a00c8: Waiting 01:46:57 e2be974225ed: Verifying Checksum 01:46:57 e2be974225ed: Download complete 01:46:57 988bab9f4d93: Verifying Checksum 01:46:57 988bab9f4d93: Download complete 01:46:58 1469e6f7b9e6: Verifying Checksum 01:46:58 1469e6f7b9e6: Download complete 01:46:58 339a4e72a1f5: Verifying Checksum 01:46:58 339a4e72a1f5: Download complete 01:46:58 eaf3925da568: Verifying Checksum 01:46:58 eaf3925da568: Download complete 01:46:58 bde34c3a00c8: Verifying Checksum 01:46:58 bde34c3a00c8: Download complete 01:46:58 b352a97aabf1: Verifying Checksum 01:46:58 b352a97aabf1: Download complete 01:46:58 4872d77fe225: Download complete 01:46:58 5851b861e8e6: Verifying Checksum 01:46:58 5851b861e8e6: Download complete 01:46:58 b85a868b505f: Verifying Checksum 01:46:58 b85a868b505f: Download complete 01:46:58 bab4dde63d76: Verifying Checksum 01:46:58 bab4dde63d76: Download complete 01:46:59 b85a868b505f: Pull complete 01:47:00 e2be974225ed: Pull complete 01:47:00 339a4e72a1f5: Pull complete 01:47:00 988bab9f4d93: Pull complete 01:47:00 1469e6f7b9e6: Pull complete 01:47:01 eaf3925da568: Pull complete 01:47:03 bab4dde63d76: Pull complete 01:47:03 bde34c3a00c8: Pull complete 01:47:03 b352a97aabf1: Pull complete 01:47:03 4872d77fe225: Pull complete 01:47:03 5851b861e8e6: Pull complete 01:47:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:04 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:07 $ docker top 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f -eo pid,comm 01:47:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:47:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:07 [ssh-agent] Looking for ssh-agent implementation... 01:47:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:07 $ docker exec 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f ssh-agent 01:47:07 SSH_AUTH_SOCK=/tmp/ssh-sG0nNV2e0xiq/agent.33 01:47:07 SSH_AGENT_PID=39 01:47:07 Running ssh-add (command line suppressed) 01:47:08 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7831886877060818802.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7831886877060818802.key) 01:47:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:08 + git tag --points-at HEAD [Pipeline] } 01:47:08 $ docker exec --env ******** --env ******** 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f ssh-agent -k 01:47:08 unset SSH_AUTH_SOCK; 01:47:08 unset SSH_AGENT_PID; 01:47:08 echo Agent pid 39 killed; 01:47:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:47:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:08 [ssh-agent] Looking for ssh-agent implementation... 01:47:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:08 $ docker exec 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f ssh-agent 01:47:08 SSH_AUTH_SOCK=/tmp/ssh-9OIdfbmheOPN/agent.72 01:47:08 SSH_AGENT_PID=78 01:47:08 Running ssh-add (command line suppressed) 01:47:09 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15384988294217659686.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15384988294217659686.key) 01:47:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:09 + git semver init 01:47:09 2024-02-20 01:47:09,514 [run_init] DEBUG init version:0.0.0 force:False 01:47:09 2024-02-20 01:47:09,515 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 01:47:09 2024-02-20 01:47:09,515 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 01:47:09 2024-02-20 01:47:09,515 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 01:47:10 2024-02-20 01:47:10,693 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 01:47:10 2024-02-20 01:47:10,693 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 01:47:10 2024-02-20 01:47:10,693 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:47:10 2024-02-20 01:47:10,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:47:10 3.2.0-dev.8 [Pipeline] } 01:47:11 $ docker exec --env ******** --env ******** 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f ssh-agent -k 01:47:11 unset SSH_AUTH_SOCK; 01:47:11 unset SSH_AGENT_PID; 01:47:11 echo Agent pid 78 killed; 01:47:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:11 + git semver [Pipeline] } 01:47:11 $ docker stop --time=1 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f 01:47:13 $ docker rm -f --volumes 88e69325005ebbf31a92b477b9739e88f4be8d0ee0144389349aed3bd9cce11f [Pipeline] // withDockerContainer [Pipeline] sh 01:47:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:47:13 Stashed 1 file(s) [Pipeline] echo 01:47:13 [edgeXSemver]: initialized semver on version 3.2.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:14 provisioning config files... 01:47:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4586877188178518171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:14 ---> ****-login.sh 01:47:14 nexus3.edgexfoundry.org:10001 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:14 01:47:14 Login Succeeded 01:47:14 nexus3.edgexfoundry.org:10002 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:14 01:47:14 Login Succeeded 01:47:14 nexus3.edgexfoundry.org:10003 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:14 01:47:14 Login Succeeded 01:47:14 nexus3.edgexfoundry.org:10004 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:14 01:47:14 Login Succeeded 01:47:14 ****.io 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:14 01:47:14 Login Succeeded 01:47:14 ---> ****-login.sh ends [Pipeline] } 01:47:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:47:15 ========================================================= 01:47:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:47:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:47:15 Sending build context to Docker daemon 24.54MB 01:47:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:47:15 Step 2/12 : FROM ${BASE} AS builder 01:47:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:47:15 7264a8db6415: Pulling fs layer 01:47:15 c4d48a809fc2: Pulling fs layer 01:47:15 4f1c88b9dad5: Pulling fs layer 01:47:15 ad3a456e5733: Pulling fs layer 01:47:15 69c7f0334f64: Pulling fs layer 01:47:15 1f1c1a5573a3: Pulling fs layer 01:47:15 ce7588e14bc9: Pulling fs layer 01:47:15 b5e4710f87ac: Pulling fs layer 01:47:15 ad3a456e5733: Waiting 01:47:15 69c7f0334f64: Waiting 01:47:15 1f1c1a5573a3: Waiting 01:47:15 ce7588e14bc9: Waiting 01:47:15 b5e4710f87ac: Waiting 01:47:15 c4d48a809fc2: Download complete 01:47:15 ad3a456e5733: Download complete 01:47:15 69c7f0334f64: Verifying Checksum 01:47:15 69c7f0334f64: Download complete 01:47:15 7264a8db6415: Verifying Checksum 01:47:15 7264a8db6415: Download complete 01:47:15 1f1c1a5573a3: Verifying Checksum 01:47:15 1f1c1a5573a3: Download complete 01:47:15 7264a8db6415: Pull complete 01:47:16 c4d48a809fc2: Pull complete 01:47:16 b5e4710f87ac: Verifying Checksum 01:47:16 b5e4710f87ac: Download complete 01:47:16 4f1c88b9dad5: Verifying Checksum 01:47:16 4f1c88b9dad5: Download complete 01:47:16 ce7588e14bc9: Verifying Checksum 01:47:16 ce7588e14bc9: Download complete 01:47:19 4f1c88b9dad5: Pull complete 01:47:19 ad3a456e5733: Pull complete 01:47:19 69c7f0334f64: Pull complete 01:47:19 1f1c1a5573a3: Pull complete 01:47:22 ce7588e14bc9: Pull complete 01:47:22 b5e4710f87ac: Pull complete 01:47:22 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:47:22 ---> 88b5674ff536 01:47:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:47:26 ---> Running in 2114b73a8ac6 01:47:26 Removing intermediate container 2114b73a8ac6 01:47:26 ---> 2d75e3901890 01:47:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:47:26 ---> Running in a77544d56500 01:47:26 Removing intermediate container a77544d56500 01:47:26 ---> 2cc14306cddd 01:47:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:47:26 ---> Running in ee96c25c22f2 01:47:26 Removing intermediate container ee96c25c22f2 01:47:26 ---> 120fcc6298af 01:47:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:47:26 ---> Running in 3c4b1f7ae5f9 01:47:26 Removing intermediate container 3c4b1f7ae5f9 01:47:26 ---> 48aa724e24de 01:47:26 Step 7/12 : WORKDIR /device-gpio 01:47:26 ---> Running in 22adc9b8bb31 01:47:27 Removing intermediate container 22adc9b8bb31 01:47:27 ---> f666e2518dce 01:47:27 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:27 ---> Running in 1244df590b8b 01:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:47:28 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:47:28 (2/4) Installing libedit (20221030.3.1-r1) 01:47:28 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:47:28 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:47:28 Executing busybox-1.36.1-r5.trigger 01:47:28 OK: 268 MiB in 56 packages 01:47:28 Still waiting to schedule task 01:47:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1300’ 01:47:29 Removing intermediate container 1244df590b8b 01:47:29 ---> 07e21942f09a 01:47:29 Step 9/12 : COPY go.mod vendor* ./ 01:47:29 ---> c93c6918e000 01:47:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:29 ---> Running in c6d553406c40 01:47:56 Removing intermediate container c6d553406c40 01:47:56 ---> f0adc22a64e3 01:47:56 Step 11/12 : COPY . . 01:47:56 ---> 5474f4af5459 01:47:56 Step 12/12 : RUN ${MAKE} 01:47:56 ---> Running in b654e0800b00 01:47:56 noop 01:47:56 Removing intermediate container b654e0800b00 01:47:56 ---> cf4611be3f20 01:47:56 Successfully built cf4611be3f20 01:47:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:57 + docker inspect -f . ci-base-image-x86_64 01:47:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:57 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 01:47:57 $ docker top 0383d526dc9608ae50119e8c8f1d36b97b32cdec5465ce163637b987afc51b27 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:58 + go version 01:47:58 go version go1.21.0 linux/amd64 [Pipeline] } 01:47:58 $ docker stop --time=1 0383d526dc9608ae50119e8c8f1d36b97b32cdec5465ce163637b987afc51b27 01:47:59 $ docker rm -f --volumes 0383d526dc9608ae50119e8c8f1d36b97b32cdec5465ce163637b987afc51b27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:59 + docker inspect -f . ci-base-image-x86_64 01:47:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:00 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:48:00 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 01:48:00 $ docker top 7622917489f49e58c67b8c6bd276aa011e65a9d7b94527eedac42755411bc1f9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 01:48:01 + make test 01:48:01 go test ./... -coverprofile=coverage.out ./... 01:48:02 ? github.com/edgexfoundry/device-gpio [no test files] 01:48:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:48:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:48:20 go vet ./... 01:48:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:23 ./bin/test-attribution-txt.sh 01:48:23 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:48:24 $ docker stop --time=1 7622917489f49e58c67b8c6bd276aa011e65a9d7b94527eedac42755411bc1f9 01:48:27 $ docker rm -f --volumes 7622917489f49e58c67b8c6bd276aa011e65a9d7b94527eedac42755411bc1f9 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:48:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:48:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:48:28 + ls -al . 01:48:28 total 152 01:48:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 01:48 . 01:48:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 01:46 .. 01:48:28 -rw-rw-r-- 1 jenkins jenkins 120 Feb 20 01:46 .dockerignore 01:48:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 01:48 .git 01:48:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:46 .github 01:48:28 -rw-rw-r-- 1 jenkins jenkins 277 Feb 20 01:46 .gitignore 01:48:28 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 01:46 .golangci.yml 01:48:28 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 01:47 .semver 01:48:28 -rw-rw-r-- 1 jenkins jenkins 10671 Feb 20 01:46 Attribution.txt 01:48:28 -rw-rw-r-- 1 jenkins jenkins 7171 Feb 20 01:46 CHANGELOG.md 01:48:28 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 20 01:46 Dockerfile 01:48:28 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 01:46 GOVERNANCE.md 01:48:28 -rw-rw-r-- 1 jenkins jenkins 657 Feb 20 01:46 Jenkinsfile 01:48:28 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 01:46 LICENSE 01:48:28 -rw-rw-r-- 1 jenkins jenkins 1923 Feb 20 01:46 Makefile 01:48:28 -rw-rw-r-- 1 jenkins jenkins 617 Feb 20 01:46 OWNERS.md 01:48:28 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 20 01:46 README.md 01:48:28 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 01:47 VERSION 01:48:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 01:46 bin 01:48:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:46 cmd 01:48:28 -rw-r--r-- 1 jenkins jenkins 10 Feb 20 01:48 coverage.out 01:48:28 -rw-rw-r-- 1 jenkins jenkins 3742 Feb 20 01:46 go.mod 01:48:28 -rw-rw-r-- 1 jenkins jenkins 34690 Feb 20 01:46 go.sum 01:48:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:46 internal 01:48:28 -rw-rw-r-- 1 jenkins jenkins 209 Feb 20 01:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:29 + 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=47277671f3c579d32f0274d79d798fb3a985d419 --label arch=amd64 --label version=3.2.0-dev.8 . 01:48:29 Sending build context to Docker daemon 24.54MB 01:48:29 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:48:29 Step 2/26 : FROM ${BASE} AS builder 01:48:29 ---> cf4611be3f20 01:48:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:48:29 ---> Running in 5f27958ccdfe 01:48:29 Removing intermediate container 5f27958ccdfe 01:48:29 ---> b164ec15c70b 01:48:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:48:29 ---> Running in cf97b945c737 01:48:29 Removing intermediate container cf97b945c737 01:48:29 ---> 9f2f4ca9a5f4 01:48:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:48:29 ---> Running in a67706d05cc4 01:48:29 Removing intermediate container a67706d05cc4 01:48:29 ---> 9d0fca4c047f 01:48:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:48:29 ---> Running in f5512118d61a 01:48:29 Removing intermediate container f5512118d61a 01:48:29 ---> 954fd0bae59f 01:48:29 Step 7/26 : WORKDIR /device-gpio 01:48:29 ---> Running in 33fa7fe6a209 01:48:29 Removing intermediate container 33fa7fe6a209 01:48:29 ---> 53120a16eba1 01:48:29 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:29 ---> Running in cd89d6b0fd4f 01:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:30 OK: 268 MiB in 56 packages 01:48:30 Removing intermediate container cd89d6b0fd4f 01:48:30 ---> b34d9b171599 01:48:30 Step 9/26 : COPY go.mod vendor* ./ 01:48:31 ---> 3cef9c93b4e7 01:48:31 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:31 ---> Running in 46d8b58d8c01 01:48:31 Removing intermediate container 46d8b58d8c01 01:48:31 ---> e9e1a489ac13 01:48:31 Step 11/26 : COPY . . 01:48:32 ---> b95140ae2e2a 01:48:32 Step 12/26 : RUN ${MAKE} 01:48:32 ---> Running in ed2b230c67c5 01:48:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:48:54 Removing intermediate container ed2b230c67c5 01:48:54 ---> 3403f4a42145 01:48:54 Step 13/26 : FROM alpine:3.18 01:48:54 3.18: Pulling from library/alpine 01:48:54 619be1103602: Pulling fs layer 01:48:54 619be1103602: Verifying Checksum 01:48:54 619be1103602: Download complete 01:48:54 619be1103602: Pull complete 01:48:54 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:48:54 Status: Downloaded newer image for alpine:3.18 01:48:54 ---> d3782b16ccc9 01:48:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:48:54 ---> Running in a03fd3e97228 01:48:54 Removing intermediate container a03fd3e97228 01:48:54 ---> 9b5d1c52b9c7 01:48:54 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:48:54 ---> Running in ed24c497e967 01:48:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:54 (1/1) Installing dumb-init (1.2.5-r2) 01:48:54 Executing busybox-1.36.1-r5.trigger 01:48:54 OK: 7 MiB in 16 packages 01:48:55 Removing intermediate container ed24c497e967 01:48:55 ---> 1949256333af 01:48:55 Step 16/26 : RUN apk --no-cache upgrade 01:48:55 ---> Running in 0323290eb1a9 01:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:55 OK: 7 MiB in 16 packages 01:48:56 Removing intermediate container 0323290eb1a9 01:48:56 ---> 1a3ee174cd2b 01:48:56 Step 17/26 : WORKDIR / 01:48:56 ---> Running in ba8b3f22e671 01:48:56 Removing intermediate container ba8b3f22e671 01:48:56 ---> 7a57d846a087 01:48:56 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:48:56 ---> a49c80b92f8b 01:48:56 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:48:56 ---> 6b46fc372a67 01:48:56 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:48:57 ---> 2baa464cef30 01:48:57 Step 21/26 : EXPOSE 59910 01:48:57 ---> Running in 45aefbb6ea37 01:48:57 Removing intermediate container 45aefbb6ea37 01:48:57 ---> e6783d1a567a 01:48:57 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:48:57 ---> Running in 184839b4badd 01:48:57 Removing intermediate container 184839b4badd 01:48:57 ---> 87c1fa7f57a6 01:48:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:48:57 ---> Running in 02f6cab3d544 01:48:57 Removing intermediate container 02f6cab3d544 01:48:57 ---> 5624f395c4f0 01:48:57 Step 24/26 : LABEL arch=amd64 01:48:57 ---> Running in f64726d5d255 01:48:57 Removing intermediate container f64726d5d255 01:48:57 ---> 89a504d22579 01:48:57 Step 25/26 : LABEL git_sha=47277671f3c579d32f0274d79d798fb3a985d419 01:48:57 ---> Running in 30fdcdf594ae 01:48:57 Removing intermediate container 30fdcdf594ae 01:48:57 ---> eb021087f509 01:48:57 Step 26/26 : LABEL version=3.2.0-dev.8 01:48:57 ---> Running in 9782be6fd452 01:48:57 Removing intermediate container 9782be6fd452 01:48:57 ---> 9cd4cfc2c0ad 01:48:57 [Warning] One or more build-args [ARCH] were not consumed 01:48:57 Successfully built 9cd4cfc2c0ad 01:48:57 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:58 provisioning config files... 01:48:58 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3180964512412682497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:58 ---> ****-login.sh 01:48:58 nexus3.edgexfoundry.org:10001 01:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:58 Configure a credential helper to remove this warning. See 01:48:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:58 01:48:58 Login Succeeded 01:48:58 nexus3.edgexfoundry.org:10002 01:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:58 Configure a credential helper to remove this warning. See 01:48:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:58 01:48:58 Login Succeeded 01:48:58 nexus3.edgexfoundry.org:10003 01:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:58 Configure a credential helper to remove this warning. See 01:48:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:58 01:48:58 Login Succeeded 01:48:58 nexus3.edgexfoundry.org:10004 01:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:58 Configure a credential helper to remove this warning. See 01:48:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:58 01:48:58 Login Succeeded 01:48:58 ****.io 01:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:59 Configure a credential helper to remove this warning. See 01:48:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:59 01:48:59 Login Succeeded 01:48:59 ---> ****-login.sh ends [Pipeline] } 01:48:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:59 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 01:48:59 47277671f3c579d32f0274d79d798fb3a985d419 01:48:59 latest 01:48:59 3.2.0-dev.8 01:48:59 47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 01:48:59 main 01:48:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:00 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio:47277671f3c579d32f0274d79d798fb3a985d419 01:49:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:49:00 f341edd8e19b: Preparing 01:49:00 a48d31c6f5c5: Preparing 01:49:00 2eb51b09f213: Preparing 01:49:00 8df97ac6afdd: Preparing 01:49:00 a38e33bc06dd: Preparing 01:49:00 aedc3bda2944: Preparing 01:49:00 aedc3bda2944: Waiting 01:49:00 8df97ac6afdd: Pushed 01:49:00 a38e33bc06dd: Pushed 01:49:00 2eb51b09f213: Pushed 01:49:00 a48d31c6f5c5: Pushed 01:49:00 aedc3bda2944: Layer already exists 01:49:03 f341edd8e19b: Pushed 01:49:03 47277671f3c579d32f0274d79d798fb3a985d419: digest: sha256:d5efdc8d289a9dd47b21b0403302354b6fa5cf08553e92df5bbc441dc2714fdc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 01:49:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:49:04 f341edd8e19b: Preparing 01:49:04 a48d31c6f5c5: Preparing 01:49:04 2eb51b09f213: Preparing 01:49:04 8df97ac6afdd: Preparing 01:49:04 a38e33bc06dd: Preparing 01:49:04 aedc3bda2944: Preparing 01:49:04 a38e33bc06dd: Layer already exists 01:49:04 f341edd8e19b: Layer already exists 01:49:04 8df97ac6afdd: Layer already exists 01:49:04 a48d31c6f5c5: Layer already exists 01:49:04 2eb51b09f213: Layer already exists 01:49:04 aedc3bda2944: Layer already exists 01:49:04 latest: digest: sha256:d5efdc8d289a9dd47b21b0403302354b6fa5cf08553e92df5bbc441dc2714fdc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.8 01:49:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:49:05 f341edd8e19b: Preparing 01:49:05 a48d31c6f5c5: Preparing 01:49:05 2eb51b09f213: Preparing 01:49:05 8df97ac6afdd: Preparing 01:49:05 a38e33bc06dd: Preparing 01:49:05 aedc3bda2944: Preparing 01:49:05 aedc3bda2944: Waiting 01:49:05 2eb51b09f213: Layer already exists 01:49:05 8df97ac6afdd: Layer already exists 01:49:05 a38e33bc06dd: Layer already exists 01:49:05 a48d31c6f5c5: Layer already exists 01:49:05 f341edd8e19b: Layer already exists 01:49:05 aedc3bda2944: Layer already exists 01:49:05 3.2.0-dev.8: digest: sha256:d5efdc8d289a9dd47b21b0403302354b6fa5cf08553e92df5bbc441dc2714fdc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:05 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 01:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:49:06 f341edd8e19b: Preparing 01:49:06 a48d31c6f5c5: Preparing 01:49:06 2eb51b09f213: Preparing 01:49:06 8df97ac6afdd: Preparing 01:49:06 a38e33bc06dd: Preparing 01:49:06 aedc3bda2944: Preparing 01:49:06 aedc3bda2944: Waiting 01:49:06 a48d31c6f5c5: Layer already exists 01:49:06 a38e33bc06dd: Layer already exists 01:49:06 8df97ac6afdd: Layer already exists 01:49:06 2eb51b09f213: Layer already exists 01:49:06 f341edd8e19b: Layer already exists 01:49:06 aedc3bda2944: Layer already exists 01:49:06 47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8: digest: sha256:d5efdc8d289a9dd47b21b0403302354b6fa5cf08553e92df5bbc441dc2714fdc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:06 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:06 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 01:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:49:06 f341edd8e19b: Preparing 01:49:06 a48d31c6f5c5: Preparing 01:49:06 2eb51b09f213: Preparing 01:49:06 8df97ac6afdd: Preparing 01:49:06 a38e33bc06dd: Preparing 01:49:06 aedc3bda2944: Preparing 01:49:06 aedc3bda2944: Waiting 01:49:06 2eb51b09f213: Layer already exists 01:49:06 a38e33bc06dd: Layer already exists 01:49:06 f341edd8e19b: Layer already exists 01:49:06 8df97ac6afdd: Layer already exists 01:49:06 a48d31c6f5c5: Layer already exists 01:49:06 aedc3bda2944: Layer already exists 01:49:06 main: digest: sha256:d5efdc8d289a9dd47b21b0403302354b6fa5cf08553e92df5bbc441dc2714fdc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:07 ===================================================== [Pipeline] echo 01:49:07 taggedImages: 01:49:07 - nexus3.edgexfoundry.org:10004/device-gpio:47277671f3c579d32f0274d79d798fb3a985d419 01:49:07 - nexus3.edgexfoundry.org:10004/device-gpio:latest 01:49:07 - nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.8 01:49:07 - nexus3.edgexfoundry.org:10004/device-gpio:47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 01:49:07 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:07 01:49:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:08 latest: Pulling from edgex-lftools-log-publisher 01:49:08 5eb5b503b376: Pulling fs layer 01:49:08 5c69ac0246d0: Pulling fs layer 01:49:08 ec43610c2a17: Pulling fs layer 01:49:08 3a2ae6a8a46f: Pulling fs layer 01:49:08 33b1e0a273af: Pulling fs layer 01:49:08 5d3b04190fa2: Pulling fs layer 01:49:08 2f39f015ded8: Pulling fs layer 01:49:08 3a2ae6a8a46f: Waiting 01:49:08 33b1e0a273af: Waiting 01:49:08 5d3b04190fa2: Waiting 01:49:08 2f39f015ded8: Waiting 01:49:08 5c69ac0246d0: Download complete 01:49:08 3a2ae6a8a46f: Verifying Checksum 01:49:08 3a2ae6a8a46f: Download complete 01:49:08 33b1e0a273af: Verifying Checksum 01:49:08 33b1e0a273af: Download complete 01:49:08 5d3b04190fa2: Verifying Checksum 01:49:08 5d3b04190fa2: Download complete 01:49:08 ec43610c2a17: Verifying Checksum 01:49:08 ec43610c2a17: Download complete 01:49:08 5eb5b503b376: Verifying Checksum 01:49:08 5eb5b503b376: Download complete 01:49:08 2f39f015ded8: Download complete 01:49:09 5eb5b503b376: Pull complete 01:49:09 5c69ac0246d0: Pull complete 01:49:10 ec43610c2a17: Pull complete 01:49:10 3a2ae6a8a46f: Pull complete 01:49:10 33b1e0a273af: Pull complete 01:49:10 5d3b04190fa2: Pull complete 01:49:14 2f39f015ded8: Pull complete 01:49:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:14 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:49:14 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:49:18 $ docker top 3ac15b88980b7791b477450d91fd6335232b5a7fca43a49b4e3d6453d6f6b903 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:18 ---> job-cost.sh 01:49:18 lf-activate-venv: SKIPPING 01:49:18 INFO: No Stack... 01:49:19 INFO: Retrieving Pricing Info for: v3-standard-8 01:49:19 INFO: Archiving Costs [Pipeline] sh 01:49:19 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 01:49:19 + cut -d, -f6 [Pipeline] lock 01:49:19 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] 01:49:19 Resource [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] did not exist. Created. 01:49:19 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:20 + echo total: 0.2199999988079071 [Pipeline] stash 01:49:20 Stashed 1 file(s) [Pipeline] } 01:49:20 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 01:49:20 $ docker stop --time=1 3ac15b88980b7791b477450d91fd6335232b5a7fca43a49b4e3d6453d6f6b903 01:49:21 $ docker rm -f --volumes 3ac15b88980b7791b477450d91fd6335232b5a7fca43a49b4e3d6453d6f6b903 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:50:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1305 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 01:50:07 Running in /w/workspace/device-gpio/121 [Pipeline] { [Pipeline] checkout 01:50:12 The recommended git tool is: git 01:50:20 using credential edgex-jenkins-ssh 01:50:20 Cloning the remote Git repository 01:50:20 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:50:20 > git init /w/workspace/device-gpio/121 # timeout=10 01:50:20 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:50:20 > git --version # timeout=10 01:50:20 > git --version # 'git version 2.25.1' 01:50:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:23 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:50:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:26 Avoid second fetch 01:50:26 Checking out Revision 47277671f3c579d32f0274d79d798fb3a985d419 (main) 01:50:27 Commit message: "Merge pull request #229 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 01:50:26 > git config core.sparsecheckout # timeout=10 01:50:26 > git checkout -f 47277671f3c579d32f0274d79d798fb3a985d419 # timeout=10 [Pipeline] { [Pipeline] sh 01:50:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:50:28 % Total % Received % Xferd Average Speed Time Time Time Current 01:50:28 Dload Upload Total Spent Left Speed 01:50:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 01:50:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:50:29 + sudo tee /etc/docker/daemon.new 01:50:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:50:29 { 01:50:29 "registry-mirrors": [ 01:50:29 "https://nexus3.edgexfoundry.org:10001" 01:50:29 ], 01:50:29 "bip": "10.250.0.254/24", 01:50:29 "hosts": [ 01:50:29 "tcp://0.0.0.0:5555", 01:50:29 "unix:///var/run/docker.sock" 01:50:29 ], 01:50:29 "mtu": 1458, 01:50:29 "selinux-enabled": true, 01:50:29 "seccomp-profile": "/etc/docker/seccomp.json" 01:50:29 } [Pipeline] sh 01:50:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:50:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:48 provisioning config files... 01:50:48 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/121@tmp/config6320877390578413345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:49 ---> ****-login.sh 01:50:49 nexus3.edgexfoundry.org:10001 01:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:49 Configure a credential helper to remove this warning. See 01:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:49 01:50:49 Login Succeeded 01:50:49 nexus3.edgexfoundry.org:10002 01:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:50 Configure a credential helper to remove this warning. See 01:50:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:50 01:50:50 Login Succeeded 01:50:50 nexus3.edgexfoundry.org:10003 01:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:50 Configure a credential helper to remove this warning. See 01:50:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:50 01:50:50 Login Succeeded 01:50:50 nexus3.edgexfoundry.org:10004 01:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:50 Configure a credential helper to remove this warning. See 01:50:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:50 01:50:50 Login Succeeded 01:50:50 ****.io 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 ---> ****-login.sh ends [Pipeline] } 01:50:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:50:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:50:51 ========================================================= 01:50:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:50:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:50:54 Sending build context to Docker daemon 12.34MB 01:50:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:50:55 Step 2/12 : FROM ${BASE} AS builder 01:50:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:50:55 9fda8d8052c6: Pulling fs layer 01:50:55 5d54e960e981: Pulling fs layer 01:50:55 c4a7e357bf2a: Pulling fs layer 01:50:55 f0e02332f6b5: Pulling fs layer 01:50:55 872ee5b61b7b: Pulling fs layer 01:50:55 0c6a40ed1a82: Pulling fs layer 01:50:55 94ae7d8d031c: Pulling fs layer 01:50:55 f0e02332f6b5: Waiting 01:50:55 872ee5b61b7b: Waiting 01:50:55 0c6a40ed1a82: Waiting 01:50:55 94ae7d8d031c: Waiting 01:50:55 5d54e960e981: Download complete 01:50:55 f0e02332f6b5: Verifying Checksum 01:50:55 f0e02332f6b5: Download complete 01:50:55 872ee5b61b7b: Verifying Checksum 01:50:55 872ee5b61b7b: Download complete 01:50:55 9fda8d8052c6: Verifying Checksum 01:50:55 9fda8d8052c6: Download complete 01:50:56 94ae7d8d031c: Verifying Checksum 01:50:56 94ae7d8d031c: Download complete 01:50:56 9fda8d8052c6: Pull complete 01:50:56 5d54e960e981: Pull complete 01:50:57 c4a7e357bf2a: Verifying Checksum 01:50:57 c4a7e357bf2a: Download complete 01:50:58 0c6a40ed1a82: Verifying Checksum 01:50:58 0c6a40ed1a82: Download complete 01:51:11 c4a7e357bf2a: Pull complete 01:51:11 f0e02332f6b5: Pull complete 01:51:11 872ee5b61b7b: Pull complete 01:51:21 0c6a40ed1a82: Pull complete 01:51:21 94ae7d8d031c: Pull complete 01:51:21 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:51:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:51:23 ---> 86de565de09d 01:51:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:51:25 ---> Running in 783c055a83d1 01:51:25 Removing intermediate container 783c055a83d1 01:51:25 ---> 236214d8c137 01:51:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:51:25 ---> Running in 27a75ae0fac0 01:51:25 Removing intermediate container 27a75ae0fac0 01:51:25 ---> 12078ee351a1 01:51:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:51:25 ---> Running in a2477e35d546 01:51:25 Removing intermediate container a2477e35d546 01:51:25 ---> 800d45c089be 01:51:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:51:25 ---> Running in 68672da8e7b5 01:51:26 Removing intermediate container 68672da8e7b5 01:51:26 ---> a2fad215fb56 01:51:26 Step 7/12 : WORKDIR /device-gpio 01:51:26 ---> Running in c717e47dd6db 01:51:26 Removing intermediate container c717e47dd6db 01:51:26 ---> 067dcff02fac 01:51:26 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:26 ---> Running in 4e8e4eb2086f 01:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:51:29 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:51:29 (2/4) Installing libedit (20221030.3.1-r1) 01:51:29 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:51:29 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:51:29 Executing busybox-1.36.1-r5.trigger 01:51:29 OK: 271 MiB in 56 packages 01:51:30 Removing intermediate container 4e8e4eb2086f 01:51:30 ---> 3b35c06be8dc 01:51:30 Step 9/12 : COPY go.mod vendor* ./ 01:51:31 ---> b32d71d6261d 01:51:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:31 ---> Running in 7488aa5bc757 01:52:39 Removing intermediate container 7488aa5bc757 01:52:39 ---> 738f8fe1223c 01:52:39 Step 11/12 : COPY . . 01:52:39 ---> eed901998f7c 01:52:39 Step 12/12 : RUN ${MAKE} 01:52:39 ---> Running in 767d75c64960 01:52:39 noop 01:52:39 Removing intermediate container 767d75c64960 01:52:39 ---> 091bdc4ce762 01:52:39 Successfully built 091bdc4ce762 01:52:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:39 + docker inspect -f . ci-base-image-arm64 01:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:39 prd-ubuntu20.04-docker-arm64-4c-16g-1305 does not seem to be running inside a container 01:52:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/121 -v /w/workspace/device-gpio/121:/w/workspace/device-gpio/121:rw,z -v /w/workspace/device-gpio/121@tmp:/w/workspace/device-gpio/121@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 ******** ci-base-image-arm64 cat 01:52:41 $ docker top 2df56940090542cd5b1afb76c8b468a99b2bb79fbd2aa8df091abbaafa20979f -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:42 + go version 01:52:42 go version go1.21.0 linux/arm64 [Pipeline] } 01:52:42 $ docker stop --time=1 2df56940090542cd5b1afb76c8b468a99b2bb79fbd2aa8df091abbaafa20979f 01:52:43 $ docker rm -f --volumes 2df56940090542cd5b1afb76c8b468a99b2bb79fbd2aa8df091abbaafa20979f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:44 + docker inspect -f . ci-base-image-arm64 01:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-1305 does not seem to be running inside a container 01:52:45 $ 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/121 -v /w/workspace/device-gpio/121:/w/workspace/device-gpio/121:rw,z -v /w/workspace/device-gpio/121@tmp:/w/workspace/device-gpio/121@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 ******** ci-base-image-arm64 cat 01:52:46 $ docker top 57236f7c6b7b411040e719bfd8111165042f4f1f5a9f530ad9611d311ef107fb -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:47 + git config --global --add safe.directory /w/workspace/device-gpio/121 [Pipeline] fileExists [Pipeline] sh 01:52:47 + make test 01:52:47 go test ./... -coverprofile=coverage.out ./... 01:52:53 ? github.com/edgexfoundry/device-gpio [no test files] 01:54:29 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:54:29 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:54:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:29 go vet ./... 01:54:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:54:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:54:51 ./bin/test-attribution-txt.sh 01:54:51 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:54:51 $ docker stop --time=1 57236f7c6b7b411040e719bfd8111165042f4f1f5a9f530ad9611d311ef107fb 01:54:53 $ docker rm -f --volumes 57236f7c6b7b411040e719bfd8111165042f4f1f5a9f530ad9611d311ef107fb [Pipeline] // withDockerContainer [Pipeline] sh 01:54:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:54:54 Warning: overwriting stash ‘coverage-report’ 01:54:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:54:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:54:56 + ls -al . 01:54:56 total 148 01:54:56 drwxrwxr-x 7 jenkins jenkins 4096 Feb 20 01:52 . 01:54:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 01:50 .. 01:54:56 -rw-rw-r-- 1 jenkins jenkins 120 Feb 20 01:50 .dockerignore 01:54:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 01:50 .git 01:54:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:50 .github 01:54:56 -rw-rw-r-- 1 jenkins jenkins 277 Feb 20 01:50 .gitignore 01:54:56 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 01:50 .golangci.yml 01:54:56 -rw-rw-r-- 1 jenkins jenkins 10671 Feb 20 01:50 Attribution.txt 01:54:56 -rw-rw-r-- 1 jenkins jenkins 7171 Feb 20 01:50 CHANGELOG.md 01:54:56 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 20 01:50 Dockerfile 01:54:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 01:50 GOVERNANCE.md 01:54:56 -rw-rw-r-- 1 jenkins jenkins 657 Feb 20 01:50 Jenkinsfile 01:54:56 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 01:50 LICENSE 01:54:56 -rw-rw-r-- 1 jenkins jenkins 1923 Feb 20 01:50 Makefile 01:54:56 -rw-rw-r-- 1 jenkins jenkins 617 Feb 20 01:50 OWNERS.md 01:54:56 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 20 01:50 README.md 01:54:56 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 01:47 VERSION 01:54:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 01:50 bin 01:54:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:50 cmd 01:54:56 -rw-r--r-- 1 jenkins jenkins 10 Feb 20 01:52 coverage.out 01:54:56 -rw-rw-r-- 1 jenkins jenkins 3742 Feb 20 01:50 go.mod 01:54:56 -rw-rw-r-- 1 jenkins jenkins 34690 Feb 20 01:50 go.sum 01:54:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:50 internal 01:54:56 -rw-rw-r-- 1 jenkins jenkins 209 Feb 20 01:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:56 + 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=47277671f3c579d32f0274d79d798fb3a985d419 --label arch=arm64 --label version=3.2.0-dev.8 . 01:54:57 Sending build context to Docker daemon 12.34MB 01:54:57 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:54:57 Step 2/26 : FROM ${BASE} AS builder 01:54:57 ---> 091bdc4ce762 01:54:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:54:57 ---> Running in 81f661e6e777 01:54:58 Removing intermediate container 81f661e6e777 01:54:58 ---> f4e830d71f1a 01:54:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:54:58 ---> Running in 59bdad30caaa 01:54:58 Removing intermediate container 59bdad30caaa 01:54:58 ---> 69e2fc18b8d3 01:54:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:54:58 ---> Running in 2dfdf1e0aa8e 01:54:58 Removing intermediate container 2dfdf1e0aa8e 01:54:58 ---> cae81ff3e0bb 01:54:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:54:58 ---> Running in 420109922c8b 01:54:59 Removing intermediate container 420109922c8b 01:54:59 ---> 2caeead40ef1 01:54:59 Step 7/26 : WORKDIR /device-gpio 01:54:59 ---> Running in e4a3329b52b4 01:54:59 Removing intermediate container e4a3329b52b4 01:54:59 ---> 9cc4c7d8b75e 01:54:59 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:59 ---> Running in d7faab5171c8 01:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:55:02 OK: 271 MiB in 56 packages 01:55:06 Removing intermediate container d7faab5171c8 01:55:06 ---> 4e3e33384154 01:55:06 Step 9/26 : COPY go.mod vendor* ./ 01:55:06 ---> 2ef2bce50bc2 01:55:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:06 ---> Running in 61f74023a26a 01:55:08 Removing intermediate container 61f74023a26a 01:55:08 ---> e769306f63a4 01:55:08 Step 11/26 : COPY . . 01:55:10 ---> 195bdaac886b 01:55:10 Step 12/26 : RUN ${MAKE} 01:55:10 ---> Running in 53d2e243aa8c 01:55:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:57:18 Removing intermediate container 53d2e243aa8c 01:57:18 ---> b64f1ab5e302 01:57:18 Step 13/26 : FROM alpine:3.18 01:57:18 3.18: Pulling from library/alpine 01:57:18 c6b39de5b339: Pulling fs layer 01:57:18 c6b39de5b339: Download complete 01:57:18 c6b39de5b339: Pull complete 01:57:18 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:57:18 Status: Downloaded newer image for alpine:3.18 01:57:18 ---> 33abbf032149 01:57:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:57:18 ---> Running in c863edb781a9 01:57:18 Removing intermediate container c863edb781a9 01:57:18 ---> 481fd2b46150 01:57:18 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:57:18 ---> Running in f02a500f8671 01:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:57:18 (1/1) Installing dumb-init (1.2.5-r2) 01:57:18 Executing busybox-1.36.1-r5.trigger 01:57:18 OK: 8 MiB in 16 packages 01:57:18 Removing intermediate container f02a500f8671 01:57:18 ---> 2db5d4556f0d 01:57:18 Step 16/26 : RUN apk --no-cache upgrade 01:57:18 ---> Running in bbc8a8d656ee 01:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:57:18 OK: 8 MiB in 16 packages 01:57:18 Removing intermediate container bbc8a8d656ee 01:57:18 ---> 20127e062011 01:57:18 Step 17/26 : WORKDIR / 01:57:18 ---> Running in 1fb888d4f39a 01:57:18 Removing intermediate container 1fb888d4f39a 01:57:18 ---> f6f68baf720e 01:57:18 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:57:18 ---> 5b8afbbebe74 01:57:18 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:57:19 ---> 8988e936bc21 01:57:19 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:57:20 ---> ae14194d67f7 01:57:20 Step 21/26 : EXPOSE 59910 01:57:20 ---> Running in 78158fcdb1fd 01:57:21 Removing intermediate container 78158fcdb1fd 01:57:21 ---> a7c7c77b965e 01:57:21 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:57:21 ---> Running in 88e0af189175 01:57:21 Removing intermediate container 88e0af189175 01:57:21 ---> ac9aee81f125 01:57:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:57:21 ---> Running in a7d455bcd864 01:57:21 Removing intermediate container a7d455bcd864 01:57:21 ---> 527c50caf944 01:57:21 Step 24/26 : LABEL arch=arm64 01:57:21 ---> Running in ed04814f289c 01:57:22 Removing intermediate container ed04814f289c 01:57:22 ---> df77fdc0db74 01:57:22 Step 25/26 : LABEL git_sha=47277671f3c579d32f0274d79d798fb3a985d419 01:57:22 ---> Running in 933c7d39875b 01:57:22 Removing intermediate container 933c7d39875b 01:57:22 ---> 4afd18460703 01:57:22 Step 26/26 : LABEL version=3.2.0-dev.8 01:57:22 ---> Running in a68215bf463e 01:57:23 Removing intermediate container a68215bf463e 01:57:23 ---> 1faa55bd3542 01:57:23 [Warning] One or more build-args [ARCH] were not consumed 01:57:23 Successfully built 1faa55bd3542 01:57:23 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:24 provisioning config files... 01:57:24 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/121@tmp/config7324736343765866299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:24 ---> ****-login.sh 01:57:24 nexus3.edgexfoundry.org:10001 01:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:24 Configure a credential helper to remove this warning. See 01:57:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:24 01:57:24 Login Succeeded 01:57:24 nexus3.edgexfoundry.org:10002 01:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:24 Configure a credential helper to remove this warning. See 01:57:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:24 01:57:24 Login Succeeded 01:57:24 nexus3.edgexfoundry.org:10003 01:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:25 Configure a credential helper to remove this warning. See 01:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:25 01:57:25 Login Succeeded 01:57:25 nexus3.edgexfoundry.org:10004 01:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:25 Configure a credential helper to remove this warning. See 01:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:25 01:57:25 Login Succeeded 01:57:25 ****.io 01:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:26 Configure a credential helper to remove this warning. See 01:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:26 01:57:26 Login Succeeded 01:57:26 ---> ****-login.sh ends [Pipeline] } 01:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:26 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 01:57:26 47277671f3c579d32f0274d79d798fb3a985d419 01:57:26 latest 01:57:26 3.2.0-dev.8 01:57:26 47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 01:57:26 main 01:57:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:27 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:27 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:47277671f3c579d32f0274d79d798fb3a985d419 01:57:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:57:27 c1ac15a22ef3: Preparing 01:57:27 66b5add54e98: Preparing 01:57:27 888087a4b5ab: Preparing 01:57:27 cd2b2dc382a8: Preparing 01:57:27 4017e9832bcc: Preparing 01:57:27 7c504f21be85: Preparing 01:57:27 7c504f21be85: Waiting 01:57:27 888087a4b5ab: Pushed 01:57:27 66b5add54e98: Pushed 01:57:27 4017e9832bcc: Pushed 01:57:27 cd2b2dc382a8: Pushed 01:57:27 7c504f21be85: Layer already exists 01:57:34 c1ac15a22ef3: Pushed 01:57:34 47277671f3c579d32f0274d79d798fb3a985d419: digest: sha256:1256e9916c367f2ccfca5108ec8899c2cade8a93030c674befc9c87798c9e5ab size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:35 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:35 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 01:57:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:57:35 c1ac15a22ef3: Preparing 01:57:35 66b5add54e98: Preparing 01:57:35 888087a4b5ab: Preparing 01:57:35 cd2b2dc382a8: Preparing 01:57:35 4017e9832bcc: Preparing 01:57:35 7c504f21be85: Preparing 01:57:35 7c504f21be85: Waiting 01:57:35 888087a4b5ab: Layer already exists 01:57:35 4017e9832bcc: Layer already exists 01:57:35 c1ac15a22ef3: Layer already exists 01:57:35 cd2b2dc382a8: Layer already exists 01:57:35 66b5add54e98: Layer already exists 01:57:35 7c504f21be85: Layer already exists 01:57:35 latest: digest: sha256:1256e9916c367f2ccfca5108ec8899c2cade8a93030c674befc9c87798c9e5ab size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:36 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:36 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.8 01:57:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:57:36 c1ac15a22ef3: Preparing 01:57:36 66b5add54e98: Preparing 01:57:36 888087a4b5ab: Preparing 01:57:36 cd2b2dc382a8: Preparing 01:57:36 4017e9832bcc: Preparing 01:57:36 7c504f21be85: Preparing 01:57:36 7c504f21be85: Waiting 01:57:36 4017e9832bcc: Layer already exists 01:57:36 cd2b2dc382a8: Layer already exists 01:57:36 888087a4b5ab: Layer already exists 01:57:36 c1ac15a22ef3: Layer already exists 01:57:36 66b5add54e98: Layer already exists 01:57:36 7c504f21be85: Layer already exists 01:57:37 3.2.0-dev.8: digest: sha256:1256e9916c367f2ccfca5108ec8899c2cade8a93030c674befc9c87798c9e5ab size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:37 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:38 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 01:57:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:57:38 c1ac15a22ef3: Preparing 01:57:38 66b5add54e98: Preparing 01:57:38 888087a4b5ab: Preparing 01:57:38 cd2b2dc382a8: Preparing 01:57:38 4017e9832bcc: Preparing 01:57:38 7c504f21be85: Preparing 01:57:38 7c504f21be85: Waiting 01:57:38 c1ac15a22ef3: Layer already exists 01:57:38 66b5add54e98: Layer already exists 01:57:38 cd2b2dc382a8: Layer already exists 01:57:38 888087a4b5ab: Layer already exists 01:57:38 4017e9832bcc: Layer already exists 01:57:38 7c504f21be85: Layer already exists 01:57:38 47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8: digest: sha256:1256e9916c367f2ccfca5108ec8899c2cade8a93030c674befc9c87798c9e5ab size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:38 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 01:57:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:57:39 c1ac15a22ef3: Preparing 01:57:39 66b5add54e98: Preparing 01:57:39 888087a4b5ab: Preparing 01:57:39 cd2b2dc382a8: Preparing 01:57:39 4017e9832bcc: Preparing 01:57:39 7c504f21be85: Preparing 01:57:39 7c504f21be85: Waiting 01:57:39 cd2b2dc382a8: Layer already exists 01:57:39 c1ac15a22ef3: Layer already exists 01:57:39 66b5add54e98: Layer already exists 01:57:39 4017e9832bcc: Layer already exists 01:57:39 888087a4b5ab: Layer already exists 01:57:39 7c504f21be85: Layer already exists 01:57:39 main: digest: sha256:1256e9916c367f2ccfca5108ec8899c2cade8a93030c674befc9c87798c9e5ab size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:39 ===================================================== [Pipeline] echo 01:57:40 taggedImages: 01:57:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:47277671f3c579d32f0274d79d798fb3a985d419 01:57:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 01:57:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.8 01:57:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:47277671f3c579d32f0274d79d798fb3a985d419-3.2.0-dev.8 01:57:40 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:40 01:57:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:41 arm64: Pulling from edgex-lftools-log-publisher 01:57:41 8998bd30e6a1: Pulling fs layer 01:57:41 04944245beec: Pulling fs layer 01:57:41 699f458cf7ca: Pulling fs layer 01:57:41 765212b225bb: Pulling fs layer 01:57:41 f23df028b6ca: Pulling fs layer 01:57:41 d65c8cfc05b1: Pulling fs layer 01:57:41 2437ff75d9bd: Pulling fs layer 01:57:41 f23df028b6ca: Waiting 01:57:41 2437ff75d9bd: Waiting 01:57:41 765212b225bb: Waiting 01:57:41 04944245beec: Verifying Checksum 01:57:41 04944245beec: Download complete 01:57:41 765212b225bb: Verifying Checksum 01:57:41 765212b225bb: Download complete 01:57:41 f23df028b6ca: Verifying Checksum 01:57:41 f23df028b6ca: Download complete 01:57:41 d65c8cfc05b1: Verifying Checksum 01:57:41 d65c8cfc05b1: Download complete 01:57:41 699f458cf7ca: Verifying Checksum 01:57:41 699f458cf7ca: Download complete 01:57:42 8998bd30e6a1: Verifying Checksum 01:57:42 8998bd30e6a1: Download complete 01:57:44 2437ff75d9bd: Download complete 01:57:48 8998bd30e6a1: Pull complete 01:57:49 04944245beec: Pull complete 01:57:50 699f458cf7ca: Pull complete 01:57:51 765212b225bb: Pull complete 01:57:52 f23df028b6ca: Pull complete 01:57:52 d65c8cfc05b1: Pull complete 01:58:10 2437ff75d9bd: Pull complete 01:58:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:58:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:11 prd-ubuntu20.04-docker-arm64-4c-16g-1305 does not seem to be running inside a container 01:58:11 $ 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/121 -v /w/workspace/device-gpio/121:/w/workspace/device-gpio/121:rw,z -v /w/workspace/device-gpio/121@tmp:/w/workspace/device-gpio/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:58:13 $ docker top 37bf7d97f70e3a43a22c445942887217bd98a641cb5b38871d80322944876462 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:14 ---> job-cost.sh 01:58:14 lf-activate-venv: SKIPPING 01:58:14 INFO: No Stack... 01:58:15 INFO: Retrieving Pricing Info for: v3-standard-4 01:58:16 INFO: Archiving Costs [Pipeline] sh 01:58:16 + cat /w/workspace/device-gpio/121/archives/cost.csv 01:58:16 + cut -d, -f6 [Pipeline] lock 01:58:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] 01:58:16 Resource [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] did not exist. Created. 01:58:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:17 /w/workspace/device-gpio/121@tmp/durable-930c1362/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:58:18 + echo total: 0.10999999940395355 [Pipeline] stash 01:58:18 Warning: overwriting stash ‘stack-cost’ 01:58:18 Stashed 1 file(s) [Pipeline] } 01:58:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:18 $ docker stop --time=1 37bf7d97f70e3a43a22c445942887217bd98a641cb5b38871d80322944876462 01:58:20 $ docker rm -f --volumes 37bf7d97f70e3a43a22c445942887217bd98a641cb5b38871d80322944876462 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:58:21 provisioning config files... 01:58:21 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16121797872754327085tmp [Pipeline] { [Pipeline] sh 01:58:22 + set +x 01:58:22 + bash -s -- 01:58:22 + curl -s https://codecov.io/bash 01:58:22 01:58:22 _____ _ 01:58:22 / ____| | | 01:58:22 | | ___ __| | ___ ___ _____ __ 01:58:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:58:22 | |___| (_) | (_| | __/ (_| (_) \ V / 01:58:22 \_____\___/ \__,_|\___|\___\___/ \_/ 01:58:22 Bash-1.0.6 01:58:22 01:58:22 01:58:22 ==> git version 2.25.1 found 01:58:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:58:22 Release-Date: 2020-01-08 01:58:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:58:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:58:22 ==> Jenkins CI detected. 01:58:22 current dir:  /w/workspace/edgexfoundry_device-gpio_main 01:58:22 project root: . 01:58:22 --> token set from env 01:58:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:58:22 ==> Running gcov in . (disable via -X gcov) 01:58:22 ==> Python coveragepy not found 01:58:22 ==> Searching for coverage reports in: 01:58:22 + . 01:58:22 -> Found 1 reports 01:58:22 ==> Detecting git/mercurial file structure 01:58:22 ==> Reading reports 01:58:22 + ./coverage.out bytes=10 01:58:22 ==> Appending adjustments 01:58:22 https://docs.codecov.io/docs/fixing-reports 01:58:22 + Found adjustments 01:58:22 ==> Gzipping contents 01:58:22 4.0K /tmp/codecov.uduEdX.gz 01:58:22 ==> Uploading reports 01:58:22 url: https://codecov.io 01:58:22 query: branch=main&commit=47277671f3c579d32f0274d79d798fb3a985d419&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:22 -> Pinging Codecov 01:58:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=47277671f3c579d32f0274d79d798fb3a985d419&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:22 -> Uploading to 01:58:22 https://storage.googleapis.com/codecov/v4/raw/2024-02-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/47277671f3c579d32f0274d79d798fb3a985d419/996457f4-8b7e-4ec8-8468-35b7ca23baed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240220T015822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc51bb3b76183525f747a886d8afc8b3f39ebe6eafd118cb1e14ef3e4b328212 01:58:22 % Total % Received % Xferd Average Speed Time Time Time Current 01:58:22 Dload Upload Total Spent Left Speed 01:58:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2003 --:--:-- --:--:-- --:--:-- 2010 01:58:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] } 01:58:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:58:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:58:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:23 01:58:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:58:24 df9b9388f04a: Pulling fs layer 01:58:24 52dc419b0ee2: Pulling fs layer 01:58:24 25bc292e5bac: Pulling fs layer 01:58:24 114826534d7a: Pulling fs layer 01:58:24 4657fd5d0bcf: Pulling fs layer 01:58:24 6ad1cebc031e: Pulling fs layer 01:58:24 8a3aa393b2d8: Pulling fs layer 01:58:24 4657fd5d0bcf: Waiting 01:58:24 6ad1cebc031e: Waiting 01:58:24 8a3aa393b2d8: Waiting 01:58:24 114826534d7a: Waiting 01:58:24 25bc292e5bac: Verifying Checksum 01:58:24 25bc292e5bac: Download complete 01:58:24 52dc419b0ee2: Download complete 01:58:24 4657fd5d0bcf: Verifying Checksum 01:58:24 4657fd5d0bcf: Download complete 01:58:24 df9b9388f04a: Verifying Checksum 01:58:24 df9b9388f04a: Download complete 01:58:24 6ad1cebc031e: Verifying Checksum 01:58:24 6ad1cebc031e: Download complete 01:58:24 df9b9388f04a: Pull complete 01:58:24 52dc419b0ee2: Pull complete 01:58:24 25bc292e5bac: Pull complete 01:58:25 114826534d7a: Verifying Checksum 01:58:25 114826534d7a: Download complete 01:58:25 8a3aa393b2d8: Verifying Checksum 01:58:25 8a3aa393b2d8: Download complete 01:58:29 114826534d7a: Pull complete 01:58:29 4657fd5d0bcf: Pull complete 01:58:29 6ad1cebc031e: Pull complete 01:58:32 8a3aa393b2d8: Pull complete 01:58:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:58:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:32 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:58:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:58:36 $ docker top 3f46ab8c49c707603718a56b425447a825e59aa4c4aba89a5e2789f190b4ce65 -eo pid,comm [Pipeline] { [Pipeline] echo 01:58:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 01:58:36 + set -o pipefail 01:58:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 01:58:42 01:58:42 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 01:58:42 01:58:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/10a8ed2f-9753-411e-8638-c7745e4059bb 01:58:42 01:58:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:58:42 01:58:42 01:58:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:58:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:58:42 More details here: https://snyk.co/ue1NS [Pipeline] } 01:58:42 $ docker stop --time=1 3f46ab8c49c707603718a56b425447a825e59aa4c4aba89a5e2789f190b4ce65 01:58:45 $ docker rm -f --volumes 3f46ab8c49c707603718a56b425447a825e59aa4c4aba89a5e2789f190b4ce65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:47 + git log --format=format:%s -1 47277671f3c579d32f0274d79d798fb3a985d419 [Pipeline] sh 01:58:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:48 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:58:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:58:48 $ docker top 19021a2e08eeb70a2c7c553b164fe60ae3d24c12cb8a7d8f755abd37247f67b2 -eo pid,comm 01:58:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:58:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:48 [ssh-agent] Looking for ssh-agent implementation... 01:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:49 $ docker exec 19021a2e08eeb70a2c7c553b164fe60ae3d24c12cb8a7d8f755abd37247f67b2 ssh-agent 01:58:49 SSH_AUTH_SOCK=/tmp/ssh-6XxHD15uVCYR/agent.32 01:58:49 SSH_AGENT_PID=39 01:58:49 Running ssh-add (command line suppressed) 01:58:49 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5104515162078882031.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5104515162078882031.key) 01:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:49 + git semver tag 01:58:49 2024-02-20 01:58:49,760 [run_tag] DEBUG tag force:False 01:58:49 2024-02-20 01:58:49,760 [check_head_tag] DEBUG check head tag 01:58:49 2024-02-20 01:58:49,761 [execute] INFO git cat-file --batch-check 01:58:49 2024-02-20 01:58:49,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 01:58:49 2024-02-20 01:58:49,766 [execute] INFO git cat-file --batch 01:58:49 2024-02-20 01:58:49,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 01:58:49 2024-02-20 01:58:49,783 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:58:49 2024-02-20 01:58:49,783 [execute] INFO git tag -a v3.2.0-dev.8 -m v3.2.0-dev.8 01:58:49 2024-02-20 01:58:49,783 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.8', '-m', 'v3.2.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 01:58:49 2024-02-20 01:58:49,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:58:49 3.2.0-dev.8 [Pipeline] } 01:58:49 $ docker exec --env ******** --env ******** 19021a2e08eeb70a2c7c553b164fe60ae3d24c12cb8a7d8f755abd37247f67b2 ssh-agent -k 01:58:49 unset SSH_AUTH_SOCK; 01:58:49 unset SSH_AGENT_PID; 01:58:49 echo Agent pid 39 killed; 01:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:50 + git semver [Pipeline] } 01:58:50 $ docker stop --time=1 19021a2e08eeb70a2c7c553b164fe60ae3d24c12cb8a7d8f755abd37247f67b2 01:58:52 $ docker rm -f --volumes 19021a2e08eeb70a2c7c553b164fe60ae3d24c12cb8a7d8f755abd37247f67b2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:52 01:58:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:53 0.23.1-centos7: Pulling from edgex-lftools 01:58:53 ab5ef0e58194: Pulling fs layer 01:58:53 9712f1f96733: Pulling fs layer 01:58:53 63f879dbbcfc: Pulling fs layer 01:58:53 0d9ebad4ef96: Pulling fs layer 01:58:53 e9a5061849ea: Pulling fs layer 01:58:53 d747dcd14b5f: Pulling fs layer 01:58:53 2de7ff778b66: Pulling fs layer 01:58:53 2de7ff778b66: Waiting 01:58:53 e9a5061849ea: Waiting 01:58:53 d747dcd14b5f: Waiting 01:58:53 0d9ebad4ef96: Waiting 01:58:53 9712f1f96733: Download complete 01:58:53 63f879dbbcfc: Verifying Checksum 01:58:53 63f879dbbcfc: Download complete 01:58:53 0d9ebad4ef96: Verifying Checksum 01:58:53 0d9ebad4ef96: Download complete 01:58:53 d747dcd14b5f: Verifying Checksum 01:58:53 d747dcd14b5f: Download complete 01:58:53 e9a5061849ea: Verifying Checksum 01:58:53 e9a5061849ea: Download complete 01:58:53 ab5ef0e58194: Verifying Checksum 01:58:53 ab5ef0e58194: Download complete 01:58:53 2de7ff778b66: Verifying Checksum 01:58:53 2de7ff778b66: Download complete 01:58:56 ab5ef0e58194: Pull complete 01:58:56 9712f1f96733: Pull complete 01:58:57 63f879dbbcfc: Pull complete 01:59:01 0d9ebad4ef96: Pull complete 01:59:01 e9a5061849ea: Pull complete 01:59:01 d747dcd14b5f: Pull complete 01:59:02 2de7ff778b66: Pull complete 01:59:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:59:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:03 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:59:08 $ docker top 4426b718bb1c2c98686fbfb00bab2c37c70b7da4be7dcf369758b2b3a8f310d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:59:08 provisioning config files... 01:59:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6646362534221661488tmp 01:59:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2343043059492173924tmp 01:59:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15867374418157069958tmp [Pipeline] { [Pipeline] echo 01:59:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:59:08 ---> sigul-configuration.sh 01:59:08 gpg: directory `/root/.gnupg' created 01:59:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:59:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:59:08 gpg: keyring `/root/.gnupg/secring.gpg' created 01:59:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:59:08 gpg: CAST5 encrypted data 01:59:08 gpg: encrypted with 1 passphrase 01:59:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:59:09 + mkdir /home/jenkins 01:59:09 + mkdir /home/jenkins/sigul [Pipeline] sh 01:59:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:59:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:59:09 ---> sigul-install.sh 01:59:09 Sigul already installed; skipping installation. [Pipeline] sh 01:59:10 + git tag --list 01:59:10 v1.0.0 01:59:10 v2.1.0 01:59:10 v2.1.1 01:59:10 v2.2.0 01:59:10 v2.3.0 01:59:10 v3.0 01:59:10 v3.0.0 01:59:10 v3.1 01:59:10 v3.1.0 01:59:10 v3.1.0-dev.1 01:59:10 v3.1.0-dev.10 01:59:10 v3.1.0-dev.11 01:59:10 v3.1.0-dev.12 01:59:10 v3.1.0-dev.13 01:59:10 v3.1.0-dev.14 01:59:10 v3.1.0-dev.15 01:59:10 v3.1.0-dev.16 01:59:10 v3.1.0-dev.17 01:59:10 v3.1.0-dev.18 01:59:10 v3.1.0-dev.19 01:59:10 v3.1.0-dev.2 01:59:10 v3.1.0-dev.20 01:59:10 v3.1.0-dev.21 01:59:10 v3.1.0-dev.22 01:59:10 v3.1.0-dev.23 01:59:10 v3.1.0-dev.24 01:59:10 v3.1.0-dev.25 01:59:10 v3.1.0-dev.26 01:59:10 v3.1.0-dev.3 01:59:10 v3.1.0-dev.4 01:59:10 v3.1.0-dev.5 01:59:10 v3.1.0-dev.6 01:59:10 v3.1.0-dev.7 01:59:10 v3.1.0-dev.8 01:59:10 v3.1.0-dev.9 01:59:10 v3.2.0-dev.1 01:59:10 v3.2.0-dev.2 01:59:10 v3.2.0-dev.3 01:59:10 v3.2.0-dev.4 01:59:10 v3.2.0-dev.5 01:59:10 v3.2.0-dev.6 01:59:10 v3.2.0-dev.7 01:59:10 v3.2.0-dev.8 [Pipeline] sh 01:59:10 + lftools sign git-tag v3.2.0-dev.8 01:59:10 Signing Git tag with Sigul... 01:59:10 Signing v3.2.0-dev.8 [Pipeline] echo 01:59:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:59:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:59:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:59:11 $ docker stop --time=1 4426b718bb1c2c98686fbfb00bab2c37c70b7da4be7dcf369758b2b3a8f310d3 01:59:12 $ docker rm -f --volumes 4426b718bb1c2c98686fbfb00bab2c37c70b7da4be7dcf369758b2b3a8f310d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:14 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:59:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:15 $ docker top 87259c0f5e5db68acf2a5bcd187746fbb6f86d9f9547bb9c5263ae1b54cebcc6 -eo pid,comm 01:59:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:59:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:15 [ssh-agent] Looking for ssh-agent implementation... 01:59:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:15 $ docker exec 87259c0f5e5db68acf2a5bcd187746fbb6f86d9f9547bb9c5263ae1b54cebcc6 ssh-agent 01:59:15 SSH_AUTH_SOCK=/tmp/ssh-l8xFzKtC8YyW/agent.32 01:59:15 SSH_AGENT_PID=38 01:59:15 Running ssh-add (command line suppressed) 01:59:15 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12717546228005250707.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12717546228005250707.key) 01:59:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:16 + git semver bump pre 01:59:16 2024-02-20 01:59:16,173 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:16 2024-02-20 01:59:16,173 [bump_version] DEBUG bumping version:3.2.0-dev.8 on axis:pre with prefix:dev 01:59:16 2024-02-20 01:59:16,173 [bump_version] DEBUG bumped version:3.2.0-dev.9 01:59:16 2024-02-20 01:59:16,173 [write_version] DEBUG write version:3.2.0-dev.9 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 01:59:16 2024-02-20 01:59:16,173 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:16 2024-02-20 01:59:16,174 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:16 2024-02-20 01:59:16,176 [execute] INFO git cat-file --batch-check 01:59:16 2024-02-20 01:59:16,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:59:16 2024-02-20 01:59:16,182 [execute] INFO git cat-file --batch 01:59:16 2024-02-20 01:59:16,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:59:16 2024-02-20 01:59:16,187 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:16 3.2.0-dev.9 [Pipeline] } 01:59:16 $ docker exec --env ******** --env ******** 87259c0f5e5db68acf2a5bcd187746fbb6f86d9f9547bb9c5263ae1b54cebcc6 ssh-agent -k 01:59:16 unset SSH_AUTH_SOCK; 01:59:16 unset SSH_AGENT_PID; 01:59:16 echo Agent pid 38 killed; 01:59:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:16 + git semver [Pipeline] } 01:59:17 $ docker stop --time=1 87259c0f5e5db68acf2a5bcd187746fbb6f86d9f9547bb9c5263ae1b54cebcc6 01:59:18 $ docker rm -f --volumes 87259c0f5e5db68acf2a5bcd187746fbb6f86d9f9547bb9c5263ae1b54cebcc6 [Pipeline] // withDockerContainer [Pipeline] sh 01:59:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:19 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:59:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:20 $ docker top 8d5c72b7de346fabe3ca4902863924b284702e1e9634d1ebb79425f646b6a9d4 -eo pid,comm 01:59:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:59:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:20 [ssh-agent] Looking for ssh-agent implementation... 01:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:20 $ docker exec 8d5c72b7de346fabe3ca4902863924b284702e1e9634d1ebb79425f646b6a9d4 ssh-agent 01:59:20 SSH_AUTH_SOCK=/tmp/ssh-HmQED6L3Beju/agent.32 01:59:20 SSH_AGENT_PID=38 01:59:20 Running ssh-add (command line suppressed) 01:59:20 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2137169755223959543.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2137169755223959543.key) 01:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:20 + git semver push 01:59:21 2024-02-20 01:59:21,156 [run_push] DEBUG push 01:59:21 2024-02-20 01:59:21,156 [execute] INFO git cat-file --batch-check 01:59:21 2024-02-20 01:59:21,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:59:21 2024-02-20 01:59:21,161 [execute] INFO git rev-list b83c8bdafe013ed3bdd357e64fb40b36e5fb8e81 -- 01:59:21 2024-02-20 01:59:21,161 [execute] DEBUG Popen(['git', 'rev-list', 'b83c8bdafe013ed3bdd357e64fb40b36e5fb8e81', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 01:59:21 2024-02-20 01:59:21,170 [execute] INFO git fetch -v origin 01:59:21 2024-02-20 01:59:21,170 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 01:59:21 2024-02-20 01:59:21,711 [run_push] DEBUG no remote changes detected 01:59:21 2024-02-20 01:59:21,712 [execute] INFO git push origin semver 01:59:21 2024-02-20 01:59:21,712 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 01:59:22 2024-02-20 01:59:22,354 [run_push] DEBUG push all version tags 01:59:22 2024-02-20 01:59:22,354 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:59:22 2024-02-20 01:59:22,355 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 01:59:23 2024-02-20 01:59:22,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:23 3.2.0-dev.9 [Pipeline] } 01:59:23 $ docker exec --env ******** --env ******** 8d5c72b7de346fabe3ca4902863924b284702e1e9634d1ebb79425f646b6a9d4 ssh-agent -k 01:59:23 unset SSH_AUTH_SOCK; 01:59:23 unset SSH_AGENT_PID; 01:59:23 echo Agent pid 38 killed; 01:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:24 + git semver [Pipeline] } 01:59:24 $ docker stop --time=1 8d5c72b7de346fabe3ca4902863924b284702e1e9634d1ebb79425f646b6a9d4 01:59:25 $ docker rm -f --volumes 8d5c72b7de346fabe3ca4902863924b284702e1e9634d1ebb79425f646b6a9d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:59:27 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 01:59:27 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 01:59:27 total 16 01:59:27 drwxr-xr-x 3 root root 4096 Feb 20 01:49 . 01:59:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 01:59 .. 01:59:27 drwxr-xr-x 2 root root 4096 Feb 20 01:49 cost 01:59:27 -rw-r--r-- 1 root root 83 Feb 20 01:49 cost.csv 01:59:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 01:59:27 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 01:59:27 total 16 01:59:27 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 01:49 . 01:59:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 01:59 .. 01:59:27 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 01:49 cost 01:59:27 -rw-r--r-- 1 jenkins jenkins 83 Feb 20 01:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:59:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:28 ---> package-listing.sh 01:59:28 ++ facter osfamily 01:59:28 ++ tr '[:upper:]' '[:lower:]' 01:59:28 + OS_FAMILY=debian 01:59:28 + workspace=/w/workspace/edgexfoundry_device-gpio_main 01:59:28 + START_PACKAGES=/tmp/packages_start.txt 01:59:28 + END_PACKAGES=/tmp/packages_end.txt 01:59:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:28 + PACKAGES=/tmp/packages_start.txt 01:59:28 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 01:59:28 + PACKAGES=/tmp/packages_end.txt 01:59:28 + case "${OS_FAMILY}" in 01:59:28 + dpkg -l 01:59:28 + grep '^ii' 01:59:28 + '[' -f /tmp/packages_start.txt ']' 01:59:28 + '[' -f /tmp/packages_end.txt ']' 01:59:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:28 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 01:59:28 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 01:59:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 01:59:28 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:59:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:29 prd-ubuntu20.04-docker-8c-8g-1303 does not seem to be running inside a container 01:59:29 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:59:30 $ docker top 250541ba85ac18be758486dc571370c216ec7e41d18a8e4af083037423e89726 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:30 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:31 + ls /var/log/sa-host 01:59:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:31 provisioning config files... 01:59:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15024085389902596100tmp [Pipeline] { [Pipeline] echo 01:59:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:31 ---> create-netrc.sh [Pipeline] } 01:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> python-tools-install.sh [Pipeline] echo 01:59:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> sudo-logs.sh 01:59:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> job-cost.sh 01:59:32 lf-activate-venv: SKIPPING 01:59:32 DEBUG: total: 0.2199999988079071 01:59:32 INFO: Retrieving Stack Cost... 01:59:33 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:33 INFO: Archiving Costs [Pipeline] echo 01:59:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:34 ---> logs-deploy.sh 01:59:34 lf-activate-venv: SKIPPING 01:59:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/121 01:59:34 INFO: archiving workspace using pattern(s): 01:59:35 Archives upload complete. 01:59:35 INFO: archiving logs to Nexus