Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc93018424da199c7be3ecb3186bc22ad0e7404b 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-ssh12794528170616991628.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1878938817706756131.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh7281251128577487163.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh17158063410973428702.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh16392148643491945569.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6790 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision cc93018424da199c7be3ecb3186bc22ad0e7404b (main) Commit message: "Merge pull request #59 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" > 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 cc93018424da199c7be3ecb3186bc22ad0e7404b # timeout=10 > git rev-list --no-walk af4cbf8f6a8a7b56fc7ae91ecc3f73edc5524a97 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:58:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:58:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:58:49 ========================================================= 01:58:49 EdgeX Global Pipelines Version Info 01:58:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:58:50 ------------------- 01:58:50 stable info: 01:58:50 ------------------- 01:58:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:58:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:58:50 Message: update stable to v1.0.239 01:58:51 ------------------- 01:58:51 experimental info: 01:58:51 ------------------- 01:58:51 Commited By: **** collab-it+edgex@linuxfoundation.org 01:58:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:58:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc93018 [Pipeline] echo 01:58:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:51 provisioning config files... 01:58:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12604618140823334437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:51 ---> docker-login.sh 01:58:51 nexus3.edgexfoundry.org:10001 01:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:52 Configure a credential helper to remove this warning. See 01:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:52 01:58:52 Login Succeeded 01:58:52 nexus3.edgexfoundry.org:10002 01:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:52 Configure a credential helper to remove this warning. See 01:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:52 01:58:52 Login Succeeded 01:58:52 nexus3.edgexfoundry.org:10003 01:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:52 Configure a credential helper to remove this warning. See 01:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:52 01:58:52 Login Succeeded 01:58:52 nexus3.edgexfoundry.org:10004 01:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:52 Configure a credential helper to remove this warning. See 01:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:52 01:58:52 Login Succeeded 01:58:52 docker.io 01:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:52 Configure a credential helper to remove this warning. See 01:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:52 01:58:52 Login Succeeded 01:58:52 ---> docker-login.sh ends [Pipeline] } 01:58:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:58:53 + git rev-list -1 --merges cc93018424da199c7be3ecb3186bc22ad0e7404b~1..cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] echo 01:58:53 -----------> git rev-list -1 --merges cc93018424da199c7be3ecb3186bc22ad0e7404b~1..cc93018424da199c7be3ecb3186bc22ad0e7404b cc93018424da199c7be3ecb3186bc22ad0e7404b 01:58:53 cc93018424da199c7be3ecb3186bc22ad0e7404b [false] [Pipeline] sh 01:58:53 + git log --format=format:%s -1 cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] echo 01:58:53 ========================================================= 01:58:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:58:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:54 + git log --format=format:%s -1 cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] echo 01:58:54 [semverPrep] GIT_COMMIT: cc93018424da199c7be3ecb3186bc22ad0e7404b, Commit Message: Merge pull request #59 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34 [Pipeline] echo 01:58:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:58:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:54 + grep -v github /etc/ssh/ssh_known_hosts 01:58:54 + [ -e /tmp/ssh_known_hosts ] 01:58:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:58:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:58:54 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:54 01:58:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:55 0.1.4: Pulling from edgex-devops/py-git-semver 01:58:55 b85a868b505f: Pulling fs layer 01:58:55 e2be974225ed: Pulling fs layer 01:58:55 339a4e72a1f5: Pulling fs layer 01:58:55 988bab9f4d93: Pulling fs layer 01:58:55 1469e6f7b9e6: Pulling fs layer 01:58:55 eaf3925da568: Pulling fs layer 01:58:55 1469e6f7b9e6: Waiting 01:58:55 988bab9f4d93: Waiting 01:58:55 bab4dde63d76: Pulling fs layer 01:58:55 eaf3925da568: Waiting 01:58:55 bde34c3a00c8: Pulling fs layer 01:58:55 b352a97aabf1: Pulling fs layer 01:58:55 4872d77fe225: Pulling fs layer 01:58:55 5851b861e8e6: Pulling fs layer 01:58:55 bde34c3a00c8: Waiting 01:58:55 5851b861e8e6: Waiting 01:58:55 b352a97aabf1: Waiting 01:58:55 4872d77fe225: Waiting 01:58:55 e2be974225ed: Verifying Checksum 01:58:55 e2be974225ed: Download complete 01:58:55 988bab9f4d93: Verifying Checksum 01:58:55 988bab9f4d93: Download complete 01:58:55 1469e6f7b9e6: Verifying Checksum 01:58:55 1469e6f7b9e6: Download complete 01:58:55 339a4e72a1f5: Verifying Checksum 01:58:55 339a4e72a1f5: Download complete 01:58:55 eaf3925da568: Verifying Checksum 01:58:55 eaf3925da568: Download complete 01:58:55 bde34c3a00c8: Verifying Checksum 01:58:55 bde34c3a00c8: Download complete 01:58:55 b352a97aabf1: Verifying Checksum 01:58:55 b352a97aabf1: Download complete 01:58:55 4872d77fe225: Verifying Checksum 01:58:55 5851b861e8e6: Verifying Checksum 01:58:55 5851b861e8e6: Download complete 01:58:55 b85a868b505f: Verifying Checksum 01:58:55 b85a868b505f: Download complete 01:58:55 bab4dde63d76: Verifying Checksum 01:58:55 bab4dde63d76: Download complete 01:58:56 b85a868b505f: Pull complete 01:58:56 e2be974225ed: Pull complete 01:58:57 339a4e72a1f5: Pull complete 01:58:57 988bab9f4d93: Pull complete 01:58:57 1469e6f7b9e6: Pull complete 01:58:57 eaf3925da568: Pull complete 01:58:59 bab4dde63d76: Pull complete 01:58:59 bde34c3a00c8: Pull complete 01:58:59 b352a97aabf1: Pull complete 01:58:59 4872d77fe225: Pull complete 01:58:59 5851b861e8e6: Pull complete 01:58:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:00 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 01:59:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:01 $ docker top e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b -eo pid,comm 01:59:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:59:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:01 [ssh-agent] Looking for ssh-agent implementation... 01:59:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:01 $ docker exec e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b ssh-agent 01:59:01 SSH_AUTH_SOCK=/tmp/ssh-B8i8A37iQYdG/agent.33 01:59:01 SSH_AGENT_PID=39 01:59:01 Running ssh-add (command line suppressed) 01:59:01 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13571388911709805027.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13571388911709805027.key) 01:59:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:02 + git tag --points-at HEAD [Pipeline] } 01:59:02 $ docker exec --env ******** --env ******** e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b ssh-agent -k 01:59:02 unset SSH_AUTH_SOCK; 01:59:02 unset SSH_AGENT_PID; 01:59:02 echo Agent pid 39 killed; 01:59:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:59:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:02 [ssh-agent] Looking for ssh-agent implementation... 01:59:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:02 $ docker exec e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b ssh-agent 01:59:02 SSH_AUTH_SOCK=/tmp/ssh-G4qDcqRUiH1m/agent.72 01:59:02 SSH_AGENT_PID=78 01:59:02 Running ssh-add (command line suppressed) 01:59:02 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2579091233973938289.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2579091233973938289.key) 01:59:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:03 + git semver init 01:59:03 2022-10-03 01:59:03,214 [run_init] DEBUG init version:0.0.0 force:False 01:59:03 2022-10-03 01:59:03,215 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 01:59:03 2022-10-03 01:59:03,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 01:59:03 2022-10-03 01:59:03,215 [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:59:04 2022-10-03 01:59:04,206 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 01:59:04 2022-10-03 01:59:04,206 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 01:59:04 2022-10-03 01:59:04,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:04 2022-10-03 01:59:04,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:59:04 2.3.0-dev.12 [Pipeline] } 01:59:04 $ docker exec --env ******** --env ******** e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b ssh-agent -k 01:59:04 unset SSH_AUTH_SOCK; 01:59:04 unset SSH_AGENT_PID; 01:59:04 echo Agent pid 78 killed; 01:59:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:04 + git semver [Pipeline] } 01:59:04 $ docker stop --time=1 e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b 01:59:06 $ docker rm -f e0c57f3ce177ca2e75a0ed4a22fe17ece03040db1bcf5fef116e77933635e08b [Pipeline] // withDockerContainer [Pipeline] sh 01:59:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:06 Stashed 1 file(s) [Pipeline] echo 01:59:06 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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:59:06 provisioning config files... 01:59:06 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10617532316343137691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:07 ---> docker-login.sh 01:59:07 nexus3.edgexfoundry.org:10001 01:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:07 Configure a credential helper to remove this warning. See 01:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:07 01:59:07 Login Succeeded 01:59:07 nexus3.edgexfoundry.org:10002 01:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:07 Configure a credential helper to remove this warning. See 01:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:07 01:59:07 Login Succeeded 01:59:07 nexus3.edgexfoundry.org:10003 01:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:07 Configure a credential helper to remove this warning. See 01:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:07 01:59:07 Login Succeeded 01:59:07 nexus3.edgexfoundry.org:10004 01:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:07 Configure a credential helper to remove this warning. See 01:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:07 01:59:07 Login Succeeded 01:59:07 docker.io 01:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:07 Configure a credential helper to remove this warning. See 01:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:07 01:59:07 Login Succeeded 01:59:07 ---> docker-login.sh ends [Pipeline] } 01:59:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:08 ========================================================= 01:59:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:59:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:59:08 Sending build context to Docker daemon 15.84MB 01:59:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:59:08 Step 2/13 : FROM ${BASE} AS builder 01:59:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:08 2408cc74d12b: Pulling fs layer 01:59:08 ea60b727a1ce: Pulling fs layer 01:59:08 30c4a7721957: Pulling fs layer 01:59:08 370296b7ddb6: Pulling fs layer 01:59:08 7c6cee850709: Pulling fs layer 01:59:08 aa9baa53a306: Pulling fs layer 01:59:08 8b309c321861: Pulling fs layer 01:59:08 d8d76fd02f46: Pulling fs layer 01:59:08 fa31f396de31: Pulling fs layer 01:59:08 370296b7ddb6: Waiting 01:59:08 7c6cee850709: Waiting 01:59:08 aa9baa53a306: Waiting 01:59:08 8b309c321861: Waiting 01:59:08 fa31f396de31: Waiting 01:59:08 30c4a7721957: Verifying Checksum 01:59:08 30c4a7721957: Download complete 01:59:08 ea60b727a1ce: Verifying Checksum 01:59:08 ea60b727a1ce: Download complete 01:59:08 7c6cee850709: Download complete 01:59:08 aa9baa53a306: Download complete 01:59:08 2408cc74d12b: Verifying Checksum 01:59:08 2408cc74d12b: Download complete 01:59:08 8b309c321861: Download complete 01:59:08 2408cc74d12b: Pull complete 01:59:08 ea60b727a1ce: Pull complete 01:59:08 30c4a7721957: Pull complete 01:59:09 fa31f396de31: Verifying Checksum 01:59:09 fa31f396de31: Download complete 01:59:09 d8d76fd02f46: Verifying Checksum 01:59:09 d8d76fd02f46: Download complete 01:59:09 370296b7ddb6: Verifying Checksum 01:59:09 370296b7ddb6: Download complete 01:59:13 370296b7ddb6: Pull complete 01:59:13 7c6cee850709: Pull complete 01:59:13 aa9baa53a306: Pull complete 01:59:13 8b309c321861: Pull complete 01:59:16 d8d76fd02f46: Pull complete 01:59:17 fa31f396de31: Pull complete 01:59:17 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 01:59:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:59:17 ---> cef68f9685f8 01:59:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:59:18 ---> Running in b510d02a7131 01:59:18 Removing intermediate container b510d02a7131 01:59:18 ---> 2864aa40c6fb 01:59:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:19 ---> Running in 4e92fbb980e8 01:59:19 Removing intermediate container 4e92fbb980e8 01:59:19 ---> 287dcc29123f 01:59:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:59:19 ---> Running in 7133c9e96a95 01:59:19 Removing intermediate container 7133c9e96a95 01:59:19 ---> ed889ef0b0f4 01:59:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:59:19 ---> Running in 6f5f7f17f769 01:59:19 Removing intermediate container 6f5f7f17f769 01:59:19 ---> e5485330df62 01:59:19 Step 7/13 : WORKDIR /device-gpio 01:59:19 ---> Running in 7c4f42ded03c 01:59:19 Removing intermediate container 7c4f42ded03c 01:59:19 ---> 0f220222fe77 01:59:19 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:59:19 ---> Running in 9a506bd0f852 01:59:20 Removing intermediate container 9a506bd0f852 01:59:20 ---> 0ba921b8aa9a 01:59:20 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:20 ---> Running in b80f270d2837 01:59:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:59:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:59:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:59:21 Still waiting to schedule task 01:59:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6789’ 01:59:22 (2/4) Installing libedit (20210910.3.1-r0) 01:59:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:59:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:59:22 Executing busybox-1.35.0-r13.trigger 01:59:22 OK: 216 MiB in 55 packages 01:59:22 Removing intermediate container b80f270d2837 01:59:22 ---> b62031e9da59 01:59:22 Step 10/13 : COPY go.mod vendor* ./ 01:59:22 ---> c0f15ed41041 01:59:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:22 ---> Running in fe734117b509 01:59:40 Removing intermediate container fe734117b509 01:59:40 ---> b81eab66fcdd 01:59:40 Step 12/13 : COPY . . 01:59:40 ---> 1cfab0de9b94 01:59:40 Step 13/13 : RUN ${MAKE} 01:59:40 ---> Running in e0d4bb3ad2bc 01:59:40 noop 01:59:40 Removing intermediate container e0d4bb3ad2bc 01:59:40 ---> ffca20374af8 01:59:40 Successfully built ffca20374af8 01:59:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:41 + docker inspect -f . ci-base-image-x86_64 01:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:41 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 01:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:41 $ docker top 60f84ffb7edf5b122400c48c7943f287ceff0d42fcddd1d61790c738d1037f75 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:42 + go version 01:59:42 go version go1.18.3 linux/amd64 [Pipeline] } 01:59:42 $ docker stop --time=1 60f84ffb7edf5b122400c48c7943f287ceff0d42fcddd1d61790c738d1037f75 01:59:43 $ docker rm -f 60f84ffb7edf5b122400c48c7943f287ceff0d42fcddd1d61790c738d1037f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:43 + docker inspect -f . ci-base-image-x86_64 01:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:43 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 01:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:44 $ docker top 198bc73101b0533f0c241b59185989c6ed34efbe7c4465080821e37ae0c53414 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 01:59:44 + make test 01:59:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:59:45 ? github.com/edgexfoundry/device-gpio [no test files] 01:59:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:59:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:00:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:00:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:00:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:04 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:00:04 $ docker stop --time=1 198bc73101b0533f0c241b59185989c6ed34efbe7c4465080821e37ae0c53414 02:00:06 $ docker rm -f 198bc73101b0533f0c241b59185989c6ed34efbe7c4465080821e37ae0c53414 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:07 + ls -al . 02:00:07 total 164 02:00:07 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:59 . 02:00:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:58 .. 02:00:07 -rw-rw-r-- 1 jenkins jenkins 120 Oct 3 01:58 .dockerignore 02:00:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:59 .git 02:00:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:58 .github 02:00:07 -rw-rw-r-- 1 jenkins jenkins 343 Oct 3 01:58 .gitignore 02:00:07 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:58 .golangci.yml 02:00:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:59 .semver 02:00:07 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 3 01:58 Attribution.txt 02:00:07 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 3 01:58 CHANGELOG.md 02:00:07 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 3 01:58 Dockerfile 02:00:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:58 GOVERNANCE.md 02:00:07 -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:58 Jenkinsfile 02:00:07 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:58 LICENSE 02:00:07 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 3 01:58 Makefile 02:00:07 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 01:58 OWNERS.md 02:00:07 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 3 01:58 README.md 02:00:07 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 01:59 VERSION 02:00:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:58 bin 02:00:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:58 cmd 02:00:07 -rw-r--r-- 1 jenkins jenkins 10 Oct 3 01:59 coverage.out 02:00:07 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 3 01:58 go.mod 02:00:07 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 3 01:58 go.sum 02:00:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:58 internal 02:00:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:58 snap 02:00:07 -rw-rw-r-- 1 jenkins jenkins 209 Oct 3 01:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:07 + 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=cc93018424da199c7be3ecb3186bc22ad0e7404b --label arch=amd64 --label version=2.3.0-dev.12 . 02:00:07 Sending build context to Docker daemon 15.84MB 02:00:07 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:00:07 Step 2/27 : FROM ${BASE} AS builder 02:00:07 ---> ffca20374af8 02:00:07 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:00:07 ---> Running in 5e9d076d3fc9 02:00:07 Removing intermediate container 5e9d076d3fc9 02:00:07 ---> 783899c860a5 02:00:07 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:07 ---> Running in 34d6af289e51 02:00:07 Removing intermediate container 34d6af289e51 02:00:07 ---> c7e0e9650402 02:00:07 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:00:08 ---> Running in c43e55a75522 02:00:08 Removing intermediate container c43e55a75522 02:00:08 ---> 02fe7186f0e2 02:00:08 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:00:08 ---> Running in 46b0bdc31033 02:00:08 Removing intermediate container 46b0bdc31033 02:00:08 ---> d4ff3a0c7794 02:00:08 Step 7/27 : WORKDIR /device-gpio 02:00:08 ---> Running in bf32ba765ade 02:00:08 Removing intermediate container bf32ba765ade 02:00:08 ---> cb2ad49ec034 02:00:08 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:00:08 ---> Running in ba9ea9409a4f 02:00:09 Removing intermediate container ba9ea9409a4f 02:00:09 ---> a15ef8343383 02:00:09 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:09 ---> Running in 4fa4d0bace3d 02:00:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:00:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:00:10 OK: 216 MiB in 55 packages 02:00:11 Removing intermediate container 4fa4d0bace3d 02:00:11 ---> 07b6927828c6 02:00:11 Step 10/27 : COPY go.mod vendor* ./ 02:00:11 ---> 955d0ddd8487 02:00:11 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:11 ---> Running in 1748e4c47cb4 02:00:12 Removing intermediate container 1748e4c47cb4 02:00:12 ---> d483a96ae94b 02:00:12 Step 12/27 : COPY . . 02:00:12 ---> 10f3f8ea9aee 02:00:12 Step 13/27 : RUN ${MAKE} 02:00:12 ---> Running in 7a6442b33998 02:00:12 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 02:00:34 Removing intermediate container 7a6442b33998 02:00:34 ---> 1c72adc43915 02:00:34 Step 14/27 : FROM alpine:3.16 02:00:34 3.16: Pulling from library/alpine 02:00:34 213ec9aee27d: Pulling fs layer 02:00:34 213ec9aee27d: Verifying Checksum 02:00:34 213ec9aee27d: Download complete 02:00:34 213ec9aee27d: Pull complete 02:00:34 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:00:34 Status: Downloaded newer image for alpine:3.16 02:00:34 ---> 9c6f07244728 02:00:34 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:00:34 ---> Running in b47fa3e24805 02:00:34 Removing intermediate container b47fa3e24805 02:00:34 ---> d2c0e6c64b91 02:00:34 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:00:34 ---> Running in ffa7bab68ab0 02:00:35 Removing intermediate container ffa7bab68ab0 02:00:35 ---> cd12bf411a94 02:00:35 Step 17/27 : RUN apk add --update --no-cache zeromq 02:00:35 ---> Running in 8802d1453fb5 02:00:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:00:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:00:36 (1/5) Installing libgcc (11.2.1_git20220219-r2) 02:00:36 (2/5) Installing libsodium (1.0.18-r0) 02:00:36 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 02:00:36 (4/5) Installing libzmq (4.3.4-r0) 02:00:37 (5/5) Installing zeromq (4.3.4-r0) 02:00:37 Executing busybox-1.35.0-r17.trigger 02:00:37 OK: 8 MiB in 19 packages 02:00:37 Removing intermediate container 8802d1453fb5 02:00:37 ---> 409ab0f6051e 02:00:37 Step 18/27 : WORKDIR / 02:00:37 ---> Running in 951ed39fe63c 02:00:37 Removing intermediate container 951ed39fe63c 02:00:37 ---> 50bd4b462554 02:00:37 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 02:00:38 ---> 0ae0669be833 02:00:38 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 02:00:38 ---> 51d92a101972 02:00:38 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 02:00:38 ---> e24b16c23968 02:00:38 Step 22/27 : EXPOSE 59910 02:00:38 ---> Running in 5a2ab6792b3c 02:00:38 Removing intermediate container 5a2ab6792b3c 02:00:38 ---> fccf76f0f3f6 02:00:38 Step 23/27 : ENTRYPOINT ["/device-gpio"] 02:00:38 ---> Running in 9c1bf98e14a7 02:00:38 Removing intermediate container 9c1bf98e14a7 02:00:38 ---> 43634322a14d 02:00:38 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:00:39 ---> Running in 1d1f87a27b2a 02:00:39 Removing intermediate container 1d1f87a27b2a 02:00:39 ---> 2e810257de70 02:00:39 Step 25/27 : LABEL arch=amd64 02:00:39 ---> Running in e78bca175999 02:00:39 Removing intermediate container e78bca175999 02:00:39 ---> 6995b6525ebc 02:00:39 Step 26/27 : LABEL git_sha=cc93018424da199c7be3ecb3186bc22ad0e7404b 02:00:39 ---> Running in 3cf57b5a161b 02:00:39 Removing intermediate container 3cf57b5a161b 02:00:39 ---> 14b90efec18a 02:00:39 Step 27/27 : LABEL version=2.3.0-dev.12 02:00:39 ---> Running in 49a602a9d0f9 02:00:39 Removing intermediate container 49a602a9d0f9 02:00:39 ---> 2d519c45ca51 02:00:39 [Warning] One or more build-args [ARCH] were not consumed 02:00:39 Successfully built 2d519c45ca51 02:00:39 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:39 provisioning config files... 02:00:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16633694003306384304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:40 ---> docker-login.sh 02:00:40 nexus3.edgexfoundry.org:10001 02:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 nexus3.edgexfoundry.org:10002 02:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 nexus3.edgexfoundry.org:10003 02:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 nexus3.edgexfoundry.org:10004 02:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 docker.io 02:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:40 Configure a credential helper to remove this warning. See 02:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:40 02:00:40 Login Succeeded 02:00:40 ---> docker-login.sh ends [Pipeline] } 02:00:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:40 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 02:00:40 cc93018424da199c7be3ecb3186bc22ad0e7404b 02:00:40 latest 02:00:40 2.3.0-dev.12 02:00:40 cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 02:00:40 main 02:00:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio:cc93018424da199c7be3ecb3186bc22ad0e7404b 02:00:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:00:41 428f00df95bf: Preparing 02:00:41 251afea8db73: Preparing 02:00:41 456d411e0b67: Preparing 02:00:41 7dad21d4f00e: Preparing 02:00:41 58b8b45fbd18: Preparing 02:00:41 994393dc58e7: Preparing 02:00:41 994393dc58e7: Waiting 02:00:41 456d411e0b67: Pushed 02:00:41 58b8b45fbd18: Pushed 02:00:41 251afea8db73: Pushed 02:00:41 994393dc58e7: Layer already exists 02:00:41 7dad21d4f00e: Pushed 02:00:44 428f00df95bf: Pushed 02:00:44 cc93018424da199c7be3ecb3186bc22ad0e7404b: digest: sha256:a696b86602cde4681541c2892422192abbe08d5577c2f168e48d6e27361f8ff7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:44 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:44 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 02:00:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:00:44 428f00df95bf: Preparing 02:00:44 251afea8db73: Preparing 02:00:44 456d411e0b67: Preparing 02:00:44 7dad21d4f00e: Preparing 02:00:44 58b8b45fbd18: Preparing 02:00:44 994393dc58e7: Preparing 02:00:44 994393dc58e7: Waiting 02:00:44 58b8b45fbd18: Layer already exists 02:00:44 251afea8db73: Layer already exists 02:00:44 7dad21d4f00e: Layer already exists 02:00:44 428f00df95bf: Layer already exists 02:00:44 456d411e0b67: Layer already exists 02:00:44 994393dc58e7: Layer already exists 02:00:44 latest: digest: sha256:a696b86602cde4681541c2892422192abbe08d5577c2f168e48d6e27361f8ff7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:45 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:45 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.12 02:00:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:00:45 428f00df95bf: Preparing 02:00:45 251afea8db73: Preparing 02:00:45 456d411e0b67: Preparing 02:00:45 7dad21d4f00e: Preparing 02:00:45 58b8b45fbd18: Preparing 02:00:45 994393dc58e7: Preparing 02:00:45 994393dc58e7: Waiting 02:00:45 58b8b45fbd18: Layer already exists 02:00:45 7dad21d4f00e: Layer already exists 02:00:45 428f00df95bf: Layer already exists 02:00:45 251afea8db73: Layer already exists 02:00:45 456d411e0b67: Layer already exists 02:00:45 994393dc58e7: Layer already exists 02:00:45 2.3.0-dev.12: digest: sha256:a696b86602cde4681541c2892422192abbe08d5577c2f168e48d6e27361f8ff7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:45 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio:cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 02:00:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:00:46 428f00df95bf: Preparing 02:00:46 251afea8db73: Preparing 02:00:46 456d411e0b67: Preparing 02:00:46 7dad21d4f00e: Preparing 02:00:46 58b8b45fbd18: Preparing 02:00:46 994393dc58e7: Preparing 02:00:46 994393dc58e7: Waiting 02:00:46 7dad21d4f00e: Layer already exists 02:00:46 428f00df95bf: Layer already exists 02:00:46 456d411e0b67: Layer already exists 02:00:46 58b8b45fbd18: Layer already exists 02:00:46 251afea8db73: Layer already exists 02:00:46 994393dc58e7: Layer already exists 02:00:46 cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12: digest: sha256:a696b86602cde4681541c2892422192abbe08d5577c2f168e48d6e27361f8ff7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:46 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 02:00:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:00:46 428f00df95bf: Preparing 02:00:46 251afea8db73: Preparing 02:00:46 456d411e0b67: Preparing 02:00:46 7dad21d4f00e: Preparing 02:00:46 58b8b45fbd18: Preparing 02:00:46 994393dc58e7: Preparing 02:00:46 994393dc58e7: Waiting 02:00:46 456d411e0b67: Layer already exists 02:00:46 428f00df95bf: Layer already exists 02:00:46 58b8b45fbd18: Layer already exists 02:00:46 7dad21d4f00e: Layer already exists 02:00:46 251afea8db73: Layer already exists 02:00:46 994393dc58e7: Layer already exists 02:00:46 main: digest: sha256:a696b86602cde4681541c2892422192abbe08d5577c2f168e48d6e27361f8ff7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:46 ===================================================== [Pipeline] echo 02:00:46 taggedImages: 02:00:46 - nexus3.edgexfoundry.org:10004/device-gpio:cc93018424da199c7be3ecb3186bc22ad0e7404b 02:00:46 - nexus3.edgexfoundry.org:10004/device-gpio:latest 02:00:46 - nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.12 02:00:46 - nexus3.edgexfoundry.org:10004/device-gpio:cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 02:00:46 - 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 02:00:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:47 02:00:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:47 latest: Pulling from edgex-lftools-log-publisher 02:00:47 5eb5b503b376: Pulling fs layer 02:00:47 5c69ac0246d0: Pulling fs layer 02:00:47 ec43610c2a17: Pulling fs layer 02:00:47 3a2ae6a8a46f: Pulling fs layer 02:00:47 33b1e0a273af: Pulling fs layer 02:00:47 5d3b04190fa2: Pulling fs layer 02:00:47 2f39f015ded8: Pulling fs layer 02:00:47 33b1e0a273af: Waiting 02:00:47 2f39f015ded8: Waiting 02:00:47 5d3b04190fa2: Waiting 02:00:47 5c69ac0246d0: Download complete 02:00:47 3a2ae6a8a46f: Verifying Checksum 02:00:47 3a2ae6a8a46f: Download complete 02:00:47 33b1e0a273af: Verifying Checksum 02:00:47 33b1e0a273af: Download complete 02:00:47 ec43610c2a17: Verifying Checksum 02:00:47 ec43610c2a17: Download complete 02:00:47 5d3b04190fa2: Verifying Checksum 02:00:47 5d3b04190fa2: Download complete 02:00:47 5eb5b503b376: Verifying Checksum 02:00:47 5eb5b503b376: Download complete 02:00:48 2f39f015ded8: Download complete 02:00:48 5eb5b503b376: Pull complete 02:00:49 5c69ac0246d0: Pull complete 02:00:49 ec43610c2a17: Pull complete 02:00:49 3a2ae6a8a46f: Pull complete 02:00:49 33b1e0a273af: Pull complete 02:00:49 5d3b04190fa2: Pull complete 02:00:54 2f39f015ded8: Pull complete 02:00:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:54 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:00:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:00:56 $ docker top 64896fd321cd08287cc0e8462134ef3da72aa1c6e3355aa333701f3697ac2e6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:56 ---> job-cost.sh 02:00:56 lf-activate-venv: SKIPPING 02:00:56 INFO: No Stack... 02:00:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:57 INFO: Archiving Costs [Pipeline] sh 02:00:57 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 02:00:57 + cut -d, -f6 [Pipeline] lock 02:00:57 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] 02:00:57 Resource [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] did not exist. Created. 02:00:57 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:57 + echo total: 0.2199999988079071 [Pipeline] stash 02:00:57 Stashed 1 file(s) [Pipeline] } 02:00:57 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:57 $ docker stop --time=1 64896fd321cd08287cc0e8462134ef3da72aa1c6e3355aa333701f3697ac2e6a 02:00:58 $ docker rm -f 64896fd321cd08287cc0e8462134ef3da72aa1c6e3355aa333701f3697ac2e6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:02:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6794 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 02:02:07 Running in /w/workspace/device-gpio/42 [Pipeline] { [Pipeline] checkout 02:02:07 The recommended git tool is: git 02:02:12 using credential edgex-jenkins-ssh 02:02:12 Cloning the remote Git repository 02:02:12 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:02:12 > git init /w/workspace/device-gpio/42 # timeout=10 02:02:12 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:02:12 > git --version # timeout=10 02:02:12 > git --version # 'git version 2.25.1' 02:02:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:13 Verifying host key using known hosts file 02:02:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 02:02:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:15 Avoid second fetch 02:02:15 Checking out Revision cc93018424da199c7be3ecb3186bc22ad0e7404b (main) 02:02:14 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:02:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:15 > git config core.sparsecheckout # timeout=10 02:02:15 > git checkout -f cc93018424da199c7be3ecb3186bc22ad0e7404b # timeout=10 02:02:16 Commit message: "Merge pull request #59 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:02:17 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:17 Dload Upload Total Spent Left Speed 02:02:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 66326 0 --:--:-- --:--:-- --:--:-- 66326 [Pipeline] sh 02:02:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:02:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:02:18 + sudo tee /etc/docker/daemon.new 02:02:18 { 02:02:18 "registry-mirrors": [ 02:02:18 "https://nexus3.edgexfoundry.org:10001" 02:02:18 ], 02:02:18 "bip": "10.250.0.254/24", 02:02:18 "hosts": [ 02:02:18 "tcp://0.0.0.0:5555", 02:02:18 "unix:///var/run/docker.sock" 02:02:18 ], 02:02:18 "mtu": 1458, 02:02:18 "selinux-enabled": true, 02:02:18 "seccomp-profile": "/etc/docker/seccomp.json" 02:02:18 } [Pipeline] sh 02:02:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:02:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:37 provisioning config files... 02:02:37 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/42@tmp/config2281822563391973466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:37 ---> docker-login.sh 02:02:37 nexus3.edgexfoundry.org:10001 02:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:38 Configure a credential helper to remove this warning. See 02:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:38 02:02:38 Login Succeeded 02:02:38 nexus3.edgexfoundry.org:10002 02:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:38 Configure a credential helper to remove this warning. See 02:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:38 02:02:38 Login Succeeded 02:02:38 nexus3.edgexfoundry.org:10003 02:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:38 Configure a credential helper to remove this warning. See 02:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:38 02:02:38 Login Succeeded 02:02:38 nexus3.edgexfoundry.org:10004 02:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:39 Configure a credential helper to remove this warning. See 02:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:39 02:02:39 Login Succeeded 02:02:39 docker.io 02:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:39 Configure a credential helper to remove this warning. See 02:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:39 02:02:39 Login Succeeded 02:02:39 ---> docker-login.sh ends [Pipeline] } 02:02:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:39 ========================================================= 02:02:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:02:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:02:40 Sending build context to Docker daemon 7.989MB 02:02:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:02:40 Step 2/13 : FROM ${BASE} AS builder 02:02:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:02:40 b3c136eddcbf: Pulling fs layer 02:02:40 c0a3192eca97: Pulling fs layer 02:02:40 a050256f5b6f: Pulling fs layer 02:02:40 656be50a0ddc: Pulling fs layer 02:02:40 2bbca73fdf42: Pulling fs layer 02:02:40 f607e4fc86c3: Pulling fs layer 02:02:40 4d572c569a2c: Pulling fs layer 02:02:40 fcf976331f73: Pulling fs layer 02:02:40 f607e4fc86c3: Waiting 02:02:40 4d572c569a2c: Waiting 02:02:40 fcf976331f73: Waiting 02:02:40 656be50a0ddc: Waiting 02:02:40 2bbca73fdf42: Waiting 02:02:40 a050256f5b6f: Verifying Checksum 02:02:40 a050256f5b6f: Download complete 02:02:40 c0a3192eca97: Verifying Checksum 02:02:40 c0a3192eca97: Download complete 02:02:40 2bbca73fdf42: Download complete 02:02:40 f607e4fc86c3: Verifying Checksum 02:02:40 f607e4fc86c3: Download complete 02:02:40 b3c136eddcbf: Verifying Checksum 02:02:41 fcf976331f73: Verifying Checksum 02:02:41 fcf976331f73: Download complete 02:02:42 b3c136eddcbf: Pull complete 02:02:42 c0a3192eca97: Pull complete 02:02:42 4d572c569a2c: Download complete 02:02:43 a050256f5b6f: Pull complete 02:02:43 656be50a0ddc: Verifying Checksum 02:02:43 656be50a0ddc: Download complete 02:02:55 656be50a0ddc: Pull complete 02:02:56 2bbca73fdf42: Pull complete 02:02:56 f607e4fc86c3: Pull complete 02:03:03 4d572c569a2c: Pull complete 02:03:04 fcf976331f73: Pull complete 02:03:04 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 02:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:03:04 ---> 3970a7415f9e 02:03:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:03:05 ---> Running in 3e1f9f578bdb 02:03:05 Removing intermediate container 3e1f9f578bdb 02:03:05 ---> 9d2f41a171bb 02:03:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:05 ---> Running in 4aa9b26244bc 02:03:06 Removing intermediate container 4aa9b26244bc 02:03:06 ---> 33876a410d7c 02:03:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:03:06 ---> Running in 4e9558a83e5f 02:03:06 Removing intermediate container 4e9558a83e5f 02:03:06 ---> 1ca89a6fe917 02:03:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:03:06 ---> Running in 82acfb2b17aa 02:03:06 Removing intermediate container 82acfb2b17aa 02:03:06 ---> 8b97d2e246dd 02:03:06 Step 7/13 : WORKDIR /device-gpio 02:03:07 ---> Running in 44350df1f4e3 02:03:07 Removing intermediate container 44350df1f4e3 02:03:07 ---> 53c0e60f9307 02:03:07 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:03:07 ---> Running in 1ab102eb80cf 02:03:09 Removing intermediate container 1ab102eb80cf 02:03:09 ---> 9c5f6da43acb 02:03:09 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:09 ---> Running in a4001285be10 02:03:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:03:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:03:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:03:12 (2/4) Installing libedit (20210910.3.1-r0) 02:03:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:03:12 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:03:12 Executing busybox-1.35.0-r13.trigger 02:03:12 OK: 226 MiB in 55 packages 02:03:13 Removing intermediate container a4001285be10 02:03:13 ---> 30648ba8a9d3 02:03:13 Step 10/13 : COPY go.mod vendor* ./ 02:03:14 ---> ea35d4bc43ca 02:03:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:14 ---> Running in 1665597ba43e 02:04:10 Removing intermediate container 1665597ba43e 02:04:10 ---> c54e41a1d2fb 02:04:10 Step 12/13 : COPY . . 02:04:10 ---> 066b40d42861 02:04:10 Step 13/13 : RUN ${MAKE} 02:04:10 ---> Running in c7da45e67b79 02:04:10 noop 02:04:10 Removing intermediate container c7da45e67b79 02:04:10 ---> da24a42fa2f8 02:04:10 Successfully built da24a42fa2f8 02:04:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:11 + docker inspect -f . ci-base-image-arm64 02:04:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:11 prd-ubuntu20.04-docker-arm64-4c-16g-6794 does not seem to be running inside a container 02:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/42 -v /w/workspace/device-gpio/42:/w/workspace/device-gpio/42:rw,z -v /w/workspace/device-gpio/42@tmp:/w/workspace/device-gpio/42@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 02:04:12 $ docker top 141a3b4fa9b8c5e0c47b4d789755f56a768b3cf9f2c31c030557bff607cc6f1b -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:13 + go version 02:04:13 go version go1.18.3 linux/arm64 [Pipeline] } 02:04:13 $ docker stop --time=1 141a3b4fa9b8c5e0c47b4d789755f56a768b3cf9f2c31c030557bff607cc6f1b 02:04:15 $ docker rm -f 141a3b4fa9b8c5e0c47b4d789755f56a768b3cf9f2c31c030557bff607cc6f1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:15 + docker inspect -f . ci-base-image-arm64 02:04:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:15 prd-ubuntu20.04-docker-arm64-4c-16g-6794 does not seem to be running inside a container 02:04:15 $ 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/42 -v /w/workspace/device-gpio/42:/w/workspace/device-gpio/42:rw,z -v /w/workspace/device-gpio/42@tmp:/w/workspace/device-gpio/42@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 02:04:17 $ docker top 719ad24e3d9847f42f51f5337fd88d22e29917e3abb28f15cf008873e0360b37 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:17 + git config --global --add safe.directory /w/workspace/device-gpio/42 [Pipeline] fileExists [Pipeline] sh 02:04:18 + make test 02:04:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:04:19 ? github.com/edgexfoundry/device-gpio [no test files] 02:05:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:05:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:05:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:05:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:06:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:08 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:06:08 $ docker stop --time=1 719ad24e3d9847f42f51f5337fd88d22e29917e3abb28f15cf008873e0360b37 02:06:10 $ docker rm -f 719ad24e3d9847f42f51f5337fd88d22e29917e3abb28f15cf008873e0360b37 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:11 Warning: overwriting stash ‘coverage-report’ 02:06:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:06:12 + ls -al . 02:06:12 total 160 02:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 02:04 . 02:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 02:02 .. 02:06:12 -rw-rw-r-- 1 jenkins jenkins 120 Oct 3 02:02 .dockerignore 02:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 02:02 .git 02:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 02:02 .github 02:06:12 -rw-rw-r-- 1 jenkins jenkins 343 Oct 3 02:02 .gitignore 02:06:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 02:02 .golangci.yml 02:06:12 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 3 02:02 Attribution.txt 02:06:12 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 3 02:02 CHANGELOG.md 02:06:12 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 3 02:02 Dockerfile 02:06:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 02:02 GOVERNANCE.md 02:06:12 -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 02:02 Jenkinsfile 02:06:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 02:02 LICENSE 02:06:12 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 3 02:02 Makefile 02:06:12 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 02:02 OWNERS.md 02:06:12 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 3 02:02 README.md 02:06:12 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 01:59 VERSION 02:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 02:02 bin 02:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 02:02 cmd 02:06:12 -rw-r--r-- 1 jenkins jenkins 10 Oct 3 02:04 coverage.out 02:06:12 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 3 02:02 go.mod 02:06:12 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 3 02:02 go.sum 02:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 02:02 internal 02:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 02:02 snap 02:06:12 -rw-rw-r-- 1 jenkins jenkins 209 Oct 3 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:12 + 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=cc93018424da199c7be3ecb3186bc22ad0e7404b --label arch=arm64 --label version=2.3.0-dev.12 . 02:06:13 Sending build context to Docker daemon 7.99MB 02:06:13 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:06:13 Step 2/27 : FROM ${BASE} AS builder 02:06:13 ---> da24a42fa2f8 02:06:13 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:06:13 ---> Running in 032f2f181583 02:06:13 Removing intermediate container 032f2f181583 02:06:13 ---> 782d20763bef 02:06:13 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:13 ---> Running in 8f1c69d856bb 02:06:13 Removing intermediate container 8f1c69d856bb 02:06:13 ---> 556a4272e4fb 02:06:13 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:06:13 ---> Running in 62c1a646bcd2 02:06:14 Removing intermediate container 62c1a646bcd2 02:06:14 ---> 397712226649 02:06:14 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:06:14 ---> Running in f06e65c7f6d2 02:06:14 Removing intermediate container f06e65c7f6d2 02:06:14 ---> 21597a0fcfee 02:06:14 Step 7/27 : WORKDIR /device-gpio 02:06:14 ---> Running in 0e07096a7feb 02:06:14 Removing intermediate container 0e07096a7feb 02:06:14 ---> 44fd6604c512 02:06:14 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:06:14 ---> Running in f91512a9de67 02:06:16 Removing intermediate container f91512a9de67 02:06:16 ---> 2acf2966c199 02:06:16 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:16 ---> Running in 2f91b1f2a066 02:06:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:06:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:06:19 OK: 226 MiB in 55 packages 02:06:20 Removing intermediate container 2f91b1f2a066 02:06:20 ---> 34154395ac8a 02:06:20 Step 10/27 : COPY go.mod vendor* ./ 02:06:21 ---> 352905ea6c48 02:06:21 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:21 ---> Running in 8a5227dd0493 02:06:23 Removing intermediate container 8a5227dd0493 02:06:23 ---> 01c055951aab 02:06:23 Step 12/27 : COPY . . 02:06:23 ---> 4f56343004ca 02:06:23 Step 13/27 : RUN ${MAKE} 02:06:23 ---> Running in 3bf52e2513ff 02:06:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 02:09:16 Removing intermediate container 3bf52e2513ff 02:09:16 ---> 7e5c9903435b 02:09:16 Step 14/27 : FROM alpine:3.16 02:09:16 3.16: Pulling from library/alpine 02:09:16 9b18e9b68314: Pulling fs layer 02:09:16 9b18e9b68314: Download complete 02:09:16 9b18e9b68314: Pull complete 02:09:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:09:16 Status: Downloaded newer image for alpine:3.16 02:09:16 ---> a6215f271958 02:09:16 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:09:16 ---> Running in 201b515d3391 02:09:16 Removing intermediate container 201b515d3391 02:09:16 ---> 804a31169989 02:09:16 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:09:16 ---> Running in 26af86e7ced7 02:09:16 Removing intermediate container 26af86e7ced7 02:09:16 ---> 0b1e9ab6849c 02:09:16 Step 17/27 : RUN apk add --update --no-cache zeromq 02:09:16 ---> Running in 6582cdab6f29 02:09:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:09:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:09:17 (1/5) Installing libgcc (11.2.1_git20220219-r2) 02:09:17 (2/5) Installing libsodium (1.0.18-r0) 02:09:17 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 02:09:17 (4/5) Installing libzmq (4.3.4-r0) 02:09:17 (5/5) Installing zeromq (4.3.4-r0) 02:09:18 Executing busybox-1.35.0-r17.trigger 02:09:18 OK: 8 MiB in 19 packages 02:09:19 Removing intermediate container 6582cdab6f29 02:09:19 ---> a1ec013b1151 02:09:19 Step 18/27 : WORKDIR / 02:09:19 ---> Running in adef7f5a73b2 02:09:19 Removing intermediate container adef7f5a73b2 02:09:19 ---> 1405a2f800dd 02:09:19 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 02:09:20 ---> 5e1db9df8b89 02:09:20 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 02:09:20 ---> 3f8e6f569647 02:09:20 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 02:09:23 ---> ae1175f3d6eb 02:09:23 Step 22/27 : EXPOSE 59910 02:09:23 ---> Running in 0a678dbf8c73 02:09:23 Removing intermediate container 0a678dbf8c73 02:09:23 ---> e73f55f58790 02:09:23 Step 23/27 : ENTRYPOINT ["/device-gpio"] 02:09:23 ---> Running in 6f0b7783640e 02:09:23 Removing intermediate container 6f0b7783640e 02:09:23 ---> 75773e819402 02:09:23 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:09:23 ---> Running in 077b8d33c8e5 02:09:24 Removing intermediate container 077b8d33c8e5 02:09:24 ---> 98a93ab7e170 02:09:24 Step 25/27 : LABEL arch=arm64 02:09:24 ---> Running in ba5efdf4eba6 02:09:24 Removing intermediate container ba5efdf4eba6 02:09:24 ---> 607b2f46790f 02:09:24 Step 26/27 : LABEL git_sha=cc93018424da199c7be3ecb3186bc22ad0e7404b 02:09:24 ---> Running in 54a971b43380 02:09:24 Removing intermediate container 54a971b43380 02:09:24 ---> 4180c92aeaf0 02:09:24 Step 27/27 : LABEL version=2.3.0-dev.12 02:09:24 ---> Running in 8f8d83cc69f1 02:09:25 Removing intermediate container 8f8d83cc69f1 02:09:25 ---> cbafc405c771 02:09:25 [Warning] One or more build-args [ARCH] were not consumed 02:09:25 Successfully built cbafc405c771 02:09:25 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 02:09:25 provisioning config files... 02:09:25 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/42@tmp/config6423744748999872311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:25 ---> docker-login.sh 02:09:25 nexus3.edgexfoundry.org:10001 02:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:25 Configure a credential helper to remove this warning. See 02:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:25 02:09:25 Login Succeeded 02:09:25 nexus3.edgexfoundry.org:10002 02:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:26 Configure a credential helper to remove this warning. See 02:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:26 02:09:26 Login Succeeded 02:09:26 nexus3.edgexfoundry.org:10003 02:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:26 Configure a credential helper to remove this warning. See 02:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:26 02:09:26 Login Succeeded 02:09:26 nexus3.edgexfoundry.org:10004 02:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:26 Configure a credential helper to remove this warning. See 02:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:26 02:09:26 Login Succeeded 02:09:26 docker.io 02:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:27 Configure a credential helper to remove this warning. See 02:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:27 02:09:27 Login Succeeded 02:09:27 ---> docker-login.sh ends [Pipeline] } 02:09:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:09:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:09:27 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 02:09:27 cc93018424da199c7be3ecb3186bc22ad0e7404b 02:09:27 latest 02:09:27 2.3.0-dev.12 02:09:27 cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 02:09:27 main 02:09:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:28 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:28 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:cc93018424da199c7be3ecb3186bc22ad0e7404b 02:09:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:09:28 584fcf9d62da: Preparing 02:09:28 4af0a398fc42: Preparing 02:09:28 40de99637b36: Preparing 02:09:28 04c9bb1162ba: Preparing 02:09:28 adc27940e869: Preparing 02:09:28 5d3e392a13a0: Preparing 02:09:28 5d3e392a13a0: Waiting 02:09:28 40de99637b36: Pushed 02:09:28 adc27940e869: Pushed 02:09:28 4af0a398fc42: Pushed 02:09:28 5d3e392a13a0: Layer already exists 02:09:29 04c9bb1162ba: Pushed 02:09:34 584fcf9d62da: Pushed 02:09:34 cc93018424da199c7be3ecb3186bc22ad0e7404b: digest: sha256:1abb01bfe39763284cd12d7e85ce8b123c801685788922579fd415c364d026c1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:35 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:35 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:09:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:09:35 584fcf9d62da: Preparing 02:09:35 4af0a398fc42: Preparing 02:09:35 40de99637b36: Preparing 02:09:35 04c9bb1162ba: Preparing 02:09:35 adc27940e869: Preparing 02:09:35 5d3e392a13a0: Preparing 02:09:35 5d3e392a13a0: Waiting 02:09:35 40de99637b36: Layer already exists 02:09:35 adc27940e869: Layer already exists 02:09:35 04c9bb1162ba: Layer already exists 02:09:35 4af0a398fc42: Layer already exists 02:09:35 584fcf9d62da: Layer already exists 02:09:35 5d3e392a13a0: Layer already exists 02:09:35 latest: digest: sha256:1abb01bfe39763284cd12d7e85ce8b123c801685788922579fd415c364d026c1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:36 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:36 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.12 02:09:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:09:36 584fcf9d62da: Preparing 02:09:36 4af0a398fc42: Preparing 02:09:36 40de99637b36: Preparing 02:09:36 04c9bb1162ba: Preparing 02:09:36 adc27940e869: Preparing 02:09:36 5d3e392a13a0: Preparing 02:09:36 5d3e392a13a0: Waiting 02:09:36 40de99637b36: Layer already exists 02:09:36 04c9bb1162ba: Layer already exists 02:09:36 4af0a398fc42: Layer already exists 02:09:36 584fcf9d62da: Layer already exists 02:09:36 adc27940e869: Layer already exists 02:09:36 5d3e392a13a0: Layer already exists 02:09:36 2.3.0-dev.12: digest: sha256:1abb01bfe39763284cd12d7e85ce8b123c801685788922579fd415c364d026c1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:37 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:37 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 02:09:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:09:37 584fcf9d62da: Preparing 02:09:37 4af0a398fc42: Preparing 02:09:37 40de99637b36: Preparing 02:09:37 04c9bb1162ba: Preparing 02:09:37 adc27940e869: Preparing 02:09:37 5d3e392a13a0: Preparing 02:09:37 5d3e392a13a0: Waiting 02:09:37 40de99637b36: Layer already exists 02:09:37 584fcf9d62da: Layer already exists 02:09:37 04c9bb1162ba: Layer already exists 02:09:37 4af0a398fc42: Layer already exists 02:09:37 adc27940e869: Layer already exists 02:09:37 5d3e392a13a0: Layer already exists 02:09:37 cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12: digest: sha256:1abb01bfe39763284cd12d7e85ce8b123c801685788922579fd415c364d026c1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:37 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:38 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 02:09:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:09:38 584fcf9d62da: Preparing 02:09:38 4af0a398fc42: Preparing 02:09:38 40de99637b36: Preparing 02:09:38 04c9bb1162ba: Preparing 02:09:38 adc27940e869: Preparing 02:09:38 5d3e392a13a0: Preparing 02:09:38 5d3e392a13a0: Waiting 02:09:38 4af0a398fc42: Layer already exists 02:09:38 adc27940e869: Layer already exists 02:09:38 04c9bb1162ba: Layer already exists 02:09:38 40de99637b36: Layer already exists 02:09:38 584fcf9d62da: Layer already exists 02:09:38 5d3e392a13a0: Layer already exists 02:09:38 main: digest: sha256:1abb01bfe39763284cd12d7e85ce8b123c801685788922579fd415c364d026c1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:09:38 ===================================================== [Pipeline] echo 02:09:38 taggedImages: 02:09:38 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:cc93018424da199c7be3ecb3186bc22ad0e7404b 02:09:38 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:09:38 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.12 02:09:38 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:cc93018424da199c7be3ecb3186bc22ad0e7404b-2.3.0-dev.12 02:09:38 - 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 02:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:38 02:09:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:39 arm64: Pulling from edgex-lftools-log-publisher 02:09:39 8998bd30e6a1: Pulling fs layer 02:09:39 04944245beec: Pulling fs layer 02:09:39 699f458cf7ca: Pulling fs layer 02:09:39 765212b225bb: Pulling fs layer 02:09:39 f23df028b6ca: Pulling fs layer 02:09:39 d65c8cfc05b1: Pulling fs layer 02:09:39 2437ff75d9bd: Pulling fs layer 02:09:39 d65c8cfc05b1: Waiting 02:09:39 765212b225bb: Waiting 02:09:39 f23df028b6ca: Waiting 02:09:39 2437ff75d9bd: Waiting 02:09:39 04944245beec: Verifying Checksum 02:09:39 04944245beec: Download complete 02:09:39 765212b225bb: Download complete 02:09:39 f23df028b6ca: Download complete 02:09:39 d65c8cfc05b1: Verifying Checksum 02:09:39 d65c8cfc05b1: Download complete 02:09:39 699f458cf7ca: Download complete 02:09:40 8998bd30e6a1: Verifying Checksum 02:09:40 8998bd30e6a1: Download complete 02:09:42 2437ff75d9bd: Verifying Checksum 02:09:42 2437ff75d9bd: Download complete 02:09:44 8998bd30e6a1: Pull complete 02:09:44 04944245beec: Pull complete 02:09:46 699f458cf7ca: Pull complete 02:09:46 765212b225bb: Pull complete 02:09:47 f23df028b6ca: Pull complete 02:09:47 d65c8cfc05b1: Pull complete 02:10:02 2437ff75d9bd: Pull complete 02:10:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:10:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:03 prd-ubuntu20.04-docker-arm64-4c-16g-6794 does not seem to be running inside a container 02:10:03 $ 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/42 -v /w/workspace/device-gpio/42:/w/workspace/device-gpio/42:rw,z -v /w/workspace/device-gpio/42@tmp:/w/workspace/device-gpio/42@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 02:10:05 $ docker top 219ea60b3c62aaa246d443f32787a670aa64e06fc544ecb00782de456f587bd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:06 ---> job-cost.sh 02:10:06 lf-activate-venv: SKIPPING 02:10:06 INFO: No Stack... 02:10:06 INFO: Retrieving Pricing Info for: v3-standard-4 02:10:07 INFO: Archiving Costs [Pipeline] sh 02:10:08 + cut -d, -f6 02:10:08 + cat /w/workspace/device-gpio/42/archives/cost.csv [Pipeline] lock 02:10:08 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] 02:10:08 Resource [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] did not exist. Created. 02:10:08 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:10:08 /w/workspace/device-gpio/42@tmp/durable-712fbf79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:10:09 + echo total: 0.10999999940395355 [Pipeline] stash 02:10:09 Warning: overwriting stash ‘stack-cost’ 02:10:09 Stashed 1 file(s) [Pipeline] } 02:10:09 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 02:10:09 $ docker stop --time=1 219ea60b3c62aaa246d443f32787a670aa64e06fc544ecb00782de456f587bd3 02:10:11 $ docker rm -f 219ea60b3c62aaa246d443f32787a670aa64e06fc544ecb00782de456f587bd3 [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 02:10:11 provisioning config files... 02:10:11 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17326049410438167925tmp [Pipeline] { [Pipeline] sh 02:10:11 + set +x 02:10:11 + curl -s https://codecov.io/bash 02:10:11 + bash -s -- 02:10:11 02:10:11 _____ _ 02:10:11 / ____| | | 02:10:11 | | ___ __| | ___ ___ _____ __ 02:10:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:10:11 | |___| (_) | (_| | __/ (_| (_) \ V / 02:10:11 \_____\___/ \__,_|\___|\___\___/ \_/ 02:10:11 Bash-1.0.6 02:10:11 02:10:11 02:10:11 ==> git version 2.25.1 found 02:10:11 ==> 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 02:10:11 Release-Date: 2020-01-08 02:10:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:10:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:10:11 ==> Jenkins CI detected. 02:10:11 current dir:  /w/workspace/edgexfoundry_device-gpio_main 02:10:11 project root: . 02:10:11 --> token set from env 02:10:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:10:11 ==> Running gcov in . (disable via -X gcov) 02:10:11 ==> Python coveragepy not found 02:10:11 ==> Searching for coverage reports in: 02:10:11 + . 02:10:11 -> Found 1 reports 02:10:11 ==> Detecting git/mercurial file structure 02:10:11 ==> Reading reports 02:10:11 + ./coverage.out bytes=10 02:10:11 ==> Appending adjustments 02:10:11 https://docs.codecov.io/docs/fixing-reports 02:10:12 + Found adjustments 02:10:12 ==> Gzipping contents 02:10:12 4.0K /tmp/codecov.awr9rA.gz 02:10:12 ==> Uploading reports 02:10:12 url: https://codecov.io 02:10:12 query: branch=main&commit=cc93018424da199c7be3ecb3186bc22ad0e7404b&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:10:12 -> Pinging Codecov 02:10:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=cc93018424da199c7be3ecb3186bc22ad0e7404b&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:10:12 -> Uploading to 02:10:12 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/3EC07B1A8CA8AF9BCAA0BB9F0134797F/cc93018424da199c7be3ecb3186bc22ad0e7404b/1e58cbf2-4c0d-4baf-a309-86c60c2bdfe1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T021012Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a38b1b832f70c9f601c2d653f337b520a85aebd56b15d7927a2452be1697eb6b 02:10:12 % Total % Received % Xferd Average Speed Time Time Time Current 02:10:12 Dload Upload Total Spent Left Speed 02:10:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3337 --:--:-- --:--:-- --:--:-- 3337 02:10:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] } 02:10:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:10:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:10:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:10:13 02:10:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:10:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:10:13 df9b9388f04a: Pulling fs layer 02:10:13 52dc419b0ee2: Pulling fs layer 02:10:13 25bc292e5bac: Pulling fs layer 02:10:13 114826534d7a: Pulling fs layer 02:10:13 4657fd5d0bcf: Pulling fs layer 02:10:13 6ad1cebc031e: Pulling fs layer 02:10:13 8a3aa393b2d8: Pulling fs layer 02:10:13 114826534d7a: Waiting 02:10:13 4657fd5d0bcf: Waiting 02:10:13 6ad1cebc031e: Waiting 02:10:13 8a3aa393b2d8: Waiting 02:10:13 25bc292e5bac: Download complete 02:10:13 52dc419b0ee2: Verifying Checksum 02:10:13 52dc419b0ee2: Download complete 02:10:13 4657fd5d0bcf: Download complete 02:10:13 df9b9388f04a: Verifying Checksum 02:10:13 df9b9388f04a: Download complete 02:10:14 df9b9388f04a: Pull complete 02:10:14 52dc419b0ee2: Pull complete 02:10:14 25bc292e5bac: Pull complete 02:10:14 6ad1cebc031e: Verifying Checksum 02:10:14 114826534d7a: Verifying Checksum 02:10:14 114826534d7a: Download complete 02:10:15 8a3aa393b2d8: Verifying Checksum 02:10:15 8a3aa393b2d8: Download complete 02:10:18 114826534d7a: Pull complete 02:10:18 4657fd5d0bcf: Pull complete 02:10:18 6ad1cebc031e: Pull complete 02:10:22 8a3aa393b2d8: Pull complete 02:10:22 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:10:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:10:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:22 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:10:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:10:24 $ docker top 3cb68e97e8c938c9573b8da0a6b107f986607a9874b7ba7337d937376222d8a0 -eo pid,comm [Pipeline] { [Pipeline] echo 02:10:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 02:10:24 + set -o pipefail 02:10:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 02:10:29 02:10:29 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 02:10:29 02:10:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/8c55ff42-d936-448e-8251-89f02ced0192 02:10:29 02:10:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:10:29 02:10:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:10:29 02:10:30 [Pipeline] } 02:10:30 $ docker stop --time=1 3cb68e97e8c938c9573b8da0a6b107f986607a9874b7ba7337d937376222d8a0 02:10:32 $ docker rm -f 3cb68e97e8c938c9573b8da0a6b107f986607a9874b7ba7337d937376222d8a0 [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 02:10:32 + git log --format=format:%s -1 cc93018424da199c7be3ecb3186bc22ad0e7404b [Pipeline] sh 02:10:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:33 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:10:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:10:33 $ docker top 7f40ac5037e6ba576d787f26ca0a92a72e875768a9fbbd7788baecea3f41b081 -eo pid,comm 02:10:33 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). 02:10:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:33 [ssh-agent] Looking for ssh-agent implementation... 02:10:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:34 $ docker exec 7f40ac5037e6ba576d787f26ca0a92a72e875768a9fbbd7788baecea3f41b081 ssh-agent 02:10:34 SSH_AUTH_SOCK=/tmp/ssh-gyOXB247OnfB/agent.33 02:10:34 SSH_AGENT_PID=39 02:10:34 Running ssh-add (command line suppressed) 02:10:34 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10714695246564378557.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10714695246564378557.key) 02:10:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:34 + git semver tag 02:10:34 2022-10-03 02:10:34,764 [run_tag] DEBUG tag force:False 02:10:34 2022-10-03 02:10:34,764 [check_head_tag] DEBUG check head tag 02:10:34 2022-10-03 02:10:34,766 [execute] INFO git cat-file --batch-check 02:10:34 2022-10-03 02:10:34,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:10:34 2022-10-03 02:10:34,770 [execute] INFO git cat-file --batch 02:10:34 2022-10-03 02:10:34,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:10:34 2022-10-03 02:10:34,781 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:34 2022-10-03 02:10:34,781 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 02:10:34 2022-10-03 02:10:34,781 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 02:10:34 2022-10-03 02:10:34,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:34 2.3.0-dev.12 [Pipeline] } 02:10:34 $ docker exec --env ******** --env ******** 7f40ac5037e6ba576d787f26ca0a92a72e875768a9fbbd7788baecea3f41b081 ssh-agent -k 02:10:34 unset SSH_AUTH_SOCK; 02:10:34 unset SSH_AGENT_PID; 02:10:34 echo Agent pid 39 killed; 02:10:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:35 + git semver [Pipeline] } 02:10:35 $ docker stop --time=1 7f40ac5037e6ba576d787f26ca0a92a72e875768a9fbbd7788baecea3f41b081 02:10:36 $ docker rm -f 7f40ac5037e6ba576d787f26ca0a92a72e875768a9fbbd7788baecea3f41b081 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:10:37 02:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:10:37 0.23.1-centos7: Pulling from edgex-lftools 02:10:37 ab5ef0e58194: Pulling fs layer 02:10:37 9712f1f96733: Pulling fs layer 02:10:37 63f879dbbcfc: Pulling fs layer 02:10:37 0d9ebad4ef96: Pulling fs layer 02:10:37 e9a5061849ea: Pulling fs layer 02:10:37 d747dcd14b5f: Pulling fs layer 02:10:37 e9a5061849ea: Waiting 02:10:37 0d9ebad4ef96: Waiting 02:10:37 2de7ff778b66: Pulling fs layer 02:10:37 d747dcd14b5f: Waiting 02:10:37 2de7ff778b66: Waiting 02:10:37 9712f1f96733: Verifying Checksum 02:10:37 9712f1f96733: Download complete 02:10:38 63f879dbbcfc: Verifying Checksum 02:10:38 63f879dbbcfc: Download complete 02:10:38 0d9ebad4ef96: Verifying Checksum 02:10:38 0d9ebad4ef96: Download complete 02:10:38 d747dcd14b5f: Verifying Checksum 02:10:38 d747dcd14b5f: Download complete 02:10:38 e9a5061849ea: Verifying Checksum 02:10:38 e9a5061849ea: Download complete 02:10:38 ab5ef0e58194: Verifying Checksum 02:10:38 ab5ef0e58194: Download complete 02:10:38 2de7ff778b66: Verifying Checksum 02:10:38 2de7ff778b66: Download complete 02:10:41 ab5ef0e58194: Pull complete 02:10:41 9712f1f96733: Pull complete 02:10:41 63f879dbbcfc: Pull complete 02:10:46 0d9ebad4ef96: Pull complete 02:10:46 e9a5061849ea: Pull complete 02:10:46 d747dcd14b5f: Pull complete 02:10:47 2de7ff778b66: Pull complete 02:10:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:10:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:10:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:47 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:10:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:10:49 $ docker top 9150d7e518ed94859f7dbe8c9b618ee84692ec074f7ffec9bccc0838db97079f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:10:49 provisioning config files... 02:10:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8793763014633084506tmp 02:10:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9894798333252731425tmp 02:10:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4620063535228878057tmp [Pipeline] { [Pipeline] echo 02:10:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:10:49 ---> sigul-configuration.sh 02:10:49 gpg: directory `/root/.gnupg' created 02:10:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:10:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:10:49 gpg: keyring `/root/.gnupg/secring.gpg' created 02:10:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:10:49 gpg: CAST5 encrypted data 02:10:49 gpg: encrypted with 1 passphrase 02:10:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:10:50 + mkdir /home/jenkins 02:10:50 + mkdir /home/jenkins/sigul [Pipeline] sh 02:10:50 + 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 02:10:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:10:50 ---> sigul-install.sh 02:10:50 Sigul already installed; skipping installation. [Pipeline] sh 02:10:50 + git tag --list 02:10:50 v1.0.0 02:10:50 v2.1.0 02:10:50 v2.1.1 02:10:50 v2.1.1-dev.1 02:10:50 v2.2.0 02:10:50 v2.2.1-dev.1 02:10:50 v2.2.1-dev.2 02:10:50 v2.2.1-dev.3 02:10:50 v2.2.1-dev.4 02:10:50 v2.3.0-dev.10 02:10:50 v2.3.0-dev.11 02:10:50 v2.3.0-dev.12 02:10:50 v2.3.0-dev.4 02:10:50 v2.3.0-dev.5 02:10:50 v2.3.0-dev.6 02:10:50 v2.3.0-dev.7 02:10:50 v2.3.0-dev.8 02:10:50 v2.3.0-dev.9 [Pipeline] sh 02:10:51 + lftools sign git-tag v2.3.0-dev.12 02:10:51 Signing Git tag with Sigul... 02:10:51 Signing v2.3.0-dev.12 [Pipeline] echo 02:10:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:10:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:10:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:10:52 $ docker stop --time=1 9150d7e518ed94859f7dbe8c9b618ee84692ec074f7ffec9bccc0838db97079f 02:10:53 $ docker rm -f 9150d7e518ed94859f7dbe8c9b618ee84692ec074f7ffec9bccc0838db97079f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:10:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:54 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:10:54 $ docker top bacfdf4254ea014974243e3cf2ae0b13067cd2eb14fa09e65351a0c754629611 -eo pid,comm 02:10:55 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). 02:10:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:55 [ssh-agent] Looking for ssh-agent implementation... 02:10:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:55 $ docker exec bacfdf4254ea014974243e3cf2ae0b13067cd2eb14fa09e65351a0c754629611 ssh-agent 02:10:55 SSH_AUTH_SOCK=/tmp/ssh-uvKECurmagrg/agent.32 02:10:55 SSH_AGENT_PID=38 02:10:55 Running ssh-add (command line suppressed) 02:10:55 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4710433372489896128.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4710433372489896128.key) 02:10:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:55 + git semver bump pre 02:10:55 2022-10-03 02:10:55,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:55 2022-10-03 02:10:55,827 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 02:10:55 2022-10-03 02:10:55,827 [bump_version] DEBUG bumped version:2.3.0-dev.13 02:10:55 2022-10-03 02:10:55,827 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 02:10:55 2022-10-03 02:10:55,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:55 2022-10-03 02:10:55,827 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:55 2022-10-03 02:10:55,829 [execute] INFO git cat-file --batch-check 02:10:55 2022-10-03 02:10:55,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:55 2022-10-03 02:10:55,836 [execute] INFO git cat-file --batch 02:10:55 2022-10-03 02:10:55,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:55 2022-10-03 02:10:55,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:55 2.3.0-dev.13 [Pipeline] } 02:10:55 $ docker exec --env ******** --env ******** bacfdf4254ea014974243e3cf2ae0b13067cd2eb14fa09e65351a0c754629611 ssh-agent -k 02:10:55 unset SSH_AUTH_SOCK; 02:10:55 unset SSH_AGENT_PID; 02:10:55 echo Agent pid 38 killed; 02:10:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:56 + git semver [Pipeline] } 02:10:56 $ docker stop --time=1 bacfdf4254ea014974243e3cf2ae0b13067cd2eb14fa09e65351a0c754629611 02:10:57 $ docker rm -f bacfdf4254ea014974243e3cf2ae0b13067cd2eb14fa09e65351a0c754629611 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:58 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:10:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:10:58 $ docker top 139f99d1b0e9a5adb04def43e86f40ec5340a66edf1ce493099941c084857daf -eo pid,comm 02:10:59 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). 02:10:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:59 [ssh-agent] Looking for ssh-agent implementation... 02:10:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:59 $ docker exec 139f99d1b0e9a5adb04def43e86f40ec5340a66edf1ce493099941c084857daf ssh-agent 02:10:59 SSH_AUTH_SOCK=/tmp/ssh-ch1oIk3GJNND/agent.32 02:10:59 SSH_AGENT_PID=38 02:10:59 Running ssh-add (command line suppressed) 02:10:59 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2793917966892823615.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2793917966892823615.key) 02:10:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:59 + git semver push 02:10:59 2022-10-03 02:10:59,921 [run_push] DEBUG push 02:10:59 2022-10-03 02:10:59,922 [execute] INFO git cat-file --batch-check 02:10:59 2022-10-03 02:10:59,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:59 2022-10-03 02:10:59,926 [execute] INFO git rev-list e9184c32fdbf5442ca23a66dce2182e060b8e0db -- 02:10:59 2022-10-03 02:10:59,927 [execute] DEBUG Popen(['git', 'rev-list', 'e9184c32fdbf5442ca23a66dce2182e060b8e0db', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 02:10:59 2022-10-03 02:10:59,934 [execute] INFO git fetch -v origin 02:10:59 2022-10-03 02:10:59,934 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 02:11:00 2022-10-03 02:11:00,475 [run_push] DEBUG no remote changes detected 02:11:00 2022-10-03 02:11:00,476 [execute] INFO git push origin semver 02:11:00 2022-10-03 02:11:00,476 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 02:11:01 2022-10-03 02:11:01,281 [run_push] DEBUG push all version tags 02:11:01 2022-10-03 02:11:01,281 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:11:01 2022-10-03 02:11:01,282 [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) 02:11:02 2022-10-03 02:11:02,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:11:02 2.3.0-dev.13 [Pipeline] } 02:11:02 $ docker exec --env ******** --env ******** 139f99d1b0e9a5adb04def43e86f40ec5340a66edf1ce493099941c084857daf ssh-agent -k 02:11:02 unset SSH_AUTH_SOCK; 02:11:02 unset SSH_AGENT_PID; 02:11:02 echo Agent pid 38 killed; 02:11:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:02 + git semver [Pipeline] } 02:11:03 $ docker stop --time=1 139f99d1b0e9a5adb04def43e86f40ec5340a66edf1ce493099941c084857daf 02:11:04 $ docker rm -f 139f99d1b0e9a5adb04def43e86f40ec5340a66edf1ce493099941c084857daf [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 02:11:04 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 02:11:04 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:11:04 total 16 02:11:04 drwxr-xr-x 3 root root 4096 Oct 3 02:00 . 02:11:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 02:10 .. 02:11:04 drwxr-xr-x 2 root root 4096 Oct 3 02:00 cost 02:11:04 -rw-r--r-- 1 root root 82 Oct 3 02:00 cost.csv 02:11:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 02:11:04 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:11:04 total 16 02:11:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 02:00 . 02:11:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 02:10 .. 02:11:04 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 02:00 cost 02:11:04 -rw-r--r-- 1 jenkins jenkins 82 Oct 3 02:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:06 ---> package-listing.sh 02:11:06 ++ facter osfamily 02:11:06 ++ tr '[:upper:]' '[:lower:]' 02:11:06 + OS_FAMILY=debian 02:11:06 + workspace=/w/workspace/edgexfoundry_device-gpio_main 02:11:06 + START_PACKAGES=/tmp/packages_start.txt 02:11:06 + END_PACKAGES=/tmp/packages_end.txt 02:11:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:06 + PACKAGES=/tmp/packages_start.txt 02:11:06 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:11:06 + PACKAGES=/tmp/packages_end.txt 02:11:06 + case "${OS_FAMILY}" in 02:11:06 + dpkg -l 02:11:06 + grep '^ii' 02:11:06 + '[' -f /tmp/packages_start.txt ']' 02:11:06 + '[' -f /tmp/packages_end.txt ']' 02:11:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:06 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:11:06 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 02:11:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 02:11:06 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 02:11:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:07 prd-ubuntu20.04-docker-8c-8g-6790 does not seem to be running inside a container 02:11:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:07 $ docker top d5fc49e7620332250481e194a3f892ac9d7193a711e6db8f316ebd161251a3b6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:07 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:08 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:08 + ls /var/log/sa-host 02:11:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:08 provisioning config files... 02:11:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18224021302975915490tmp [Pipeline] { [Pipeline] echo 02:11:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:09 ---> create-netrc.sh [Pipeline] } 02:11:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:09 ---> python-tools-install.sh [Pipeline] echo 02:11:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:09 ---> sudo-logs.sh 02:11:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:10 ---> job-cost.sh 02:11:10 lf-activate-venv: SKIPPING 02:11:10 DEBUG: total: 0.2199999988079071 02:11:10 INFO: Retrieving Stack Cost... 02:11:10 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:10 INFO: Archiving Costs [Pipeline] echo 02:11:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:11 ---> logs-deploy.sh 02:11:11 lf-activate-venv: SKIPPING 02:11:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/42 02:11:11 INFO: archiving workspace using pattern(s): 02:11:12 Archives upload complete. 02:11:12 INFO: archiving logs to Nexus