Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a3ce9ed1f526325ddb5567e419735729c86c620 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-ssh4974139817085323285.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10904157760687347738.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11838759800756028782.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12604175165103906702.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-ssh11898825450033432288.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118080 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 6a3ce9ed1f526325ddb5567e419735729c86c620 (main) Commit message: "Merge pull request #65 from lenny-intel/levski-change-log" > 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 6a3ce9ed1f526325ddb5567e419735729c86c620 # timeout=10 > git rev-list --no-walk 9f661ec1c3164105e4e9f6d2e6777a7d1fb3d9a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:58:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:58:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:58:09 ========================================================= 08:58:09 EdgeX Global Pipelines Version Info 08:58:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:58:10 ------------------- 08:58:10 stable info: 08:58:10 ------------------- 08:58:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:58:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:58:10 Message: update stable to v1.0.244 08:58:11 ------------------- 08:58:11 experimental info: 08:58:11 ------------------- 08:58:11 Commited By: **** collab-it+edgex@linuxfoundation.org 08:58:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:58:11 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a3ce9e [Pipeline] echo 08:58:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:58:11 provisioning config files... 08:58:11 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16016699271028152319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:58:12 ---> docker-login.sh 08:58:12 nexus3.edgexfoundry.org:10001 08:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:12 Configure a credential helper to remove this warning. See 08:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:12 08:58:12 Login Succeeded 08:58:12 nexus3.edgexfoundry.org:10002 08:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:12 Configure a credential helper to remove this warning. See 08:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:12 08:58:12 Login Succeeded 08:58:12 nexus3.edgexfoundry.org:10003 08:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:12 Configure a credential helper to remove this warning. See 08:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:12 08:58:12 Login Succeeded 08:58:12 nexus3.edgexfoundry.org:10004 08:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:12 Configure a credential helper to remove this warning. See 08:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:12 08:58:12 Login Succeeded 08:58:12 docker.io 08:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:13 Configure a credential helper to remove this warning. See 08:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:13 08:58:13 Login Succeeded 08:58:13 ---> docker-login.sh ends [Pipeline] } 08:58:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:58:13 + git rev-list -1 --merges 6a3ce9ed1f526325ddb5567e419735729c86c620~1..6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] echo 08:58:13 -----------> git rev-list -1 --merges 6a3ce9ed1f526325ddb5567e419735729c86c620~1..6a3ce9ed1f526325ddb5567e419735729c86c620 6a3ce9ed1f526325ddb5567e419735729c86c620 08:58:13 6a3ce9ed1f526325ddb5567e419735729c86c620 [false] [Pipeline] sh 08:58:14 + git log --format=format:%s -1 6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] echo 08:58:14 ========================================================= 08:58:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:58:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:58:14 + git log --format=format:%s -1 6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] echo 08:58:14 [semverPrep] GIT_COMMIT: 6a3ce9ed1f526325ddb5567e419735729c86c620, Commit Message: Merge pull request #65 from lenny-intel/levski-change-log [Pipeline] echo 08:58:14 [semverPrep] This is not a build commit. [Pipeline] sh 08:58:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:58:14 + grep -v github /etc/ssh/ssh_known_hosts 08:58:14 + [ -e /tmp/ssh_known_hosts ] 08:58:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:58:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:58:14 + sudo tee -a /etc/ssh/ssh_known_hosts 08:58:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:58:15 08:58:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:58:15 0.1.4: Pulling from edgex-devops/py-git-semver 08:58:15 b85a868b505f: Pulling fs layer 08:58:15 e2be974225ed: Pulling fs layer 08:58:15 339a4e72a1f5: Pulling fs layer 08:58:15 988bab9f4d93: Pulling fs layer 08:58:15 1469e6f7b9e6: Pulling fs layer 08:58:15 eaf3925da568: Pulling fs layer 08:58:15 bab4dde63d76: Pulling fs layer 08:58:15 bde34c3a00c8: Pulling fs layer 08:58:15 b352a97aabf1: Pulling fs layer 08:58:15 4872d77fe225: Pulling fs layer 08:58:15 5851b861e8e6: Pulling fs layer 08:58:15 bab4dde63d76: Waiting 08:58:15 bde34c3a00c8: Waiting 08:58:15 b352a97aabf1: Waiting 08:58:15 988bab9f4d93: Waiting 08:58:15 4872d77fe225: Waiting 08:58:15 5851b861e8e6: Waiting 08:58:15 eaf3925da568: Waiting 08:58:15 1469e6f7b9e6: Waiting 08:58:15 e2be974225ed: Verifying Checksum 08:58:15 e2be974225ed: Download complete 08:58:15 988bab9f4d93: Download complete 08:58:15 1469e6f7b9e6: Verifying Checksum 08:58:15 1469e6f7b9e6: Download complete 08:58:15 eaf3925da568: Verifying Checksum 08:58:15 eaf3925da568: Download complete 08:58:15 339a4e72a1f5: Verifying Checksum 08:58:15 339a4e72a1f5: Download complete 08:58:15 bde34c3a00c8: Verifying Checksum 08:58:15 bde34c3a00c8: Download complete 08:58:15 b85a868b505f: Verifying Checksum 08:58:15 b85a868b505f: Download complete 08:58:15 b352a97aabf1: Download complete 08:58:15 4872d77fe225: Verifying Checksum 08:58:15 4872d77fe225: Download complete 08:58:15 5851b861e8e6: Verifying Checksum 08:58:15 5851b861e8e6: Download complete 08:58:16 bab4dde63d76: Verifying Checksum 08:58:16 bab4dde63d76: Download complete 08:58:17 b85a868b505f: Pull complete 08:58:17 e2be974225ed: Pull complete 08:58:17 339a4e72a1f5: Pull complete 08:58:17 988bab9f4d93: Pull complete 08:58:18 1469e6f7b9e6: Pull complete 08:58:18 eaf3925da568: Pull complete 08:58:20 bab4dde63d76: Pull complete 08:58:20 bde34c3a00c8: Pull complete 08:58:20 b352a97aabf1: Pull complete 08:58:20 4872d77fe225: Pull complete 08:58:20 5851b861e8e6: Pull complete 08:58:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:58:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:20 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 08:58:20 $ 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 08:58:21 $ docker top bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 -eo pid,comm 08:58:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:58:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:58:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:22 [ssh-agent] Looking for ssh-agent implementation... 08:58:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:22 $ docker exec bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 ssh-agent 08:58:22 SSH_AUTH_SOCK=/tmp/ssh-VfiIdl8t6Z2y/agent.32 08:58:22 SSH_AGENT_PID=38 08:58:22 Running ssh-add (command line suppressed) 08:58:22 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3424025769811484141.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3424025769811484141.key) 08:58:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:22 + git tag --points-at HEAD [Pipeline] } 08:58:22 $ docker exec --env ******** --env ******** bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 ssh-agent -k 08:58:22 unset SSH_AUTH_SOCK; 08:58:22 unset SSH_AGENT_PID; 08:58:22 echo Agent pid 38 killed; 08:58:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:58:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:22 [ssh-agent] Looking for ssh-agent implementation... 08:58:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:23 $ docker exec bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 ssh-agent 08:58:23 SSH_AUTH_SOCK=/tmp/ssh-TCuJraXc1b40/agent.70 08:58:23 SSH_AGENT_PID=76 08:58:23 Running ssh-add (command line suppressed) 08:58:23 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_116313655416131711.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_116313655416131711.key) 08:58:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:23 + git semver init 08:58:23 2022-11-03 08:58:23,745 [run_init] DEBUG init version:0.0.0 force:False 08:58:23 2022-11-03 08:58:23,746 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 08:58:23 2022-11-03 08:58:23,747 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 08:58:23 2022-11-03 08:58:23,747 [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) 08:58:25 2022-11-03 08:58:24,816 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 08:58:25 2022-11-03 08:58:24,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 08:58:25 2022-11-03 08:58:24,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:58:25 2022-11-03 08:58:24,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:58:25 2.3.0-dev.18 [Pipeline] } 08:58:25 $ docker exec --env ******** --env ******** bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 ssh-agent -k 08:58:25 unset SSH_AUTH_SOCK; 08:58:25 unset SSH_AGENT_PID; 08:58:25 echo Agent pid 76 killed; 08:58:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:58:25 + git semver [Pipeline] } 08:58:25 $ docker stop --time=1 bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 08:58:27 $ docker rm -f bd4ee50e0884bf7c26d560d0858bcd31973d4a7e1887f9cfaa5a3cba7fa33c37 [Pipeline] // withDockerContainer [Pipeline] sh 08:58:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:58:27 Stashed 1 file(s) [Pipeline] echo 08:58:27 [edgeXSemver]: initialized semver on version 2.3.0-dev.18 [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 08:58:27 provisioning config files... 08:58:27 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config421706635368943139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:58:28 ---> docker-login.sh 08:58:28 nexus3.edgexfoundry.org:10001 08:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:28 Configure a credential helper to remove this warning. See 08:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:28 08:58:28 Login Succeeded 08:58:28 nexus3.edgexfoundry.org:10002 08:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:28 Configure a credential helper to remove this warning. See 08:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:28 08:58:28 Login Succeeded 08:58:28 nexus3.edgexfoundry.org:10003 08:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:28 Configure a credential helper to remove this warning. See 08:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:28 08:58:28 Login Succeeded 08:58:28 nexus3.edgexfoundry.org:10004 08:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:28 Configure a credential helper to remove this warning. See 08:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:28 08:58:28 Login Succeeded 08:58:28 docker.io 08:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:58:28 Configure a credential helper to remove this warning. See 08:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:58:28 08:58:28 Login Succeeded 08:58:28 ---> docker-login.sh ends [Pipeline] } 08:58:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:58:29 ========================================================= 08:58:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:58:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:29 + 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 . 08:58:29 Sending build context to Docker daemon 15.88MB 08:58:29 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 08:58:29 Step 2/12 : FROM ${BASE} AS builder 08:58:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:58:29 213ec9aee27d: Pulling fs layer 08:58:29 4583459ba037: Pulling fs layer 08:58:29 93c1e223e6f2: Pulling fs layer 08:58:29 53926ce57604: Pulling fs layer 08:58:29 21b2b0c7a3f4: Pulling fs layer 08:58:29 22ff95d597cd: Pulling fs layer 08:58:29 12d6caf4c0d1: Pulling fs layer 08:58:29 96b7cbca73a9: Pulling fs layer 08:58:29 a7acece74701: Pulling fs layer 08:58:29 53926ce57604: Waiting 08:58:29 12d6caf4c0d1: Waiting 08:58:29 21b2b0c7a3f4: Waiting 08:58:29 22ff95d597cd: Waiting 08:58:29 96b7cbca73a9: Waiting 08:58:29 a7acece74701: Waiting 08:58:29 93c1e223e6f2: Verifying Checksum 08:58:29 93c1e223e6f2: Download complete 08:58:29 4583459ba037: Verifying Checksum 08:58:29 4583459ba037: Download complete 08:58:29 21b2b0c7a3f4: Download complete 08:58:29 22ff95d597cd: Verifying Checksum 08:58:29 22ff95d597cd: Download complete 08:58:29 213ec9aee27d: Verifying Checksum 08:58:29 213ec9aee27d: Download complete 08:58:29 12d6caf4c0d1: Download complete 08:58:29 213ec9aee27d: Pull complete 08:58:29 4583459ba037: Pull complete 08:58:29 93c1e223e6f2: Pull complete 08:58:30 53926ce57604: Verifying Checksum 08:58:30 53926ce57604: Download complete 08:58:30 a7acece74701: Verifying Checksum 08:58:30 a7acece74701: Download complete 08:58:30 96b7cbca73a9: Verifying Checksum 08:58:30 96b7cbca73a9: Download complete 08:58:34 53926ce57604: Pull complete 08:58:34 21b2b0c7a3f4: Pull complete 08:58:34 22ff95d597cd: Pull complete 08:58:34 12d6caf4c0d1: Pull complete 08:58:36 96b7cbca73a9: Pull complete 08:58:37 a7acece74701: Pull complete 08:58:37 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:58:37 ---> db6d94c90886 08:58:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:58:39 ---> Running in db50bd4ba182 08:58:39 Removing intermediate container db50bd4ba182 08:58:39 ---> 2b16710b2d51 08:58:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:58:39 ---> Running in bf1dea50c425 08:58:39 Removing intermediate container bf1dea50c425 08:58:39 ---> 824db6f9c1f3 08:58:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:58:39 ---> Running in aaa21295c246 08:58:39 Removing intermediate container aaa21295c246 08:58:39 ---> bb4607d7ec3a 08:58:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:58:39 ---> Running in d7396430930d 08:58:39 Removing intermediate container d7396430930d 08:58:39 ---> 164ca3051a6b 08:58:39 Step 7/12 : WORKDIR /device-gpio 08:58:39 ---> Running in 333de38ae8de 08:58:40 Removing intermediate container 333de38ae8de 08:58:40 ---> c89521bbf981 08:58:40 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:58:40 ---> Running in fee25d79524f 08:58:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:58:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:58:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:58:40 (2/4) Installing libedit (20210910.3.1-r0) 08:58:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:58:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:58:40 Executing busybox-1.35.0-r17.trigger 08:58:40 OK: 216 MiB in 55 packages 08:58:41 Removing intermediate container fee25d79524f 08:58:41 ---> e025e91fe9a0 08:58:41 Step 9/12 : COPY go.mod vendor* ./ 08:58:41 ---> e84f6caf355b 08:58:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:58:41 ---> Running in a86c105cb333 08:58:42 Still waiting to schedule task 08:58:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:58:59 Removing intermediate container a86c105cb333 08:58:59 ---> 90ef46aa2276 08:58:59 Step 11/12 : COPY . . 08:58:59 ---> 5764ea450829 08:58:59 Step 12/12 : RUN ${MAKE} 08:58:59 ---> Running in 6cd53d197e23 08:58:59 noop 08:58:59 Removing intermediate container 6cd53d197e23 08:58:59 ---> c636eada73d0 08:58:59 Successfully built c636eada73d0 08:58:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:59 + docker inspect -f . ci-base-image-x86_64 08:58:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:59 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 08:58:59 $ 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 08:59:00 $ docker top 12dd83c85e441c04301cc4deb7eb19531eeb0c99de78ad417fd9c0665e9cc7da -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:00 + go version 08:59:00 go version go1.18.7 linux/amd64 [Pipeline] } 08:59:00 $ docker stop --time=1 12dd83c85e441c04301cc4deb7eb19531eeb0c99de78ad417fd9c0665e9cc7da 08:59:01 $ docker rm -f 12dd83c85e441c04301cc4deb7eb19531eeb0c99de78ad417fd9c0665e9cc7da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:02 + docker inspect -f . ci-base-image-x86_64 08:59:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:02 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 08:59:02 $ 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 08:59:02 $ docker top 4d43b41aac1cce40a1e1c5cc0fd8b529da295300c86a934d504a0b8a18cae8b8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 08:59:03 + make test 08:59:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:59:03 ? github.com/edgexfoundry/device-gpio [no test files] 08:59:13 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:59:13 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:59:18 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." 08:59:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:59:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:59:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:59:22 ./bin/test-attribution-txt.sh [Pipeline] echo 08:59:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:59:22 $ docker stop --time=1 4d43b41aac1cce40a1e1c5cc0fd8b529da295300c86a934d504a0b8a18cae8b8 08:59:23 $ docker rm -f 4d43b41aac1cce40a1e1c5cc0fd8b529da295300c86a934d504a0b8a18cae8b8 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:59:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:59:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:59:25 + ls -al . 08:59:25 total 172 08:59:25 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 08:59 . 08:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 08:58 .. 08:59:25 -rw-rw-r-- 1 jenkins jenkins 120 Nov 3 08:58 .dockerignore 08:59:25 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 08:59 .git 08:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 08:58 .github 08:59:25 -rw-rw-r-- 1 jenkins jenkins 343 Nov 3 08:58 .gitignore 08:59:25 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 08:58 .golangci.yml 08:59:25 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 08:58 .semver 08:59:25 -rw-rw-r-- 1 jenkins jenkins 9691 Nov 3 08:58 Attribution.txt 08:59:25 -rw-rw-r-- 1 jenkins jenkins 4069 Nov 3 08:58 CHANGELOG.md 08:59:25 -rw-rw-r-- 1 jenkins jenkins 1604 Nov 3 08:58 Dockerfile 08:59:25 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 08:58 GOVERNANCE.md 08:59:25 -rw-rw-r-- 1 jenkins jenkins 657 Nov 3 08:58 Jenkinsfile 08:59:25 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 08:58 LICENSE 08:59:25 -rw-rw-r-- 1 jenkins jenkins 2085 Nov 3 08:58 Makefile 08:59:25 -rw-rw-r-- 1 jenkins jenkins 617 Nov 3 08:58 OWNERS.md 08:59:25 -rw-rw-r-- 1 jenkins jenkins 11842 Nov 3 08:58 README.md 08:59:25 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 08:58 VERSION 08:59:25 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 08:58 bin 08:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 08:58 cmd 08:59:25 -rw-r--r-- 1 jenkins jenkins 10 Nov 3 08:59 coverage.out 08:59:25 -rw-rw-r-- 1 jenkins jenkins 3448 Nov 3 08:58 go.mod 08:59:25 -rw-rw-r-- 1 jenkins jenkins 45075 Nov 3 08:58 go.sum 08:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 08:58 internal 08:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 08:58 snap 08:59:25 -rw-rw-r-- 1 jenkins jenkins 209 Nov 3 08:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:25 + 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=6a3ce9ed1f526325ddb5567e419735729c86c620 --label arch=amd64 --label version=2.3.0-dev.18 . 08:59:25 Sending build context to Docker daemon 15.88MB 08:59:25 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:59:25 Step 2/25 : FROM ${BASE} AS builder 08:59:25 ---> c636eada73d0 08:59:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 08:59:25 ---> Running in dbb2203d6afb 08:59:25 Removing intermediate container dbb2203d6afb 08:59:25 ---> 36e043cd26ea 08:59:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:59:25 ---> Running in 724b6de2d0e8 08:59:25 Removing intermediate container 724b6de2d0e8 08:59:25 ---> cf68e49b3f27 08:59:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:59:25 ---> Running in 72bdf2c207d3 08:59:25 Removing intermediate container 72bdf2c207d3 08:59:25 ---> 18b48d0e7067 08:59:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 08:59:25 ---> Running in bb1d0f575986 08:59:25 Removing intermediate container bb1d0f575986 08:59:25 ---> 780e8e3d1029 08:59:25 Step 7/25 : WORKDIR /device-gpio 08:59:26 ---> Running in 93b8adde88f3 08:59:26 Removing intermediate container 93b8adde88f3 08:59:26 ---> 3b71855a2e35 08:59:26 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:59:26 ---> Running in 8469215618b2 08:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:59:26 OK: 216 MiB in 55 packages 08:59:26 Removing intermediate container 8469215618b2 08:59:26 ---> 562287ca3a2c 08:59:26 Step 9/25 : COPY go.mod vendor* ./ 08:59:27 ---> 12e861bf74f6 08:59:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:59:27 ---> Running in 7df4043ce09d 08:59:28 Removing intermediate container 7df4043ce09d 08:59:28 ---> f9c0af2880c9 08:59:28 Step 11/25 : COPY . . 08:59:28 ---> 63fcd16cf955 08:59:28 Step 12/25 : RUN ${MAKE} 08:59:28 ---> Running in f42875448d53 08:59:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 08:59:50 Removing intermediate container f42875448d53 08:59:50 ---> f1189bf79b45 08:59:50 Step 13/25 : FROM alpine:3.16 08:59:50 3.16: Pulling from library/alpine 08:59:50 213ec9aee27d: Already exists 08:59:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:59:50 Status: Downloaded newer image for alpine:3.16 08:59:50 ---> 9c6f07244728 08:59:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:59:50 ---> Running in 23edbdd54cac 08:59:50 Removing intermediate container 23edbdd54cac 08:59:50 ---> ee4e8da2254a 08:59:50 Step 15/25 : RUN apk add --update --no-cache zeromq 08:59:50 ---> Running in d254d74ac652 08:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:59:50 (1/5) Installing libgcc (11.2.1_git20220219-r2) 08:59:50 (2/5) Installing libsodium (1.0.18-r0) 08:59:50 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 08:59:50 (4/5) Installing libzmq (4.3.4-r0) 08:59:50 (5/5) Installing zeromq (4.3.4-r0) 08:59:50 Executing busybox-1.35.0-r17.trigger 08:59:50 OK: 8 MiB in 19 packages 08:59:50 Removing intermediate container d254d74ac652 08:59:50 ---> ec9231a03e6a 08:59:50 Step 16/25 : WORKDIR / 08:59:50 ---> Running in fbae510eb316 08:59:50 Removing intermediate container fbae510eb316 08:59:50 ---> 59f8f682b2b9 08:59:50 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 08:59:51 ---> ca2033273cc9 08:59:51 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 08:59:51 ---> 0f6f0b98fac4 08:59:51 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 08:59:51 ---> e053a2264f1b 08:59:51 Step 20/25 : EXPOSE 59910 08:59:51 ---> Running in 756e83d432a4 08:59:51 Removing intermediate container 756e83d432a4 08:59:51 ---> ca3cfbd7c3a0 08:59:51 Step 21/25 : ENTRYPOINT ["/device-gpio"] 08:59:52 ---> Running in 317124c33cb3 08:59:52 Removing intermediate container 317124c33cb3 08:59:52 ---> aa224fc1569a 08:59:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:59:52 ---> Running in cce9323efb80 08:59:52 Removing intermediate container cce9323efb80 08:59:52 ---> f1227b510477 08:59:52 Step 23/25 : LABEL arch=amd64 08:59:52 ---> Running in 042d10af6ede 08:59:52 Removing intermediate container 042d10af6ede 08:59:52 ---> 80dc311e3ad3 08:59:52 Step 24/25 : LABEL git_sha=6a3ce9ed1f526325ddb5567e419735729c86c620 08:59:52 ---> Running in be3f9a7c0e3b 08:59:52 Removing intermediate container be3f9a7c0e3b 08:59:52 ---> 989d97befe48 08:59:52 Step 25/25 : LABEL version=2.3.0-dev.18 08:59:52 ---> Running in a27e366a4c8a 08:59:52 Removing intermediate container a27e366a4c8a 08:59:52 ---> 870322c1aead 08:59:52 [Warning] One or more build-args [ARCH] were not consumed 08:59:52 Successfully built 870322c1aead 08:59:52 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:52 provisioning config files... 08:59:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config945972892285263172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:53 ---> docker-login.sh 08:59:53 nexus3.edgexfoundry.org:10001 08:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:53 Configure a credential helper to remove this warning. See 08:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:53 08:59:53 Login Succeeded 08:59:53 nexus3.edgexfoundry.org:10002 08:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:53 Configure a credential helper to remove this warning. See 08:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:53 08:59:53 Login Succeeded 08:59:53 nexus3.edgexfoundry.org:10003 08:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:53 Configure a credential helper to remove this warning. See 08:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:53 08:59:53 Login Succeeded 08:59:53 nexus3.edgexfoundry.org:10004 08:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:53 Configure a credential helper to remove this warning. See 08:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:53 08:59:53 Login Succeeded 08:59:53 docker.io 08:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:53 Configure a credential helper to remove this warning. See 08:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:53 08:59:53 Login Succeeded 08:59:53 ---> docker-login.sh ends [Pipeline] } 08:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:59:53 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 08:59:53 6a3ce9ed1f526325ddb5567e419735729c86c620 08:59:53 latest 08:59:53 2.3.0-dev.18 08:59:53 6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 08:59:53 main 08:59:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:54 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:54 + docker push nexus3.edgexfoundry.org:10004/device-gpio:6a3ce9ed1f526325ddb5567e419735729c86c620 08:59:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:59:54 379788bba9cf: Preparing 08:59:54 35eeb1917781: Preparing 08:59:54 37882a427c41: Preparing 08:59:54 6f2c102baacd: Preparing 08:59:54 994393dc58e7: Preparing 08:59:54 994393dc58e7: Layer already exists 08:59:54 37882a427c41: Pushed 08:59:54 35eeb1917781: Pushed 08:59:54 6f2c102baacd: Pushed 08:59:57 379788bba9cf: Pushed 08:59:57 6a3ce9ed1f526325ddb5567e419735729c86c620: digest: sha256:ff8c25c3c44eb0e85c25ed52d9698c049a5e9b06ed13c16bd1dca53a18bb7916 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:57 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:57 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 08:59:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:59:57 379788bba9cf: Preparing 08:59:57 35eeb1917781: Preparing 08:59:57 37882a427c41: Preparing 08:59:57 6f2c102baacd: Preparing 08:59:57 994393dc58e7: Preparing 08:59:57 35eeb1917781: Layer already exists 08:59:57 994393dc58e7: Layer already exists 08:59:57 379788bba9cf: Layer already exists 08:59:57 37882a427c41: Layer already exists 08:59:57 6f2c102baacd: Layer already exists 08:59:57 latest: digest: sha256:ff8c25c3c44eb0e85c25ed52d9698c049a5e9b06ed13c16bd1dca53a18bb7916 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:58 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:58 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.18 08:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:59:58 379788bba9cf: Preparing 08:59:58 35eeb1917781: Preparing 08:59:58 37882a427c41: Preparing 08:59:58 6f2c102baacd: Preparing 08:59:58 994393dc58e7: Preparing 08:59:58 994393dc58e7: Layer already exists 08:59:58 37882a427c41: Layer already exists 08:59:58 6f2c102baacd: Layer already exists 08:59:58 35eeb1917781: Layer already exists 08:59:58 379788bba9cf: Layer already exists 08:59:58 2.3.0-dev.18: digest: sha256:ff8c25c3c44eb0e85c25ed52d9698c049a5e9b06ed13c16bd1dca53a18bb7916 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:58 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:59 + docker push nexus3.edgexfoundry.org:10004/device-gpio:6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 08:59:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:59:59 379788bba9cf: Preparing 08:59:59 35eeb1917781: Preparing 08:59:59 37882a427c41: Preparing 08:59:59 6f2c102baacd: Preparing 08:59:59 994393dc58e7: Preparing 08:59:59 37882a427c41: Layer already exists 08:59:59 379788bba9cf: Layer already exists 08:59:59 994393dc58e7: Layer already exists 08:59:59 6f2c102baacd: Layer already exists 08:59:59 35eeb1917781: Layer already exists 08:59:59 6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18: digest: sha256:ff8c25c3c44eb0e85c25ed52d9698c049a5e9b06ed13c16bd1dca53a18bb7916 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:59 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:59 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 08:59:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 08:59:59 379788bba9cf: Preparing 08:59:59 35eeb1917781: Preparing 08:59:59 37882a427c41: Preparing 08:59:59 6f2c102baacd: Preparing 08:59:59 994393dc58e7: Preparing 08:59:59 35eeb1917781: Layer already exists 08:59:59 6f2c102baacd: Layer already exists 08:59:59 379788bba9cf: Layer already exists 08:59:59 37882a427c41: Layer already exists 08:59:59 994393dc58e7: Layer already exists 08:59:59 main: digest: sha256:ff8c25c3c44eb0e85c25ed52d9698c049a5e9b06ed13c16bd1dca53a18bb7916 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:59:59 ===================================================== [Pipeline] echo 08:59:59 taggedImages: 08:59:59 - nexus3.edgexfoundry.org:10004/device-gpio:6a3ce9ed1f526325ddb5567e419735729c86c620 08:59:59 - nexus3.edgexfoundry.org:10004/device-gpio:latest 08:59:59 - nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.18 08:59:59 - nexus3.edgexfoundry.org:10004/device-gpio:6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 08:59:59 - 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 09:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:00 09:00:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:00 latest: Pulling from edgex-lftools-log-publisher 09:00:00 5eb5b503b376: Pulling fs layer 09:00:00 5c69ac0246d0: Pulling fs layer 09:00:00 ec43610c2a17: Pulling fs layer 09:00:00 3a2ae6a8a46f: Pulling fs layer 09:00:00 33b1e0a273af: Pulling fs layer 09:00:00 5d3b04190fa2: Pulling fs layer 09:00:00 2f39f015ded8: Pulling fs layer 09:00:00 3a2ae6a8a46f: Waiting 09:00:00 33b1e0a273af: Waiting 09:00:00 5d3b04190fa2: Waiting 09:00:00 5c69ac0246d0: Verifying Checksum 09:00:00 5c69ac0246d0: Download complete 09:00:00 3a2ae6a8a46f: Verifying Checksum 09:00:00 3a2ae6a8a46f: Download complete 09:00:00 33b1e0a273af: Verifying Checksum 09:00:00 33b1e0a273af: Download complete 09:00:00 5d3b04190fa2: Verifying Checksum 09:00:00 5d3b04190fa2: Download complete 09:00:00 ec43610c2a17: Verifying Checksum 09:00:00 ec43610c2a17: Download complete 09:00:00 5eb5b503b376: Download complete 09:00:01 2f39f015ded8: Download complete 09:00:01 5eb5b503b376: Pull complete 09:00:02 5c69ac0246d0: Pull complete 09:00:02 ec43610c2a17: Pull complete 09:00:02 3a2ae6a8a46f: Pull complete 09:00:02 33b1e0a273af: Pull complete 09:00:02 5d3b04190fa2: Pull complete 09:00:07 2f39f015ded8: Pull complete 09:00:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:00:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:07 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:00:07 $ 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 09:00:08 $ docker top 4ba4e3fc4e888ae7832fcb27a1ba477ed4b283e4028206ab9bbfc4ad1961a426 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:09 ---> job-cost.sh 09:00:09 lf-activate-venv: SKIPPING 09:00:09 INFO: No Stack... 09:00:09 INFO: Retrieving Pricing Info for: v3-standard-8 09:00:10 INFO: Archiving Costs [Pipeline] sh 09:00:10 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 09:00:10 + cut -d, -f6 [Pipeline] lock 09:00:10 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] 09:00:10 Resource [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] did not exist. Created. 09:00:10 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:00:10 + echo total: 0.2199999988079071 [Pipeline] stash 09:00:10 Stashed 1 file(s) [Pipeline] } 09:00:10 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 09:00:10 $ docker stop --time=1 4ba4e3fc4e888ae7832fcb27a1ba477ed4b283e4028206ab9bbfc4ad1961a426 09:00:11 $ docker rm -f 4ba4e3fc4e888ae7832fcb27a1ba477ed4b283e4028206ab9bbfc4ad1961a426 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:00:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118081 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 09:00:16 Running in /w/workspace/device-gpio/48 [Pipeline] { [Pipeline] checkout 09:00:16 The recommended git tool is: git 09:00:21 using credential edgex-jenkins-ssh 09:00:21 Cloning the remote Git repository 09:00:21 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:00:21 > git init /w/workspace/device-gpio/48 # timeout=10 09:00:21 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:00:21 > git --version # timeout=10 09:00:21 > git --version # 'git version 2.25.1' 09:00:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:21 Verifying host key using known hosts file 09:00:21 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. 09:00:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:23 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:00:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:24 Avoid second fetch 09:00:24 Checking out Revision 6a3ce9ed1f526325ddb5567e419735729c86c620 (main) 09:00:24 Commit message: "Merge pull request #65 from lenny-intel/levski-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:00:24 > git config core.sparsecheckout # timeout=10 09:00:24 > git checkout -f 6a3ce9ed1f526325ddb5567e419735729c86c620 # timeout=10 09:00:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:00:25 % Total % Received % Xferd Average Speed Time Time Time Current 09:00:25 Dload Upload Total Spent Left Speed 09:00:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 83456 [Pipeline] sh 09:00:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:00:26 + sudo tee /etc/docker/daemon.new 09:00:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:00:26 { 09:00:26 "registry-mirrors": [ 09:00:26 "https://nexus3.edgexfoundry.org:10001" 09:00:26 ], 09:00:26 "bip": "10.250.0.254/24", 09:00:26 "hosts": [ 09:00:26 "tcp://0.0.0.0:5555", 09:00:26 "unix:///var/run/docker.sock" 09:00:26 ], 09:00:26 "mtu": 1458, 09:00:26 "selinux-enabled": true, 09:00:26 "seccomp-profile": "/etc/docker/seccomp.json" 09:00:26 } [Pipeline] sh 09:00:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:00:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:00:45 provisioning config files... 09:00:45 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/48@tmp/config16152289033307454793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:45 ---> docker-login.sh 09:00:45 nexus3.edgexfoundry.org:10001 09:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:46 Configure a credential helper to remove this warning. See 09:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:46 09:00:46 Login Succeeded 09:00:46 nexus3.edgexfoundry.org:10002 09:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:46 Configure a credential helper to remove this warning. See 09:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:46 09:00:46 Login Succeeded 09:00:46 nexus3.edgexfoundry.org:10003 09:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:47 Configure a credential helper to remove this warning. See 09:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:47 09:00:47 Login Succeeded 09:00:47 nexus3.edgexfoundry.org:10004 09:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:47 Configure a credential helper to remove this warning. See 09:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:47 09:00:47 Login Succeeded 09:00:47 docker.io 09:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:47 Configure a credential helper to remove this warning. See 09:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:47 09:00:47 Login Succeeded 09:00:48 ---> docker-login.sh ends [Pipeline] } 09:00:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:00:48 ========================================================= 09:00:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:00:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:48 + 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 . 09:00:48 Sending build context to Docker daemon 8.009MB 09:00:48 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:00:48 Step 2/12 : FROM ${BASE} AS builder 09:00:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:00:49 9b18e9b68314: Pulling fs layer 09:00:49 35d82f9e3411: Pulling fs layer 09:00:49 e16973657156: Pulling fs layer 09:00:49 fc693d55d65f: Pulling fs layer 09:00:49 7e9fc2657dce: Pulling fs layer 09:00:49 dda99020689f: Pulling fs layer 09:00:49 db1c61fa0a46: Pulling fs layer 09:00:49 891c053d2c06: Pulling fs layer 09:00:49 fc693d55d65f: Waiting 09:00:49 dda99020689f: Waiting 09:00:49 db1c61fa0a46: Waiting 09:00:49 891c053d2c06: Waiting 09:00:49 7e9fc2657dce: Waiting 09:00:49 e16973657156: Verifying Checksum 09:00:49 e16973657156: Download complete 09:00:49 35d82f9e3411: Verifying Checksum 09:00:49 35d82f9e3411: Download complete 09:00:49 7e9fc2657dce: Verifying Checksum 09:00:49 7e9fc2657dce: Download complete 09:00:49 dda99020689f: Verifying Checksum 09:00:49 dda99020689f: Download complete 09:00:49 9b18e9b68314: Verifying Checksum 09:00:49 9b18e9b68314: Download complete 09:00:50 9b18e9b68314: Pull complete 09:00:50 891c053d2c06: Verifying Checksum 09:00:50 891c053d2c06: Download complete 09:00:50 35d82f9e3411: Pull complete 09:00:51 e16973657156: Pull complete 09:00:51 db1c61fa0a46: Verifying Checksum 09:00:51 db1c61fa0a46: Download complete 09:00:52 fc693d55d65f: Verifying Checksum 09:00:52 fc693d55d65f: Download complete 09:01:04 fc693d55d65f: Pull complete 09:01:04 7e9fc2657dce: Pull complete 09:01:04 dda99020689f: Pull complete 09:01:09 db1c61fa0a46: Pull complete 09:01:12 891c053d2c06: Pull complete 09:01:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:01:12 ---> f96f9c87975a 09:01:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:01:14 ---> Running in f24c26ed4a9e 09:01:14 Removing intermediate container f24c26ed4a9e 09:01:14 ---> e549bbdace01 09:01:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:01:14 ---> Running in ab50601b34d6 09:01:15 Removing intermediate container ab50601b34d6 09:01:15 ---> 48807ef7ecb5 09:01:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:01:15 ---> Running in a5635c391f4b 09:01:15 Removing intermediate container a5635c391f4b 09:01:15 ---> 06c9053b1e79 09:01:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:01:15 ---> Running in b5b743734251 09:01:15 Removing intermediate container b5b743734251 09:01:15 ---> 1a7cd65282d0 09:01:15 Step 7/12 : WORKDIR /device-gpio 09:01:16 ---> Running in 439147652e9a 09:01:16 Removing intermediate container 439147652e9a 09:01:16 ---> 04affee88081 09:01:16 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:01:16 ---> Running in 47b6690f9318 09:01:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:01:19 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:01:19 (2/4) Installing libedit (20210910.3.1-r0) 09:01:19 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:01:19 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:01:19 Executing busybox-1.35.0-r17.trigger 09:01:19 OK: 226 MiB in 55 packages 09:01:20 Removing intermediate container 47b6690f9318 09:01:20 ---> f26ee522f5f2 09:01:20 Step 9/12 : COPY go.mod vendor* ./ 09:01:20 ---> 909fbb7123f0 09:01:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:01:20 ---> Running in df5a30e6126b 09:02:17 Removing intermediate container df5a30e6126b 09:02:17 ---> 8a287e4e0e07 09:02:17 Step 11/12 : COPY . . 09:02:17 ---> 472c81571a4e 09:02:17 Step 12/12 : RUN ${MAKE} 09:02:17 ---> Running in 84eef9c79c06 09:02:17 noop 09:02:17 Removing intermediate container 84eef9c79c06 09:02:17 ---> ad3fa05b38cb 09:02:17 Successfully built ad3fa05b38cb 09:02:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:17 + docker inspect -f . ci-base-image-arm64 09:02:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:17 prd-ubuntu20.04-docker-arm64-4c-16g-118081 does not seem to be running inside a container 09:02:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/48 -v /w/workspace/device-gpio/48:/w/workspace/device-gpio/48:rw,z -v /w/workspace/device-gpio/48@tmp:/w/workspace/device-gpio/48@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 09:02:19 $ docker top 0a82d92b0396e3c72161f55980b1df23471954490a8bd129fe0b09b0e3eb7e97 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:19 + go version 09:02:19 go version go1.18.7 linux/arm64 [Pipeline] } 09:02:19 $ docker stop --time=1 0a82d92b0396e3c72161f55980b1df23471954490a8bd129fe0b09b0e3eb7e97 09:02:21 $ docker rm -f 0a82d92b0396e3c72161f55980b1df23471954490a8bd129fe0b09b0e3eb7e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:22 + docker inspect -f . ci-base-image-arm64 09:02:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:22 prd-ubuntu20.04-docker-arm64-4c-16g-118081 does not seem to be running inside a container 09:02:22 $ 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/48 -v /w/workspace/device-gpio/48:/w/workspace/device-gpio/48:rw,z -v /w/workspace/device-gpio/48@tmp:/w/workspace/device-gpio/48@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 09:02:23 $ docker top b096df73d291a5c9ca8ce8ad77140c2a57476e84eb9b65fef992901bfd6fbdfe -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:23 + git config --global --add safe.directory /w/workspace/device-gpio/48 [Pipeline] fileExists [Pipeline] sh 09:02:24 + make test 09:02:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:02:26 ? github.com/edgexfoundry/device-gpio [no test files] 09:03:47 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:03:47 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:03:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:03:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:04:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:04:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:04:06 ./bin/test-attribution-txt.sh [Pipeline] echo 09:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:04:06 $ docker stop --time=1 b096df73d291a5c9ca8ce8ad77140c2a57476e84eb9b65fef992901bfd6fbdfe 09:04:07 $ docker rm -f b096df73d291a5c9ca8ce8ad77140c2a57476e84eb9b65fef992901bfd6fbdfe [Pipeline] // withDockerContainer [Pipeline] sh 09:04:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:04:08 Warning: overwriting stash ‘coverage-report’ 09:04:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:04:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:09 + ls -al . 09:04:09 total 168 09:04:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:02 . 09:04:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:00 .. 09:04:09 -rw-rw-r-- 1 jenkins jenkins 120 Nov 3 09:00 .dockerignore 09:04:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:00 .git 09:04:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:00 .github 09:04:09 -rw-rw-r-- 1 jenkins jenkins 343 Nov 3 09:00 .gitignore 09:04:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:00 .golangci.yml 09:04:09 -rw-rw-r-- 1 jenkins jenkins 9691 Nov 3 09:00 Attribution.txt 09:04:09 -rw-rw-r-- 1 jenkins jenkins 4069 Nov 3 09:00 CHANGELOG.md 09:04:09 -rw-rw-r-- 1 jenkins jenkins 1604 Nov 3 09:00 Dockerfile 09:04:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:00 GOVERNANCE.md 09:04:09 -rw-rw-r-- 1 jenkins jenkins 657 Nov 3 09:00 Jenkinsfile 09:04:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:00 LICENSE 09:04:09 -rw-rw-r-- 1 jenkins jenkins 2085 Nov 3 09:00 Makefile 09:04:09 -rw-rw-r-- 1 jenkins jenkins 617 Nov 3 09:00 OWNERS.md 09:04:09 -rw-rw-r-- 1 jenkins jenkins 11842 Nov 3 09:00 README.md 09:04:09 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 08:58 VERSION 09:04:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:00 bin 09:04:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:00 cmd 09:04:09 -rw-r--r-- 1 jenkins jenkins 10 Nov 3 09:02 coverage.out 09:04:09 -rw-rw-r-- 1 jenkins jenkins 3448 Nov 3 09:00 go.mod 09:04:09 -rw-rw-r-- 1 jenkins jenkins 45075 Nov 3 09:00 go.sum 09:04:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:00 internal 09:04:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:00 snap 09:04:09 -rw-rw-r-- 1 jenkins jenkins 209 Nov 3 09:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:10 + 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=6a3ce9ed1f526325ddb5567e419735729c86c620 --label arch=arm64 --label version=2.3.0-dev.18 . 09:04:10 Sending build context to Docker daemon 8.01MB 09:04:10 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:04:10 Step 2/25 : FROM ${BASE} AS builder 09:04:10 ---> ad3fa05b38cb 09:04:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:04:10 ---> Running in 4a0d569b0b42 09:04:11 Removing intermediate container 4a0d569b0b42 09:04:11 ---> b24aecbbbadb 09:04:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:04:11 ---> Running in 6823672b7140 09:04:11 Removing intermediate container 6823672b7140 09:04:11 ---> 0dd043a68d10 09:04:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:04:11 ---> Running in 39f908804251 09:04:11 Removing intermediate container 39f908804251 09:04:11 ---> c2d32917e6c1 09:04:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:04:11 ---> Running in a0bd85bb11b1 09:04:11 Removing intermediate container a0bd85bb11b1 09:04:11 ---> 8ffd4004b3e8 09:04:11 Step 7/25 : WORKDIR /device-gpio 09:04:12 ---> Running in 61dbdc1fd1b1 09:04:12 Removing intermediate container 61dbdc1fd1b1 09:04:12 ---> 184053cf661b 09:04:12 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:04:12 ---> Running in 142cb0f8dcb1 09:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:04:14 OK: 226 MiB in 55 packages 09:04:15 Removing intermediate container 142cb0f8dcb1 09:04:15 ---> 70566ef7af99 09:04:15 Step 9/25 : COPY go.mod vendor* ./ 09:04:15 ---> 2b31c3667119 09:04:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:04:15 ---> Running in a93d033607a9 09:04:17 Removing intermediate container a93d033607a9 09:04:17 ---> bb98a760af19 09:04:17 Step 11/25 : COPY . . 09:04:18 ---> 9258cfdd751f 09:04:18 Step 12/25 : RUN ${MAKE} 09:04:18 ---> Running in 15162e1a4a67 09:04:19 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 09:06:57 Removing intermediate container 15162e1a4a67 09:06:57 ---> 786adf51578c 09:06:57 Step 13/25 : FROM alpine:3.16 09:06:57 3.16: Pulling from library/alpine 09:06:57 9b18e9b68314: Already exists 09:06:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:06:57 Status: Downloaded newer image for alpine:3.16 09:06:57 ---> a6215f271958 09:06:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:06:57 ---> Running in cc9db326947d 09:06:57 Removing intermediate container cc9db326947d 09:06:57 ---> b046a11d1fb2 09:06:57 Step 15/25 : RUN apk add --update --no-cache zeromq 09:06:57 ---> Running in c0996f226580 09:06:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:06:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:06:57 (1/5) Installing libgcc (11.2.1_git20220219-r2) 09:06:57 (2/5) Installing libsodium (1.0.18-r0) 09:06:57 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 09:06:57 (4/5) Installing libzmq (4.3.4-r0) 09:06:57 (5/5) Installing zeromq (4.3.4-r0) 09:06:57 Executing busybox-1.35.0-r17.trigger 09:06:57 OK: 8 MiB in 19 packages 09:06:57 Removing intermediate container c0996f226580 09:06:57 ---> 3b350a94b5b1 09:06:57 Step 16/25 : WORKDIR / 09:06:57 ---> Running in c6db11ef5215 09:06:57 Removing intermediate container c6db11ef5215 09:06:57 ---> 5ac4ee964929 09:06:57 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:06:57 ---> 61fdc0478487 09:06:57 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:06:57 ---> d90edb4ff494 09:06:57 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:06:57 ---> e302a971851f 09:06:57 Step 20/25 : EXPOSE 59910 09:06:57 ---> Running in efddde1b4868 09:06:57 Removing intermediate container efddde1b4868 09:06:57 ---> 81b6e24a068c 09:06:57 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:06:57 ---> Running in f73bba0e5106 09:06:57 Removing intermediate container f73bba0e5106 09:06:57 ---> af64b14b8802 09:06:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:06:57 ---> Running in a6b0c67c0275 09:06:57 Removing intermediate container a6b0c67c0275 09:06:57 ---> 4d7839f873d1 09:06:57 Step 23/25 : LABEL arch=arm64 09:06:57 ---> Running in 362fbed55cbf 09:06:57 Removing intermediate container 362fbed55cbf 09:06:57 ---> 2cc0641285e2 09:06:57 Step 24/25 : LABEL git_sha=6a3ce9ed1f526325ddb5567e419735729c86c620 09:06:57 ---> Running in 4b31533bc1ee 09:06:57 Removing intermediate container 4b31533bc1ee 09:06:57 ---> 374a9962915c 09:06:57 Step 25/25 : LABEL version=2.3.0-dev.18 09:06:57 ---> Running in e5a26bff9621 09:06:57 Removing intermediate container e5a26bff9621 09:06:57 ---> e043919e8cec 09:06:57 [Warning] One or more build-args [ARCH] were not consumed 09:06:57 Successfully built e043919e8cec 09:06:57 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 09:06:57 provisioning config files... 09:06:57 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/48@tmp/config723514883894223074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:57 ---> docker-login.sh 09:06:57 nexus3.edgexfoundry.org:10001 09:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:58 Configure a credential helper to remove this warning. See 09:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:58 09:06:58 Login Succeeded 09:06:58 nexus3.edgexfoundry.org:10002 09:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:58 Configure a credential helper to remove this warning. See 09:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:58 09:06:58 Login Succeeded 09:06:58 nexus3.edgexfoundry.org:10003 09:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:58 Configure a credential helper to remove this warning. See 09:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:58 09:06:58 Login Succeeded 09:06:58 nexus3.edgexfoundry.org:10004 09:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:59 Configure a credential helper to remove this warning. See 09:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:59 09:06:59 Login Succeeded 09:06:59 docker.io 09:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:59 Configure a credential helper to remove this warning. See 09:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:59 09:06:59 Login Succeeded 09:06:59 ---> docker-login.sh ends [Pipeline] } 09:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:06:59 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 09:06:59 6a3ce9ed1f526325ddb5567e419735729c86c620 09:06:59 latest 09:06:59 2.3.0-dev.18 09:06:59 6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 09:06:59 main 09:06:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:00 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:6a3ce9ed1f526325ddb5567e419735729c86c620 09:07:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:07:00 16f2d19db0e1: Preparing 09:07:00 92ac5b690fe5: Preparing 09:07:00 4c69f64175e5: Preparing 09:07:00 c69ba1dc2965: Preparing 09:07:00 5d3e392a13a0: Preparing 09:07:00 5d3e392a13a0: Layer already exists 09:07:00 4c69f64175e5: Pushed 09:07:00 92ac5b690fe5: Pushed 09:07:01 c69ba1dc2965: Pushed 09:07:06 16f2d19db0e1: Pushed 09:07:06 6a3ce9ed1f526325ddb5567e419735729c86c620: digest: sha256:a2dc741bfba62583fac2b8a73fa9b44ff4f04b180c082326a71fbdc91eb5a40e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:06 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:07 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 09:07:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:07:07 16f2d19db0e1: Preparing 09:07:07 92ac5b690fe5: Preparing 09:07:07 4c69f64175e5: Preparing 09:07:07 c69ba1dc2965: Preparing 09:07:07 5d3e392a13a0: Preparing 09:07:07 92ac5b690fe5: Layer already exists 09:07:07 c69ba1dc2965: Layer already exists 09:07:07 16f2d19db0e1: Layer already exists 09:07:07 5d3e392a13a0: Layer already exists 09:07:07 4c69f64175e5: Layer already exists 09:07:07 latest: digest: sha256:a2dc741bfba62583fac2b8a73fa9b44ff4f04b180c082326a71fbdc91eb5a40e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:07 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:08 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.18 09:07:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:07:08 16f2d19db0e1: Preparing 09:07:08 92ac5b690fe5: Preparing 09:07:08 4c69f64175e5: Preparing 09:07:08 c69ba1dc2965: Preparing 09:07:08 5d3e392a13a0: Preparing 09:07:08 16f2d19db0e1: Layer already exists 09:07:08 5d3e392a13a0: Layer already exists 09:07:08 4c69f64175e5: Layer already exists 09:07:08 c69ba1dc2965: Layer already exists 09:07:08 92ac5b690fe5: Layer already exists 09:07:08 2.3.0-dev.18: digest: sha256:a2dc741bfba62583fac2b8a73fa9b44ff4f04b180c082326a71fbdc91eb5a40e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:08 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 09:07:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:07:09 16f2d19db0e1: Preparing 09:07:09 92ac5b690fe5: Preparing 09:07:09 4c69f64175e5: Preparing 09:07:09 c69ba1dc2965: Preparing 09:07:09 5d3e392a13a0: Preparing 09:07:09 5d3e392a13a0: Layer already exists 09:07:09 c69ba1dc2965: Layer already exists 09:07:09 92ac5b690fe5: Layer already exists 09:07:09 4c69f64175e5: Layer already exists 09:07:09 16f2d19db0e1: Layer already exists 09:07:09 6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18: digest: sha256:a2dc741bfba62583fac2b8a73fa9b44ff4f04b180c082326a71fbdc91eb5a40e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:09 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 09:07:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 09:07:09 16f2d19db0e1: Preparing 09:07:09 92ac5b690fe5: Preparing 09:07:09 4c69f64175e5: Preparing 09:07:09 c69ba1dc2965: Preparing 09:07:09 5d3e392a13a0: Preparing 09:07:09 c69ba1dc2965: Layer already exists 09:07:09 4c69f64175e5: Layer already exists 09:07:09 92ac5b690fe5: Layer already exists 09:07:09 16f2d19db0e1: Layer already exists 09:07:09 5d3e392a13a0: Layer already exists 09:07:09 main: digest: sha256:a2dc741bfba62583fac2b8a73fa9b44ff4f04b180c082326a71fbdc91eb5a40e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:07:09 ===================================================== [Pipeline] echo 09:07:09 taggedImages: 09:07:09 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:6a3ce9ed1f526325ddb5567e419735729c86c620 09:07:09 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 09:07:09 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.18 09:07:09 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:6a3ce9ed1f526325ddb5567e419735729c86c620-2.3.0-dev.18 09:07:09 - 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 09:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:10 09:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:10 arm64: Pulling from edgex-lftools-log-publisher 09:07:10 8998bd30e6a1: Pulling fs layer 09:07:10 04944245beec: Pulling fs layer 09:07:10 699f458cf7ca: Pulling fs layer 09:07:10 765212b225bb: Pulling fs layer 09:07:10 f23df028b6ca: Pulling fs layer 09:07:10 d65c8cfc05b1: Pulling fs layer 09:07:10 2437ff75d9bd: Pulling fs layer 09:07:10 765212b225bb: Waiting 09:07:10 f23df028b6ca: Waiting 09:07:10 d65c8cfc05b1: Waiting 09:07:10 2437ff75d9bd: Waiting 09:07:10 04944245beec: Verifying Checksum 09:07:10 04944245beec: Download complete 09:07:10 765212b225bb: Verifying Checksum 09:07:10 765212b225bb: Download complete 09:07:10 f23df028b6ca: Verifying Checksum 09:07:10 f23df028b6ca: Download complete 09:07:10 d65c8cfc05b1: Verifying Checksum 09:07:10 d65c8cfc05b1: Download complete 09:07:10 699f458cf7ca: Verifying Checksum 09:07:10 699f458cf7ca: Download complete 09:07:11 8998bd30e6a1: Verifying Checksum 09:07:11 8998bd30e6a1: Download complete 09:07:13 2437ff75d9bd: Verifying Checksum 09:07:13 2437ff75d9bd: Download complete 09:07:15 8998bd30e6a1: Pull complete 09:07:15 04944245beec: Pull complete 09:07:17 699f458cf7ca: Pull complete 09:07:17 765212b225bb: Pull complete 09:07:17 f23df028b6ca: Pull complete 09:07:18 d65c8cfc05b1: Pull complete 09:07:33 2437ff75d9bd: Pull complete 09:07:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:07:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:33 prd-ubuntu20.04-docker-arm64-4c-16g-118081 does not seem to be running inside a container 09:07:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/48 -v /w/workspace/device-gpio/48:/w/workspace/device-gpio/48:rw,z -v /w/workspace/device-gpio/48@tmp:/w/workspace/device-gpio/48@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 09:07:35 $ docker top dbf5bd577e2180c3530217006529e3d8fc1c302996d4f39a520e7c39ffebe424 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:36 ---> job-cost.sh 09:07:36 lf-activate-venv: SKIPPING 09:07:36 INFO: No Stack... 09:07:36 INFO: Retrieving Pricing Info for: v3-standard-4 09:07:37 INFO: Archiving Costs [Pipeline] sh 09:07:38 + cat+ /w/workspace/device-gpio/48/archives/cost.csv 09:07:38 cut -d, -f6 [Pipeline] lock 09:07:38 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] 09:07:38 Resource [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] did not exist. Created. 09:07:38 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:07:39 /w/workspace/device-gpio/48@tmp/durable-c4667afd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:07:39 + echo total: 0.10999999940395355 [Pipeline] stash 09:07:39 Warning: overwriting stash ‘stack-cost’ 09:07:39 Stashed 1 file(s) [Pipeline] } 09:07:39 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 09:07:39 $ docker stop --time=1 dbf5bd577e2180c3530217006529e3d8fc1c302996d4f39a520e7c39ffebe424 09:07:41 $ docker rm -f dbf5bd577e2180c3530217006529e3d8fc1c302996d4f39a520e7c39ffebe424 [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 09:07:41 provisioning config files... 09:07:41 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2659162318403689293tmp [Pipeline] { [Pipeline] sh 09:07:42 + set +x 09:07:42 + + bash -s -- 09:07:42 curl -s https://codecov.io/bash 09:07:42 09:07:42 _____ _ 09:07:42 / ____| | | 09:07:42 | | ___ __| | ___ ___ _____ __ 09:07:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:07:42 | |___| (_) | (_| | __/ (_| (_) \ V / 09:07:42 \_____\___/ \__,_|\___|\___\___/ \_/ 09:07:42 Bash-1.0.6 09:07:42 09:07:42 09:07:42 ==> git version 2.25.1 found 09:07:42 ==> 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 09:07:42 Release-Date: 2020-01-08 09:07:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:07:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:07:42 ==> Jenkins CI detected. 09:07:42 current dir:  /w/workspace/edgexfoundry_device-gpio_main 09:07:42 project root: . 09:07:42 --> token set from env 09:07:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:07:42 ==> Running gcov in . (disable via -X gcov) 09:07:42 ==> Python coveragepy not found 09:07:42 ==> Searching for coverage reports in: 09:07:42 + . 09:07:42 -> Found 1 reports 09:07:42 ==> Detecting git/mercurial file structure 09:07:42 ==> Reading reports 09:07:42 + ./coverage.out bytes=10 09:07:42 ==> Appending adjustments 09:07:42 https://docs.codecov.io/docs/fixing-reports 09:07:42 + Found adjustments 09:07:42 ==> Gzipping contents 09:07:42 4.0K /tmp/codecov.mMaO7I.gz 09:07:42 ==> Uploading reports 09:07:42 url: https://codecov.io 09:07:42 query: branch=main&commit=6a3ce9ed1f526325ddb5567e419735729c86c620&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 09:07:42 -> Pinging Codecov 09:07:42 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=6a3ce9ed1f526325ddb5567e419735729c86c620&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 09:07:42 -> Uploading to 09:07:42 https://storage.googleapis.com/codecov/v4/raw/2022-11-03/3EC07B1A8CA8AF9BCAA0BB9F0134797F/6a3ce9ed1f526325ddb5567e419735729c86c620/2191b993-8359-49a1-8b6c-62c26a51e56f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T090742Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d1fe4d99116e7bc062c5131e18ef3f5570185bf8219901b26fe57619095b37f 09:07:42 % Total % Received % Xferd Average Speed Time Time Time Current 09:07:42 Dload Upload Total Spent Left Speed 09:07:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3502 --:--:-- --:--:-- --:--:-- 3502 09:07:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] } 09:07:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:07:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:07:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:07:43 09:07:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:07:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:07:43 df9b9388f04a: Pulling fs layer 09:07:43 52dc419b0ee2: Pulling fs layer 09:07:43 25bc292e5bac: Pulling fs layer 09:07:43 114826534d7a: Pulling fs layer 09:07:43 4657fd5d0bcf: Pulling fs layer 09:07:43 6ad1cebc031e: Pulling fs layer 09:07:43 8a3aa393b2d8: Pulling fs layer 09:07:43 4657fd5d0bcf: Waiting 09:07:43 6ad1cebc031e: Waiting 09:07:43 114826534d7a: Waiting 09:07:43 25bc292e5bac: Download complete 09:07:43 52dc419b0ee2: Verifying Checksum 09:07:43 52dc419b0ee2: Download complete 09:07:43 df9b9388f04a: Download complete 09:07:43 df9b9388f04a: Pull complete 09:07:43 6ad1cebc031e: Verifying Checksum 09:07:43 6ad1cebc031e: Download complete 09:07:43 52dc419b0ee2: Pull complete 09:07:43 25bc292e5bac: Pull complete 09:07:44 114826534d7a: Download complete 09:07:44 8a3aa393b2d8: Verifying Checksum 09:07:44 8a3aa393b2d8: Download complete 09:07:47 114826534d7a: Pull complete 09:07:47 4657fd5d0bcf: Pull complete 09:07:48 6ad1cebc031e: Pull complete 09:07:51 8a3aa393b2d8: Pull complete 09:07:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:07:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:51 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:07:51 $ 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 09:07:53 $ docker top cc51e9c2c5082b39d052e11a765a64185c2ab683b87ab1970c7850f87f240cde -eo pid,comm [Pipeline] { [Pipeline] echo 09:07:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 09:07:53 + set -o pipefail 09:07:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 09:07:58 09:07:58 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 09:07:58 09:07:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/0f326548-994f-4527-b834-27f4c7f71a85 09:07:58 09:07:58 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:07:58 09:07:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:07:58 09:07:58 09:07:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:07:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:07:58 More details here: https://snyk.co/ue1NS [Pipeline] } 09:07:58 $ docker stop --time=1 cc51e9c2c5082b39d052e11a765a64185c2ab683b87ab1970c7850f87f240cde 09:08:01 $ docker rm -f cc51e9c2c5082b39d052e11a765a64185c2ab683b87ab1970c7850f87f240cde [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 09:08:01 + git log --format=format:%s -1 6a3ce9ed1f526325ddb5567e419735729c86c620 [Pipeline] sh 09:08:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:08:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:02 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:08:02 $ 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 09:08:02 $ docker top c638b73e5bd5aec3cbe5214379a83ceae5cbbd3b2a9629ec594b25a75b0fa8d7 -eo pid,comm 09:08:03 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). 09:08:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:03 [ssh-agent] Looking for ssh-agent implementation... 09:08:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:03 $ docker exec c638b73e5bd5aec3cbe5214379a83ceae5cbbd3b2a9629ec594b25a75b0fa8d7 ssh-agent 09:08:03 SSH_AUTH_SOCK=/tmp/ssh-DvRzw2Nl52gR/agent.32 09:08:03 SSH_AGENT_PID=39 09:08:03 Running ssh-add (command line suppressed) 09:08:03 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1083909662533333914.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1083909662533333914.key) 09:08:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:03 + git semver tag 09:08:03 2022-11-03 09:08:03,900 [run_tag] DEBUG tag force:False 09:08:03 2022-11-03 09:08:03,900 [check_head_tag] DEBUG check head tag 09:08:03 2022-11-03 09:08:03,901 [execute] INFO git cat-file --batch-check 09:08:03 2022-11-03 09:08:03,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 09:08:03 2022-11-03 09:08:03,905 [execute] INFO git cat-file --batch 09:08:03 2022-11-03 09:08:03,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 09:08:03 2022-11-03 09:08:03,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:03 2022-11-03 09:08:03,917 [execute] INFO git tag -a v2.3.0-dev.18 -m v2.3.0-dev.18 09:08:03 2022-11-03 09:08:03,917 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.18', '-m', 'v2.3.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 09:08:03 2022-11-03 09:08:03,922 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:03 2.3.0-dev.18 [Pipeline] } 09:08:03 $ docker exec --env ******** --env ******** c638b73e5bd5aec3cbe5214379a83ceae5cbbd3b2a9629ec594b25a75b0fa8d7 ssh-agent -k 09:08:04 unset SSH_AUTH_SOCK; 09:08:04 unset SSH_AGENT_PID; 09:08:04 echo Agent pid 39 killed; 09:08:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:04 + git semver [Pipeline] } 09:08:04 $ docker stop --time=1 c638b73e5bd5aec3cbe5214379a83ceae5cbbd3b2a9629ec594b25a75b0fa8d7 09:08:06 $ docker rm -f c638b73e5bd5aec3cbe5214379a83ceae5cbbd3b2a9629ec594b25a75b0fa8d7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:08:06 09:08:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:08:06 0.23.1-centos7: Pulling from edgex-lftools 09:08:06 ab5ef0e58194: Pulling fs layer 09:08:06 9712f1f96733: Pulling fs layer 09:08:06 63f879dbbcfc: Pulling fs layer 09:08:06 0d9ebad4ef96: Pulling fs layer 09:08:06 e9a5061849ea: Pulling fs layer 09:08:06 d747dcd14b5f: Pulling fs layer 09:08:06 2de7ff778b66: Pulling fs layer 09:08:06 e9a5061849ea: Waiting 09:08:06 d747dcd14b5f: Waiting 09:08:06 0d9ebad4ef96: Waiting 09:08:06 2de7ff778b66: Waiting 09:08:06 9712f1f96733: Verifying Checksum 09:08:06 9712f1f96733: Download complete 09:08:06 63f879dbbcfc: Verifying Checksum 09:08:06 63f879dbbcfc: Download complete 09:08:07 e9a5061849ea: Verifying Checksum 09:08:07 e9a5061849ea: Download complete 09:08:07 d747dcd14b5f: Verifying Checksum 09:08:07 d747dcd14b5f: Download complete 09:08:07 0d9ebad4ef96: Verifying Checksum 09:08:07 0d9ebad4ef96: Download complete 09:08:07 ab5ef0e58194: Verifying Checksum 09:08:07 ab5ef0e58194: Download complete 09:08:07 2de7ff778b66: Verifying Checksum 09:08:07 2de7ff778b66: Download complete 09:08:11 ab5ef0e58194: Pull complete 09:08:11 9712f1f96733: Pull complete 09:08:11 63f879dbbcfc: Pull complete 09:08:15 0d9ebad4ef96: Pull complete 09:08:15 e9a5061849ea: Pull complete 09:08:15 d747dcd14b5f: Pull complete 09:08:17 2de7ff778b66: Pull complete 09:08:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:08:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:08:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:17 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:08:17 $ 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 09:08:19 $ docker top 3c89a4e23515ff122f4f477278ba8d08206358ea75f4fe640ebe773f59b18511 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:08:19 provisioning config files... 09:08:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9245924806206962819tmp 09:08:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16041224151046186241tmp 09:08:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15487495482559053700tmp [Pipeline] { [Pipeline] echo 09:08:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:08:19 ---> sigul-configuration.sh 09:08:19 gpg: directory `/root/.gnupg' created 09:08:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:08:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:08:19 gpg: keyring `/root/.gnupg/secring.gpg' created 09:08:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:08:19 gpg: CAST5 encrypted data 09:08:19 gpg: encrypted with 1 passphrase 09:08:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:08:20 + mkdir /home/jenkins 09:08:20 + mkdir /home/jenkins/sigul [Pipeline] sh 09:08:20 + 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 09:08:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:08:20 ---> sigul-install.sh 09:08:20 Sigul already installed; skipping installation. [Pipeline] sh 09:08:20 + git tag --list 09:08:20 v1.0.0 09:08:20 v2.1.0 09:08:20 v2.1.1 09:08:20 v2.1.1-dev.1 09:08:20 v2.2.0 09:08:20 v2.2.1-dev.1 09:08:20 v2.2.1-dev.2 09:08:20 v2.2.1-dev.3 09:08:20 v2.2.1-dev.4 09:08:20 v2.3.0-dev.10 09:08:20 v2.3.0-dev.11 09:08:20 v2.3.0-dev.12 09:08:20 v2.3.0-dev.13 09:08:20 v2.3.0-dev.14 09:08:20 v2.3.0-dev.15 09:08:20 v2.3.0-dev.16 09:08:20 v2.3.0-dev.17 09:08:20 v2.3.0-dev.18 09:08:20 v2.3.0-dev.4 09:08:20 v2.3.0-dev.5 09:08:20 v2.3.0-dev.6 09:08:20 v2.3.0-dev.7 09:08:20 v2.3.0-dev.8 09:08:20 v2.3.0-dev.9 [Pipeline] sh 09:08:21 + lftools sign git-tag v2.3.0-dev.18 09:08:21 Signing Git tag with Sigul... 09:08:21 Signing v2.3.0-dev.18 [Pipeline] echo 09:08:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:08:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:08:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:08:22 $ docker stop --time=1 3c89a4e23515ff122f4f477278ba8d08206358ea75f4fe640ebe773f59b18511 09:08:23 $ docker rm -f 3c89a4e23515ff122f4f477278ba8d08206358ea75f4fe640ebe773f59b18511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:08:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:08:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:24 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:08:24 $ 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 09:08:24 $ docker top e71418a1270db17157b1dac21bc38e0d888b9a73566ffd67c907023392ade303 -eo pid,comm 09:08:24 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). 09:08:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:24 [ssh-agent] Looking for ssh-agent implementation... 09:08:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:25 $ docker exec e71418a1270db17157b1dac21bc38e0d888b9a73566ffd67c907023392ade303 ssh-agent 09:08:25 SSH_AUTH_SOCK=/tmp/ssh-3Ka10pjk6u9U/agent.33 09:08:25 SSH_AGENT_PID=39 09:08:25 Running ssh-add (command line suppressed) 09:08:25 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1761304188160062944.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1761304188160062944.key) 09:08:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:25 + git semver bump pre 09:08:25 2022-11-03 09:08:25,799 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:25 2022-11-03 09:08:25,799 [bump_version] DEBUG bumping version:2.3.0-dev.18 on axis:pre with prefix:dev 09:08:25 2022-11-03 09:08:25,799 [bump_version] DEBUG bumped version:2.3.0-dev.19 09:08:25 2022-11-03 09:08:25,799 [write_version] DEBUG write version:2.3.0-dev.19 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 09:08:25 2022-11-03 09:08:25,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:25 2022-11-03 09:08:25,800 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:25 2022-11-03 09:08:25,801 [execute] INFO git cat-file --batch-check 09:08:25 2022-11-03 09:08:25,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 09:08:25 2022-11-03 09:08:25,807 [execute] INFO git cat-file --batch 09:08:25 2022-11-03 09:08:25,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 09:08:25 2022-11-03 09:08:25,812 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:25 2.3.0-dev.19 [Pipeline] } 09:08:25 $ docker exec --env ******** --env ******** e71418a1270db17157b1dac21bc38e0d888b9a73566ffd67c907023392ade303 ssh-agent -k 09:08:25 unset SSH_AUTH_SOCK; 09:08:25 unset SSH_AGENT_PID; 09:08:25 echo Agent pid 39 killed; 09:08:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:26 + git semver [Pipeline] } 09:08:26 $ docker stop --time=1 e71418a1270db17157b1dac21bc38e0d888b9a73566ffd67c907023392ade303 09:08:27 $ docker rm -f e71418a1270db17157b1dac21bc38e0d888b9a73566ffd67c907023392ade303 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:28 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:08:28 $ 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 09:08:29 $ docker top 8b1923ffe1b10d720b7fe2efde0aa814387fa588a8cccd116132fc5201391d3b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:29 [ssh-agent] Looking for ssh-agent implementation... 09:08:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:29 $ docker exec 8b1923ffe1b10d720b7fe2efde0aa814387fa588a8cccd116132fc5201391d3b ssh-agent 09:08:29 SSH_AUTH_SOCK=/tmp/ssh-d602VX4b0xoi/agent.34 09:08:29 SSH_AGENT_PID=40 09:08:29 Running ssh-add (command line suppressed) 09:08:29 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10503446773719972416.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10503446773719972416.key) 09:08:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:29 + git semver push 09:08:30 2022-11-03 09:08:29,959 [run_push] DEBUG push 09:08:30 2022-11-03 09:08:29,960 [execute] INFO git cat-file --batch-check 09:08:30 2022-11-03 09:08:29,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 09:08:30 2022-11-03 09:08:29,965 [execute] INFO git rev-list 145879746b8e71d6f04f7a2f91ad3ada6e32862a -- 09:08:30 2022-11-03 09:08:29,965 [execute] DEBUG Popen(['git', 'rev-list', '145879746b8e71d6f04f7a2f91ad3ada6e32862a', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 09:08:30 2022-11-03 09:08:29,973 [execute] INFO git fetch -v origin 09:08:30 2022-11-03 09:08:29,973 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 09:08:30 2022-11-03 09:08:30,568 [run_push] DEBUG no remote changes detected 09:08:30 2022-11-03 09:08:30,569 [execute] INFO git push origin semver 09:08:30 2022-11-03 09:08:30,569 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 09:08:31 2022-11-03 09:08:31,419 [run_push] DEBUG push all version tags 09:08:31 2022-11-03 09:08:31,420 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:08:31 2022-11-03 09:08:31,421 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 09:08:32 2022-11-03 09:08:32,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:08:32 2.3.0-dev.19 [Pipeline] } 09:08:32 $ docker exec --env ******** --env ******** 8b1923ffe1b10d720b7fe2efde0aa814387fa588a8cccd116132fc5201391d3b ssh-agent -k 09:08:32 unset SSH_AUTH_SOCK; 09:08:32 unset SSH_AGENT_PID; 09:08:32 echo Agent pid 40 killed; 09:08:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:32 + git semver [Pipeline] } 09:08:33 $ docker stop --time=1 8b1923ffe1b10d720b7fe2efde0aa814387fa588a8cccd116132fc5201391d3b 09:08:34 $ docker rm -f 8b1923ffe1b10d720b7fe2efde0aa814387fa588a8cccd116132fc5201391d3b [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 09:08:34 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 09:08:34 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 09:08:34 total 16 09:08:34 drwxr-xr-x 3 root root 4096 Nov 3 09:00 . 09:08:34 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:08 .. 09:08:34 drwxr-xr-x 2 root root 4096 Nov 3 09:00 cost 09:08:34 -rw-r--r-- 1 root root 82 Nov 3 09:00 cost.csv 09:08:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 09:08:34 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 09:08:34 total 16 09:08:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:00 . 09:08:34 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:08 .. 09:08:34 drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:00 cost 09:08:34 -rw-r--r-- 1 jenkins jenkins 82 Nov 3 09:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:08:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:36 ---> package-listing.sh 09:08:36 ++ tr '[:upper:]' '[:lower:]' 09:08:36 ++ facter osfamily 09:08:36 + OS_FAMILY=debian 09:08:36 + workspace=/w/workspace/edgexfoundry_device-gpio_main 09:08:36 + START_PACKAGES=/tmp/packages_start.txt 09:08:36 + END_PACKAGES=/tmp/packages_end.txt 09:08:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:36 + PACKAGES=/tmp/packages_start.txt 09:08:36 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 09:08:36 + PACKAGES=/tmp/packages_end.txt 09:08:36 + case "${OS_FAMILY}" in 09:08:36 + dpkg -l 09:08:36 + grep '^ii' 09:08:36 + '[' -f /tmp/packages_start.txt ']' 09:08:36 + '[' -f /tmp/packages_end.txt ']' 09:08:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:36 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 09:08:36 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 09:08:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 09:08:36 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 09:08:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:08:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:37 prd-ubuntu20.04-docker-8c-8g-118080 does not seem to be running inside a container 09:08:37 $ 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 09:08:37 $ docker top 7f6229ec2fa7a665a6e3dfaa369bb87bf6126efedde1290705d686e5e9a40229 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:38 + touch /tmp/pre-build-complete [Pipeline] sh 09:08:38 + mkdir -p /var/log/sysstat [Pipeline] sh 09:08:38 + ls /var/log/sa-host 09:08:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:38 provisioning config files... 09:08:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18246512846148007946tmp [Pipeline] { [Pipeline] echo 09:08:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:39 ---> create-netrc.sh [Pipeline] } 09:08:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:08:39 ---> python-tools-install.sh [Pipeline] echo 09:08:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:08:39 ---> sudo-logs.sh 09:08:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:08:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:08:40 ---> job-cost.sh 09:08:40 lf-activate-venv: SKIPPING 09:08:40 DEBUG: total: 0.2199999988079071 09:08:40 INFO: Retrieving Stack Cost... 09:08:40 INFO: Retrieving Pricing Info for: v3-standard-8 09:08:40 INFO: Archiving Costs [Pipeline] echo 09:08:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:41 ---> logs-deploy.sh 09:08:41 lf-activate-venv: SKIPPING 09:08:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/48 09:08:41 INFO: archiving workspace using pattern(s): 09:08:42 Archives upload complete. 09:08:42 INFO: archiving logs to Nexus