Pull request #291 opened 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 22c70faaf00cd146e1beab04f1d274f2567ac7a8+2da8002a0f90c09723ed576a82490c9132775745 (e110820223a1524bcc4ef256aad73da6b12e0f36) 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-ssh4466273688516944654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12259467510918789640.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-rest-go/branches/PR-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6293939772360643094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-rest-go/branches/PR-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14706399049581529415.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8101146742186397717.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-291/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-rest-go/branches/PR-291/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8425058850812326586.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-rest 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-8737 in /w/workspace/gexfoundry_device-rest-go_PR-291 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-291 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2da8002a0f90c09723ed576a82490c9132775745 into PR head commit 22c70faaf00cd146e1beab04f1d274f2567ac7a8 Merge succeeded, producing 22c70faaf00cd146e1beab04f1d274f2567ac7a8 Checking out Revision 22c70faaf00cd146e1beab04f1d274f2567ac7a8 (PR-291) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22c70faaf00cd146e1beab04f1d274f2567ac7a8 # 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 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22c70faaf00cd146e1beab04f1d274f2567ac7a8 # timeout=10 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:46:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:46:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:46:37 ========================================================= 16:46:37 EdgeX Global Pipelines Version Info 16:46:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:46:38 ------------------- 16:46:38 stable info: 16:46:38 ------------------- 16:46:38 Commited By: Bill Mahoney bill.mahoney@intel.com 16:46:38 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 16:46:38 Message: update stable to v1.0.248 16:46:38 ------------------- 16:46:38 experimental info: 16:46:38 ------------------- 16:46:38 Commited By: **** collab-it+edgex@linuxfoundation.org 16:46:38 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 16:46:38 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:46:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22c70faaf00cd146e1beab04f1d274f2567ac7a8 [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22c70fa [Pipeline] echo 16:46:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:40 provisioning config files... 16:46:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config10259307450737543177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:41 ---> docker-login.sh 16:46:41 nexus3.edgexfoundry.org:10001 16:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:41 Configure a credential helper to remove this warning. See 16:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:41 16:46:41 Login Succeeded 16:46:41 nexus3.edgexfoundry.org:10002 16:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:41 Configure a credential helper to remove this warning. See 16:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:41 16:46:41 Login Succeeded 16:46:41 nexus3.edgexfoundry.org:10003 16:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:41 Configure a credential helper to remove this warning. See 16:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:41 16:46:41 Login Succeeded 16:46:41 nexus3.edgexfoundry.org:10004 16:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:41 Configure a credential helper to remove this warning. See 16:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:41 16:46:41 Login Succeeded 16:46:41 docker.io 16:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:42 Configure a credential helper to remove this warning. See 16:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:42 16:46:42 Login Succeeded 16:46:42 ---> docker-login.sh ends [Pipeline] } 16:46:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:46:42 + git rev-list -1 --merges 22c70faaf00cd146e1beab04f1d274f2567ac7a8~1..22c70faaf00cd146e1beab04f1d274f2567ac7a8 [Pipeline] echo 16:46:42 -----------> git rev-list -1 --merges 22c70faaf00cd146e1beab04f1d274f2567ac7a8~1..22c70faaf00cd146e1beab04f1d274f2567ac7a8 22c70faaf00cd146e1beab04f1d274f2567ac7a8 [false] [Pipeline] sh 16:46:43 + git log --format=format:%s -1 22c70faaf00cd146e1beab04f1d274f2567ac7a8 [Pipeline] echo 16:46:43 ========================================================= 16:46:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:46:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:46:43 + git log --format=format:%s -1 22c70faaf00cd146e1beab04f1d274f2567ac7a8 [Pipeline] echo 16:46:43 [semverPrep] GIT_COMMIT: 22c70faaf00cd146e1beab04f1d274f2567ac7a8, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config [Pipeline] echo 16:46:43 [semverPrep] This is not a build commit. [Pipeline] sh 16:46:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:46:44 + grep -v github /etc/ssh/ssh_known_hosts 16:46:44 + [ -e /tmp/ssh_known_hosts ] 16:46:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:46:44 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:46:44 sudo tee -a /etc/ssh/ssh_known_hosts 16:46:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:44 16:46:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:44 0.1.4: Pulling from edgex-devops/py-git-semver 16:46:44 b85a868b505f: Pulling fs layer 16:46:44 e2be974225ed: Pulling fs layer 16:46:44 339a4e72a1f5: Pulling fs layer 16:46:44 988bab9f4d93: Pulling fs layer 16:46:44 1469e6f7b9e6: Pulling fs layer 16:46:44 eaf3925da568: Pulling fs layer 16:46:44 bab4dde63d76: Pulling fs layer 16:46:44 bde34c3a00c8: Pulling fs layer 16:46:44 b352a97aabf1: Pulling fs layer 16:46:44 4872d77fe225: Pulling fs layer 16:46:44 5851b861e8e6: Pulling fs layer 16:46:44 988bab9f4d93: Waiting 16:46:44 1469e6f7b9e6: Waiting 16:46:44 eaf3925da568: Waiting 16:46:44 bab4dde63d76: Waiting 16:46:44 bde34c3a00c8: Waiting 16:46:44 b352a97aabf1: Waiting 16:46:44 4872d77fe225: Waiting 16:46:44 5851b861e8e6: Waiting 16:46:44 e2be974225ed: Verifying Checksum 16:46:44 e2be974225ed: Download complete 16:46:44 988bab9f4d93: Verifying Checksum 16:46:44 988bab9f4d93: Download complete 16:46:45 1469e6f7b9e6: Verifying Checksum 16:46:45 1469e6f7b9e6: Download complete 16:46:45 339a4e72a1f5: Verifying Checksum 16:46:45 339a4e72a1f5: Download complete 16:46:45 eaf3925da568: Download complete 16:46:45 bde34c3a00c8: Verifying Checksum 16:46:45 bde34c3a00c8: Download complete 16:46:45 b352a97aabf1: Verifying Checksum 16:46:45 b352a97aabf1: Download complete 16:46:45 4872d77fe225: Download complete 16:46:45 5851b861e8e6: Verifying Checksum 16:46:45 5851b861e8e6: Download complete 16:46:45 b85a868b505f: Verifying Checksum 16:46:45 b85a868b505f: Download complete 16:46:45 bab4dde63d76: Verifying Checksum 16:46:45 bab4dde63d76: Download complete 16:46:46 b85a868b505f: Pull complete 16:46:46 e2be974225ed: Pull complete 16:46:46 339a4e72a1f5: Pull complete 16:46:47 988bab9f4d93: Pull complete 16:46:47 1469e6f7b9e6: Pull complete 16:46:47 eaf3925da568: Pull complete 16:46:49 bab4dde63d76: Pull complete 16:46:49 bde34c3a00c8: Pull complete 16:46:49 b352a97aabf1: Pull complete 16:46:49 4872d77fe225: Pull complete 16:46:49 5851b861e8e6: Pull complete 16:46:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:49 prd-ubuntu20.04-docker-8c-8g-8737 does not seem to be running inside a container 16:46:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:46:55 $ docker top 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 -eo pid,comm 16: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). 16:46:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:55 [ssh-agent] Looking for ssh-agent implementation... 16:46:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:55 $ docker exec 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 ssh-agent 16:46:55 SSH_AUTH_SOCK=/tmp/ssh-vlYbqatsJLZC/agent.32 16:46:55 SSH_AGENT_PID=38 16:46:55 Running ssh-add (command line suppressed) 16:46:55 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_2837292995149472641.key (/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_2837292995149472641.key) 16:46:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:56 + git tag --points-at HEAD [Pipeline] } 16:46:56 $ docker exec --env ******** --env ******** 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 ssh-agent -k 16:46:56 unset SSH_AUTH_SOCK; 16:46:56 unset SSH_AGENT_PID; 16:46:56 echo Agent pid 38 killed; 16:46:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:46:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:56 [ssh-agent] Looking for ssh-agent implementation... 16:46:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:56 $ docker exec 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 ssh-agent 16:46:56 SSH_AUTH_SOCK=/tmp/ssh-83MSjahYYIAJ/agent.70 16:46:56 SSH_AGENT_PID=76 16:46:56 Running ssh-add (command line suppressed) 16:46:56 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_13815603626701030739.key (/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_13815603626701030739.key) 16:46:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:57 + git semver init 16:46:57 2023-04-17 16:46:57,429 [run_init] DEBUG init version:0.0.0 force:False 16:46:57 2023-04-17 16:46:57,430 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-291/.semver 16:46:57 2023-04-17 16:46:57,431 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-291/.semver 16:46:57 2023-04-17 16:46:57,431 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-291/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-291, universal_newlines=False, shell=None, istream=None) 16:46:58 2023-04-17 16:46:58,442 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-291/.git/info/exclude 16:46:58 2023-04-17 16:46:58,443 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-291/.semver/PR-291 with force:False 16:46:58 2023-04-17 16:46:58,443 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-291/.semver/PR-291 16:46:58 2023-04-17 16:46:58,447 [execute] INFO git cat-file --batch-check 16:46:58 2023-04-17 16:46:58,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-291/.semver, universal_newlines=False, shell=None, istream=) 16:46:58 2023-04-17 16:46:58,454 [execute] INFO git cat-file --batch 16:46:58 2023-04-17 16:46:58,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-291/.semver, universal_newlines=False, shell=None, istream=) 16:46:58 2023-04-17 16:46:58,460 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-291/.semver/PR-291 16:46:58 0.0.0 [Pipeline] } 16:46:58 $ docker exec --env ******** --env ******** 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 ssh-agent -k 16:46:58 unset SSH_AUTH_SOCK; 16:46:58 unset SSH_AGENT_PID; 16:46:58 echo Agent pid 76 killed; 16:46:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:59 + git semver [Pipeline] } 16:46:59 $ docker stop --time=1 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 16:47:00 $ docker rm -f --volumes 3e402ec14092c3ab857e354fb5a705be55767a5d04cacc369de0d6330971fe54 [Pipeline] // withDockerContainer [Pipeline] sh 16:47:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:47:01 Stashed 1 file(s) [Pipeline] echo 16:47:01 [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 16:47:02 provisioning config files... 16:47:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config18231970001443110120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:02 ---> docker-login.sh 16:47:02 nexus3.edgexfoundry.org:10001 16:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:02 Configure a credential helper to remove this warning. See 16:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:02 16:47:02 Login Succeeded 16:47:02 nexus3.edgexfoundry.org:10002 16:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:02 Configure a credential helper to remove this warning. See 16:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:02 16:47:02 Login Succeeded 16:47:02 nexus3.edgexfoundry.org:10003 16:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:02 Configure a credential helper to remove this warning. See 16:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:02 16:47:02 Login Succeeded 16:47:02 nexus3.edgexfoundry.org:10004 16:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:02 Configure a credential helper to remove this warning. See 16:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:02 16:47:02 Login Succeeded 16:47:02 docker.io 16:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:03 Configure a credential helper to remove this warning. See 16:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:03 16:47:03 Login Succeeded 16:47:03 ---> docker-login.sh ends [Pipeline] } 16:47:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:47:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:47:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:47:03 ========================================================= 16:47:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:47:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:47:03 Sending build context to Docker daemon 10.88MB 16:47:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:47:03 Step 2/12 : FROM ${BASE} AS builder 16:47:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:47:03 63b65145d645: Pulling fs layer 16:47:03 a2d21d5440eb: Pulling fs layer 16:47:03 935e6c44a52c: Pulling fs layer 16:47:03 94cc34f8dd06: Pulling fs layer 16:47:03 30dea6a524f1: Pulling fs layer 16:47:03 a2aff8979fd8: Pulling fs layer 16:47:03 6808be2612f2: Pulling fs layer 16:47:03 f25807f1079a: Pulling fs layer 16:47:03 6808be2612f2: Waiting 16:47:03 94cc34f8dd06: Waiting 16:47:03 f25807f1079a: Waiting 16:47:03 a2aff8979fd8: Waiting 16:47:03 a2d21d5440eb: Download complete 16:47:03 94cc34f8dd06: Verifying Checksum 16:47:03 94cc34f8dd06: Download complete 16:47:03 30dea6a524f1: Verifying Checksum 16:47:03 30dea6a524f1: Download complete 16:47:03 63b65145d645: Verifying Checksum 16:47:03 63b65145d645: Download complete 16:47:03 a2aff8979fd8: Verifying Checksum 16:47:03 a2aff8979fd8: Download complete 16:47:03 63b65145d645: Pull complete 16:47:04 a2d21d5440eb: Pull complete 16:47:04 f25807f1079a: Download complete 16:47:04 935e6c44a52c: Verifying Checksum 16:47:04 935e6c44a52c: Download complete 16:47:04 6808be2612f2: Verifying Checksum 16:47:04 6808be2612f2: Download complete 16:47:08 935e6c44a52c: Pull complete 16:47:08 94cc34f8dd06: Pull complete 16:47:08 30dea6a524f1: Pull complete 16:47:08 a2aff8979fd8: Pull complete 16:47:10 6808be2612f2: Pull complete 16:47:11 f25807f1079a: Pull complete 16:47:11 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:47:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:47:11 ---> 3b553350e43f 16:47:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:47:16 Still waiting to schedule task 16:47:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:47:17 ---> Running in 1d1f9fb35036 16:47:17 Removing intermediate container 1d1f9fb35036 16:47:17 ---> faf23f93e4a1 16:47:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:47:17 ---> Running in 74e5b17729a2 16:47:17 Removing intermediate container 74e5b17729a2 16:47:17 ---> 65fa220e1078 16:47:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:47:17 ---> Running in a2ca74313720 16:47:17 Removing intermediate container a2ca74313720 16:47:17 ---> f993562ea05c 16:47:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:47:17 ---> Running in a1aae0baba0e 16:47:17 Removing intermediate container a1aae0baba0e 16:47:17 ---> 17d3dce68206 16:47:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:47:17 ---> Running in fe0680eba133 16:47:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:47:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:47:17 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:47:17 (2/4) Installing libedit (20221030.3.1-r0) 16:47:17 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:47:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:47:17 Executing busybox-1.35.0-r29.trigger 16:47:17 OK: 269 MiB in 57 packages 16:47:17 Removing intermediate container fe0680eba133 16:47:17 ---> 74c54eedd5f9 16:47:17 Step 8/12 : WORKDIR /device-rest-go 16:47:17 ---> Running in f6a12a3892e3 16:47:18 Removing intermediate container f6a12a3892e3 16:47:18 ---> c84850711946 16:47:18 Step 9/12 : COPY go.mod vendor* ./ 16:47:18 ---> 48f6875e29d1 16:47:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:47:18 ---> Running in 2bc1d28e31d7 16:47:56 Removing intermediate container 2bc1d28e31d7 16:47:56 ---> 5a5afefb5868 16:47:56 Step 11/12 : COPY . . 16:47:56 ---> 931c043fba4a 16:47:56 Step 12/12 : RUN $MAKE 16:47:56 ---> Running in 5cada4a211af 16:47:56 noop 16:47:56 Removing intermediate container 5cada4a211af 16:47:56 ---> 5c0aa32c2b05 16:47:56 Successfully built 5c0aa32c2b05 16:47:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:57 + docker inspect -f . ci-base-image-x86_64 16:47:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:57 prd-ubuntu20.04-docker-8c-8g-8737 does not seem to be running inside a container 16:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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 ******** ci-base-image-x86_64 cat 16:47:57 $ docker top 3d8cd099bc9cabe85c66d5df77a4bb6ddcf176ef84ea04f5a35d62aa918404a9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:58 + go version 16:47:58 go version go1.20.2 linux/amd64 [Pipeline] } 16:47:58 $ docker stop --time=1 3d8cd099bc9cabe85c66d5df77a4bb6ddcf176ef84ea04f5a35d62aa918404a9 16:47:59 $ docker rm -f --volumes 3d8cd099bc9cabe85c66d5df77a4bb6ddcf176ef84ea04f5a35d62aa918404a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:00 + docker inspect -f . ci-base-image-x86_64 16:48:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:00 prd-ubuntu20.04-docker-8c-8g-8737 does not seem to be running inside a container 16:48:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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 ******** ci-base-image-x86_64 cat 16:48:00 $ docker top 1c0326a40088b24782a3a2d41ee0eb7cb80d1669424145b51b4e1705f9084c3d -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-291 [Pipeline] fileExists [Pipeline] sh 16:48:01 + make test 16:48:01 go test ./... -coverprofile=coverage.out ./... 16:48:06 ? github.com/edgexfoundry/device-rest-go [no test files] 16:48:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:48:16 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.3% of statements 16:48:23 go vet ./... 16:48:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:48:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:48:27 ./bin/test-attribution-txt.sh 16:48:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 16:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:48:27 $ docker stop --time=1 1c0326a40088b24782a3a2d41ee0eb7cb80d1669424145b51b4e1705f9084c3d 16:48:31 $ docker rm -f --volumes 1c0326a40088b24782a3a2d41ee0eb7cb80d1669424145b51b4e1705f9084c3d [Pipeline] // withDockerContainer [Pipeline] sh 16:48:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:48:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:48:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:48:32 + ls -al . 16:48:32 total 184 16:48:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 16:48 . 16:48:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:46 .. 16:48:32 -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 16:46 .dockerignore 16:48:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:46 .git 16:48:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:46 .github 16:48:32 -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 16:46 .gitignore 16:48:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 16:46 .golangci.yml 16:48:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 16:46 .semver 16:48:32 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 16:46 Attribution.txt 16:48:32 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 16:46 CHANGELOG.md 16:48:32 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 16:46 Dockerfile 16:48:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 16:46 GOVERNANCE.md 16:48:32 -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 16:46 Jenkinsfile 16:48:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 16:46 LICENSE 16:48:32 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 16:46 Makefile 16:48:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 16:46 OWNERS.md 16:48:32 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 16:46 README.md 16:48:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 16:47 VERSION 16:48:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:46 bin 16:48:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:46 cmd 16:48:32 -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 16:48 coverage.out 16:48:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:46 driver 16:48:32 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 16:46 go.mod 16:48:32 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 16:46 go.sum 16:48:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:46 snap 16:48:32 -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 16:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:33 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=22c70faaf00cd146e1beab04f1d274f2567ac7a8 --label arch=amd64 --label version=0.0.0 . 16:48:33 Sending build context to Docker daemon 10.9MB 16:48:33 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:48:33 Step 2/25 : FROM ${BASE} AS builder 16:48:33 ---> 5c0aa32c2b05 16:48:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:48:33 ---> Running in 135f662f32a5 16:48:33 Removing intermediate container 135f662f32a5 16:48:33 ---> d80ca3120f4d 16:48:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:48:33 ---> Running in 6b0d018279e4 16:48:33 Removing intermediate container 6b0d018279e4 16:48:33 ---> cdbd535b5b8d 16:48:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:48:33 ---> Running in f7ca73a55fba 16:48:33 Removing intermediate container f7ca73a55fba 16:48:33 ---> a4ead7fb1a84 16:48:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:48:33 ---> Running in dfdac25a2b78 16:48:33 Removing intermediate container dfdac25a2b78 16:48:33 ---> 4c47a1c1c1a3 16:48:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:33 ---> Running in b4425d82c45b 16:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:48:34 OK: 269 MiB in 57 packages 16:48:34 Removing intermediate container b4425d82c45b 16:48:34 ---> 1a523586adba 16:48:34 Step 8/25 : WORKDIR /device-rest-go 16:48:34 ---> Running in 91c2ffccb417 16:48:34 Removing intermediate container 91c2ffccb417 16:48:34 ---> b9980f6b227e 16:48:34 Step 9/25 : COPY go.mod vendor* ./ 16:48:34 ---> 6dcc19396913 16:48:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:34 ---> Running in d976d6819d51 16:48:35 Removing intermediate container d976d6819d51 16:48:35 ---> 2841dace52fd 16:48:35 Step 11/25 : COPY . . 16:48:36 ---> bf94eba3cad6 16:48:36 Step 12/25 : RUN $MAKE 16:48:36 ---> Running in 809fd274a681 16:48:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:48:58 Removing intermediate container 809fd274a681 16:48:58 ---> 657982b5b6bc 16:48:58 Step 13/25 : FROM alpine:3.17 16:48:58 3.17: Pulling from library/alpine 16:48:58 f56be85fc22e: Pulling fs layer 16:48:58 f56be85fc22e: Verifying Checksum 16:48:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8738 in /w/workspace/gexfoundry_device-rest-go_PR-291 [Pipeline] { 16:48:59 f56be85fc22e: Pull complete 16:48:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:48:59 Status: Downloaded newer image for alpine:3.17 16:48:59 ---> 9ed4aefc74f6 16:48:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [Pipeline] ws 16:48:59 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 16:48:59 ---> Running in 82ef0fcf6880 16:48:59 Removing intermediate container 82ef0fcf6880 16:48:59 ---> ea5c5894bb46 16:48:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:48:59 ---> Running in 96741b5c9cd7 16:48:59 Removing intermediate container 96741b5c9cd7 16:48:59 ---> 474f12aa3b1d 16:48:59 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:48:59 ---> Running in 091c3b89ed88 16:48:59 The recommended git tool is: git 16:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:48:59 (1/1) Installing dumb-init (1.2.5-r2) 16:48:59 Executing busybox-1.35.0-r29.trigger 16:48:59 OK: 7 MiB in 16 packages 16:49:00 Removing intermediate container 091c3b89ed88 16:49:00 ---> 52d3be7e4bde 16:49:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:49:01 ---> 79ad413feacb 16:49:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:49:01 ---> 47d9c2ba3ea3 16:49:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:49:01 ---> a5271b826710 16:49:01 Step 20/25 : EXPOSE 59986 16:49:01 ---> Running in cbb17e2eb166 16:49:01 Removing intermediate container cbb17e2eb166 16:49:01 ---> f44a8af6a9a0 16:49:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:49:01 ---> Running in 3297e2259d56 16:49:01 Removing intermediate container 3297e2259d56 16:49:01 ---> b9a1c36cd15c 16:49:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:49:01 ---> Running in 74c8f743ca4e 16:49:01 Removing intermediate container 74c8f743ca4e 16:49:01 ---> 7c831475e2bd 16:49:01 Step 23/25 : LABEL arch=amd64 16:49:01 ---> Running in d1ae2313b521 16:49:01 Removing intermediate container d1ae2313b521 16:49:01 ---> 98af013ebc9f 16:49:01 Step 24/25 : LABEL git_sha=22c70faaf00cd146e1beab04f1d274f2567ac7a8 16:49:01 ---> Running in 58da52262987 16:49:02 Removing intermediate container 58da52262987 16:49:02 ---> 3e4d7d639c9e 16:49:02 Step 25/25 : LABEL version=0.0.0 16:49:02 ---> Running in 187bb7970a10 16:49:02 Removing intermediate container 187bb7970a10 16:49:02 ---> 29299ed5d34f 16:49:02 [Warning] One or more build-args [ARCH] were not consumed 16:49:02 Successfully built 29299ed5d34f 16:49:02 Successfully tagged device-rest: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 16:49:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:02 16:49:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:03 latest: Pulling from edgex-lftools-log-publisher 16:49:03 5eb5b503b376: Pulling fs layer 16:49:03 5c69ac0246d0: Pulling fs layer 16:49:03 ec43610c2a17: Pulling fs layer 16:49:03 3a2ae6a8a46f: Pulling fs layer 16:49:03 33b1e0a273af: Pulling fs layer 16:49:03 5d3b04190fa2: Pulling fs layer 16:49:03 2f39f015ded8: Pulling fs layer 16:49:03 3a2ae6a8a46f: Waiting 16:49:03 33b1e0a273af: Waiting 16:49:03 5d3b04190fa2: Waiting 16:49:03 2f39f015ded8: Waiting 16:49:03 5c69ac0246d0: Download complete 16:49:03 3a2ae6a8a46f: Verifying Checksum 16:49:03 3a2ae6a8a46f: Download complete 16:49:03 33b1e0a273af: Verifying Checksum 16:49:03 33b1e0a273af: Download complete 16:49:03 5d3b04190fa2: Verifying Checksum 16:49:03 5d3b04190fa2: Download complete 16:49:03 ec43610c2a17: Verifying Checksum 16:49:03 ec43610c2a17: Download complete 16:49:03 5eb5b503b376: Verifying Checksum 16:49:03 5eb5b503b376: Download complete 16:49:04 2f39f015ded8: Verifying Checksum 16:49:04 2f39f015ded8: Download complete 16:49:04 using credential edgex-jenkins-ssh 16:49:04 Cloning the remote Git repository 16:49:05 5eb5b503b376: Pull complete 16:49:05 5c69ac0246d0: Pull complete 16:49:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:49:04 > git init /w/workspace/device-rest-go/1 # timeout=10 16:49:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:49:05 > git --version # timeout=10 16:49:05 > git --version # 'git version 2.25.1' 16:49:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:05 ec43610c2a17: Pull complete 16:49:05 3a2ae6a8a46f: Pull complete 16:49:05 33b1e0a273af: Pull complete 16:49:05 5d3b04190fa2: Pull complete 16:49:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:49:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:09 Merging remotes/origin/main commit 2da8002a0f90c09723ed576a82490c9132775745 into PR head commit 22c70faaf00cd146e1beab04f1d274f2567ac7a8 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:49:09 Failed in branch arm64 16:49:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:49:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:49:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:49:09 > git config core.sparsecheckout # timeout=10 16:49:09 > git checkout -f 22c70faaf00cd146e1beab04f1d274f2567ac7a8 # timeout=10 16:49:10 2f39f015ded8: Pull complete 16:49:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:10 prd-ubuntu20.04-docker-8c-8g-8737 does not seem to be running inside a container 16:49:10 $ 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/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:49:16 $ docker top bfca15ce1fc2d2fb1c61df16d8849067e697e2c637cb9ca8461fae2973ff453d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:16 ---> job-cost.sh 16:49:16 lf-activate-venv: SKIPPING 16:49:16 INFO: No Stack... 16:49:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:49:17 INFO: Archiving Costs [Pipeline] sh 16:49:17 + cat /w/workspace/gexfoundry_device-rest-go_PR-291/archives/cost.csv 16:49:17 + cut -d, -f6 [Pipeline] lock 16:49:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-291-1-stack-cost] 16:49:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-291-1-stack-cost] did not exist. Created. 16:49:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-291-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:49:17 + echo total: 0.2199999988079071 [Pipeline] stash 16:49:17 Stashed 1 file(s) [Pipeline] } 16:49:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-291-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:49:18 $ docker stop --time=1 bfca15ce1fc2d2fb1c61df16d8849067e697e2c637cb9ca8461fae2973ff453d 16:49:19 $ docker rm -f --volumes bfca15ce1fc2d2fb1c61df16d8849067e697e2c637cb9ca8461fae2973ff453d [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 16:49:21 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-291/archives ] 16:49:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-291/archives 16:49:21 total 16 16:49:21 drwxr-xr-x 3 root root 4096 Apr 17 16:49 . 16:49:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 16:49 .. 16:49:21 drwxr-xr-x 2 root root 4096 Apr 17 16:49 cost 16:49:21 -rw-r--r-- 1 root root 86 Apr 17 16:49 cost.csv 16:49:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-291/archives 16:49:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-291/archives 16:49:21 total 16 16:49:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 16:49 . 16:49:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 16:49 .. 16:49:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 16:49 cost 16:49:21 -rw-r--r-- 1 jenkins jenkins 86 Apr 17 16:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:49:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:49:22 ---> package-listing.sh 16:49:22 ++ facter osfamily 16:49:22 ++ tr '[:upper:]' '[:lower:]' 16:49:23 + OS_FAMILY=debian 16:49:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-291 16:49:23 + START_PACKAGES=/tmp/packages_start.txt 16:49:23 + END_PACKAGES=/tmp/packages_end.txt 16:49:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:49:23 + PACKAGES=/tmp/packages_start.txt 16:49:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-291 ']' 16:49:23 + PACKAGES=/tmp/packages_end.txt 16:49:23 + case "${OS_FAMILY}" in 16:49:23 + dpkg -l 16:49:23 + grep '^ii' 16:49:23 + '[' -f /tmp/packages_start.txt ']' 16:49:23 + '[' -f /tmp/packages_end.txt ']' 16:49:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:49:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-291 ']' 16:49:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-291/archives/ 16:49:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-291/archives/ [Pipeline] echo 16:49:23 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/gexfoundry_device-rest-go_PR-291/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:49:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:24 prd-ubuntu20.04-docker-8c-8g-8737 does not seem to be running inside a container 16:49:24 $ 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/gexfoundry_device-rest-go_PR-291/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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-lftools-log-publisher:latest cat 16:49:24 $ docker top 15a9bb6fdda701b60d266fe751c33a096c2f0185be0939416ecbfa76deb4ef0b -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:24 + touch /tmp/pre-build-complete [Pipeline] sh 16:49:25 + mkdir -p /var/log/sysstat [Pipeline] sh 16:49:25 + ls /var/log/sa-host 16:49:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:49:25 provisioning config files... 16:49:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config14161852157063582973tmp [Pipeline] { [Pipeline] echo 16:49:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:49:25 ---> create-netrc.sh [Pipeline] } 16:49:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:49:26 ---> python-tools-install.sh [Pipeline] echo 16:49:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:49:26 ---> sudo-logs.sh 16:49:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:49:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:49:27 ---> job-cost.sh 16:49:27 lf-activate-venv: SKIPPING 16:49:27 DEBUG: total: 0.2199999988079071 16:49:27 INFO: Retrieving Stack Cost... 16:49:27 INFO: Retrieving Pricing Info for: v3-standard-8 16:49:27 INFO: Archiving Costs [Pipeline] echo 16:49:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:49:28 ---> logs-deploy.sh 16:49:28 lf-activate-venv: SKIPPING 16:49:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-291/1 16:49:28 INFO: archiving workspace using pattern(s): 16:49:29 Archives upload complete. 16:49:29 INFO: archiving logs to Nexus