Pull request #98 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of chc69 for edgexfoundry/device-gpio Loading trusted files from base branch main at 9fd98a26a9ea9701925160950e3b0ed34522a85d rather than fff10815200ce3e0f5096386b2501ba50788a950 Obtained Jenkinsfile from 9fd98a26a9ea9701925160950e3b0ed34522a85d 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-ssh11211019602821489751.key > 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-ssh6224963958398430900.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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/PR-98/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/PR-98/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7887521043221303314.key > 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-ssh10946393332484886317.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-98/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/PR-98/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5344955047047726535.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5662’ Running on prd-ubuntu20.04-docker-8c-8g-5719 in /w/workspace/edgexfoundry_device-gpio_PR-98 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-98 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit fff10815200ce3e0f5096386b2501ba50788a950 Merge succeeded, producing e30efaa9cad29727b9ccdc394feef62b1d11d62d Checking out Revision e30efaa9cad29727b9ccdc394feef62b1d11d62d (PR-98) > git config core.sparsecheckout # timeout=10 > git checkout -f fff10815200ce3e0f5096386b2501ba50788a950 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e30efaa9cad29727b9ccdc394feef62b1d11d62d # timeout=10 Commit message: "Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ff8bb68e441526cea16a0a5388ee5caadf4535af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:46:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:46:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:46:39 ========================================================= 02:46:39 EdgeX Global Pipelines Version Info 02:46:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:46:41 ------------------- 02:46:41 stable info: 02:46:41 ------------------- 02:46:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:46:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:46:41 Message: update stable to v1.0.244 02:46:43 ------------------- 02:46:43 experimental info: 02:46:43 ------------------- 02:46:43 Commited By: **** collab-it+edgex@linuxfoundation.org 02:46:43 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:46:43 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-98 [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-98 [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-98 [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e30efaa9cad29727b9ccdc394feef62b1d11d62d [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e30efaa [Pipeline] echo 02:46:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:43 provisioning config files... 02:46:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config14165494165287692367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:44 ---> docker-login.sh 02:46:44 nexus3.edgexfoundry.org:10001 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:44 Configure a credential helper to remove this warning. See 02:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:44 02:46:44 Login Succeeded 02:46:44 nexus3.edgexfoundry.org:10002 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:44 Configure a credential helper to remove this warning. See 02:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:44 02:46:44 Login Succeeded 02:46:44 nexus3.edgexfoundry.org:10003 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:44 Configure a credential helper to remove this warning. See 02:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:44 02:46:44 Login Succeeded 02:46:44 nexus3.edgexfoundry.org:10004 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:45 Configure a credential helper to remove this warning. See 02:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:45 02:46:45 Login Succeeded 02:46:45 docker.io 02:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:48 Configure a credential helper to remove this warning. See 02:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:48 02:46:48 Login Succeeded 02:46:48 ---> docker-login.sh ends [Pipeline] } 02:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:46:48 + git rev-list -1 --merges e30efaa9cad29727b9ccdc394feef62b1d11d62d~1..e30efaa9cad29727b9ccdc394feef62b1d11d62d [Pipeline] echo 02:46:48 -----------> git rev-list -1 --merges e30efaa9cad29727b9ccdc394feef62b1d11d62d~1..e30efaa9cad29727b9ccdc394feef62b1d11d62d e30efaa9cad29727b9ccdc394feef62b1d11d62d 02:46:48 e30efaa9cad29727b9ccdc394feef62b1d11d62d [false] [Pipeline] sh 02:46:49 + git log --format=format:%s -1 e30efaa9cad29727b9ccdc394feef62b1d11d62d [Pipeline] echo 02:46:49 ========================================================= 02:46:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:46:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:49 + git log --format=format:%s -1 e30efaa9cad29727b9ccdc394feef62b1d11d62d [Pipeline] echo 02:46:49 [semverPrep] GIT_COMMIT: e30efaa9cad29727b9ccdc394feef62b1d11d62d, Commit Message: Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD [Pipeline] echo 02:46:49 [semverPrep] This is not a build commit. [Pipeline] sh 02:46:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:49 + grep -v github /etc/ssh/ssh_known_hosts 02:46:49 + [ -e /tmp/ssh_known_hosts ] 02:46:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:46:49 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:46:49 sudo tee -a /etc/ssh/ssh_known_hosts 02:46:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:50 02:46:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:50 0.1.4: Pulling from edgex-devops/py-git-semver 02:46:50 b85a868b505f: Pulling fs layer 02:46:50 e2be974225ed: Pulling fs layer 02:46:50 339a4e72a1f5: Pulling fs layer 02:46:50 988bab9f4d93: Pulling fs layer 02:46:50 1469e6f7b9e6: Pulling fs layer 02:46:50 eaf3925da568: Pulling fs layer 02:46:50 bab4dde63d76: Pulling fs layer 02:46:50 bde34c3a00c8: Pulling fs layer 02:46:50 b352a97aabf1: Pulling fs layer 02:46:50 4872d77fe225: Pulling fs layer 02:46:50 5851b861e8e6: Pulling fs layer 02:46:50 988bab9f4d93: Waiting 02:46:50 1469e6f7b9e6: Waiting 02:46:50 eaf3925da568: Waiting 02:46:50 4872d77fe225: Waiting 02:46:50 5851b861e8e6: Waiting 02:46:50 bab4dde63d76: Waiting 02:46:50 b352a97aabf1: Waiting 02:46:50 bde34c3a00c8: Waiting 02:46:50 e2be974225ed: Verifying Checksum 02:46:50 e2be974225ed: Download complete 02:46:50 988bab9f4d93: Download complete 02:46:50 1469e6f7b9e6: Verifying Checksum 02:46:50 1469e6f7b9e6: Download complete 02:46:50 b85a868b505f: Verifying Checksum 02:46:50 b85a868b505f: Download complete 02:46:50 eaf3925da568: Download complete 02:46:50 bde34c3a00c8: Download complete 02:46:50 b352a97aabf1: Verifying Checksum 02:46:50 b352a97aabf1: Download complete 02:46:50 4872d77fe225: Verifying Checksum 02:46:50 4872d77fe225: Download complete 02:46:50 5851b861e8e6: Verifying Checksum 02:46:50 5851b861e8e6: Download complete 02:46:50 339a4e72a1f5: Verifying Checksum 02:46:50 339a4e72a1f5: Download complete 02:46:51 bab4dde63d76: Verifying Checksum 02:46:51 bab4dde63d76: Download complete 02:46:51 b85a868b505f: Pull complete 02:46:52 e2be974225ed: Pull complete 02:46:52 339a4e72a1f5: Pull complete 02:46:52 988bab9f4d93: Pull complete 02:46:52 1469e6f7b9e6: Pull complete 02:46:52 eaf3925da568: Pull complete 02:46:54 bab4dde63d76: Pull complete 02:46:54 bde34c3a00c8: Pull complete 02:46:54 b352a97aabf1: Pull complete 02:46:54 4872d77fe225: Pull complete 02:46:54 5851b861e8e6: Pull complete 02:46:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:54 prd-ubuntu20.04-docker-8c-8g-5719 does not seem to be running inside a container 02:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:46:55 $ docker top af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f -eo pid,comm 02:46:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:46:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:55 [ssh-agent] Looking for ssh-agent implementation... 02:46:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:56 $ docker exec af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f ssh-agent 02:46:56 SSH_AUTH_SOCK=/tmp/ssh-QhpTtx14Nljx/agent.32 02:46:56 SSH_AGENT_PID=38 02:46:56 Running ssh-add (command line suppressed) 02:46:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_17871418083274875906.key (/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_17871418083274875906.key) 02:46:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:56 + git tag --points-at HEAD [Pipeline] } 02:46:56 $ docker exec --env ******** --env ******** af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f ssh-agent -k 02:46:56 unset SSH_AUTH_SOCK; 02:46:56 unset SSH_AGENT_PID; 02:46:56 echo Agent pid 38 killed; 02:46:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:46:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:56 [ssh-agent] Looking for ssh-agent implementation... 02:46:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:56 $ docker exec af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f ssh-agent 02:46:56 SSH_AUTH_SOCK=/tmp/ssh-c5rngtAhp7AM/agent.71 02:46:56 SSH_AGENT_PID=77 02:46:56 Running ssh-add (command line suppressed) 02:46:57 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_990331845921781885.key (/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_990331845921781885.key) 02:46:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:57 + git semver init 02:46:57 2023-02-14 02:46:57,496 [run_init] DEBUG init version:0.0.0 force:False 02:46:57 2023-02-14 02:46:57,496 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-98/.semver 02:46:57 2023-02-14 02:46:57,497 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-98/.semver 02:46:57 2023-02-14 02:46:57,497 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-98/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-98, universal_newlines=False, shell=None, istream=None) 02:47:44 2023-02-14 02:47:40,359 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-98/.git/info/exclude 02:47:44 2023-02-14 02:47:40,360 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-98/.semver/PR-98 with force:False 02:47:44 2023-02-14 02:47:40,360 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-98/.semver/PR-98 02:47:44 2023-02-14 02:47:40,363 [execute] INFO git cat-file --batch-check 02:47:44 2023-02-14 02:47:40,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-98/.semver, universal_newlines=False, shell=None, istream=) 02:47:44 2023-02-14 02:47:40,370 [execute] INFO git cat-file --batch 02:47:44 2023-02-14 02:47:40,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-98/.semver, universal_newlines=False, shell=None, istream=) 02:47:44 2023-02-14 02:47:40,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-98/.semver/PR-98 02:47:44 0.0.0 [Pipeline] } 02:47:43 $ docker exec --env ******** --env ******** af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f ssh-agent -k 02:47:43 unset SSH_AUTH_SOCK; 02:47:43 unset SSH_AGENT_PID; 02:47:43 echo Agent pid 77 killed; 02:47:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:47:44 + git semver [Pipeline] } 02:47:44 $ docker stop --time=1 af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f 02:47:45 $ docker rm -f --volumes af0b71afd5bfe3aef9c7909e31053c114002ba9f8f799418bcef61266246f13f [Pipeline] // withDockerContainer [Pipeline] sh 02:47:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:47:46 Stashed 1 file(s) [Pipeline] echo 02:47:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:47 provisioning config files... 02:47:47 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config13601820832460916987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:47 ---> docker-login.sh 02:47:47 nexus3.edgexfoundry.org:10001 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 nexus3.edgexfoundry.org:10002 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 nexus3.edgexfoundry.org:10003 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 nexus3.edgexfoundry.org:10004 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 docker.io 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:55 Configure a credential helper to remove this warning. See 02:47:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:55 02:47:55 Login Succeeded 02:47:55 ---> docker-login.sh ends [Pipeline] } 02:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:47:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:47:56 ========================================================= 02:47:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:47:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:56 + 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 . 02:47:56 Sending build context to Docker daemon 16MB 02:47:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:47:56 Step 2/12 : FROM ${BASE} AS builder 02:47:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:47:56 213ec9aee27d: Pulling fs layer 02:47:56 4583459ba037: Pulling fs layer 02:47:56 93c1e223e6f2: Pulling fs layer 02:47:56 53926ce57604: Pulling fs layer 02:47:56 21b2b0c7a3f4: Pulling fs layer 02:47:56 22ff95d597cd: Pulling fs layer 02:47:56 12d6caf4c0d1: Pulling fs layer 02:47:56 96b7cbca73a9: Pulling fs layer 02:47:56 a7acece74701: Pulling fs layer 02:47:56 53926ce57604: Waiting 02:47:56 21b2b0c7a3f4: Waiting 02:47:56 22ff95d597cd: Waiting 02:47:56 12d6caf4c0d1: Waiting 02:47:56 96b7cbca73a9: Waiting 02:47:56 a7acece74701: Waiting 02:47:56 4583459ba037: Verifying Checksum 02:47:56 4583459ba037: Download complete 02:47:56 93c1e223e6f2: Verifying Checksum 02:47:56 93c1e223e6f2: Download complete 02:47:56 21b2b0c7a3f4: Download complete 02:47:56 22ff95d597cd: Verifying Checksum 02:47:56 22ff95d597cd: Download complete 02:47:56 213ec9aee27d: Verifying Checksum 02:47:56 213ec9aee27d: Download complete 02:47:56 213ec9aee27d: Pull complete 02:47:56 12d6caf4c0d1: Verifying Checksum 02:47:56 12d6caf4c0d1: Download complete 02:47:56 4583459ba037: Pull complete 02:47:56 93c1e223e6f2: Pull complete 02:47:57 53926ce57604: Verifying Checksum 02:47:57 53926ce57604: Download complete 02:47:57 a7acece74701: Verifying Checksum 02:47:57 a7acece74701: Download complete 02:47:58 96b7cbca73a9: Verifying Checksum 02:48:01 53926ce57604: Pull complete 02:48:01 21b2b0c7a3f4: Pull complete 02:48:01 22ff95d597cd: Pull complete 02:48:01 12d6caf4c0d1: Pull complete 02:48:01 Still waiting to schedule task 02:48:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5672’ 02:48:03 96b7cbca73a9: Pull complete 02:48:04 a7acece74701: Pull complete 02:48:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:48:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:48:04 ---> db6d94c90886 02:48:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:48:05 ---> Running in 6988ee6e0d22 02:48:05 Removing intermediate container 6988ee6e0d22 02:48:05 ---> 2c4edc27ba3d 02:48:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:48:05 ---> Running in ec9ee6cb42d8 02:48:05 Removing intermediate container ec9ee6cb42d8 02:48:05 ---> dc498b59bc4e 02:48:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:48:05 ---> Running in 93666a3dbbed 02:48:06 Removing intermediate container 93666a3dbbed 02:48:06 ---> 1211f118a178 02:48:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:48:06 ---> Running in 069e723a1715 02:48:06 Removing intermediate container 069e723a1715 02:48:06 ---> 258384467da1 02:48:06 Step 7/12 : WORKDIR /device-gpio 02:48:06 ---> Running in 0dfa6096ef15 02:48:06 Removing intermediate container 0dfa6096ef15 02:48:06 ---> 1ee77ff906ff 02:48:06 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:06 ---> Running in 0525299afb67 02:48:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:48:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:48:41 (2/4) Installing libedit (20210910.3.1-r0) 02:48:42 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:49:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:49:07 Executing busybox-1.35.0-r17.trigger 02:49:07 OK: 216 MiB in 55 packages 02:49:07 Removing intermediate container 0525299afb67 02:49:07 ---> 5823308166f1 02:49:07 Step 9/12 : COPY go.mod vendor* ./ 02:49:07 ---> 4c05d41bc3d2 02:49:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:07 ---> Running in 74b67172f26a 02:50:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5720 in /w/workspace/edgexfoundry_device-gpio_PR-98 [Pipeline] { [Pipeline] ws 02:50:59 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 02:50:59 The recommended git tool is: git 02:51:04 using credential edgex-jenkins-ssh 02:51:04 Cloning the remote Git repository 02:51:04 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:51:04 > git init /w/workspace/device-gpio/2 # timeout=10 02:51:04 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:51:04 > git --version # timeout=10 02:51:04 > git --version # 'git version 2.25.1' 02:51:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:09 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:51:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:51:10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:51:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:51:12 Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit fff10815200ce3e0f5096386b2501ba50788a950 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:51:12 Failed in branch arm64 02:51:12 > git config core.sparsecheckout # timeout=10 02:51:12 > git checkout -f fff10815200ce3e0f5096386b2501ba50788a950 # timeout=10 02:55:00 Removing intermediate container 74b67172f26a 02:55:00 ---> 16b666737c6b 02:55:00 Step 11/12 : COPY . . 02:55:00 ---> 0e7ccbab1c9a 02:55:00 Step 12/12 : RUN ${MAKE} 02:55:00 ---> Running in 621e31b16a0e 02:55:00 noop 02:55:00 Removing intermediate container 621e31b16a0e 02:55:00 ---> 8120ffa18991 02:55:00 Successfully built 8120ffa18991 02:55:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:00 + docker inspect -f . ci-base-image-x86_64 02:55:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:00 prd-ubuntu20.04-docker-8c-8g-5719 does not seem to be running inside a container 02:55:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:55:01 $ docker top 85bf432ffe8ad99a129b86fde2ac456b499e672c5d0e6c98c1f9ad5eca716c28 -eo pid,comm [Pipeline] { [Pipeline] sh 02:55:01 + go version 02:55:01 go version go1.18.7 linux/amd64 [Pipeline] } 02:55:01 $ docker stop --time=1 85bf432ffe8ad99a129b86fde2ac456b499e672c5d0e6c98c1f9ad5eca716c28 02:55:02 $ docker rm -f --volumes 85bf432ffe8ad99a129b86fde2ac456b499e672c5d0e6c98c1f9ad5eca716c28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:03 + docker inspect -f . ci-base-image-x86_64 02:55:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:03 prd-ubuntu20.04-docker-8c-8g-5719 does not seem to be running inside a container 02:55:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:55:03 $ docker top 902a00b29da5fc58dd4aaf9289e77bcccde1334f4ab7d29ae51b51753798d6d4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:55:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-98 [Pipeline] fileExists [Pipeline] sh 02:55:04 + make test 02:55:04 go test ./... -coverprofile=coverage.out ./... 02:55:04 ? github.com/edgexfoundry/device-gpio [no test files] 02:55:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:55:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:55:19 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:55:19 go vet ./... 02:55:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:55:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:55:21 ./bin/test-attribution-txt.sh [Pipeline] echo 02:55:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:55:21 $ docker stop --time=1 902a00b29da5fc58dd4aaf9289e77bcccde1334f4ab7d29ae51b51753798d6d4 02:55:23 $ docker rm -f --volumes 902a00b29da5fc58dd4aaf9289e77bcccde1334f4ab7d29ae51b51753798d6d4 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:55:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:24 + ls -al . 02:55:24 total 168 02:55:24 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 02:55 . 02:55:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 02:46 .. 02:55:24 -rw-rw-r-- 1 jenkins jenkins 120 Feb 14 02:46 .dockerignore 02:55:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 02:55 .git 02:55:24 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:46 .github 02:55:24 -rw-rw-r-- 1 jenkins jenkins 343 Feb 14 02:46 .gitignore 02:55:24 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 02:46 .golangci.yml 02:55:24 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 02:47 .semver 02:55:24 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 14 02:46 Attribution.txt 02:55:24 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 14 02:46 CHANGELOG.md 02:55:24 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 14 02:46 Dockerfile 02:55:24 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 02:46 GOVERNANCE.md 02:55:24 -rw-rw-r-- 1 jenkins jenkins 657 Feb 14 02:46 Jenkinsfile 02:55:24 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 02:46 LICENSE 02:55:24 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 14 02:46 Makefile 02:55:24 -rw-rw-r-- 1 jenkins jenkins 617 Feb 14 02:46 OWNERS.md 02:55:24 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 14 02:46 README.md 02:55:24 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 02:47 VERSION 02:55:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 02:46 bin 02:55:24 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:46 cmd 02:55:24 -rw-r--r-- 1 jenkins jenkins 10 Feb 14 02:55 coverage.out 02:55:24 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 14 02:46 go.mod 02:55:24 -rw-rw-r-- 1 jenkins jenkins 44944 Feb 14 02:46 go.sum 02:55:24 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:46 internal 02:55:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 02:46 snap 02:55:24 -rw-rw-r-- 1 jenkins jenkins 209 Feb 14 02:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:24 + 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=e30efaa9cad29727b9ccdc394feef62b1d11d62d --label arch=amd64 --label version=0.0.0 . 02:55:24 Sending build context to Docker daemon 16MB 02:55:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:55:24 Step 2/25 : FROM ${BASE} AS builder 02:55:24 ---> 8120ffa18991 02:55:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:55:25 ---> Running in 68987d2a6e7c 02:55:25 Removing intermediate container 68987d2a6e7c 02:55:25 ---> 3ad7d78870cc 02:55:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:25 ---> Running in 762e3b6749a4 02:55:25 Removing intermediate container 762e3b6749a4 02:55:25 ---> ce0830c30535 02:55:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:55:25 ---> Running in edafa193aee5 02:55:25 Removing intermediate container edafa193aee5 02:55:25 ---> 9204bce9ef0b 02:55:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:55:25 ---> Running in c15822290979 02:55:25 Removing intermediate container c15822290979 02:55:25 ---> cd54ee0c63e2 02:55:25 Step 7/25 : WORKDIR /device-gpio 02:55:25 ---> Running in 3144962b073d 02:55:25 Removing intermediate container 3144962b073d 02:55:25 ---> 736ee2e0d49a 02:55:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:25 ---> Running in 4c677b068e64 02:55:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:55:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:55:29 OK: 216 MiB in 55 packages 02:55:29 Removing intermediate container 4c677b068e64 02:55:29 ---> 3cb5e1c23c38 02:55:29 Step 9/25 : COPY go.mod vendor* ./ 02:55:29 ---> 02d08b71d38d 02:55:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:29 ---> Running in 50db9d894683 02:55:29 Removing intermediate container 50db9d894683 02:55:29 ---> 5617856f45c0 02:55:29 Step 11/25 : COPY . . 02:55:30 ---> 55375116e471 02:55:30 Step 12/25 : RUN ${MAKE} 02:55:30 ---> Running in 9d747e333d10 02:55:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:55:48 Removing intermediate container 9d747e333d10 02:55:48 ---> f620fdf8f32a 02:55:48 Step 13/25 : FROM alpine:3.16 02:55:58 3.16: Pulling from library/alpine 02:56:01 ef5531b6e74e: Pulling fs layer 02:56:16 ef5531b6e74e: Verifying Checksum 02:56:16 ef5531b6e74e: Download complete 02:56:16 ef5531b6e74e: Pull complete 02:56:16 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:56:16 Status: Downloaded newer image for alpine:3.16 02:56:16 ---> dfd21b5a31f5 02:56:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:56:16 ---> Running in a097bd374afc 02:56:16 Removing intermediate container a097bd374afc 02:56:16 ---> 1bcc03462e1d 02:56:16 Step 15/25 : RUN apk add --update --no-cache 02:56:16 ---> Running in 7762ae2a2516 02:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:56:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:56:52 OK: 6 MiB in 14 packages 02:56:52 Removing intermediate container 7762ae2a2516 02:56:52 ---> dff4827f684b 02:56:52 Step 16/25 : WORKDIR / 02:56:52 ---> Running in 4122b4c5033c 02:56:52 Removing intermediate container 4122b4c5033c 02:56:52 ---> df1a73f4c39d 02:56:52 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:56:52 ---> c3599e6cfa66 02:56:52 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:56:52 ---> b3ab061f2058 02:56:52 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:56:52 ---> 219438aaea6d 02:56:52 Step 20/25 : EXPOSE 59910 02:56:52 ---> Running in 554bad0ad3ae 02:56:52 Removing intermediate container 554bad0ad3ae 02:56:52 ---> 404f5c1658dd 02:56:52 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:56:52 ---> Running in 7d012198ca27 02:56:52 Removing intermediate container 7d012198ca27 02:56:52 ---> 29ddccc4119f 02:56:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:56:52 ---> Running in 43461cd5082f 02:56:52 Removing intermediate container 43461cd5082f 02:56:52 ---> d39c8ad9cbe5 02:56:52 Step 23/25 : LABEL arch=amd64 02:56:52 ---> Running in f03e4cb271e8 02:56:52 Removing intermediate container f03e4cb271e8 02:56:52 ---> 257e47f9b937 02:56:52 Step 24/25 : LABEL git_sha=e30efaa9cad29727b9ccdc394feef62b1d11d62d 02:56:52 ---> Running in 8e8e47059628 02:56:52 Removing intermediate container 8e8e47059628 02:56:52 ---> 0befeb872efd 02:56:52 Step 25/25 : LABEL version=0.0.0 02:56:52 ---> Running in 6333a2cd906a 02:56:52 Removing intermediate container 6333a2cd906a 02:56:52 ---> 076636bc7eab 02:56:52 [Warning] One or more build-args [ARCH] were not consumed 02:56:52 Successfully built 076636bc7eab 02:56:52 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:56:53 02:56:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:56:53 latest: Pulling from edgex-lftools-log-publisher 02:56:53 5eb5b503b376: Pulling fs layer 02:56:53 5c69ac0246d0: Pulling fs layer 02:56:53 ec43610c2a17: Pulling fs layer 02:56:53 3a2ae6a8a46f: Pulling fs layer 02:56:53 33b1e0a273af: Pulling fs layer 02:56:53 5d3b04190fa2: Pulling fs layer 02:56:53 2f39f015ded8: Pulling fs layer 02:56:53 3a2ae6a8a46f: Waiting 02:56:53 33b1e0a273af: Waiting 02:56:53 5d3b04190fa2: Waiting 02:56:53 2f39f015ded8: Waiting 02:56:53 5c69ac0246d0: Download complete 02:56:53 3a2ae6a8a46f: Verifying Checksum 02:56:53 3a2ae6a8a46f: Download complete 02:56:53 33b1e0a273af: Verifying Checksum 02:56:53 33b1e0a273af: Download complete 02:56:53 5d3b04190fa2: Verifying Checksum 02:56:53 5d3b04190fa2: Download complete 02:56:53 ec43610c2a17: Verifying Checksum 02:56:53 ec43610c2a17: Download complete 02:56:54 5eb5b503b376: Verifying Checksum 02:56:54 5eb5b503b376: Download complete 02:56:54 2f39f015ded8: Download complete 02:56:55 5eb5b503b376: Pull complete 02:56:55 5c69ac0246d0: Pull complete 02:56:55 ec43610c2a17: Pull complete 02:56:55 3a2ae6a8a46f: Pull complete 02:56:55 33b1e0a273af: Pull complete 02:56:56 5d3b04190fa2: Pull complete 02:57:00 2f39f015ded8: Pull complete 02:57:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:57:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:00 prd-ubuntu20.04-docker-8c-8g-5719 does not seem to be running inside a container 02:57:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:57:02 $ docker top 690264f5a3ac699c1a0e702d710c0667a6ec7fec18249c933e00ce9b515a10f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:02 ---> job-cost.sh 02:57:02 lf-activate-venv: SKIPPING 02:57:02 INFO: No Stack... 02:57:07 INFO: Retrieving Pricing Info for: v3-standard-8 02:57:07 INFO: Archiving Costs [Pipeline] sh 02:57:08 + cat /w/workspace/edgexfoundry_device-gpio_PR-98/archives/cost.csv 02:57:08 + cut -d, -f6 [Pipeline] lock 02:57:08 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-98-2-stack-cost] 02:57:08 Resource [jenkins-edgexfoundry-device-gpio-PR-98-2-stack-cost] did not exist. Created. 02:57:08 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-98-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:57:08 + echo total: 0.2199999988079071 [Pipeline] stash 02:57:08 Stashed 1 file(s) [Pipeline] } 02:57:08 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-98-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:57:08 $ docker stop --time=1 690264f5a3ac699c1a0e702d710c0667a6ec7fec18249c933e00ce9b515a10f9 02:57:09 $ docker rm -f --volumes 690264f5a3ac699c1a0e702d710c0667a6ec7fec18249c933e00ce9b515a10f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:57:10 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-98/archives ] 02:57:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-98/archives 02:57:10 total 16 02:57:10 drwxr-xr-x 3 root root 4096 Feb 14 02:57 . 02:57:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 02:57 .. 02:57:10 drwxr-xr-x 2 root root 4096 Feb 14 02:57 cost 02:57:10 -rw-r--r-- 1 root root 82 Feb 14 02:57 cost.csv 02:57:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-98/archives 02:57:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-98/archives 02:57:10 total 16 02:57:10 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 02:57 . 02:57:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 02:57 .. 02:57:10 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 02:57 cost 02:57:10 -rw-r--r-- 1 jenkins jenkins 82 Feb 14 02:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:57:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:57:11 ---> package-listing.sh 02:57:11 ++ facter osfamily 02:57:11 ++ tr '[:upper:]' '[:lower:]' 02:57:11 + OS_FAMILY=debian 02:57:11 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-98 02:57:11 + START_PACKAGES=/tmp/packages_start.txt 02:57:11 + END_PACKAGES=/tmp/packages_end.txt 02:57:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:57:11 + PACKAGES=/tmp/packages_start.txt 02:57:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-98 ']' 02:57:11 + PACKAGES=/tmp/packages_end.txt 02:57:11 + case "${OS_FAMILY}" in 02:57:11 + dpkg -l 02:57:11 + grep '^ii' 02:57:11 + '[' -f /tmp/packages_start.txt ']' 02:57:11 + '[' -f /tmp/packages_end.txt ']' 02:57:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:57:11 + '[' /w/workspace/edgexfoundry_device-gpio_PR-98 ']' 02:57:11 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-98/archives/ 02:57:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-98/archives/ [Pipeline] echo 02:57:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:57:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:12 prd-ubuntu20.04-docker-8c-8g-5719 does not seem to be running inside a container 02:57:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:57:13 $ docker top d0523f681728413a015eb300cceca6b53d5ec1c3ea15fc1ec852e2c5a4ff61aa -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:13 + touch /tmp/pre-build-complete [Pipeline] sh 02:57:13 + mkdir -p /var/log/sysstat [Pipeline] sh 02:57:13 + ls /var/log/sa-host 02:57:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:14 provisioning config files... 02:57:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config2155442748064784393tmp [Pipeline] { [Pipeline] echo 02:57:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:57:14 ---> create-netrc.sh [Pipeline] } 02:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:57:14 ---> python-tools-install.sh [Pipeline] echo 02:57:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:57:15 ---> sudo-logs.sh 02:57:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:57:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:57:15 ---> job-cost.sh 02:57:15 lf-activate-venv: SKIPPING 02:57:15 DEBUG: total: 0.2199999988079071 02:57:15 INFO: Retrieving Stack Cost... 02:57:15 INFO: Retrieving Pricing Info for: v3-standard-8 02:57:15 INFO: Archiving Costs [Pipeline] echo 02:57:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:57:15 ---> logs-deploy.sh 02:57:15 lf-activate-venv: SKIPPING 02:57:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-98/2 02:57:15 INFO: archiving workspace using pattern(s): 02:57:16 Archives upload complete. 02:57:17 INFO: archiving logs to Nexus