Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 688a4a293e90f410e0c8818ae36297e33c21074c 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-ssh6276056910978098771.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-ssh15042753958983392615.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-ssh1732526770796193068.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-ssh5645875951033361131.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-ssh17531453087506200172.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-5397 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 688a4a293e90f410e0c8818ae36297e33c21074c (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 688a4a293e90f410e0c8818ae36297e33c21074c # timeout=10 Commit message: "Merge pull request #231 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" > git rev-list --no-walk 47277671f3c579d32f0274d79d798fb3a985d419 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:22:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:22:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:22:08 ========================================================= 01:22:08 EdgeX Global Pipelines Version Info 01:22:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:22:09 ------------------- 01:22:09 stable info: 01:22:09 ------------------- 01:22:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:22:09 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:22:09 Message: update stable to v1.0.258 01:22:10 ------------------- 01:22:10 experimental info: 01:22:10 ------------------- 01:22:10 Commited By: **** collab-it+edgex@linuxfoundation.org 01:22:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:22:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:22:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:22:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:22:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:22:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:22:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] echo 01:22:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 688a4a2 [Pipeline] echo 01:22:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:11 provisioning config files... 01:22:11 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10734959704862944974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:11 ---> ****-login.sh 01:22:11 nexus3.edgexfoundry.org:10001 01:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:11 Configure a credential helper to remove this warning. See 01:22:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:11 01:22:11 Login Succeeded 01:22:11 nexus3.edgexfoundry.org:10002 01:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:11 Configure a credential helper to remove this warning. See 01:22:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:11 01:22:11 Login Succeeded 01:22:11 nexus3.edgexfoundry.org:10003 01:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:12 Configure a credential helper to remove this warning. See 01:22:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:12 01:22:12 Login Succeeded 01:22:12 nexus3.edgexfoundry.org:10004 01:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:12 Configure a credential helper to remove this warning. See 01:22:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:12 01:22:12 Login Succeeded 01:22:12 ****.io 01:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:12 Configure a credential helper to remove this warning. See 01:22:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:12 01:22:12 Login Succeeded 01:22:12 ---> ****-login.sh ends [Pipeline] } 01:22:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:22:12 + git rev-list -1 --merges 688a4a293e90f410e0c8818ae36297e33c21074c~1..688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] echo 01:22:12 -----------> git rev-list -1 --merges 688a4a293e90f410e0c8818ae36297e33c21074c~1..688a4a293e90f410e0c8818ae36297e33c21074c 688a4a293e90f410e0c8818ae36297e33c21074c 01:22:12 688a4a293e90f410e0c8818ae36297e33c21074c [false] [Pipeline] sh 01:22:13 + git log --format=format:%s -1 688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] echo 01:22:13 ========================================================= 01:22:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:22:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:22:13 + git log --format=format:%s -1 688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] echo 01:22:13 [semverPrep] GIT_COMMIT: 688a4a293e90f410e0c8818ae36297e33c21074c, Commit Message: Merge pull request #231 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10 [Pipeline] echo 01:22:13 [semverPrep] This is not a build commit. [Pipeline] sh 01:22:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:22:14 + grep -v github /etc/ssh/ssh_known_hosts 01:22:14 + [ -e /tmp/ssh_known_hosts ] 01:22:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:22:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:22:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:22:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:14 01:22:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:14 0.1.4: Pulling from edgex-devops/py-git-semver 01:22:14 b85a868b505f: Pulling fs layer 01:22:14 e2be974225ed: Pulling fs layer 01:22:14 339a4e72a1f5: Pulling fs layer 01:22:14 988bab9f4d93: Pulling fs layer 01:22:14 1469e6f7b9e6: Pulling fs layer 01:22:14 eaf3925da568: Pulling fs layer 01:22:14 bab4dde63d76: Pulling fs layer 01:22:14 bde34c3a00c8: Pulling fs layer 01:22:14 b352a97aabf1: Pulling fs layer 01:22:14 4872d77fe225: Pulling fs layer 01:22:14 5851b861e8e6: Pulling fs layer 01:22:14 bab4dde63d76: Waiting 01:22:14 4872d77fe225: Waiting 01:22:14 5851b861e8e6: Waiting 01:22:14 988bab9f4d93: Waiting 01:22:14 b352a97aabf1: Waiting 01:22:14 eaf3925da568: Waiting 01:22:14 bde34c3a00c8: Waiting 01:22:14 e2be974225ed: Verifying Checksum 01:22:14 e2be974225ed: Download complete 01:22:14 988bab9f4d93: Verifying Checksum 01:22:14 988bab9f4d93: Download complete 01:22:14 1469e6f7b9e6: Verifying Checksum 01:22:14 1469e6f7b9e6: Download complete 01:22:14 339a4e72a1f5: Verifying Checksum 01:22:14 339a4e72a1f5: Download complete 01:22:14 eaf3925da568: Verifying Checksum 01:22:14 eaf3925da568: Download complete 01:22:15 bde34c3a00c8: Download complete 01:22:15 b352a97aabf1: Verifying Checksum 01:22:15 b352a97aabf1: Download complete 01:22:15 4872d77fe225: Download complete 01:22:15 5851b861e8e6: Download complete 01:22:15 b85a868b505f: Verifying Checksum 01:22:15 b85a868b505f: Download complete 01:22:15 bab4dde63d76: Verifying Checksum 01:22:15 bab4dde63d76: Download complete 01:22:16 b85a868b505f: Pull complete 01:22:16 e2be974225ed: Pull complete 01:22:16 339a4e72a1f5: Pull complete 01:22:17 988bab9f4d93: Pull complete 01:22:17 1469e6f7b9e6: Pull complete 01:22:17 eaf3925da568: Pull complete 01:22:19 bab4dde63d76: Pull complete 01:22:19 bde34c3a00c8: Pull complete 01:22:19 b352a97aabf1: Pull complete 01:22:19 4872d77fe225: Pull complete 01:22:19 5851b861e8e6: Pull complete 01:22:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:22:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:19 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:22: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:22:22 $ docker top 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 -eo pid,comm 01:22:22 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:22:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:22:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:22:22 [ssh-agent] Looking for ssh-agent implementation... 01:22:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:22:22 $ docker exec 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 ssh-agent 01:22:23 SSH_AUTH_SOCK=/tmp/ssh-bpqhPpHMAvAo/agent.32 01:22:23 SSH_AGENT_PID=38 01:22:23 Running ssh-add (command line suppressed) 01:22:23 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17631084804533005102.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17631084804533005102.key) 01:22:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:22:23 + git tag --points-at HEAD [Pipeline] } 01:22:23 $ docker exec --env ******** --env ******** 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 ssh-agent -k 01:22:23 unset SSH_AUTH_SOCK; 01:22:23 unset SSH_AGENT_PID; 01:22:23 echo Agent pid 38 killed; 01:22:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:22:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:22:23 [ssh-agent] Looking for ssh-agent implementation... 01:22:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:22:23 $ docker exec 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 ssh-agent 01:22:23 SSH_AUTH_SOCK=/tmp/ssh-oF4juv90TFwp/agent.70 01:22:23 SSH_AGENT_PID=76 01:22:23 Running ssh-add (command line suppressed) 01:22:24 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11394179667914160484.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11394179667914160484.key) 01:22:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:22:24 + git semver init 01:22:24 2024-03-11 01:22:24,516 [run_init] DEBUG init version:0.0.0 force:False 01:22:24 2024-03-11 01:22:24,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 01:22:24 2024-03-11 01:22:24,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 01:22:24 2024-03-11 01:22:24,518 [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:22:26 2024-03-11 01:22:25,781 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 01:22:26 2024-03-11 01:22:25,781 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 01:22:26 2024-03-11 01:22:25,782 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:22:26 2024-03-11 01:22:25,782 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:22:26 3.2.0-dev.9 [Pipeline] } 01:22:26 $ docker exec --env ******** --env ******** 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 ssh-agent -k 01:22:26 unset SSH_AUTH_SOCK; 01:22:26 unset SSH_AGENT_PID; 01:22:26 echo Agent pid 76 killed; 01:22:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:22:26 + git semver [Pipeline] } 01:22:26 $ docker stop --time=1 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 01:22:28 $ docker rm -f --volumes 0f21a60c8c04f839be9b4b99d34f325231c99b84b8fe707ea2c1676d8c5b8436 [Pipeline] // withDockerContainer [Pipeline] sh 01:22:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:22:28 Stashed 1 file(s) [Pipeline] echo 01:22:28 [edgeXSemver]: initialized semver on version 3.2.0-dev.9 [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:22:29 provisioning config files... 01:22:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2027161616733891710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:29 ---> ****-login.sh 01:22:29 nexus3.edgexfoundry.org:10001 01:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:29 Configure a credential helper to remove this warning. See 01:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:29 01:22:29 Login Succeeded 01:22:29 nexus3.edgexfoundry.org:10002 01:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:29 Configure a credential helper to remove this warning. See 01:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:29 01:22:29 Login Succeeded 01:22:29 nexus3.edgexfoundry.org:10003 01:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:29 Configure a credential helper to remove this warning. See 01:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:29 01:22:29 Login Succeeded 01:22:29 nexus3.edgexfoundry.org:10004 01:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:29 Configure a credential helper to remove this warning. See 01:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:29 01:22:29 Login Succeeded 01:22:29 ****.io 01:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:22:29 Configure a credential helper to remove this warning. See 01:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:22:29 01:22:29 Login Succeeded 01:22:29 ---> ****-login.sh ends [Pipeline] } 01:22:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:22:30 ========================================================= 01:22:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:22:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:30 + 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:22:30 Sending build context to Docker daemon 24.56MB 01:22:30 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:22:30 Step 2/12 : FROM ${BASE} AS builder 01:22:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:22:30 7264a8db6415: Pulling fs layer 01:22:30 c4d48a809fc2: Pulling fs layer 01:22:30 4f1c88b9dad5: Pulling fs layer 01:22:30 ad3a456e5733: Pulling fs layer 01:22:30 69c7f0334f64: Pulling fs layer 01:22:30 1f1c1a5573a3: Pulling fs layer 01:22:30 ce7588e14bc9: Pulling fs layer 01:22:30 b5e4710f87ac: Pulling fs layer 01:22:30 69c7f0334f64: Waiting 01:22:30 ad3a456e5733: Waiting 01:22:30 b5e4710f87ac: Waiting 01:22:30 ce7588e14bc9: Waiting 01:22:30 1f1c1a5573a3: Waiting 01:22:30 c4d48a809fc2: Download complete 01:22:30 ad3a456e5733: Verifying Checksum 01:22:30 ad3a456e5733: Download complete 01:22:30 69c7f0334f64: Verifying Checksum 01:22:30 69c7f0334f64: Download complete 01:22:30 7264a8db6415: Verifying Checksum 01:22:30 7264a8db6415: Download complete 01:22:30 1f1c1a5573a3: Verifying Checksum 01:22:30 1f1c1a5573a3: Download complete 01:22:31 7264a8db6415: Pull complete 01:22:31 c4d48a809fc2: Pull complete 01:22:31 b5e4710f87ac: Verifying Checksum 01:22:31 b5e4710f87ac: Download complete 01:22:31 4f1c88b9dad5: Download complete 01:22:31 ce7588e14bc9: Verifying Checksum 01:22:31 ce7588e14bc9: Download complete 01:22:34 4f1c88b9dad5: Pull complete 01:22:34 ad3a456e5733: Pull complete 01:22:34 69c7f0334f64: Pull complete 01:22:34 1f1c1a5573a3: Pull complete 01:22:36 ce7588e14bc9: Pull complete 01:22:36 b5e4710f87ac: Pull complete 01:22:36 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:22:36 ---> 88b5674ff536 01:22:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:22:42 ---> Running in 57d5120838be 01:22:42 Removing intermediate container 57d5120838be 01:22:42 ---> d08b37d394fb 01:22:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:22:42 ---> Running in 72368722c982 01:22:42 Removing intermediate container 72368722c982 01:22:42 ---> d00803572df6 01:22:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:22:42 ---> Running in 6221bc0493c3 01:22:42 Removing intermediate container 6221bc0493c3 01:22:42 ---> 371f6e93b397 01:22:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:22:42 ---> Running in 34546df64d80 01:22:42 Removing intermediate container 34546df64d80 01:22:42 ---> 5ed41be1cc0b 01:22:42 Step 7/12 : WORKDIR /device-gpio 01:22:42 ---> Running in e558a2d48892 01:22:42 Removing intermediate container e558a2d48892 01:22:42 ---> 675df42c6790 01:22:42 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:22:42 ---> Running in 6e24a53fbb7b 01:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:22:42 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:22:42 (2/4) Installing libedit (20221030.3.1-r1) 01:22:42 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:22:42 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:22:42 Executing busybox-1.36.1-r5.trigger 01:22:42 OK: 268 MiB in 56 packages 01:22:43 Removing intermediate container 6e24a53fbb7b 01:22:43 ---> e058838023a4 01:22:43 Step 9/12 : COPY go.mod vendor* ./ 01:22:43 ---> d1dcecfb317f 01:22:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:43 ---> Running in b60364cbbe22 01:22:43 Still waiting to schedule task 01:22:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5392’ 01:23:15 Removing intermediate container b60364cbbe22 01:23:15 ---> 95cc55527e96 01:23:15 Step 11/12 : COPY . . 01:23:15 ---> 271e3ca07e2d 01:23:15 Step 12/12 : RUN ${MAKE} 01:23:15 ---> Running in e91265ea35e5 01:23:15 noop 01:23:15 Removing intermediate container e91265ea35e5 01:23:15 ---> 4124302edab2 01:23:15 Successfully built 4124302edab2 01:23:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:16 + docker inspect -f . ci-base-image-x86_64 01:23:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:16 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:23:16 $ 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 ******** ci-base-image-x86_64 cat 01:23:16 $ docker top a88cd76cc820d54f584f6b49dd4f9938c12226127919d92b3fb617626dbbe8d4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:17 + go version 01:23:17 go version go1.21.0 linux/amd64 [Pipeline] } 01:23:17 $ docker stop --time=1 a88cd76cc820d54f584f6b49dd4f9938c12226127919d92b3fb617626dbbe8d4 01:23:18 $ docker rm -f --volumes a88cd76cc820d54f584f6b49dd4f9938c12226127919d92b3fb617626dbbe8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:18 + docker inspect -f . ci-base-image-x86_64 01:23:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:19 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:23:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_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 ******** ci-base-image-x86_64 cat 01:23:19 $ docker top c3bc219919a9245b2358e867c9037b89c1c33a4b2b564751a0bd8945e73c955e -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 01:23:20 + make test 01:23:20 go test ./... -coverprofile=coverage.out ./... 01:23:21 ? github.com/edgexfoundry/device-gpio [no test files] 01:23:31 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:23:31 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:23:39 go vet ./... 01:23:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:23:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:23:42 ./bin/test-attribution-txt.sh 01:23:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:23:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:23:42 $ docker stop --time=1 c3bc219919a9245b2358e867c9037b89c1c33a4b2b564751a0bd8945e73c955e 01:23:46 $ docker rm -f --volumes c3bc219919a9245b2358e867c9037b89c1c33a4b2b564751a0bd8945e73c955e [Pipeline] // withDockerContainer [Pipeline] sh 01:23:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:23:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:23:48 + ls -al . 01:23:48 total 152 01:23:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:23 . 01:23:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:22 .. 01:23:48 -rw-rw-r-- 1 jenkins jenkins 120 Mar 11 01:22 .dockerignore 01:23:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:23 .git 01:23:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:22 .github 01:23:48 -rw-rw-r-- 1 jenkins jenkins 277 Mar 11 01:22 .gitignore 01:23:48 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:22 .golangci.yml 01:23:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:22 .semver 01:23:48 -rw-rw-r-- 1 jenkins jenkins 10671 Mar 11 01:22 Attribution.txt 01:23:48 -rw-rw-r-- 1 jenkins jenkins 7171 Mar 11 01:22 CHANGELOG.md 01:23:48 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 11 01:22 Dockerfile 01:23:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:22 GOVERNANCE.md 01:23:48 -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:22 Jenkinsfile 01:23:48 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:22 LICENSE 01:23:48 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 11 01:22 Makefile 01:23:48 -rw-rw-r-- 1 jenkins jenkins 617 Mar 11 01:22 OWNERS.md 01:23:48 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 11 01:22 README.md 01:23:48 -rw-rw-r-- 1 jenkins jenkins 11 Mar 11 01:22 VERSION 01:23:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:22 bin 01:23:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:22 cmd 01:23:48 -rw-r--r-- 1 jenkins jenkins 10 Mar 11 01:23 coverage.out 01:23:48 -rw-rw-r-- 1 jenkins jenkins 3743 Mar 11 01:22 go.mod 01:23:48 -rw-rw-r-- 1 jenkins jenkins 36572 Mar 11 01:22 go.sum 01:23:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:22 internal 01:23:48 -rw-rw-r-- 1 jenkins jenkins 209 Mar 11 01:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:48 + 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=688a4a293e90f410e0c8818ae36297e33c21074c --label arch=amd64 --label version=3.2.0-dev.9 . 01:23:48 Sending build context to Docker daemon 24.57MB 01:23:48 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:23:48 Step 2/26 : FROM ${BASE} AS builder 01:23:48 ---> 4124302edab2 01:23:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:23:49 ---> Running in 49aba3400333 01:23:49 Removing intermediate container 49aba3400333 01:23:49 ---> 0583ef0d2324 01:23:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:23:49 ---> Running in 061f6b0448d9 01:23:49 Removing intermediate container 061f6b0448d9 01:23:49 ---> 32f66e30cc8a 01:23:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:23:49 ---> Running in 04b79780ac07 01:23:49 Removing intermediate container 04b79780ac07 01:23:49 ---> 4d84c78a5f34 01:23:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:23:49 ---> Running in 121b56e968b4 01:23:49 Removing intermediate container 121b56e968b4 01:23:49 ---> 095c9d533be8 01:23:49 Step 7/26 : WORKDIR /device-gpio 01:23:49 ---> Running in 3bd0b908aeea 01:23:49 Removing intermediate container 3bd0b908aeea 01:23:49 ---> 65c7ca256c0b 01:23:49 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:23:49 ---> Running in c886c73dc6e9 01:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:23:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:23:50 OK: 268 MiB in 56 packages 01:23:50 Removing intermediate container c886c73dc6e9 01:23:50 ---> 6aeea8dd1034 01:23:50 Step 9/26 : COPY go.mod vendor* ./ 01:23:50 ---> 61e82065e6a4 01:23:50 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:50 ---> Running in f9b1e2cec632 01:23:51 Removing intermediate container f9b1e2cec632 01:23:51 ---> 96499423afeb 01:23:51 Step 11/26 : COPY . . 01:23:52 ---> 434e2473443d 01:23:52 Step 12/26 : RUN ${MAKE} 01:23:52 ---> Running in e351fefaef87 01:23:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:24:14 Removing intermediate container e351fefaef87 01:24:14 ---> a51f155bcea5 01:24:14 Step 13/26 : FROM alpine:3.18 01:24:14 3.18: Pulling from library/alpine 01:24:14 619be1103602: Pulling fs layer 01:24:14 619be1103602: Download complete 01:24:14 619be1103602: Pull complete 01:24:14 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:24:14 Status: Downloaded newer image for alpine:3.18 01:24:14 ---> d3782b16ccc9 01:24:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:24:14 ---> Running in c211b103cf96 01:24:14 Removing intermediate container c211b103cf96 01:24:14 ---> 17b53807ac69 01:24:14 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:24:14 ---> Running in 86632726c1ce 01:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:24:15 (1/1) Installing dumb-init (1.2.5-r2) 01:24:15 Executing busybox-1.36.1-r5.trigger 01:24:15 OK: 7 MiB in 16 packages 01:24:15 Removing intermediate container 86632726c1ce 01:24:15 ---> 2eb299addb20 01:24:15 Step 16/26 : RUN apk --no-cache upgrade 01:24:15 ---> Running in 2a29cb81a4f8 01:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:24:16 OK: 7 MiB in 16 packages 01:24:16 Removing intermediate container 2a29cb81a4f8 01:24:16 ---> 230ba11e1e4b 01:24:16 Step 17/26 : WORKDIR / 01:24:16 ---> Running in a6ac58e76588 01:24:16 Removing intermediate container a6ac58e76588 01:24:16 ---> a6e0c5427e48 01:24:16 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:24:16 ---> c3c29a3926b2 01:24:16 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:24:17 ---> b6e0a51cf296 01:24:17 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:24:18 ---> 2dd28fb90c24 01:24:18 Step 21/26 : EXPOSE 59910 01:24:18 ---> Running in 1b81364c551e 01:24:18 Removing intermediate container 1b81364c551e 01:24:18 ---> b264271c4d8c 01:24:18 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:24:18 ---> Running in 9c4ebe618f88 01:24:18 Removing intermediate container 9c4ebe618f88 01:24:18 ---> 1721cfe93d98 01:24:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:24:18 ---> Running in de95422e76a0 01:24:18 Removing intermediate container de95422e76a0 01:24:18 ---> aecf4659cb5f 01:24:18 Step 24/26 : LABEL arch=amd64 01:24:18 ---> Running in fb5161c6d476 01:24:18 Removing intermediate container fb5161c6d476 01:24:18 ---> c349828b39fb 01:24:18 Step 25/26 : LABEL git_sha=688a4a293e90f410e0c8818ae36297e33c21074c 01:24:18 ---> Running in feb0b6b55996 01:24:18 Removing intermediate container feb0b6b55996 01:24:18 ---> 7759a97d3e9c 01:24:18 Step 26/26 : LABEL version=3.2.0-dev.9 01:24:18 ---> Running in 5ca2a4f3e65f 01:24:18 Removing intermediate container 5ca2a4f3e65f 01:24:18 ---> 4e372ec9ba45 01:24:18 [Warning] One or more build-args [ARCH] were not consumed 01:24:18 Successfully built 4e372ec9ba45 01:24:18 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:24:18 provisioning config files... 01:24:18 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17378528255933911331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:19 ---> ****-login.sh 01:24:19 nexus3.edgexfoundry.org:10001 01:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:19 Configure a credential helper to remove this warning. See 01:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:19 01:24:19 Login Succeeded 01:24:19 nexus3.edgexfoundry.org:10002 01:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:19 Configure a credential helper to remove this warning. See 01:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:19 01:24:19 Login Succeeded 01:24:19 nexus3.edgexfoundry.org:10003 01:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:19 Configure a credential helper to remove this warning. See 01:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:19 01:24:19 Login Succeeded 01:24:19 nexus3.edgexfoundry.org:10004 01:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:19 Configure a credential helper to remove this warning. See 01:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:19 01:24:19 Login Succeeded 01:24:19 ****.io 01:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:19 Configure a credential helper to remove this warning. See 01:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:19 01:24:19 Login Succeeded 01:24:19 ---> ****-login.sh ends [Pipeline] } 01:24:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:24:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:24:19 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 01:24:19 688a4a293e90f410e0c8818ae36297e33c21074c 01:24:19 latest 01:24:19 3.2.0-dev.9 01:24:19 688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 01:24:19 main 01:24:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:20 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:20 + docker push nexus3.edgexfoundry.org:10004/device-gpio:688a4a293e90f410e0c8818ae36297e33c21074c 01:24:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:24:20 e2c2524c981e: Preparing 01:24:20 e8c6f6cbcf8c: Preparing 01:24:20 28455cd43c33: Preparing 01:24:20 3cec3251420f: Preparing 01:24:20 a8cb25c9da23: Preparing 01:24:20 aedc3bda2944: Preparing 01:24:20 aedc3bda2944: Waiting 01:24:20 a8cb25c9da23: Pushed 01:24:20 28455cd43c33: Pushed 01:24:20 e8c6f6cbcf8c: Pushed 01:24:20 3cec3251420f: Pushed 01:24:20 aedc3bda2944: Layer already exists 01:24:23 e2c2524c981e: Pushed 01:24:23 688a4a293e90f410e0c8818ae36297e33c21074c: digest: sha256:2ccfeaac5eb99ca7434a2e92be328806cfdb0161913550f109349bd71f9984f3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:24 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:24 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 01:24:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:24:24 e2c2524c981e: Preparing 01:24:24 e8c6f6cbcf8c: Preparing 01:24:24 28455cd43c33: Preparing 01:24:24 3cec3251420f: Preparing 01:24:24 a8cb25c9da23: Preparing 01:24:24 aedc3bda2944: Preparing 01:24:24 aedc3bda2944: Waiting 01:24:24 e8c6f6cbcf8c: Layer already exists 01:24:24 e2c2524c981e: Layer already exists 01:24:24 28455cd43c33: Layer already exists 01:24:24 a8cb25c9da23: Layer already exists 01:24:24 3cec3251420f: Layer already exists 01:24:24 aedc3bda2944: Layer already exists 01:24:24 latest: digest: sha256:2ccfeaac5eb99ca7434a2e92be328806cfdb0161913550f109349bd71f9984f3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:25 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:25 + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.9 01:24:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:24:25 e2c2524c981e: Preparing 01:24:25 e8c6f6cbcf8c: Preparing 01:24:25 28455cd43c33: Preparing 01:24:25 3cec3251420f: Preparing 01:24:25 a8cb25c9da23: Preparing 01:24:25 aedc3bda2944: Preparing 01:24:25 aedc3bda2944: Waiting 01:24:25 e2c2524c981e: Layer already exists 01:24:25 a8cb25c9da23: Layer already exists 01:24:25 28455cd43c33: Layer already exists 01:24:25 e8c6f6cbcf8c: Layer already exists 01:24:25 3cec3251420f: Layer already exists 01:24:25 aedc3bda2944: Layer already exists 01:24:25 3.2.0-dev.9: digest: sha256:2ccfeaac5eb99ca7434a2e92be328806cfdb0161913550f109349bd71f9984f3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:25 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:26 + docker push nexus3.edgexfoundry.org:10004/device-gpio:688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 01:24:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:24:26 e2c2524c981e: Preparing 01:24:26 e8c6f6cbcf8c: Preparing 01:24:26 28455cd43c33: Preparing 01:24:26 3cec3251420f: Preparing 01:24:26 a8cb25c9da23: Preparing 01:24:26 aedc3bda2944: Preparing 01:24:26 aedc3bda2944: Waiting 01:24:26 e8c6f6cbcf8c: Layer already exists 01:24:26 28455cd43c33: Layer already exists 01:24:26 a8cb25c9da23: Layer already exists 01:24:26 e2c2524c981e: Layer already exists 01:24:26 3cec3251420f: Layer already exists 01:24:26 aedc3bda2944: Layer already exists 01:24:26 688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9: digest: sha256:2ccfeaac5eb99ca7434a2e92be328806cfdb0161913550f109349bd71f9984f3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:26 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:27 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 01:24:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:24:27 e2c2524c981e: Preparing 01:24:27 e8c6f6cbcf8c: Preparing 01:24:27 28455cd43c33: Preparing 01:24:27 3cec3251420f: Preparing 01:24:27 a8cb25c9da23: Preparing 01:24:27 aedc3bda2944: Preparing 01:24:27 aedc3bda2944: Waiting 01:24:27 3cec3251420f: Layer already exists 01:24:27 28455cd43c33: Layer already exists 01:24:27 a8cb25c9da23: Layer already exists 01:24:27 e2c2524c981e: Layer already exists 01:24:27 e8c6f6cbcf8c: Layer already exists 01:24:27 aedc3bda2944: Layer already exists 01:24:27 main: digest: sha256:2ccfeaac5eb99ca7434a2e92be328806cfdb0161913550f109349bd71f9984f3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:24:27 ===================================================== [Pipeline] echo 01:24:27 taggedImages: 01:24:27 - nexus3.edgexfoundry.org:10004/device-gpio:688a4a293e90f410e0c8818ae36297e33c21074c 01:24:27 - nexus3.edgexfoundry.org:10004/device-gpio:latest 01:24:27 - nexus3.edgexfoundry.org:10004/device-gpio:3.2.0-dev.9 01:24:27 - nexus3.edgexfoundry.org:10004/device-gpio:688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 01:24:27 - 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:24:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:24:28 01:24:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:24:28 latest: Pulling from edgex-lftools-log-publisher 01:24:28 5eb5b503b376: Pulling fs layer 01:24:28 5c69ac0246d0: Pulling fs layer 01:24:28 ec43610c2a17: Pulling fs layer 01:24:28 3a2ae6a8a46f: Pulling fs layer 01:24:28 33b1e0a273af: Pulling fs layer 01:24:28 5d3b04190fa2: Pulling fs layer 01:24:28 2f39f015ded8: Pulling fs layer 01:24:28 3a2ae6a8a46f: Waiting 01:24:28 33b1e0a273af: Waiting 01:24:28 5d3b04190fa2: Waiting 01:24:28 2f39f015ded8: Waiting 01:24:28 5c69ac0246d0: Verifying Checksum 01:24:28 5c69ac0246d0: Download complete 01:24:28 3a2ae6a8a46f: Verifying Checksum 01:24:28 3a2ae6a8a46f: Download complete 01:24:28 33b1e0a273af: Verifying Checksum 01:24:28 33b1e0a273af: Download complete 01:24:28 ec43610c2a17: Verifying Checksum 01:24:28 ec43610c2a17: Download complete 01:24:28 5d3b04190fa2: Verifying Checksum 01:24:28 5d3b04190fa2: Download complete 01:24:28 5eb5b503b376: Verifying Checksum 01:24:28 5eb5b503b376: Download complete 01:24:29 2f39f015ded8: Download complete 01:24:29 5eb5b503b376: Pull complete 01:24:30 5c69ac0246d0: Pull complete 01:24:30 ec43610c2a17: Pull complete 01:24:30 3a2ae6a8a46f: Pull complete 01:24:30 33b1e0a273af: Pull complete 01:24:30 5d3b04190fa2: Pull complete 01:24:36 2f39f015ded8: Pull complete 01:24:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:24:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:36 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:24:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:24:42 $ docker top 5479edffd69d8f9216054afd110fe21f26c5753c1fa6a8214ab409a1ebc702f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:42 ---> job-cost.sh 01:24:42 lf-activate-venv: SKIPPING 01:24:42 INFO: No Stack... 01:24:42 INFO: Retrieving Pricing Info for: v3-standard-8 01:24:43 INFO: Archiving Costs [Pipeline] sh 01:24:43 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 01:24:43 + cut -d, -f6 [Pipeline] lock 01:24:43 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] 01:24:43 Resource [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] did not exist. Created. 01:24:43 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:24:43 + echo total: 0.2199999988079071 [Pipeline] stash 01:24:43 Stashed 1 file(s) [Pipeline] } 01:24:43 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 01:24:43 $ docker stop --time=1 5479edffd69d8f9216054afd110fe21f26c5753c1fa6a8214ab409a1ebc702f7 01:24:45 $ docker rm -f --volumes 5479edffd69d8f9216054afd110fe21f26c5753c1fa6a8214ab409a1ebc702f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:25:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5399 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 01:25:20 Running in /w/workspace/device-gpio/122 [Pipeline] { [Pipeline] checkout 01:25:20 The recommended git tool is: git 01:25:25 using credential edgex-jenkins-ssh 01:25:25 Cloning the remote Git repository 01:25:25 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:25:25 > git init /w/workspace/device-gpio/122 # timeout=10 01:25:25 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:25:25 > git --version # timeout=10 01:25:25 > git --version # 'git version 2.25.1' 01:25:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:25:29 Avoid second fetch 01:25:29 Checking out Revision 688a4a293e90f410e0c8818ae36297e33c21074c (main) 01:25:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:25:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:25:29 > git config core.sparsecheckout # timeout=10 01:25:29 > git checkout -f 688a4a293e90f410e0c8818ae36297e33c21074c # timeout=10 01:25:30 Commit message: "Merge pull request #231 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:25:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:25:31 Dload Upload Total Spent Left Speed 01:25:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 01:25:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:25:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:25:31 + sudo tee /etc/docker/daemon.new 01:25:31 { 01:25:31 "registry-mirrors": [ 01:25:31 "https://nexus3.edgexfoundry.org:10001" 01:25:31 ], 01:25:31 "bip": "10.250.0.254/24", 01:25:31 "hosts": [ 01:25:31 "tcp://0.0.0.0:5555", 01:25:31 "unix:///var/run/docker.sock" 01:25:31 ], 01:25:31 "mtu": 1458, 01:25:31 "selinux-enabled": true, 01:25:31 "seccomp-profile": "/etc/docker/seccomp.json" 01:25:31 } [Pipeline] sh 01:25:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:25:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:50 provisioning config files... 01:25:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/122@tmp/config9832439902496630527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:51 ---> ****-login.sh 01:25:51 nexus3.edgexfoundry.org:10001 01:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:51 Configure a credential helper to remove this warning. See 01:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:51 01:25:51 Login Succeeded 01:25:51 nexus3.edgexfoundry.org:10002 01:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:52 Configure a credential helper to remove this warning. See 01:25:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:52 01:25:52 Login Succeeded 01:25:52 nexus3.edgexfoundry.org:10003 01:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:52 Configure a credential helper to remove this warning. See 01:25:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:52 01:25:52 Login Succeeded 01:25:52 nexus3.edgexfoundry.org:10004 01:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:52 Configure a credential helper to remove this warning. See 01:25:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:52 01:25:52 Login Succeeded 01:25:52 ****.io 01:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:53 Configure a credential helper to remove this warning. See 01:25:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:53 01:25:53 Login Succeeded 01:25:53 ---> ****-login.sh ends [Pipeline] } 01:25:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:25:53 ========================================================= 01:25:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:25:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:54 + 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:25:54 Sending build context to Docker daemon 12.35MB 01:25:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:25:55 Step 2/12 : FROM ${BASE} AS builder 01:25:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:25:55 9fda8d8052c6: Pulling fs layer 01:25:55 5d54e960e981: Pulling fs layer 01:25:55 c4a7e357bf2a: Pulling fs layer 01:25:55 f0e02332f6b5: Pulling fs layer 01:25:55 872ee5b61b7b: Pulling fs layer 01:25:55 0c6a40ed1a82: Pulling fs layer 01:25:55 94ae7d8d031c: Pulling fs layer 01:25:55 f0e02332f6b5: Waiting 01:25:55 872ee5b61b7b: Waiting 01:25:55 0c6a40ed1a82: Waiting 01:25:55 94ae7d8d031c: Waiting 01:25:55 5d54e960e981: Verifying Checksum 01:25:55 5d54e960e981: Download complete 01:25:55 f0e02332f6b5: Verifying Checksum 01:25:55 f0e02332f6b5: Download complete 01:25:55 872ee5b61b7b: Verifying Checksum 01:25:55 872ee5b61b7b: Download complete 01:25:55 9fda8d8052c6: Verifying Checksum 01:25:55 9fda8d8052c6: Download complete 01:25:55 94ae7d8d031c: Verifying Checksum 01:25:55 94ae7d8d031c: Download complete 01:25:56 9fda8d8052c6: Pull complete 01:25:56 5d54e960e981: Pull complete 01:25:57 c4a7e357bf2a: Verifying Checksum 01:25:57 c4a7e357bf2a: Download complete 01:25:58 0c6a40ed1a82: Verifying Checksum 01:25:58 0c6a40ed1a82: Download complete 01:26:10 c4a7e357bf2a: Pull complete 01:26:10 f0e02332f6b5: Pull complete 01:26:10 872ee5b61b7b: Pull complete 01:26:19 0c6a40ed1a82: Pull complete 01:26:21 94ae7d8d031c: Pull complete 01:26:21 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:26:21 ---> 86de565de09d 01:26:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:26:23 ---> Running in 7b3ccfd378c1 01:26:23 Removing intermediate container 7b3ccfd378c1 01:26:23 ---> a9d36bf8a6eb 01:26:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:26:23 ---> Running in 80eeb2fa1af6 01:26:23 Removing intermediate container 80eeb2fa1af6 01:26:23 ---> 27dc2c04efee 01:26:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:26:23 ---> Running in 8184bb3a7cbd 01:26:23 Removing intermediate container 8184bb3a7cbd 01:26:23 ---> a53769a72416 01:26:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:26:23 ---> Running in df18e502900a 01:26:24 Removing intermediate container df18e502900a 01:26:24 ---> 1ea2bcab9903 01:26:24 Step 7/12 : WORKDIR /device-gpio 01:26:24 ---> Running in 0cbf40e2180f 01:26:24 Removing intermediate container 0cbf40e2180f 01:26:24 ---> 8c2c3ccd3955 01:26:24 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:24 ---> Running in 9e565906a566 01:26:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:26:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:26:27 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:26:27 (2/4) Installing libedit (20221030.3.1-r1) 01:26:27 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:26:27 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:26:27 Executing busybox-1.36.1-r5.trigger 01:26:27 OK: 271 MiB in 56 packages 01:26:28 Removing intermediate container 9e565906a566 01:26:28 ---> e7764c2748a2 01:26:28 Step 9/12 : COPY go.mod vendor* ./ 01:26:28 ---> b90b1ffe7d2d 01:26:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:28 ---> Running in df4de38501fc 01:27:37 Removing intermediate container df4de38501fc 01:27:37 ---> 62df535e5194 01:27:37 Step 11/12 : COPY . . 01:27:37 ---> c8d100787217 01:27:37 Step 12/12 : RUN ${MAKE} 01:27:37 ---> Running in b394f9970a83 01:27:37 noop 01:27:37 Removing intermediate container b394f9970a83 01:27:37 ---> 22dbd6e97b05 01:27:37 Successfully built 22dbd6e97b05 01:27:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:37 + docker inspect -f . ci-base-image-arm64 01:27:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:37 prd-ubuntu20.04-docker-arm64-4c-16g-5399 does not seem to be running inside a container 01:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/122 -v /w/workspace/device-gpio/122:/w/workspace/device-gpio/122:rw,z -v /w/workspace/device-gpio/122@tmp:/w/workspace/device-gpio/122@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:27:39 $ docker top 60b6267f6b8e2366251eb5f558f6094339d5101683cffe2bbc873f9babc6eecc -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:40 + go version 01:27:40 go version go1.21.0 linux/arm64 [Pipeline] } 01:27:40 $ docker stop --time=1 60b6267f6b8e2366251eb5f558f6094339d5101683cffe2bbc873f9babc6eecc 01:27:41 $ docker rm -f --volumes 60b6267f6b8e2366251eb5f558f6094339d5101683cffe2bbc873f9babc6eecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:42 + docker inspect -f . ci-base-image-arm64 01:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:42 prd-ubuntu20.04-docker-arm64-4c-16g-5399 does not seem to be running inside a container 01:27:42 $ 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/122 -v /w/workspace/device-gpio/122:/w/workspace/device-gpio/122:rw,z -v /w/workspace/device-gpio/122@tmp:/w/workspace/device-gpio/122@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:27:44 $ docker top 7b759d183d55a388750d4c743f5c6bd2e4025c9df22d23aa8e614b474d42df86 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:44 + git config --global --add safe.directory /w/workspace/device-gpio/122 [Pipeline] fileExists [Pipeline] sh 01:27:45 + make test 01:27:45 go test ./... -coverprofile=coverage.out ./... 01:27:49 ? github.com/edgexfoundry/device-gpio [no test files] 01:29:25 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:29:25 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:29:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:29:25 go vet ./... 01:29:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:29:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:29:42 ./bin/test-attribution-txt.sh 01:29:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:29:42 $ docker stop --time=1 7b759d183d55a388750d4c743f5c6bd2e4025c9df22d23aa8e614b474d42df86 01:29:44 $ docker rm -f --volumes 7b759d183d55a388750d4c743f5c6bd2e4025c9df22d23aa8e614b474d42df86 [Pipeline] // withDockerContainer [Pipeline] sh 01:29:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:29:46 Warning: overwriting stash ‘coverage-report’ 01:29:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:29:47 + ls -al . 01:29:47 total 148 01:29:47 drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 01:27 . 01:29:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:25 .. 01:29:47 -rw-rw-r-- 1 jenkins jenkins 120 Mar 11 01:25 .dockerignore 01:29:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:25 .git 01:29:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:25 .github 01:29:47 -rw-rw-r-- 1 jenkins jenkins 277 Mar 11 01:25 .gitignore 01:29:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:25 .golangci.yml 01:29:47 -rw-rw-r-- 1 jenkins jenkins 10671 Mar 11 01:25 Attribution.txt 01:29:47 -rw-rw-r-- 1 jenkins jenkins 7171 Mar 11 01:25 CHANGELOG.md 01:29:47 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 11 01:25 Dockerfile 01:29:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:25 GOVERNANCE.md 01:29:47 -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:25 Jenkinsfile 01:29:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:25 LICENSE 01:29:47 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 11 01:25 Makefile 01:29:47 -rw-rw-r-- 1 jenkins jenkins 617 Mar 11 01:25 OWNERS.md 01:29:47 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 11 01:25 README.md 01:29:47 -rw-rw-r-- 1 jenkins jenkins 11 Mar 11 01:22 VERSION 01:29:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:25 bin 01:29:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:25 cmd 01:29:47 -rw-r--r-- 1 jenkins jenkins 10 Mar 11 01:27 coverage.out 01:29:47 -rw-rw-r-- 1 jenkins jenkins 3743 Mar 11 01:25 go.mod 01:29:47 -rw-rw-r-- 1 jenkins jenkins 36572 Mar 11 01:25 go.sum 01:29:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:25 internal 01:29:47 -rw-rw-r-- 1 jenkins jenkins 209 Mar 11 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:47 + 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=688a4a293e90f410e0c8818ae36297e33c21074c --label arch=arm64 --label version=3.2.0-dev.9 . 01:29:48 Sending build context to Docker daemon 12.35MB 01:29:48 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:29:48 Step 2/26 : FROM ${BASE} AS builder 01:29:48 ---> 22dbd6e97b05 01:29:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:29:48 ---> Running in 27819c81fbde 01:29:48 Removing intermediate container 27819c81fbde 01:29:48 ---> e68fb23e5ba2 01:29:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:49 ---> Running in ab21f81bf462 01:29:49 Removing intermediate container ab21f81bf462 01:29:49 ---> f0d4ac88a28e 01:29:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:29:49 ---> Running in f8eaf4884e63 01:29:49 Removing intermediate container f8eaf4884e63 01:29:49 ---> f2c4c68f06e2 01:29:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:29:49 ---> Running in 2204aceee04e 01:29:49 Removing intermediate container 2204aceee04e 01:29:49 ---> ffebf54da81c 01:29:49 Step 7/26 : WORKDIR /device-gpio 01:29:50 ---> Running in e5e08ab3c4db 01:29:50 Removing intermediate container e5e08ab3c4db 01:29:50 ---> 5bf1bb7dff99 01:29:50 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:50 ---> Running in a82ef8439b03 01:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:29:53 OK: 271 MiB in 56 packages 01:29:53 Removing intermediate container a82ef8439b03 01:29:53 ---> 955d563bcfba 01:29:53 Step 9/26 : COPY go.mod vendor* ./ 01:29:54 ---> c32185072244 01:29:54 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:54 ---> Running in 5f988dd8726a 01:29:56 Removing intermediate container 5f988dd8726a 01:29:56 ---> d92133596d33 01:29:56 Step 11/26 : COPY . . 01:29:57 ---> 97e6554ba4d0 01:29:57 Step 12/26 : RUN ${MAKE} 01:29:57 ---> Running in eba2313edeab 01:29:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:31:50 Removing intermediate container eba2313edeab 01:31:50 ---> b07776dc0226 01:31:50 Step 13/26 : FROM alpine:3.18 01:31:50 3.18: Pulling from library/alpine 01:31:50 c6b39de5b339: Pulling fs layer 01:31:50 c6b39de5b339: Download complete 01:31:50 c6b39de5b339: Pull complete 01:31:50 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:31:50 Status: Downloaded newer image for alpine:3.18 01:31:50 ---> 33abbf032149 01:31:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:31:50 ---> Running in 993721b576ee 01:31:50 Removing intermediate container 993721b576ee 01:31:50 ---> ce51a653f312 01:31:50 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:31:50 ---> Running in b5933699ae92 01:31:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:31:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:31:53 (1/1) Installing dumb-init (1.2.5-r2) 01:31:53 Executing busybox-1.36.1-r5.trigger 01:31:53 OK: 8 MiB in 16 packages 01:31:53 Removing intermediate container b5933699ae92 01:31:53 ---> 10f29848c3c6 01:31:53 Step 16/26 : RUN apk --no-cache upgrade 01:31:54 ---> Running in 4a9c36bb31cc 01:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:31:56 OK: 8 MiB in 16 packages 01:31:57 Removing intermediate container 4a9c36bb31cc 01:31:57 ---> 4c735f4d0174 01:31:57 Step 17/26 : WORKDIR / 01:31:57 ---> Running in 7a500555f195 01:31:57 Removing intermediate container 7a500555f195 01:31:57 ---> 0025c16e43bc 01:31:57 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:31:58 ---> 455c5700a461 01:31:58 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:31:58 ---> 341bda97daea 01:31:58 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:32:00 ---> 81151a24c62a 01:32:00 Step 21/26 : EXPOSE 59910 01:32:00 ---> Running in 487e166136a0 01:32:00 Removing intermediate container 487e166136a0 01:32:00 ---> a08d5f6d31c6 01:32:00 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:32:00 ---> Running in 4cfb73278731 01:32:01 Removing intermediate container 4cfb73278731 01:32:01 ---> 1514f4e540ae 01:32:01 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:32:01 ---> Running in 58b1279f3f2f 01:32:01 Removing intermediate container 58b1279f3f2f 01:32:01 ---> 11595c4628f3 01:32:01 Step 24/26 : LABEL arch=arm64 01:32:01 ---> Running in a53926a555ab 01:32:01 Removing intermediate container a53926a555ab 01:32:01 ---> df91cea2049c 01:32:01 Step 25/26 : LABEL git_sha=688a4a293e90f410e0c8818ae36297e33c21074c 01:32:02 ---> Running in 786c9763871d 01:32:02 Removing intermediate container 786c9763871d 01:32:02 ---> 259db642dcca 01:32:02 Step 26/26 : LABEL version=3.2.0-dev.9 01:32:02 ---> Running in 1aa964aa1534 01:32:02 Removing intermediate container 1aa964aa1534 01:32:02 ---> 3eade1093d6b 01:32:02 [Warning] One or more build-args [ARCH] were not consumed 01:32:02 Successfully built 3eade1093d6b 01:32:03 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:32:03 provisioning config files... 01:32:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/122@tmp/config6425298143242221075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:04 ---> ****-login.sh 01:32:04 nexus3.edgexfoundry.org:10001 01:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:04 Configure a credential helper to remove this warning. See 01:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:04 01:32:04 Login Succeeded 01:32:04 nexus3.edgexfoundry.org:10002 01:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:04 Configure a credential helper to remove this warning. See 01:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:04 01:32:04 Login Succeeded 01:32:04 nexus3.edgexfoundry.org:10003 01:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:05 Configure a credential helper to remove this warning. See 01:32:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:05 01:32:05 Login Succeeded 01:32:05 nexus3.edgexfoundry.org:10004 01:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:05 Configure a credential helper to remove this warning. See 01:32:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:05 01:32:05 Login Succeeded 01:32:05 ****.io 01:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:32:05 Configure a credential helper to remove this warning. See 01:32:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:32:05 01:32:05 Login Succeeded 01:32:05 ---> ****-login.sh ends [Pipeline] } 01:32:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:32:06 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 01:32:06 688a4a293e90f410e0c8818ae36297e33c21074c 01:32:06 latest 01:32:06 3.2.0-dev.9 01:32:06 688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 01:32:06 main 01:32:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:06 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:07 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:688a4a293e90f410e0c8818ae36297e33c21074c 01:32:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:32:07 7d194f0adfb4: Preparing 01:32:07 7097adef8ad2: Preparing 01:32:07 5b822e1c9d5f: Preparing 01:32:07 2c08550daba9: Preparing 01:32:07 0d1ea85471f2: Preparing 01:32:07 7c504f21be85: Preparing 01:32:07 7c504f21be85: Waiting 01:32:07 0d1ea85471f2: Pushed 01:32:07 7097adef8ad2: Pushed 01:32:07 2c08550daba9: Pushed 01:32:07 5b822e1c9d5f: Pushed 01:32:07 7c504f21be85: Layer already exists 01:32:12 7d194f0adfb4: Pushed 01:32:12 688a4a293e90f410e0c8818ae36297e33c21074c: digest: sha256:f6286d629e7d758fa47b1fd43bb9691ca7a23265a20ca7191411ddcef7fd82d4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:13 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:13 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 01:32:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:32:13 7d194f0adfb4: Preparing 01:32:13 7097adef8ad2: Preparing 01:32:13 5b822e1c9d5f: Preparing 01:32:13 2c08550daba9: Preparing 01:32:13 0d1ea85471f2: Preparing 01:32:13 7c504f21be85: Preparing 01:32:13 7c504f21be85: Waiting 01:32:13 2c08550daba9: Layer already exists 01:32:13 7d194f0adfb4: Layer already exists 01:32:13 7097adef8ad2: Layer already exists 01:32:13 0d1ea85471f2: Layer already exists 01:32:13 5b822e1c9d5f: Layer already exists 01:32:13 7c504f21be85: Layer already exists 01:32:14 latest: digest: sha256:f6286d629e7d758fa47b1fd43bb9691ca7a23265a20ca7191411ddcef7fd82d4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:14 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:15 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.9 01:32:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:32:15 7d194f0adfb4: Preparing 01:32:15 7097adef8ad2: Preparing 01:32:15 5b822e1c9d5f: Preparing 01:32:15 2c08550daba9: Preparing 01:32:15 0d1ea85471f2: Preparing 01:32:15 7c504f21be85: Preparing 01:32:15 7c504f21be85: Waiting 01:32:15 2c08550daba9: Layer already exists 01:32:15 0d1ea85471f2: Layer already exists 01:32:15 7097adef8ad2: Layer already exists 01:32:15 7d194f0adfb4: Layer already exists 01:32:15 5b822e1c9d5f: Layer already exists 01:32:15 7c504f21be85: Layer already exists 01:32:15 3.2.0-dev.9: digest: sha256:f6286d629e7d758fa47b1fd43bb9691ca7a23265a20ca7191411ddcef7fd82d4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:15 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:16 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 01:32:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:32:16 7d194f0adfb4: Preparing 01:32:16 7097adef8ad2: Preparing 01:32:16 5b822e1c9d5f: Preparing 01:32:16 2c08550daba9: Preparing 01:32:16 0d1ea85471f2: Preparing 01:32:16 7c504f21be85: Preparing 01:32:16 7c504f21be85: Waiting 01:32:16 0d1ea85471f2: Layer already exists 01:32:16 5b822e1c9d5f: Layer already exists 01:32:16 7097adef8ad2: Layer already exists 01:32:16 2c08550daba9: Layer already exists 01:32:16 7d194f0adfb4: Layer already exists 01:32:16 7c504f21be85: Layer already exists 01:32:16 688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9: digest: sha256:f6286d629e7d758fa47b1fd43bb9691ca7a23265a20ca7191411ddcef7fd82d4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:17 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:17 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 01:32:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:32:17 7d194f0adfb4: Preparing 01:32:17 7097adef8ad2: Preparing 01:32:17 5b822e1c9d5f: Preparing 01:32:17 2c08550daba9: Preparing 01:32:17 0d1ea85471f2: Preparing 01:32:17 7c504f21be85: Preparing 01:32:17 7c504f21be85: Waiting 01:32:17 7d194f0adfb4: Layer already exists 01:32:17 0d1ea85471f2: Layer already exists 01:32:17 7097adef8ad2: Layer already exists 01:32:17 2c08550daba9: Layer already exists 01:32:17 5b822e1c9d5f: Layer already exists 01:32:17 7c504f21be85: Layer already exists 01:32:17 main: digest: sha256:f6286d629e7d758fa47b1fd43bb9691ca7a23265a20ca7191411ddcef7fd82d4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:32:18 ===================================================== [Pipeline] echo 01:32:18 taggedImages: 01:32:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:688a4a293e90f410e0c8818ae36297e33c21074c 01:32:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 01:32:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.2.0-dev.9 01:32:18 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:688a4a293e90f410e0c8818ae36297e33c21074c-3.2.0-dev.9 01:32:18 - 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:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:32:18 01:32:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:32:19 arm64: Pulling from edgex-lftools-log-publisher 01:32:19 8998bd30e6a1: Pulling fs layer 01:32:19 04944245beec: Pulling fs layer 01:32:19 699f458cf7ca: Pulling fs layer 01:32:19 765212b225bb: Pulling fs layer 01:32:19 f23df028b6ca: Pulling fs layer 01:32:19 d65c8cfc05b1: Pulling fs layer 01:32:19 2437ff75d9bd: Pulling fs layer 01:32:19 f23df028b6ca: Waiting 01:32:19 d65c8cfc05b1: Waiting 01:32:19 2437ff75d9bd: Waiting 01:32:19 765212b225bb: Waiting 01:32:19 04944245beec: Verifying Checksum 01:32:19 04944245beec: Download complete 01:32:19 765212b225bb: Verifying Checksum 01:32:19 765212b225bb: Download complete 01:32:19 f23df028b6ca: Verifying Checksum 01:32:19 f23df028b6ca: Download complete 01:32:19 d65c8cfc05b1: Verifying Checksum 01:32:19 d65c8cfc05b1: Download complete 01:32:19 699f458cf7ca: Verifying Checksum 01:32:19 699f458cf7ca: Download complete 01:32:19 8998bd30e6a1: Download complete 01:32:22 2437ff75d9bd: Verifying Checksum 01:32:22 2437ff75d9bd: Download complete 01:32:25 8998bd30e6a1: Pull complete 01:32:25 04944245beec: Pull complete 01:32:27 699f458cf7ca: Pull complete 01:32:27 765212b225bb: Pull complete 01:32:28 f23df028b6ca: Pull complete 01:32:28 d65c8cfc05b1: Pull complete 01:32:46 2437ff75d9bd: Pull complete 01:32:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:32:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:32:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:46 prd-ubuntu20.04-docker-arm64-4c-16g-5399 does not seem to be running inside a container 01:32:46 $ 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/122 -v /w/workspace/device-gpio/122:/w/workspace/device-gpio/122:rw,z -v /w/workspace/device-gpio/122@tmp:/w/workspace/device-gpio/122@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:32:49 $ docker top 9412d821d1a1c1cb206632244a14a83f43ffc0c2d2eef404d079879c7d27da0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:50 ---> job-cost.sh 01:32:50 lf-activate-venv: SKIPPING 01:32:50 INFO: No Stack... 01:32:50 INFO: Retrieving Pricing Info for: v3-standard-4 01:32:51 INFO: Archiving Costs [Pipeline] sh 01:32:52 + cut -d, -f6 01:32:52 + cat /w/workspace/device-gpio/122/archives/cost.csv [Pipeline] lock 01:32:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] 01:32:52 Resource [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] did not exist. Created. 01:32:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:32:53 /w/workspace/device-gpio/122@tmp/durable-e07958dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:32:53 + echo total: 0.10999999940395355 [Pipeline] stash 01:32:53 Warning: overwriting stash ‘stack-cost’ 01:32:53 Stashed 1 file(s) [Pipeline] } 01:32:53 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 01:32:53 $ docker stop --time=1 9412d821d1a1c1cb206632244a14a83f43ffc0c2d2eef404d079879c7d27da0b 01:32:55 $ docker rm -f --volumes 9412d821d1a1c1cb206632244a14a83f43ffc0c2d2eef404d079879c7d27da0b [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:32:56 provisioning config files... 01:32:56 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10740909915783049977tmp [Pipeline] { [Pipeline] sh 01:32:56 + set +x 01:32:56 + curl -s https://codecov.io/bash 01:32:56 + bash -s -- 01:32:57 01:32:57 _____ _ 01:32:57 / ____| | | 01:32:57 | | ___ __| | ___ ___ _____ __ 01:32:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:32:57 | |___| (_) | (_| | __/ (_| (_) \ V / 01:32:57 \_____\___/ \__,_|\___|\___\___/ \_/ 01:32:57 Bash-1.0.6 01:32:57 01:32:57 01:32:57 ==> git version 2.25.1 found 01:32:57 ==> 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:32:57 Release-Date: 2020-01-08 01:32:57 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:32:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:32:57 ==> Jenkins CI detected. 01:32:57 current dir:  /w/workspace/edgexfoundry_device-gpio_main 01:32:57 project root: . 01:32:57 --> token set from env 01:32:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:32:57 ==> Running gcov in . (disable via -X gcov) 01:32:57 ==> Python coveragepy not found 01:32:57 ==> Searching for coverage reports in: 01:32:57 + . 01:32:57 -> Found 1 reports 01:32:57 ==> Detecting git/mercurial file structure 01:32:57 ==> Reading reports 01:32:57 + ./coverage.out bytes=10 01:32:57 ==> Appending adjustments 01:32:57 https://docs.codecov.io/docs/fixing-reports 01:32:57 + Found adjustments 01:32:57 ==> Gzipping contents 01:32:57 4.0K /tmp/codecov.WGnfRQ.gz 01:32:57 ==> Uploading reports 01:32:57 url: https://codecov.io 01:32:57 query: branch=main&commit=688a4a293e90f410e0c8818ae36297e33c21074c&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 01:32:57 -> Pinging Codecov 01:32:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=688a4a293e90f410e0c8818ae36297e33c21074c&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 01:32:57 -> Uploading to 01:32:57 https://storage.googleapis.com/codecov/v4/raw/2024-03-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/688a4a293e90f410e0c8818ae36297e33c21074c/0d0e075f-4101-4b2d-a2f6-ee76d1c973f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T013257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb462a81e80fb86c12a7c9cd38e9ce5c3b17321e53eb76e377ef2998d0808640 01:32:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:32:57 Dload Upload Total Spent Left Speed 01:32:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2773 --:--:-- --:--:-- --:--:-- 2759 100 563 0 0 100 563 0 2148 --:--:-- --:--:-- --:--:-- 2140 01:32:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] } 01:32:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:32:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:32:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:32:58 01:32:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:32:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:32:58 df9b9388f04a: Pulling fs layer 01:32:58 52dc419b0ee2: Pulling fs layer 01:32:58 25bc292e5bac: Pulling fs layer 01:32:58 114826534d7a: Pulling fs layer 01:32:58 4657fd5d0bcf: Pulling fs layer 01:32:58 6ad1cebc031e: Pulling fs layer 01:32:58 8a3aa393b2d8: Pulling fs layer 01:32:58 114826534d7a: Waiting 01:32:58 4657fd5d0bcf: Waiting 01:32:58 6ad1cebc031e: Waiting 01:32:58 8a3aa393b2d8: Waiting 01:32:58 25bc292e5bac: Verifying Checksum 01:32:58 25bc292e5bac: Download complete 01:32:58 52dc419b0ee2: Verifying Checksum 01:32:58 52dc419b0ee2: Download complete 01:32:58 4657fd5d0bcf: Verifying Checksum 01:32:58 4657fd5d0bcf: Download complete 01:32:58 df9b9388f04a: Verifying Checksum 01:32:58 df9b9388f04a: Download complete 01:32:59 6ad1cebc031e: Verifying Checksum 01:32:59 6ad1cebc031e: Download complete 01:32:59 df9b9388f04a: Pull complete 01:32:59 52dc419b0ee2: Pull complete 01:32:59 25bc292e5bac: Pull complete 01:32:59 114826534d7a: Verifying Checksum 01:32:59 114826534d7a: Download complete 01:32:59 8a3aa393b2d8: Verifying Checksum 01:32:59 8a3aa393b2d8: Download complete 01:33:03 114826534d7a: Pull complete 01:33:03 4657fd5d0bcf: Pull complete 01:33:03 6ad1cebc031e: Pull complete 01:33:06 8a3aa393b2d8: Pull complete 01:33:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:33:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:33:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:06 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:33:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:33:13 $ docker top 2e1014de0d3cd0fff82f396adbd66a693da8eaa8a3c05134f0d95d4f55c7e903 -eo pid,comm [Pipeline] { [Pipeline] echo 01:33:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 01:33:13 + set -o pipefail 01:33:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 01:33:20 01:33:20 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 01:33:20 01:33:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/a470b8ec-00da-40fb-9014-1207e586a150 01:33:20 01:33:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:33:20 01:33:20 01:33:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:33:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:33:20 More details here: https://snyk.co/ue1NS [Pipeline] } 01:33:20 $ docker stop --time=1 2e1014de0d3cd0fff82f396adbd66a693da8eaa8a3c05134f0d95d4f55c7e903 01:33:24 $ docker rm -f --volumes 2e1014de0d3cd0fff82f396adbd66a693da8eaa8a3c05134f0d95d4f55c7e903 [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:33:25 + git log --format=format:%s -1 688a4a293e90f410e0c8818ae36297e33c21074c [Pipeline] sh 01:33:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:33:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:26 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:33:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:33:26 $ docker top 3b5d8e715039d6ef7fb6e7e35527916cb46cd07fc8ec328337a1a9eac7c610bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:33:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:27 [ssh-agent] Looking for ssh-agent implementation... 01:33:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:27 $ docker exec 3b5d8e715039d6ef7fb6e7e35527916cb46cd07fc8ec328337a1a9eac7c610bf ssh-agent 01:33:27 SSH_AUTH_SOCK=/tmp/ssh-sHZPUTUA29Dp/agent.31 01:33:27 SSH_AGENT_PID=37 01:33:27 Running ssh-add (command line suppressed) 01:33:27 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3702949196068777948.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3702949196068777948.key) 01:33:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:27 + git semver tag 01:33:28 2024-03-11 01:33:28,146 [run_tag] DEBUG tag force:False 01:33:28 2024-03-11 01:33:28,147 [check_head_tag] DEBUG check head tag 01:33:28 2024-03-11 01:33:28,147 [execute] INFO git cat-file --batch-check 01:33:28 2024-03-11 01:33:28,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 01:33:28 2024-03-11 01:33:28,152 [execute] INFO git cat-file --batch 01:33:28 2024-03-11 01:33:28,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 01:33:28 2024-03-11 01:33:28,171 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:33:28 2024-03-11 01:33:28,171 [execute] INFO git tag -a v3.2.0-dev.9 -m v3.2.0-dev.9 01:33:28 2024-03-11 01:33:28,171 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.9', '-m', 'v3.2.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 01:33:28 2024-03-11 01:33:28,176 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:33:28 3.2.0-dev.9 [Pipeline] } 01:33:28 $ docker exec --env ******** --env ******** 3b5d8e715039d6ef7fb6e7e35527916cb46cd07fc8ec328337a1a9eac7c610bf ssh-agent -k 01:33:28 unset SSH_AUTH_SOCK; 01:33:28 unset SSH_AGENT_PID; 01:33:28 echo Agent pid 37 killed; 01:33:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:33:28 + git semver [Pipeline] } 01:33:29 $ docker stop --time=1 3b5d8e715039d6ef7fb6e7e35527916cb46cd07fc8ec328337a1a9eac7c610bf 01:33:30 $ docker rm -f --volumes 3b5d8e715039d6ef7fb6e7e35527916cb46cd07fc8ec328337a1a9eac7c610bf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:33:31 01:33:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:33:31 0.23.1-centos7: Pulling from edgex-lftools 01:33:31 ab5ef0e58194: Pulling fs layer 01:33:31 9712f1f96733: Pulling fs layer 01:33:31 63f879dbbcfc: Pulling fs layer 01:33:31 0d9ebad4ef96: Pulling fs layer 01:33:31 e9a5061849ea: Pulling fs layer 01:33:31 d747dcd14b5f: Pulling fs layer 01:33:31 2de7ff778b66: Pulling fs layer 01:33:31 0d9ebad4ef96: Waiting 01:33:31 e9a5061849ea: Waiting 01:33:31 d747dcd14b5f: Waiting 01:33:31 2de7ff778b66: Waiting 01:33:31 9712f1f96733: Verifying Checksum 01:33:31 9712f1f96733: Download complete 01:33:31 63f879dbbcfc: Verifying Checksum 01:33:31 63f879dbbcfc: Download complete 01:33:31 e9a5061849ea: Verifying Checksum 01:33:31 e9a5061849ea: Download complete 01:33:31 0d9ebad4ef96: Verifying Checksum 01:33:31 0d9ebad4ef96: Download complete 01:33:31 d747dcd14b5f: Verifying Checksum 01:33:31 d747dcd14b5f: Download complete 01:33:31 ab5ef0e58194: Verifying Checksum 01:33:31 ab5ef0e58194: Download complete 01:33:31 2de7ff778b66: Verifying Checksum 01:33:31 2de7ff778b66: Download complete 01:33:35 ab5ef0e58194: Pull complete 01:33:35 9712f1f96733: Pull complete 01:33:35 63f879dbbcfc: Pull complete 01:33:39 0d9ebad4ef96: Pull complete 01:33:41 e9a5061849ea: Pull complete 01:33:41 d747dcd14b5f: Pull complete 01:33:41 2de7ff778b66: Pull complete 01:33:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:33:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:33:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:45 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:33:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:33:53 $ docker top 32581f82eedb5b084c035d3642593715c001824f8c4a5a11ac33cf349061a52c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:33:57 provisioning config files... 01:33:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15840130823937670761tmp 01:33:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16167644788816804545tmp 01:33:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2344693339093567490tmp [Pipeline] { [Pipeline] echo 01:33:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:33:57 ---> sigul-configuration.sh 01:33:57 gpg: directory `/root/.gnupg' created 01:33:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:33:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:33:57 gpg: keyring `/root/.gnupg/secring.gpg' created 01:33:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:33:57 gpg: CAST5 encrypted data 01:33:57 gpg: encrypted with 1 passphrase 01:33:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:33:57 + mkdir /home/jenkins 01:33:57 + mkdir /home/jenkins/sigul [Pipeline] sh 01:33:58 + 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:33:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:33:58 ---> sigul-install.sh 01:33:58 Sigul already installed; skipping installation. [Pipeline] sh 01:33:58 + git tag --list 01:33:58 v1.0.0 01:33:58 v2.1.0 01:33:58 v2.1.1 01:33:58 v2.2.0 01:33:58 v2.3.0 01:33:58 v3.0 01:33:58 v3.0.0 01:33:58 v3.1 01:33:58 v3.1.0 01:33:58 v3.1.0-dev.1 01:33:58 v3.1.0-dev.10 01:33:58 v3.1.0-dev.11 01:33:58 v3.1.0-dev.12 01:33:58 v3.1.0-dev.13 01:33:58 v3.1.0-dev.14 01:33:58 v3.1.0-dev.15 01:33:58 v3.1.0-dev.16 01:33:58 v3.1.0-dev.17 01:33:58 v3.1.0-dev.18 01:33:58 v3.1.0-dev.19 01:33:58 v3.1.0-dev.2 01:33:58 v3.1.0-dev.20 01:33:58 v3.1.0-dev.21 01:33:58 v3.1.0-dev.22 01:33:58 v3.1.0-dev.23 01:33:58 v3.1.0-dev.24 01:33:58 v3.1.0-dev.25 01:33:58 v3.1.0-dev.26 01:33:58 v3.1.0-dev.3 01:33:58 v3.1.0-dev.4 01:33:58 v3.1.0-dev.5 01:33:58 v3.1.0-dev.6 01:33:58 v3.1.0-dev.7 01:33:58 v3.1.0-dev.8 01:33:58 v3.1.0-dev.9 01:33:58 v3.2.0-dev.1 01:33:58 v3.2.0-dev.2 01:33:58 v3.2.0-dev.3 01:33:58 v3.2.0-dev.4 01:33:58 v3.2.0-dev.5 01:33:58 v3.2.0-dev.6 01:33:58 v3.2.0-dev.7 01:33:58 v3.2.0-dev.8 01:33:58 v3.2.0-dev.9 [Pipeline] sh 01:33:58 + lftools sign git-tag v3.2.0-dev.9 01:33:59 Signing Git tag with Sigul... 01:33:59 Signing v3.2.0-dev.9 [Pipeline] echo 01:34:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:34:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:34:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:34:00 $ docker stop --time=1 32581f82eedb5b084c035d3642593715c001824f8c4a5a11ac33cf349061a52c 01:34:01 $ docker rm -f --volumes 32581f82eedb5b084c035d3642593715c001824f8c4a5a11ac33cf349061a52c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:34:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:34:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:34:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:03 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:34:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:34:04 $ docker top 871cf0fb45dd3a67f098af5bc215d186bd2434f3dc020a1881f0927e18c13d06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:34:04 [ssh-agent] Looking for ssh-agent implementation... 01:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:34:04 $ docker exec 871cf0fb45dd3a67f098af5bc215d186bd2434f3dc020a1881f0927e18c13d06 ssh-agent 01:34:04 SSH_AUTH_SOCK=/tmp/ssh-QMyYwJsllIkO/agent.32 01:34:04 SSH_AGENT_PID=38 01:34:04 Running ssh-add (command line suppressed) 01:34:04 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15336193675155836305.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15336193675155836305.key) 01:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:34:05 + git semver bump pre 01:34:05 2024-03-11 01:34:05,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:34:05 2024-03-11 01:34:05,298 [bump_version] DEBUG bumping version:3.2.0-dev.9 on axis:pre with prefix:dev 01:34:05 2024-03-11 01:34:05,298 [bump_version] DEBUG bumped version:3.2.0-dev.10 01:34:05 2024-03-11 01:34:05,298 [write_version] DEBUG write version:3.2.0-dev.10 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 01:34:05 2024-03-11 01:34:05,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:34:05 2024-03-11 01:34:05,298 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:34:05 2024-03-11 01:34:05,300 [execute] INFO git cat-file --batch-check 01:34:05 2024-03-11 01:34:05,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:34:05 2024-03-11 01:34:05,306 [execute] INFO git cat-file --batch 01:34:05 2024-03-11 01:34:05,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:34:05 2024-03-11 01:34:05,312 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:34:05 3.2.0-dev.10 [Pipeline] } 01:34:05 $ docker exec --env ******** --env ******** 871cf0fb45dd3a67f098af5bc215d186bd2434f3dc020a1881f0927e18c13d06 ssh-agent -k 01:34:05 unset SSH_AUTH_SOCK; 01:34:05 unset SSH_AGENT_PID; 01:34:05 echo Agent pid 38 killed; 01:34:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:34:06 + git semver [Pipeline] } 01:34:06 $ docker stop --time=1 871cf0fb45dd3a67f098af5bc215d186bd2434f3dc020a1881f0927e18c13d06 01:34:07 $ docker rm -f --volumes 871cf0fb45dd3a67f098af5bc215d186bd2434f3dc020a1881f0927e18c13d06 [Pipeline] // withDockerContainer [Pipeline] sh 01:34:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:34:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:34:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:08 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:34:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:34:09 $ docker top e2f221a8316f8f3c4b5751c4136e3202e1ca1e12e5d15ededf87ca76a470b95e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:34:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:34:09 [ssh-agent] Looking for ssh-agent implementation... 01:34:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:34:09 $ docker exec e2f221a8316f8f3c4b5751c4136e3202e1ca1e12e5d15ededf87ca76a470b95e ssh-agent 01:34:09 SSH_AUTH_SOCK=/tmp/ssh-dDUNMVQxIURA/agent.32 01:34:09 SSH_AGENT_PID=38 01:34:09 Running ssh-add (command line suppressed) 01:34:09 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_304668890349192687.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_304668890349192687.key) 01:34:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:34:10 + git semver push 01:34:10 2024-03-11 01:34:10,253 [run_push] DEBUG push 01:34:10 2024-03-11 01:34:10,254 [execute] INFO git cat-file --batch-check 01:34:10 2024-03-11 01:34:10,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:34:10 2024-03-11 01:34:10,259 [execute] INFO git rev-list 269143080ddc6808e6f22c5ef7558a05ebb5c6f9 -- 01:34:10 2024-03-11 01:34:10,259 [execute] DEBUG Popen(['git', 'rev-list', '269143080ddc6808e6f22c5ef7558a05ebb5c6f9', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 01:34:10 2024-03-11 01:34:10,267 [execute] INFO git fetch -v origin 01:34:10 2024-03-11 01:34:10,268 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 01:34:10 2024-03-11 01:34:10,765 [run_push] DEBUG no remote changes detected 01:34:10 2024-03-11 01:34:10,766 [execute] INFO git push origin semver 01:34:10 2024-03-11 01:34:10,766 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 01:34:11 2024-03-11 01:34:11,420 [run_push] DEBUG push all version tags 01:34:11 2024-03-11 01:34:11,421 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:34:11 2024-03-11 01:34:11,421 [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:34:12 2024-03-11 01:34:12,048 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:34:12 3.2.0-dev.10 [Pipeline] } 01:34:12 $ docker exec --env ******** --env ******** e2f221a8316f8f3c4b5751c4136e3202e1ca1e12e5d15ededf87ca76a470b95e ssh-agent -k 01:34:12 unset SSH_AUTH_SOCK; 01:34:12 unset SSH_AGENT_PID; 01:34:12 echo Agent pid 38 killed; 01:34:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:34:13 + git semver [Pipeline] } 01:34:13 $ docker stop --time=1 e2f221a8316f8f3c4b5751c4136e3202e1ca1e12e5d15ededf87ca76a470b95e 01:34:14 $ docker rm -f --volumes e2f221a8316f8f3c4b5751c4136e3202e1ca1e12e5d15ededf87ca76a470b95e [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:34:16 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 01:34:16 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 01:34:16 total 16 01:34:16 drwxr-xr-x 3 root root 4096 Mar 11 01:24 . 01:34:16 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 01:33 .. 01:34:16 drwxr-xr-x 2 root root 4096 Mar 11 01:24 cost 01:34:16 -rw-r--r-- 1 root root 83 Mar 11 01:24 cost.csv 01:34:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 01:34:16 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 01:34:16 total 16 01:34:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:24 . 01:34:16 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 01:33 .. 01:34:16 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 01:24 cost 01:34:16 -rw-r--r-- 1 jenkins jenkins 83 Mar 11 01:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:34:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:34:17 ---> package-listing.sh 01:34:17 ++ facter osfamily 01:34:17 ++ tr '[:upper:]' '[:lower:]' 01:34:17 + OS_FAMILY=debian 01:34:17 + workspace=/w/workspace/edgexfoundry_device-gpio_main 01:34:17 + START_PACKAGES=/tmp/packages_start.txt 01:34:17 + END_PACKAGES=/tmp/packages_end.txt 01:34:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:34:17 + PACKAGES=/tmp/packages_start.txt 01:34:17 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 01:34:17 + PACKAGES=/tmp/packages_end.txt 01:34:17 + case "${OS_FAMILY}" in 01:34:17 + dpkg -l 01:34:17 + grep '^ii' 01:34:17 + '[' -f /tmp/packages_start.txt ']' 01:34:17 + '[' -f /tmp/packages_end.txt ']' 01:34:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:34:17 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 01:34:17 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 01:34:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 01:34:17 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:34:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:18 prd-ubuntu20.04-docker-8c-8g-5397 does not seem to be running inside a container 01:34:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:19 $ docker top 85688d60b6dd11c59019ecdafe1f09af1a099ad13d1f0c05c3cb6ff8e77d81a2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:19 + touch /tmp/pre-build-complete [Pipeline] sh 01:34:19 + mkdir -p /var/log/sysstat [Pipeline] sh 01:34:20 + ls /var/log/sa-host 01:34:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:20 provisioning config files... 01:34:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3990305843975132340tmp [Pipeline] { [Pipeline] echo 01:34:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:34:20 ---> create-netrc.sh [Pipeline] } 01:34:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:34:21 ---> python-tools-install.sh [Pipeline] echo 01:34:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:34:21 ---> sudo-logs.sh 01:34:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:34:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:34:21 ---> job-cost.sh 01:34:21 lf-activate-venv: SKIPPING 01:34:21 DEBUG: total: 0.2199999988079071 01:34:21 INFO: Retrieving Stack Cost... 01:34:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:34:22 INFO: Archiving Costs [Pipeline] echo 01:34:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:34:22 ---> logs-deploy.sh 01:34:22 lf-activate-venv: SKIPPING 01:34:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/122 01:34:22 INFO: archiving workspace using pattern(s): 01:34:23 Archives upload complete. 01:34:23 INFO: archiving logs to Nexus