Pull request #252 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e2c797ab16015500a912b345b179ce5b22bdaf3+361e34ad238f1f05923baf29fae00e57c159c00c (f329966559236c71c0ef11497ee718f47661e528) 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-ssh9717778030987274329.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-ssh12503326215711112472.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 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-252/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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13487013185868294471.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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14024237222454869667.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 > 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-ssh3866304392087695235.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-252/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-252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15959993551469120506.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.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-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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5949 in /w/workspace/gexfoundry_device-rest-go_PR-252 [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-252 # 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 > 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/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit 0e2c797ab16015500a912b345b179ce5b22bdaf3 Merge succeeded, producing 0e2c797ab16015500a912b345b179ce5b22bdaf3 Checking out Revision 0e2c797ab16015500a912b345b179ce5b22bdaf3 (PR-252) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:42:09.241Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 0e2c797ab16015500a912b345b179ce5b22bdaf3 # 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 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e2c797ab16015500a912b345b179ce5b22bdaf3 # timeout=10 [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:42:09.410Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:42:09.507Z] ========================================================= [2023-02-15T00:42:09.507Z] EdgeX Global Pipelines Version Info [2023-02-15T00:42:09.507Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:42:10.261Z] ------------------- [2023-02-15T00:42:10.261Z] stable info: [2023-02-15T00:42:10.261Z] ------------------- [2023-02-15T00:42:10.261Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:42:10.261Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:42:10.261Z] Message: update stable to v1.0.244 [2023-02-15T00:42:10.840Z] ------------------- [2023-02-15T00:42:10.840Z] experimental info: [2023-02-15T00:42:10.840Z] ------------------- [2023-02-15T00:42:10.840Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:42:10.840Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:42:10.840Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:42:11.141Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T00:42:11.178Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T00:42:11.220Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:42:11.268Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:42:11.310Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:42:11.352Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:42:11.392Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:42:11.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T00:42:11.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:42:11.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:42:11.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:42:11.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T00:42:11.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:42:11.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:42:11.687Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:42:11.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:42:11.779Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:42:11.820Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:42:11.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:42:11.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:42:11.944Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T00:42:11.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T00:42:12.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:42:12.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:42:12.112Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:42:12.156Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:42:12.194Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:42:12.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-252 [Pipeline] echo [2023-02-15T00:42:12.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-252 [Pipeline] echo [2023-02-15T00:42:12.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-252 [Pipeline] echo [2023-02-15T00:42:12.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e2c797ab16015500a912b345b179ce5b22bdaf3 [Pipeline] echo [2023-02-15T00:42:12.402Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e2c797 [Pipeline] echo [2023-02-15T00:42:12.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:42:12.545Z] provisioning config files... [2023-02-15T00:42:12.584Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/config10675234203085786907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:42:12.928Z] ---> docker-login.sh [2023-02-15T00:42:12.928Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:42:13.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:13.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:13.187Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:13.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:13.188Z] [2023-02-15T00:42:13.188Z] Login Succeeded [2023-02-15T00:42:13.188Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:42:13.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:13.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:13.188Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:13.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:13.188Z] [2023-02-15T00:42:13.188Z] Login Succeeded [2023-02-15T00:42:13.188Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:42:13.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:13.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:13.447Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:13.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:13.447Z] [2023-02-15T00:42:13.447Z] Login Succeeded [2023-02-15T00:42:13.447Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:42:13.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:13.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:13.447Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:13.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:13.447Z] [2023-02-15T00:42:13.447Z] Login Succeeded [2023-02-15T00:42:13.447Z] docker.io [2023-02-15T00:42:13.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:13.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:13.971Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:13.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:13.971Z] [2023-02-15T00:42:13.971Z] Login Succeeded [2023-02-15T00:42:13.971Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:42:13.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:42:14.621Z] + git rev-list -1 --merges 0e2c797ab16015500a912b345b179ce5b22bdaf3~1..0e2c797ab16015500a912b345b179ce5b22bdaf3 [Pipeline] echo [2023-02-15T00:42:14.687Z] -----------> git rev-list -1 --merges 0e2c797ab16015500a912b345b179ce5b22bdaf3~1..0e2c797ab16015500a912b345b179ce5b22bdaf3 0e2c797ab16015500a912b345b179ce5b22bdaf3 [false] [Pipeline] sh [2023-02-15T00:42:14.997Z] + git log --format=format:%s -1 0e2c797ab16015500a912b345b179ce5b22bdaf3 [Pipeline] echo [2023-02-15T00:42:15.031Z] ========================================================= [2023-02-15T00:42:15.031Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:42:15.031Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:42:15.482Z] + git log --format=format:%s -1 0e2c797ab16015500a912b345b179ce5b22bdaf3 [Pipeline] echo [2023-02-15T00:42:15.513Z] [semverPrep] GIT_COMMIT: 0e2c797ab16015500a912b345b179ce5b22bdaf3, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-15T00:42:15.542Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:42:15.930Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:42:15.930Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:42:15.930Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:42:15.930Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:42:15.930Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:42:15.930Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T00:42:15.930Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:16.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:42:16.355Z] [2023-02-15T00:42:16.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:16.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:42:16.727Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:42:16.727Z] b85a868b505f: Pulling fs layer [2023-02-15T00:42:16.727Z] e2be974225ed: Pulling fs layer [2023-02-15T00:42:16.727Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:42:16.727Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:42:16.727Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:42:16.727Z] eaf3925da568: Pulling fs layer [2023-02-15T00:42:16.727Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:42:16.727Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:42:16.727Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:42:16.727Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:42:16.727Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:42:16.727Z] bab4dde63d76: Waiting [2023-02-15T00:42:16.727Z] bde34c3a00c8: Waiting [2023-02-15T00:42:16.727Z] 4872d77fe225: Waiting [2023-02-15T00:42:16.727Z] b352a97aabf1: Waiting [2023-02-15T00:42:16.727Z] 1469e6f7b9e6: Waiting [2023-02-15T00:42:16.727Z] eaf3925da568: Waiting [2023-02-15T00:42:16.727Z] e2be974225ed: Verifying Checksum [2023-02-15T00:42:16.727Z] e2be974225ed: Download complete [2023-02-15T00:42:17.005Z] 988bab9f4d93: Verifying Checksum [2023-02-15T00:42:17.005Z] 988bab9f4d93: Download complete [2023-02-15T00:42:17.289Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:42:17.289Z] 1469e6f7b9e6: Download complete [2023-02-15T00:42:17.289Z] eaf3925da568: Download complete [2023-02-15T00:42:17.289Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:42:17.289Z] 339a4e72a1f5: Download complete [2023-02-15T00:42:17.289Z] bde34c3a00c8: Verifying Checksum [2023-02-15T00:42:17.289Z] bde34c3a00c8: Download complete [2023-02-15T00:42:17.570Z] b352a97aabf1: Download complete [2023-02-15T00:42:17.570Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:42:17.570Z] 4872d77fe225: Download complete [2023-02-15T00:42:17.570Z] 5851b861e8e6: Verifying Checksum [2023-02-15T00:42:17.570Z] 5851b861e8e6: Download complete [2023-02-15T00:42:17.841Z] b85a868b505f: Verifying Checksum [2023-02-15T00:42:17.841Z] b85a868b505f: Download complete [2023-02-15T00:42:18.426Z] bab4dde63d76: Verifying Checksum [2023-02-15T00:42:18.426Z] bab4dde63d76: Download complete [2023-02-15T00:42:18.995Z] b85a868b505f: Pull complete [2023-02-15T00:42:18.995Z] e2be974225ed: Pull complete [2023-02-15T00:42:19.562Z] 339a4e72a1f5: Pull complete [2023-02-15T00:42:19.562Z] 988bab9f4d93: Pull complete [2023-02-15T00:42:19.821Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:42:20.079Z] eaf3925da568: Pull complete [2023-02-15T00:42:21.993Z] bab4dde63d76: Pull complete [2023-02-15T00:42:21.993Z] bde34c3a00c8: Pull complete [2023-02-15T00:42:22.252Z] b352a97aabf1: Pull complete [2023-02-15T00:42:22.252Z] 4872d77fe225: Pull complete [2023-02-15T00:42:22.512Z] 5851b861e8e6: Pull complete [2023-02-15T00:42:22.512Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:42:22.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:42:22.512Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:42:22.728Z] prd-ubuntu20.04-docker-8c-8g-5949 does not seem to be running inside a container [2023-02-15T00:42:22.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:42:27.074Z] $ docker top 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 -eo pid,comm [2023-02-15T00:42:27.124Z] 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). [2023-02-15T00:42:27.124Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:42:27.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:42:27.249Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:42:27.361Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:42:27.367Z] $ docker exec 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 ssh-agent [2023-02-15T00:42:27.472Z] SSH_AUTH_SOCK=/tmp/ssh-V1abh7Jlz26g/agent.32 [2023-02-15T00:42:27.472Z] SSH_AGENT_PID=38 [2023-02-15T00:42:27.479Z] Running ssh-add (command line suppressed) [2023-02-15T00:42:27.593Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_15067089159673382703.key (/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_15067089159673382703.key) [2023-02-15T00:42:27.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:42:27.929Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:42:27.954Z] $ docker exec --env ******** --env ******** 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 ssh-agent -k [2023-02-15T00:42:28.055Z] unset SSH_AUTH_SOCK; [2023-02-15T00:42:28.055Z] unset SSH_AGENT_PID; [2023-02-15T00:42:28.055Z] echo Agent pid 38 killed; [2023-02-15T00:42:28.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:42:28.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:42:28.142Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:42:28.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:42:28.260Z] $ docker exec 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 ssh-agent [2023-02-15T00:42:28.369Z] SSH_AUTH_SOCK=/tmp/ssh-gaYma6rkY0q4/agent.70 [2023-02-15T00:42:28.369Z] SSH_AGENT_PID=76 [2023-02-15T00:42:28.376Z] Running ssh-add (command line suppressed) [2023-02-15T00:42:28.482Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_13233664099185714724.key (/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_13233664099185714724.key) [2023-02-15T00:42:28.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:42:28.814Z] + git semver init [2023-02-15T00:42:29.074Z] 2023-02-15 00:42:28,989 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:42:29.074Z] 2023-02-15 00:42:28,990 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-252/.semver [2023-02-15T00:42:29.074Z] 2023-02-15 00:42:28,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-252/.semver [2023-02-15T00:42:29.074Z] 2023-02-15 00:42:28,991 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-252/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-252, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,019 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-252/.git/info/exclude [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,020 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-252/.semver/PR-252 with force:False [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,020 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-252/.semver/PR-252 [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,024 [execute] INFO git cat-file --batch-check [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,029 [execute] INFO git cat-file --batch [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:42:31.616Z] 2023-02-15 00:42:31,034 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-252/.semver/PR-252 [2023-02-15T00:42:31.616Z] 0.0.0 [Pipeline] } [2023-02-15T00:42:31.644Z] $ docker exec --env ******** --env ******** 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 ssh-agent -k [2023-02-15T00:42:31.744Z] unset SSH_AUTH_SOCK; [2023-02-15T00:42:31.744Z] unset SSH_AGENT_PID; [2023-02-15T00:42:31.745Z] echo Agent pid 76 killed; [2023-02-15T00:42:31.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:42:32.241Z] + git semver [Pipeline] } [2023-02-15T00:42:32.654Z] $ docker stop --time=1 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 [2023-02-15T00:42:33.953Z] $ docker rm -f --volumes 762a7febdf7323f40cb5ce320f7ada3f9a39a821394625875f8bef1bb879c928 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:42:34.343Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:42:34.631Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:42:34.654Z] [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 [2023-02-15T00:42:35.249Z] provisioning config files... [2023-02-15T00:42:35.258Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/config11120420320698214619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:42:35.597Z] ---> docker-login.sh [2023-02-15T00:42:35.597Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:42:35.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:35.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:35.597Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:35.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:35.597Z] [2023-02-15T00:42:35.597Z] Login Succeeded [2023-02-15T00:42:35.597Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:42:35.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:35.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:35.597Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:35.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:35.597Z] [2023-02-15T00:42:35.597Z] Login Succeeded [2023-02-15T00:42:35.597Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:42:35.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:35.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:35.857Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:35.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:35.857Z] [2023-02-15T00:42:35.857Z] Login Succeeded [2023-02-15T00:42:35.857Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:42:35.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:35.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:35.857Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:35.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:35.857Z] [2023-02-15T00:42:35.857Z] Login Succeeded [2023-02-15T00:42:35.857Z] docker.io [2023-02-15T00:42:36.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:36.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:36.116Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:36.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:36.116Z] [2023-02-15T00:42:36.116Z] Login Succeeded [2023-02-15T00:42:36.116Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:42:36.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:42:36.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:42:36.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:42:36.403Z] ========================================================= [2023-02-15T00:42:36.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:42:36.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:36.875Z] + 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 . [2023-02-15T00:42:36.875Z] Sending build context to Docker daemon 10.83MB [2023-02-15T00:42:36.875Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:42:36.875Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:42:37.148Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:42:37.148Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:42:37.148Z] 4583459ba037: Pulling fs layer [2023-02-15T00:42:37.148Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:42:37.148Z] 53926ce57604: Pulling fs layer [2023-02-15T00:42:37.148Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:42:37.148Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:42:37.148Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:42:37.148Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:42:37.148Z] a7acece74701: Pulling fs layer [2023-02-15T00:42:37.148Z] 22ff95d597cd: Waiting [2023-02-15T00:42:37.148Z] 96b7cbca73a9: Waiting [2023-02-15T00:42:37.148Z] a7acece74701: Waiting [2023-02-15T00:42:37.148Z] 53926ce57604: Waiting [2023-02-15T00:42:37.148Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T00:42:37.148Z] 93c1e223e6f2: Download complete [2023-02-15T00:42:37.148Z] 4583459ba037: Download complete [2023-02-15T00:42:37.148Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T00:42:37.148Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:42:37.148Z] 22ff95d597cd: Verifying Checksum [2023-02-15T00:42:37.148Z] 22ff95d597cd: Download complete [2023-02-15T00:42:37.427Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:42:37.427Z] 213ec9aee27d: Download complete [2023-02-15T00:42:37.744Z] 213ec9aee27d: Pull complete [2023-02-15T00:42:37.744Z] 4583459ba037: Pull complete [2023-02-15T00:42:37.744Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T00:42:37.744Z] 12d6caf4c0d1: Download complete [2023-02-15T00:42:37.744Z] 93c1e223e6f2: Pull complete [2023-02-15T00:42:41.691Z] 53926ce57604: Verifying Checksum [2023-02-15T00:42:41.691Z] 53926ce57604: Download complete [2023-02-15T00:42:41.949Z] a7acece74701: Verifying Checksum [2023-02-15T00:42:41.949Z] a7acece74701: Download complete [2023-02-15T00:42:41.949Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T00:42:41.949Z] 96b7cbca73a9: Download complete [2023-02-15T00:42:46.135Z] 53926ce57604: Pull complete [2023-02-15T00:42:46.421Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:42:46.681Z] 22ff95d597cd: Pull complete [2023-02-15T00:42:46.681Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:42:49.217Z] 96b7cbca73a9: Pull complete [2023-02-15T00:42:49.785Z] a7acece74701: Pull complete [2023-02-15T00:42:50.044Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:42:50.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:42:50.044Z] ---> db6d94c90886 [2023-02-15T00:42:50.044Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:42:50.071Z] Still waiting to schedule task [2023-02-15T00:42:50.072Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ [2023-02-15T00:42:56.637Z] ---> Running in bf62e879988d [2023-02-15T00:42:56.637Z] Removing intermediate container bf62e879988d [2023-02-15T00:42:56.637Z] ---> 4800b6fbab6f [2023-02-15T00:42:56.637Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:42:56.637Z] ---> Running in 0506df50974c [2023-02-15T00:42:56.895Z] Removing intermediate container 0506df50974c [2023-02-15T00:42:56.895Z] ---> 13a3669d328b [2023-02-15T00:42:56.895Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:42:56.895Z] ---> Running in 95ae45948935 [2023-02-15T00:42:56.895Z] Removing intermediate container 95ae45948935 [2023-02-15T00:42:56.895Z] ---> 8fccc54f05c6 [2023-02-15T00:42:56.895Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:42:56.895Z] ---> Running in 32b49940e80f [2023-02-15T00:42:57.154Z] Removing intermediate container 32b49940e80f [2023-02-15T00:42:57.154Z] ---> e3412607de02 [2023-02-15T00:42:57.154Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:42:57.154Z] ---> Running in e78068eb3c57 [2023-02-15T00:42:57.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:42:57.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:42:57.670Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:42:57.670Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:42:57.670Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:42:57.670Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:42:57.670Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:42:57.670Z] OK: 216 MiB in 55 packages [2023-02-15T00:42:58.238Z] Removing intermediate container e78068eb3c57 [2023-02-15T00:42:58.238Z] ---> 0e3a165212f5 [2023-02-15T00:42:58.238Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:42:58.238Z] ---> Running in a6b48063d741 [2023-02-15T00:42:58.238Z] Removing intermediate container a6b48063d741 [2023-02-15T00:42:58.238Z] ---> ec515d93a9ef [2023-02-15T00:42:58.238Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:42:58.495Z] ---> 00be922927ce [2023-02-15T00:42:58.495Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:42:58.495Z] ---> Running in 1ff4f10e4b87 [2023-02-15T00:43:45.219Z] Removing intermediate container 1ff4f10e4b87 [2023-02-15T00:43:45.219Z] ---> 5b8a9ec3f6a2 [2023-02-15T00:43:45.219Z] Step 11/12 : COPY . . [2023-02-15T00:43:45.219Z] ---> 927b7c1840ad [2023-02-15T00:43:45.219Z] Step 12/12 : RUN $MAKE [2023-02-15T00:43:45.219Z] ---> Running in 2c9573d0020e [2023-02-15T00:43:45.219Z] noop [2023-02-15T00:43:45.219Z] Removing intermediate container 2c9573d0020e [2023-02-15T00:43:45.219Z] ---> e268cd28588c [2023-02-15T00:43:45.219Z] Successfully built e268cd28588c [2023-02-15T00:43:45.220Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:45.705Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:43:45.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:43:45.933Z] prd-ubuntu20.04-docker-8c-8g-5949 does not seem to be running inside a container [2023-02-15T00:43:45.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@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 ******** ci-base-image-x86_64 cat [2023-02-15T00:43:46.673Z] $ docker top 417c02af8d4bd84b884f00bd366a33dff06914bc71ddb44e8a65a98a08a75493 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:43:47.075Z] + go version [2023-02-15T00:43:47.075Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:43:47.107Z] $ docker stop --time=1 417c02af8d4bd84b884f00bd366a33dff06914bc71ddb44e8a65a98a08a75493 [2023-02-15T00:43:48.491Z] $ docker rm -f --volumes 417c02af8d4bd84b884f00bd366a33dff06914bc71ddb44e8a65a98a08a75493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:49.236Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:43:49.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:43:49.391Z] prd-ubuntu20.04-docker-8c-8g-5949 does not seem to be running inside a container [2023-02-15T00:43:49.423Z] $ 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-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@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 ******** ci-base-image-x86_64 cat [2023-02-15T00:43:49.760Z] $ docker top 16afeb1369456693d11eba5ae42ce316ee1194649278d59ac101b2d4fb3bd26a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:43:50.160Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-252 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:43:50.532Z] + make test [2023-02-15T00:43:50.532Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:43:50.791Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:44:00.850Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T00:44:00.850Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T00:44:00.850Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2023-02-15T00:44:00.850Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-15T00:44:00.900Z] $ docker stop --time=1 16afeb1369456693d11eba5ae42ce316ee1194649278d59ac101b2d4fb3bd26a [2023-02-15T00:44:03.373Z] $ docker rm -f --volumes 16afeb1369456693d11eba5ae42ce316ee1194649278d59ac101b2d4fb3bd26a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:04.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:44:04.489Z] [2023-02-15T00:44:04.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:04.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:44:04.868Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:44:04.868Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:44:04.868Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:44:04.868Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:44:04.868Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:44:04.868Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:44:04.868Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:44:04.868Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:44:04.868Z] 5d3b04190fa2: Waiting [2023-02-15T00:44:04.868Z] 2f39f015ded8: Waiting [2023-02-15T00:44:04.868Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:44:04.868Z] 33b1e0a273af: Waiting [2023-02-15T00:44:04.868Z] 5c69ac0246d0: Download complete [2023-02-15T00:44:04.868Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T00:44:04.868Z] 3a2ae6a8a46f: Download complete [2023-02-15T00:44:05.129Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:44:05.129Z] ec43610c2a17: Download complete [2023-02-15T00:44:05.129Z] 5d3b04190fa2: Download complete [2023-02-15T00:44:05.411Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:44:05.411Z] 33b1e0a273af: Download complete [2023-02-15T00:44:05.991Z] 2f39f015ded8: Download complete [2023-02-15T00:44:06.250Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:44:06.250Z] 5eb5b503b376: Download complete [2023-02-15T00:44:07.627Z] 5eb5b503b376: Pull complete [2023-02-15T00:44:07.627Z] 5c69ac0246d0: Pull complete [2023-02-15T00:44:08.192Z] ec43610c2a17: Pull complete [2023-02-15T00:44:08.192Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:44:08.449Z] 33b1e0a273af: Pull complete [2023-02-15T00:44:08.449Z] 5d3b04190fa2: Pull complete [2023-02-15T00:44:13.753Z] 2f39f015ded8: Pull complete [2023-02-15T00:44:13.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:44:13.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:44:13.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:44:13.973Z] prd-ubuntu20.04-docker-8c-8g-5949 does not seem to be running inside a container [2023-02-15T00:44:14.005Z] $ 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-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@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-lftools-log-publisher:latest cat [2023-02-15T00:44:18.629Z] $ docker top 2526a34669be8603e2923fc1d94641c480ecbc857f25bb8e4491aade094f9aa0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:44:19.089Z] ---> job-cost.sh [2023-02-15T00:44:19.089Z] lf-activate-venv: SKIPPING [2023-02-15T00:44:19.089Z] INFO: No Stack... [2023-02-15T00:44:19.657Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:44:19.916Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:44:20.231Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-252/archives/cost.csv [2023-02-15T00:44:20.231Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:44:20.270Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] [2023-02-15T00:44:20.275Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] did not exist. Created. [2023-02-15T00:44:20.275Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:44:20.668Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:44:20.748Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:44:20.762Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:44:20.843Z] $ docker stop --time=1 2526a34669be8603e2923fc1d94641c480ecbc857f25bb8e4491aade094f9aa0 [2023-02-15T00:44:22.074Z] $ docker rm -f --volumes 2526a34669be8603e2923fc1d94641c480ecbc857f25bb8e4491aade094f9aa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:44:22.434Z] Failed in branch amd64 [2023-02-15T00:45:32.496Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5962 in /w/workspace/gexfoundry_device-rest-go_PR-252 [Pipeline] { [Pipeline] ws [2023-02-15T00:45:32.555Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T00:45:32.638Z] The recommended git tool is: git [2023-02-15T00:45:39.578Z] using credential edgex-jenkins-ssh [2023-02-15T00:45:39.595Z] Cloning the remote Git repository [2023-02-15T00:45:39.654Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:45:39.746Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-15T00:45:39.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:45:39.949Z] > git --version # timeout=10 [2023-02-15T00:45:39.976Z] > git --version # 'git version 2.25.1' [2023-02-15T00:45:39.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:45:40.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:45:42.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:45:42.254Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:45:44.089Z] Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit 0e2c797ab16015500a912b345b179ce5b22bdaf3 [2023-02-15T00:45:44.369Z] Merge succeeded, producing 0e2c797ab16015500a912b345b179ce5b22bdaf3 [2023-02-15T00:45:44.369Z] Checking out Revision 0e2c797ab16015500a912b345b179ce5b22bdaf3 (PR-252) [2023-02-15T00:45:43.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:45:43.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:45:43.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:45:43.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T00:45:44.114Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:45:44.134Z] > git checkout -f 0e2c797ab16015500a912b345b179ce5b22bdaf3 # timeout=10 [2023-02-15T00:45:44.241Z] > git remote # timeout=10 [2023-02-15T00:45:44.265Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T00:45:44.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:45:44.319Z] > git merge 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 [2023-02-15T00:45:44.351Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T00:45:44.968Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-15T00:45:45.036Z] > git --version # timeout=10 [2023-02-15T00:45:45.049Z] > git --version # 'git version 2.25.1' [2023-02-15T00:45:45.070Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:45:44.380Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:45:44.405Z] > git checkout -f 0e2c797ab16015500a912b345b179ce5b22bdaf3 # timeout=10 [2023-02-15T00:45:46.145Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:45:46.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:45:46.145Z] Dload Upload Total Spent Left Speed [2023-02-15T00:45:46.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-02-15T00:45:46.954Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:45:47.332Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T00:45:47.332Z] + sudo tee /etc/docker/daemon.new [2023-02-15T00:45:47.332Z] { [2023-02-15T00:45:47.332Z] "registry-mirrors": [ [2023-02-15T00:45:47.332Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:45:47.332Z] ], [2023-02-15T00:45:47.332Z] "bip": "10.250.0.254/24", [2023-02-15T00:45:47.332Z] "hosts": [ [2023-02-15T00:45:47.332Z] "tcp://0.0.0.0:5555", [2023-02-15T00:45:47.332Z] "unix:///var/run/docker.sock" [2023-02-15T00:45:47.332Z] ], [2023-02-15T00:45:47.332Z] "mtu": 1458, [2023-02-15T00:45:47.332Z] "selinux-enabled": true, [2023-02-15T00:45:47.332Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:45:47.332Z] } [Pipeline] sh [2023-02-15T00:45:47.700Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:45:48.058Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:46:06.493Z] provisioning config files... [2023-02-15T00:46:06.540Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config521766093242225515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:46:06.973Z] ---> docker-login.sh [2023-02-15T00:46:06.973Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:46:07.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:07.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:07.854Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:07.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:07.854Z] [2023-02-15T00:46:07.854Z] Login Succeeded [2023-02-15T00:46:07.854Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:46:08.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:08.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:08.133Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:08.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:08.133Z] [2023-02-15T00:46:08.133Z] Login Succeeded [2023-02-15T00:46:08.133Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:46:08.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:09.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:09.843Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:09.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:09.843Z] [2023-02-15T00:46:09.843Z] Login Succeeded [2023-02-15T00:46:09.843Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:46:10.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:10.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:10.119Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:10.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:10.119Z] [2023-02-15T00:46:10.119Z] Login Succeeded [2023-02-15T00:46:10.119Z] docker.io [2023-02-15T00:46:10.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:10.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:10.668Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:10.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:10.668Z] [2023-02-15T00:46:10.668Z] Login Succeeded [2023-02-15T00:46:10.668Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:46:10.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:46:11.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:46:11.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:46:11.250Z] ========================================================= [2023-02-15T00:46:11.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:46:11.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:46:11.769Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:46:11.769Z] Sending build context to Docker daemon 139.8kB [2023-02-15T00:46:12.054Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:46:12.054Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:46:12.334Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:46:12.334Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:46:12.334Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:46:12.334Z] e16973657156: Pulling fs layer [2023-02-15T00:46:12.334Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:46:12.334Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:46:12.334Z] dda99020689f: Pulling fs layer [2023-02-15T00:46:12.334Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:46:12.334Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:46:12.334Z] dda99020689f: Waiting [2023-02-15T00:46:12.334Z] fc693d55d65f: Waiting [2023-02-15T00:46:12.334Z] db1c61fa0a46: Waiting [2023-02-15T00:46:12.334Z] 891c053d2c06: Waiting [2023-02-15T00:46:12.334Z] 7e9fc2657dce: Waiting [2023-02-15T00:46:12.334Z] e16973657156: Verifying Checksum [2023-02-15T00:46:12.334Z] e16973657156: Download complete [2023-02-15T00:46:12.334Z] 35d82f9e3411: Verifying Checksum [2023-02-15T00:46:12.334Z] 35d82f9e3411: Download complete [2023-02-15T00:46:12.334Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T00:46:12.334Z] 7e9fc2657dce: Download complete [2023-02-15T00:46:12.334Z] dda99020689f: Verifying Checksum [2023-02-15T00:46:12.334Z] dda99020689f: Download complete [2023-02-15T00:46:12.613Z] 9b18e9b68314: Verifying Checksum [2023-02-15T00:46:12.613Z] 9b18e9b68314: Download complete [2023-02-15T00:46:13.253Z] 9b18e9b68314: Pull complete [2023-02-15T00:46:13.954Z] 35d82f9e3411: Pull complete [2023-02-15T00:46:14.249Z] e16973657156: Pull complete [2023-02-15T00:46:15.233Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:46:15.233Z] 891c053d2c06: Download complete [2023-02-15T00:46:18.745Z] db1c61fa0a46: Verifying Checksum [2023-02-15T00:46:18.745Z] db1c61fa0a46: Download complete [2023-02-15T00:46:19.380Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:46:19.380Z] fc693d55d65f: Download complete [2023-02-15T00:46:34.566Z] fc693d55d65f: Pull complete [2023-02-15T00:46:34.566Z] 7e9fc2657dce: Pull complete [2023-02-15T00:46:34.566Z] dda99020689f: Pull complete [2023-02-15T00:46:39.983Z] db1c61fa0a46: Pull complete [2023-02-15T00:46:41.407Z] 891c053d2c06: Pull complete [2023-02-15T00:46:41.407Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:46:41.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:46:41.407Z] ---> f96f9c87975a [2023-02-15T00:46:41.407Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:46:44.070Z] ---> Running in 4f737b633d78 [2023-02-15T00:46:44.070Z] Removing intermediate container 4f737b633d78 [2023-02-15T00:46:44.070Z] ---> 05ed538e3d77 [2023-02-15T00:46:44.070Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:46:44.070Z] ---> Running in 17a1cd4ef7d4 [2023-02-15T00:46:44.664Z] Removing intermediate container 17a1cd4ef7d4 [2023-02-15T00:46:44.664Z] ---> 03b637546715 [2023-02-15T00:46:44.664Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:46:44.664Z] ---> Running in c742aba66102 [2023-02-15T00:46:44.940Z] Removing intermediate container c742aba66102 [2023-02-15T00:46:44.940Z] ---> e67068fee3e2 [2023-02-15T00:46:44.940Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:46:45.219Z] ---> Running in 09c3e8160c99 [2023-02-15T00:46:45.492Z] Removing intermediate container 09c3e8160c99 [2023-02-15T00:46:45.492Z] ---> ad9b14af7040 [2023-02-15T00:46:45.492Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:46:45.767Z] ---> Running in 878af706488b [2023-02-15T00:46:47.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:46:47.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:46:48.918Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:46:48.918Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:46:48.918Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:46:48.918Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:46:48.918Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:46:48.918Z] OK: 226 MiB in 55 packages [2023-02-15T00:46:50.365Z] Removing intermediate container 878af706488b [2023-02-15T00:46:50.365Z] ---> a1c2c89536c1 [2023-02-15T00:46:50.365Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:46:50.365Z] ---> Running in 58d4b870c838 [2023-02-15T00:46:50.644Z] Removing intermediate container 58d4b870c838 [2023-02-15T00:46:50.644Z] ---> 3f24696a5150 [2023-02-15T00:46:50.644Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:46:51.250Z] ---> 2ecd3193d95d [2023-02-15T00:46:51.250Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:46:51.544Z] ---> Running in 2e07ebae503e [2023-02-15T00:48:13.278Z] Removing intermediate container 2e07ebae503e [2023-02-15T00:48:13.278Z] ---> 1c22cab29e82 [2023-02-15T00:48:13.278Z] Step 11/12 : COPY . . [2023-02-15T00:48:13.278Z] ---> c0e820a3846b [2023-02-15T00:48:13.278Z] Step 12/12 : RUN $MAKE [2023-02-15T00:48:13.278Z] ---> Running in aee8d0d0aa92 [2023-02-15T00:48:13.278Z] noop [2023-02-15T00:48:13.278Z] Removing intermediate container aee8d0d0aa92 [2023-02-15T00:48:13.278Z] ---> 9eb68e83f02f [2023-02-15T00:48:13.278Z] Successfully built 9eb68e83f02f [2023-02-15T00:48:13.278Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:48:13.756Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:48:13.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:48:14.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container [2023-02-15T00:48:14.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-02-15T00:48:15.597Z] $ docker top 1afd47908642a69249fdb7b3d478ae532cbdacac76d204673eaa33d10148183d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:48:16.556Z] + go version [2023-02-15T00:48:16.557Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:48:16.598Z] $ docker stop --time=1 1afd47908642a69249fdb7b3d478ae532cbdacac76d204673eaa33d10148183d [2023-02-15T00:48:18.302Z] $ docker rm -f --volumes 1afd47908642a69249fdb7b3d478ae532cbdacac76d204673eaa33d10148183d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:48:19.175Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:48:19.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:48:19.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container [2023-02-15T00:48:19.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-02-15T00:48:20.968Z] $ docker top b18d2d1fe0bc3314e92fed363cb515b6e00beadd8b253acd1407fbfaf3846c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:48:21.918Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:48:22.652Z] + make test [2023-02-15T00:48:22.652Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:48:24.636Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:50:16.413Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T00:50:16.413Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T00:50:16.413Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2023-02-15T00:50:16.413Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-15T00:50:16.465Z] $ docker stop --time=1 b18d2d1fe0bc3314e92fed363cb515b6e00beadd8b253acd1407fbfaf3846c57 [2023-02-15T00:50:18.742Z] $ docker rm -f --volumes b18d2d1fe0bc3314e92fed363cb515b6e00beadd8b253acd1407fbfaf3846c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:50:20.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:50:20.506Z] [2023-02-15T00:50:20.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:50:20.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:50:21.213Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:50:21.213Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:50:21.213Z] 04944245beec: Pulling fs layer [2023-02-15T00:50:21.213Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:50:21.213Z] 765212b225bb: Pulling fs layer [2023-02-15T00:50:21.213Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:50:21.213Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:50:21.213Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:50:21.213Z] 765212b225bb: Waiting [2023-02-15T00:50:21.213Z] f23df028b6ca: Waiting [2023-02-15T00:50:21.213Z] d65c8cfc05b1: Waiting [2023-02-15T00:50:21.213Z] 2437ff75d9bd: Waiting [2023-02-15T00:50:21.213Z] 04944245beec: Verifying Checksum [2023-02-15T00:50:21.213Z] 04944245beec: Download complete [2023-02-15T00:50:21.213Z] 765212b225bb: Verifying Checksum [2023-02-15T00:50:21.213Z] 765212b225bb: Download complete [2023-02-15T00:50:21.486Z] f23df028b6ca: Verifying Checksum [2023-02-15T00:50:21.486Z] f23df028b6ca: Download complete [2023-02-15T00:50:21.486Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:50:21.486Z] d65c8cfc05b1: Download complete [2023-02-15T00:50:21.758Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:50:21.758Z] 699f458cf7ca: Download complete [2023-02-15T00:50:22.352Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T00:50:22.352Z] 8998bd30e6a1: Download complete [2023-02-15T00:50:24.957Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:50:24.957Z] 2437ff75d9bd: Download complete [2023-02-15T00:50:30.342Z] 8998bd30e6a1: Pull complete [2023-02-15T00:50:31.326Z] 04944245beec: Pull complete [2023-02-15T00:50:33.933Z] 699f458cf7ca: Pull complete [2023-02-15T00:50:34.207Z] 765212b225bb: Pull complete [2023-02-15T00:50:35.191Z] f23df028b6ca: Pull complete [2023-02-15T00:50:35.783Z] d65c8cfc05b1: Pull complete [2023-02-15T00:50:50.823Z] 2437ff75d9bd: Pull complete [2023-02-15T00:50:50.823Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:50:50.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:50:50.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:50:51.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container [2023-02-15T00:50:51.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-lftools-log-publisher:arm64 cat [2023-02-15T00:50:54.347Z] $ docker top b87c2bc0cea90725e2e6587662bb1dea693e461467ea7059d19bee893462a38e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:50:55.324Z] ---> job-cost.sh [2023-02-15T00:50:55.324Z] lf-activate-venv: SKIPPING [2023-02-15T00:50:55.324Z] INFO: No Stack... [2023-02-15T00:50:55.911Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:50:56.877Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:50:57.570Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-02-15T00:50:57.570Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:50:57.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] [2023-02-15T00:50:57.678Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] did not exist. Created. [2023-02-15T00:50:57.678Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:50:58.447Z] /w/workspace/device-rest-go/1@tmp/durable-32d8c04a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:50:59.169Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:50:59.209Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:50:59.806Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:50:59.829Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:50:59.911Z] $ docker stop --time=1 b87c2bc0cea90725e2e6587662bb1dea693e461467ea7059d19bee893462a38e [2023-02-15T00:51:01.536Z] $ docker rm -f --volumes b87c2bc0cea90725e2e6587662bb1dea693e461467ea7059d19bee893462a38e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:51:02.266Z] Failed in branch arm64 [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 [2023-02-15T00:51:04.296Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-252/archives ] [2023-02-15T00:51:04.296Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-252/archives [2023-02-15T00:51:04.296Z] total 16 [2023-02-15T00:51:04.296Z] drwxr-xr-x 3 root root 4096 Feb 15 00:44 . [2023-02-15T00:51:04.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 .. [2023-02-15T00:51:04.296Z] drwxr-xr-x 2 root root 4096 Feb 15 00:44 cost [2023-02-15T00:51:04.296Z] -rw-r--r-- 1 root root 86 Feb 15 00:44 cost.csv [2023-02-15T00:51:04.296Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-252/archives [2023-02-15T00:51:04.296Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-252/archives [2023-02-15T00:51:04.296Z] total 16 [2023-02-15T00:51:04.296Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:44 . [2023-02-15T00:51:04.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 .. [2023-02-15T00:51:04.296Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:44 cost [2023-02-15T00:51:04.296Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:04.622Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:05.507Z] ---> package-listing.sh [2023-02-15T00:51:05.507Z] ++ facter osfamily [2023-02-15T00:51:05.507Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:51:05.765Z] + OS_FAMILY=debian [2023-02-15T00:51:05.765Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-252 [2023-02-15T00:51:05.765Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:51:05.765Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:51:05.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:51:05.765Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:51:05.765Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-252 ']' [2023-02-15T00:51:05.765Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:51:05.765Z] + case "${OS_FAMILY}" in [2023-02-15T00:51:05.765Z] + dpkg -l [2023-02-15T00:51:05.765Z] + grep '^ii' [2023-02-15T00:51:05.765Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:51:05.765Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:51:05.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:51:05.765Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-252 ']' [2023-02-15T00:51:05.765Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-252/archives/ [2023-02-15T00:51:05.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-252/archives/ [Pipeline] echo [2023-02-15T00:51:05.795Z] 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-252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:51:06.082Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:51:06.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:51:06.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:51:06.851Z] prd-ubuntu20.04-docker-8c-8g-5949 does not seem to be running inside a container [2023-02-15T00:51:06.882Z] $ 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-252/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-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:51:07.073Z] $ docker top 5fec1153e4aa6e9c00a1943bb67d8681bdb53289e568bcee9caa9aa57cd7a227 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:51:07.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:51:07.767Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:51:08.075Z] + ls /var/log/sa-host [2023-02-15T00:51:08.075Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:51:08.204Z] provisioning config files... [2023-02-15T00:51:08.212Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/config8424251168070572269tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:51:08.263Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:08.575Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:51:08.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:08.997Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:51:09.028Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:09.336Z] ---> sudo-logs.sh [2023-02-15T00:51:09.336Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:51:09.437Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:09.749Z] ---> job-cost.sh [2023-02-15T00:51:09.749Z] lf-activate-venv: SKIPPING [2023-02-15T00:51:09.749Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:51:09.749Z] INFO: Retrieving Stack Cost... [2023-02-15T00:51:10.685Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:51:10.944Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:51:10.976Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:51:11.286Z] ---> logs-deploy.sh [2023-02-15T00:51:11.286Z] lf-activate-venv: SKIPPING [2023-02-15T00:51:11.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-252/1 [2023-02-15T00:51:11.286Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:51:12.224Z] Archives upload complete. [2023-02-15T00:51:12.224Z] INFO: archiving logs to Nexus