Pull request #330 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of IkerDC for edgexfoundry/device-rest-go Loading trusted files from base branch main at 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 rather than cf927131cef934cb9bcf42c18e8467ebb44920b6 Obtained Jenkinsfile from 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 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-ssh16828235160980047898.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7975915524329707716.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-330/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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15453365741691031241.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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4938599776210642278.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh13511148011216449491.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-330/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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13942376795883016854.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2731 in /w/workspace/gexfoundry_device-rest-go_PR-330 [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-330 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit cf927131cef934cb9bcf42c18e8467ebb44920b6 Merge succeeded, producing cf927131cef934cb9bcf42c18e8467ebb44920b6 Checking out Revision cf927131cef934cb9bcf42c18e8467ebb44920b6 (PR-330) > 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/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf927131cef934cb9bcf42c18e8467ebb44920b6 # 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 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf927131cef934cb9bcf42c18e8467ebb44920b6 # timeout=10 Commit message: "add: Test case for floats equal 0.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-02T08:57:46.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-02T08:57:46.379Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-02T08:57:46.463Z] ========================================================= [2023-08-02T08:57:46.463Z] EdgeX Global Pipelines Version Info [2023-08-02T08:57:46.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-02T08:57:47.186Z] ------------------- [2023-08-02T08:57:47.186Z] stable info: [2023-08-02T08:57:47.186Z] ------------------- [2023-08-02T08:57:47.186Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-02T08:57:47.186Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T08:57:47.186Z] Message: update stable to v1.0.250 [2023-08-02T08:57:47.758Z] ------------------- [2023-08-02T08:57:47.758Z] experimental info: [2023-08-02T08:57:47.758Z] ------------------- [2023-08-02T08:57:47.758Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-02T08:57:47.758Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T08:57:47.758Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-02T08:57:48.036Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-02T08:57:48.072Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-02T08:57:48.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-02T08:57:48.153Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-02T08:57:48.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-02T08:57:48.257Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-02T08:57:48.304Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-02T08:57:48.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-02T08:57:48.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-02T08:57:48.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-02T08:57:48.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-02T08:57:48.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-02T08:57:48.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-02T08:57:48.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-02T08:57:48.642Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T08:57:48.679Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T08:57:48.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T08:57:48.750Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T08:57:48.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-02T08:57:48.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-02T08:57:48.865Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-02T08:57:48.898Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-02T08:57:48.936Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-02T08:57:48.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-02T08:57:49.009Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-02T08:57:49.053Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-02T08:57:49.097Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-02T08:57:49.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo [2023-08-02T08:57:49.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo [2023-08-02T08:57:49.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo [2023-08-02T08:57:49.249Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf927131cef934cb9bcf42c18e8467ebb44920b6 [Pipeline] echo [2023-08-02T08:57:49.296Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf92713 [Pipeline] echo [2023-08-02T08:57:49.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T08:57:49.469Z] provisioning config files... [2023-08-02T08:57:49.482Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config12227918905979227120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T08:57:49.830Z] ---> docker-login.sh [2023-08-02T08:57:49.830Z] nexus3.edgexfoundry.org:10001 [2023-08-02T08:57:50.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:57:50.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:57:50.092Z] Configure a credential helper to remove this warning. See [2023-08-02T08:57:50.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:57:50.092Z] [2023-08-02T08:57:50.092Z] Login Succeeded [2023-08-02T08:57:50.092Z] nexus3.edgexfoundry.org:10002 [2023-08-02T08:57:50.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:57:50.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:57:50.373Z] Configure a credential helper to remove this warning. See [2023-08-02T08:57:50.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:57:50.373Z] [2023-08-02T08:57:50.373Z] Login Succeeded [2023-08-02T08:57:50.373Z] nexus3.edgexfoundry.org:10003 [2023-08-02T08:57:50.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:57:50.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:57:50.373Z] Configure a credential helper to remove this warning. See [2023-08-02T08:57:50.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:57:50.373Z] [2023-08-02T08:57:50.373Z] Login Succeeded [2023-08-02T08:57:50.373Z] nexus3.edgexfoundry.org:10004 [2023-08-02T08:57:50.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:57:50.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:57:50.633Z] Configure a credential helper to remove this warning. See [2023-08-02T08:57:50.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:57:50.633Z] [2023-08-02T08:57:50.633Z] Login Succeeded [2023-08-02T08:57:50.633Z] docker.io [2023-08-02T08:57:50.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:57:50.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:57:50.896Z] Configure a credential helper to remove this warning. See [2023-08-02T08:57:50.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:57:50.896Z] [2023-08-02T08:57:50.896Z] Login Succeeded [2023-08-02T08:57:50.896Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T08:57:50.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-02T08:57:51.594Z] + git rev-list -1 --merges cf927131cef934cb9bcf42c18e8467ebb44920b6~1..cf927131cef934cb9bcf42c18e8467ebb44920b6 [Pipeline] echo [2023-08-02T08:57:51.658Z] -----------> git rev-list -1 --merges cf927131cef934cb9bcf42c18e8467ebb44920b6~1..cf927131cef934cb9bcf42c18e8467ebb44920b6 cf927131cef934cb9bcf42c18e8467ebb44920b6 [false] [Pipeline] sh [2023-08-02T08:57:51.990Z] + git log --format=format:%s -1 cf927131cef934cb9bcf42c18e8467ebb44920b6 [Pipeline] echo [2023-08-02T08:57:52.024Z] ========================================================= [2023-08-02T08:57:52.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T08:57:52.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T08:57:52.447Z] + git log --format=format:%s -1 cf927131cef934cb9bcf42c18e8467ebb44920b6 [Pipeline] echo [2023-08-02T08:57:52.479Z] [semverPrep] GIT_COMMIT: cf927131cef934cb9bcf42c18e8467ebb44920b6, Commit Message: add: Test case for floats equal 0.0 [Pipeline] echo [2023-08-02T08:57:52.513Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-02T08:57:52.920Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T08:57:52.920Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-02T08:57:52.920Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-02T08:57:52.920Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-02T08:57:52.920Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-02T08:57:52.920Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-02T08:57:52.920Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T08:57:53.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T08:57:53.423Z] [2023-08-02T08:57:53.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T08:57:53.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T08:57:53.806Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-02T08:57:53.806Z] b85a868b505f: Pulling fs layer [2023-08-02T08:57:53.806Z] e2be974225ed: Pulling fs layer [2023-08-02T08:57:53.806Z] 339a4e72a1f5: Pulling fs layer [2023-08-02T08:57:53.806Z] 988bab9f4d93: Pulling fs layer [2023-08-02T08:57:53.806Z] 1469e6f7b9e6: Pulling fs layer [2023-08-02T08:57:53.806Z] eaf3925da568: Pulling fs layer [2023-08-02T08:57:53.806Z] bab4dde63d76: Pulling fs layer [2023-08-02T08:57:53.806Z] bde34c3a00c8: Pulling fs layer [2023-08-02T08:57:53.806Z] b352a97aabf1: Pulling fs layer [2023-08-02T08:57:53.806Z] 4872d77fe225: Pulling fs layer [2023-08-02T08:57:53.806Z] 5851b861e8e6: Pulling fs layer [2023-08-02T08:57:53.806Z] 988bab9f4d93: Waiting [2023-08-02T08:57:53.806Z] bab4dde63d76: Waiting [2023-08-02T08:57:53.806Z] 1469e6f7b9e6: Waiting [2023-08-02T08:57:53.806Z] bde34c3a00c8: Waiting [2023-08-02T08:57:53.806Z] eaf3925da568: Waiting [2023-08-02T08:57:53.806Z] b352a97aabf1: Waiting [2023-08-02T08:57:53.806Z] 4872d77fe225: Waiting [2023-08-02T08:57:53.806Z] 5851b861e8e6: Waiting [2023-08-02T08:57:53.806Z] e2be974225ed: Download complete [2023-08-02T08:57:53.806Z] 988bab9f4d93: Verifying Checksum [2023-08-02T08:57:53.806Z] 988bab9f4d93: Download complete [2023-08-02T08:57:53.806Z] 1469e6f7b9e6: Verifying Checksum [2023-08-02T08:57:53.806Z] 1469e6f7b9e6: Download complete [2023-08-02T08:57:53.806Z] 339a4e72a1f5: Verifying Checksum [2023-08-02T08:57:53.806Z] 339a4e72a1f5: Download complete [2023-08-02T08:57:53.806Z] eaf3925da568: Verifying Checksum [2023-08-02T08:57:53.806Z] eaf3925da568: Download complete [2023-08-02T08:57:54.067Z] bde34c3a00c8: Download complete [2023-08-02T08:57:54.067Z] b352a97aabf1: Download complete [2023-08-02T08:57:54.067Z] 4872d77fe225: Verifying Checksum [2023-08-02T08:57:54.067Z] 4872d77fe225: Download complete [2023-08-02T08:57:54.067Z] 5851b861e8e6: Download complete [2023-08-02T08:57:54.067Z] b85a868b505f: Verifying Checksum [2023-08-02T08:57:54.067Z] b85a868b505f: Download complete [2023-08-02T08:57:54.326Z] bab4dde63d76: Verifying Checksum [2023-08-02T08:57:54.326Z] bab4dde63d76: Download complete [2023-08-02T08:57:55.263Z] b85a868b505f: Pull complete [2023-08-02T08:57:55.522Z] e2be974225ed: Pull complete [2023-08-02T08:57:55.782Z] 339a4e72a1f5: Pull complete [2023-08-02T08:57:55.782Z] 988bab9f4d93: Pull complete [2023-08-02T08:57:56.048Z] 1469e6f7b9e6: Pull complete [2023-08-02T08:57:56.308Z] eaf3925da568: Pull complete [2023-08-02T08:57:58.214Z] bab4dde63d76: Pull complete [2023-08-02T08:57:58.214Z] bde34c3a00c8: Pull complete [2023-08-02T08:57:58.214Z] b352a97aabf1: Pull complete [2023-08-02T08:57:58.214Z] 4872d77fe225: Pull complete [2023-08-02T08:57:58.214Z] 5851b861e8e6: Pull complete [2023-08-02T08:57:58.214Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-02T08:57:58.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T08:57:58.214Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T08:57:58.492Z] prd-ubuntu20.04-docker-8c-8g-2731 does not seem to be running inside a container [2023-08-02T08:57:58.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T08:58:02.192Z] $ docker top 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 -eo pid,comm [2023-08-02T08:58:02.246Z] 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-08-02T08:58:02.246Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T08:58:02.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T08:58:02.380Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T08:58:02.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T08:58:02.493Z] $ docker exec 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 ssh-agent [2023-08-02T08:58:02.606Z] SSH_AUTH_SOCK=/tmp/ssh-OiEPXAXdmUzE/agent.32 [2023-08-02T08:58:02.606Z] SSH_AGENT_PID=38 [2023-08-02T08:58:02.612Z] Running ssh-add (command line suppressed) [2023-08-02T08:58:02.716Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_1832069596480608091.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_1832069596480608091.key) [2023-08-02T08:58:02.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T08:58:03.061Z] + git tag --points-at HEAD [Pipeline] } [2023-08-02T08:58:03.084Z] $ docker exec --env ******** --env ******** 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 ssh-agent -k [2023-08-02T08:58:03.192Z] unset SSH_AUTH_SOCK; [2023-08-02T08:58:03.193Z] unset SSH_AGENT_PID; [2023-08-02T08:58:03.193Z] echo Agent pid 38 killed; [2023-08-02T08:58:03.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-02T08:58:03.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T08:58:03.316Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T08:58:03.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T08:58:03.428Z] $ docker exec 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 ssh-agent [2023-08-02T08:58:03.535Z] SSH_AUTH_SOCK=/tmp/ssh-0GjrddrySns0/agent.70 [2023-08-02T08:58:03.535Z] SSH_AGENT_PID=77 [2023-08-02T08:58:03.539Z] Running ssh-add (command line suppressed) [2023-08-02T08:58:03.646Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_16505773359295327411.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_16505773359295327411.key) [2023-08-02T08:58:03.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T08:58:03.982Z] + git semver init [2023-08-02T08:58:04.242Z] 2023-08-02 08:58:04,165 [run_init] DEBUG init version:0.0.0 force:False [2023-08-02T08:58:04.242Z] 2023-08-02 08:58:04,166 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver [2023-08-02T08:58:04.242Z] 2023-08-02 08:58:04,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-330/.semver [2023-08-02T08:58:04.242Z] 2023-08-02 08:58:04,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-330/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330, universal_newlines=False, shell=None, istream=None) [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,052 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.git/info/exclude [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,053 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 with force:False [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,053 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,058 [execute] INFO git cat-file --batch-check [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,065 [execute] INFO git cat-file --batch [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T08:58:06.149Z] 2023-08-02 08:58:06,071 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 [2023-08-02T08:58:06.149Z] 0.0.0 [Pipeline] } [2023-08-02T08:58:06.175Z] $ docker exec --env ******** --env ******** 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 ssh-agent -k [2023-08-02T08:58:06.277Z] unset SSH_AUTH_SOCK; [2023-08-02T08:58:06.278Z] unset SSH_AGENT_PID; [2023-08-02T08:58:06.278Z] echo Agent pid 77 killed; [2023-08-02T08:58:06.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T08:58:06.720Z] + git semver [Pipeline] } [2023-08-02T08:58:07.004Z] $ docker stop --time=1 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 [2023-08-02T08:58:08.328Z] $ docker rm -f --volumes 016af7c7900c9564217e5b50bddf57fd611ad435baef58e8c29e8ae8e17da056 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T08:58:08.729Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-02T08:58:08.993Z] Stashed 1 file(s) [Pipeline] echo [2023-08-02T08:58:09.012Z] [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-08-02T08:58:09.607Z] provisioning config files... [2023-08-02T08:58:09.617Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config6759911478071347987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T08:58:09.957Z] ---> docker-login.sh [2023-08-02T08:58:09.957Z] nexus3.edgexfoundry.org:10001 [2023-08-02T08:58:09.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:58:09.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:58:09.957Z] Configure a credential helper to remove this warning. See [2023-08-02T08:58:09.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:58:09.957Z] [2023-08-02T08:58:09.957Z] Login Succeeded [2023-08-02T08:58:09.957Z] nexus3.edgexfoundry.org:10002 [2023-08-02T08:58:09.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:58:09.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:58:09.957Z] Configure a credential helper to remove this warning. See [2023-08-02T08:58:09.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:58:09.957Z] [2023-08-02T08:58:09.957Z] Login Succeeded [2023-08-02T08:58:09.957Z] nexus3.edgexfoundry.org:10003 [2023-08-02T08:58:10.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:58:10.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:58:10.217Z] Configure a credential helper to remove this warning. See [2023-08-02T08:58:10.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:58:10.217Z] [2023-08-02T08:58:10.217Z] Login Succeeded [2023-08-02T08:58:10.217Z] nexus3.edgexfoundry.org:10004 [2023-08-02T08:58:10.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:58:10.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:58:10.217Z] Configure a credential helper to remove this warning. See [2023-08-02T08:58:10.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:58:10.217Z] [2023-08-02T08:58:10.217Z] Login Succeeded [2023-08-02T08:58:10.217Z] docker.io [2023-08-02T08:58:10.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T08:58:10.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T08:58:10.736Z] Configure a credential helper to remove this warning. See [2023-08-02T08:58:10.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T08:58:10.736Z] [2023-08-02T08:58:10.736Z] Login Succeeded [2023-08-02T08:58:10.736Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T08:58:10.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T08:58:10.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T08:58:11.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T08:58:11.046Z] ========================================================= [2023-08-02T08:58:11.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-02T08:58:11.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T08:58:11.518Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-02T08:58:11.518Z] Sending build context to Docker daemon 10.91MB [2023-08-02T08:58:11.518Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T08:58:11.518Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-02T08:58:11.518Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-02T08:58:11.518Z] 4db1b89c0bd1: Pulling fs layer [2023-08-02T08:58:11.518Z] 6911f1a30b25: Pulling fs layer [2023-08-02T08:58:11.518Z] e194b8c5c2a9: Pulling fs layer [2023-08-02T08:58:11.518Z] 6863d3e3a2b1: Pulling fs layer [2023-08-02T08:58:11.518Z] ec0bb842ea78: Pulling fs layer [2023-08-02T08:58:11.518Z] 40a00589a448: Pulling fs layer [2023-08-02T08:58:11.518Z] 6c08303d61cc: Pulling fs layer [2023-08-02T08:58:11.518Z] 798269fcf238: Pulling fs layer [2023-08-02T08:58:11.518Z] 6863d3e3a2b1: Waiting [2023-08-02T08:58:11.518Z] ec0bb842ea78: Waiting [2023-08-02T08:58:11.518Z] 6c08303d61cc: Waiting [2023-08-02T08:58:11.518Z] 798269fcf238: Waiting [2023-08-02T08:58:11.518Z] 40a00589a448: Waiting [2023-08-02T08:58:11.518Z] 6911f1a30b25: Download complete [2023-08-02T08:58:11.518Z] 6863d3e3a2b1: Download complete [2023-08-02T08:58:11.518Z] ec0bb842ea78: Verifying Checksum [2023-08-02T08:58:11.518Z] ec0bb842ea78: Download complete [2023-08-02T08:58:11.518Z] 4db1b89c0bd1: Verifying Checksum [2023-08-02T08:58:11.518Z] 4db1b89c0bd1: Download complete [2023-08-02T08:58:11.776Z] 40a00589a448: Verifying Checksum [2023-08-02T08:58:11.776Z] 40a00589a448: Download complete [2023-08-02T08:58:11.776Z] 4db1b89c0bd1: Pull complete [2023-08-02T08:58:12.036Z] 6911f1a30b25: Pull complete [2023-08-02T08:58:12.036Z] 798269fcf238: Verifying Checksum [2023-08-02T08:58:12.036Z] 798269fcf238: Download complete [2023-08-02T08:58:12.295Z] 6c08303d61cc: Verifying Checksum [2023-08-02T08:58:12.295Z] 6c08303d61cc: Download complete [2023-08-02T08:58:12.295Z] e194b8c5c2a9: Verifying Checksum [2023-08-02T08:58:12.295Z] e194b8c5c2a9: Download complete [2023-08-02T08:58:16.497Z] e194b8c5c2a9: Pull complete [2023-08-02T08:58:16.497Z] 6863d3e3a2b1: Pull complete [2023-08-02T08:58:16.497Z] ec0bb842ea78: Pull complete [2023-08-02T08:58:16.497Z] 40a00589a448: Pull complete [2023-08-02T08:58:18.398Z] 6c08303d61cc: Pull complete [2023-08-02T08:58:19.333Z] 798269fcf238: Pull complete [2023-08-02T08:58:19.333Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-02T08:58:19.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-02T08:58:19.333Z] ---> ec979cd7f677 [2023-08-02T08:58:19.333Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-02T08:58:24.443Z] Still waiting to schedule task [2023-08-02T08:58:24.444Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-02T08:58:25.911Z] ---> Running in 01a5a8e0c609 [2023-08-02T08:58:25.911Z] Removing intermediate container 01a5a8e0c609 [2023-08-02T08:58:25.911Z] ---> e2d0a28a9b8f [2023-08-02T08:58:25.911Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T08:58:25.911Z] ---> Running in 7165af228fcf [2023-08-02T08:58:25.911Z] Removing intermediate container 7165af228fcf [2023-08-02T08:58:25.911Z] ---> ad29a5d1a48f [2023-08-02T08:58:25.911Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T08:58:25.911Z] ---> Running in 842859b8576c [2023-08-02T08:58:25.911Z] Removing intermediate container 842859b8576c [2023-08-02T08:58:25.911Z] ---> a33c2f748923 [2023-08-02T08:58:25.911Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T08:58:25.911Z] ---> Running in a608c4c40020 [2023-08-02T08:58:25.911Z] Removing intermediate container a608c4c40020 [2023-08-02T08:58:25.911Z] ---> 8efb55407a93 [2023-08-02T08:58:25.911Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T08:58:25.911Z] ---> Running in 45100408277d [2023-08-02T08:58:25.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T08:58:25.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T08:58:26.171Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-02T08:58:26.430Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-02T08:58:26.430Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-02T08:58:26.430Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-02T08:58:26.430Z] Executing busybox-1.35.0-r29.trigger [2023-08-02T08:58:26.430Z] OK: 269 MiB in 57 packages [2023-08-02T08:58:27.009Z] Removing intermediate container 45100408277d [2023-08-02T08:58:27.009Z] ---> 4b22133a62e8 [2023-08-02T08:58:27.009Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-02T08:58:27.009Z] ---> Running in f6c13b6c278e [2023-08-02T08:58:27.009Z] Removing intermediate container f6c13b6c278e [2023-08-02T08:58:27.009Z] ---> 5b3e53476128 [2023-08-02T08:58:27.009Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-02T08:58:27.268Z] ---> 1b370524e470 [2023-08-02T08:58:27.268Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T08:58:27.268Z] ---> Running in 5f9f04d55a84 [2023-08-02T08:59:14.277Z] Removing intermediate container 5f9f04d55a84 [2023-08-02T08:59:14.277Z] ---> fc54258a7970 [2023-08-02T08:59:14.277Z] Step 11/12 : COPY . . [2023-08-02T08:59:14.849Z] ---> b03c3e1e7eb6 [2023-08-02T08:59:14.849Z] Step 12/12 : RUN $MAKE [2023-08-02T08:59:14.849Z] ---> Running in 58d61356d855 [2023-08-02T08:59:15.109Z] noop [2023-08-02T08:59:15.368Z] Removing intermediate container 58d61356d855 [2023-08-02T08:59:15.368Z] ---> a48ffee86d5b [2023-08-02T08:59:15.368Z] Successfully built a48ffee86d5b [2023-08-02T08:59:15.368Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T08:59:15.819Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T08:59:15.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T08:59:15.963Z] prd-ubuntu20.04-docker-8c-8g-2731 does not seem to be running inside a container [2023-08-02T08:59:15.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-02T08:59:16.321Z] $ docker top 6256ed4cb0f3c3df5c23248e29616f1fd16da7bdab10e97ffb48c91f32b3bbcd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T08:59:16.707Z] + go version [2023-08-02T08:59:16.707Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-02T08:59:16.745Z] $ docker stop --time=1 6256ed4cb0f3c3df5c23248e29616f1fd16da7bdab10e97ffb48c91f32b3bbcd [2023-08-02T08:59:18.006Z] $ docker rm -f --volumes 6256ed4cb0f3c3df5c23248e29616f1fd16da7bdab10e97ffb48c91f32b3bbcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T08:59:18.716Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T08:59:18.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T08:59:18.868Z] prd-ubuntu20.04-docker-8c-8g-2731 does not seem to be running inside a container [2023-08-02T08:59:18.900Z] $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-02T08:59:19.232Z] $ docker top c3cb8d013c41b74c8fb7784aff813ab9e0ceec866513696bc70086242ec3606a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T08:59:19.618Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] fileExists [Pipeline] sh [2023-08-02T08:59:19.979Z] + make test [2023-08-02T08:59:19.979Z] go test ./... -coverprofile=coverage.out ./... [2023-08-02T08:59:25.250Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-02T08:59:33.353Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-02T08:59:33.353Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements [2023-08-02T08:59:39.905Z] go vet ./... [2023-08-02T08:59:42.432Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T08:59:42.432Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T08:59:42.432Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-02T08:59:42.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T08:59:42.508Z] $ docker stop --time=1 c3cb8d013c41b74c8fb7784aff813ab9e0ceec866513696bc70086242ec3606a [2023-08-02T08:59:46.275Z] $ docker rm -f --volumes c3cb8d013c41b74c8fb7784aff813ab9e0ceec866513696bc70086242ec3606a [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T08:59:46.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T08:59:46.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-02T08:59:47.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T08:59:47.830Z] + ls -al . [2023-08-02T08:59:47.830Z] total 184 [2023-08-02T08:59:47.830Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 08:59 . [2023-08-02T08:59:47.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 08:57 .. [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 08:57 .dockerignore [2023-08-02T08:59:47.830Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 08:58 .git [2023-08-02T08:59:47.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:57 .github [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 08:57 .gitignore [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 08:57 .golangci.yml [2023-08-02T08:59:47.830Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 08:58 .semver [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 08:57 Attribution.txt [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 08:57 CHANGELOG.md [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 08:57 Dockerfile [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 08:57 GOVERNANCE.md [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 08:57 Jenkinsfile [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 08:57 LICENSE [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 08:57 Makefile [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 08:57 OWNERS.md [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 08:57 README.md [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 08:58 VERSION [2023-08-02T08:59:47.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 08:57 bin [2023-08-02T08:59:47.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 08:57 cmd [2023-08-02T08:59:47.830Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 08:59 coverage.out [2023-08-02T08:59:47.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 08:57 driver [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 08:57 go.mod [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 08:57 go.sum [2023-08-02T08:59:47.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 08:57 snap [2023-08-02T08:59:47.830Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 08:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T08:59:48.217Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=cf927131cef934cb9bcf42c18e8467ebb44920b6 --label arch=amd64 --label version=0.0.0 . [2023-08-02T08:59:48.218Z] Sending build context to Docker daemon 10.92MB [2023-08-02T08:59:48.218Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T08:59:48.218Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-02T08:59:48.218Z] ---> a48ffee86d5b [2023-08-02T08:59:48.218Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-02T08:59:48.476Z] ---> Running in 65f56daa2c22 [2023-08-02T08:59:48.476Z] Removing intermediate container 65f56daa2c22 [2023-08-02T08:59:48.476Z] ---> b183f630d9d9 [2023-08-02T08:59:48.476Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-02T08:59:48.476Z] ---> Running in 16bbb7311397 [2023-08-02T08:59:48.734Z] Removing intermediate container 16bbb7311397 [2023-08-02T08:59:48.734Z] ---> f9e90e00c856 [2023-08-02T08:59:48.734Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-02T08:59:48.734Z] ---> Running in cce9e3cff82e [2023-08-02T08:59:48.734Z] Removing intermediate container cce9e3cff82e [2023-08-02T08:59:48.734Z] ---> 62e53ad06861 [2023-08-02T08:59:48.734Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-02T08:59:48.734Z] ---> Running in eefcad860c04 [2023-08-02T08:59:48.734Z] Removing intermediate container eefcad860c04 [2023-08-02T08:59:48.734Z] ---> 91a3c0e0da12 [2023-08-02T08:59:48.734Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-02T08:59:48.734Z] ---> Running in 0c2d7865e5a6 [2023-08-02T08:59:48.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T08:59:49.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T08:59:49.509Z] OK: 269 MiB in 57 packages [2023-08-02T08:59:49.768Z] Removing intermediate container 0c2d7865e5a6 [2023-08-02T08:59:49.768Z] ---> e7e64b8dd84a [2023-08-02T08:59:49.768Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-02T08:59:50.026Z] ---> Running in 6ce011ba613e [2023-08-02T08:59:50.026Z] Removing intermediate container 6ce011ba613e [2023-08-02T08:59:50.026Z] ---> c9f95f6c25c4 [2023-08-02T08:59:50.026Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-02T08:59:50.026Z] ---> e36c476c1ff6 [2023-08-02T08:59:50.026Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T08:59:50.026Z] ---> Running in 66c9cb890a81 [2023-08-02T08:59:50.592Z] Removing intermediate container 66c9cb890a81 [2023-08-02T08:59:50.592Z] ---> 4c3dded765e6 [2023-08-02T08:59:50.592Z] Step 11/25 : COPY . . [2023-08-02T08:59:51.102Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2732 in /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] { [Pipeline] ws [2023-08-02T08:59:51.157Z] ---> ac10f63aafc6 [2023-08-02T08:59:51.157Z] Step 12/25 : RUN $MAKE [2023-08-02T08:59:51.157Z] ---> Running in a7043148540e [2023-08-02T08:59:51.159Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-08-02T08:59:51.254Z] The recommended git tool is: git [2023-08-02T08:59:51.415Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-02T08:59:55.951Z] using credential edgex-jenkins-ssh [2023-08-02T08:59:55.968Z] Cloning the remote Git repository [2023-08-02T08:59:56.009Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T08:59:56.092Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-08-02T08:59:56.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T08:59:56.220Z] > git --version # timeout=10 [2023-08-02T08:59:56.240Z] > git --version # 'git version 2.25.1' [2023-08-02T08:59:56.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T08:59:56.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T08:59:58.265Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T08:59:58.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T08:59:59.757Z] Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit cf927131cef934cb9bcf42c18e8467ebb44920b6 [Pipeline] } [Pipeline] // ws [2023-08-02T08:59:59.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-02T08:59:59.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-02T08:59:59.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T08:59:59.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-02T08:59:59.777Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T08:59:59.855Z] > git checkout -f cf927131cef934cb9bcf42c18e8467ebb44920b6 # timeout=10 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-02T09:00:00.180Z] Failed in branch arm64 [2023-08-02T09:00:13.329Z] Removing intermediate container a7043148540e [2023-08-02T09:00:13.329Z] ---> e0279077ffbb [2023-08-02T09:00:13.329Z] Step 13/25 : FROM alpine:3.17 [2023-08-02T09:00:19.476Z] Get "https://registry-1.docker.io/v2/library/alpine/manifests/sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388": read tcp 10.30.122.238:51410->44.205.64.79:443: read: connection reset by peer [Pipeline] } [Pipeline] // withEnv [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-08-02T09:00:20.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:00:20.405Z] [2023-08-02T09:00:20.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:00:20.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:00:20.779Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-02T09:00:20.779Z] 5eb5b503b376: Pulling fs layer [2023-08-02T09:00:20.779Z] 5c69ac0246d0: Pulling fs layer [2023-08-02T09:00:20.779Z] ec43610c2a17: Pulling fs layer [2023-08-02T09:00:20.779Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-02T09:00:20.779Z] 33b1e0a273af: Pulling fs layer [2023-08-02T09:00:20.779Z] 5d3b04190fa2: Pulling fs layer [2023-08-02T09:00:20.779Z] 2f39f015ded8: Pulling fs layer [2023-08-02T09:00:20.779Z] 3a2ae6a8a46f: Waiting [2023-08-02T09:00:20.779Z] 5d3b04190fa2: Waiting [2023-08-02T09:00:20.779Z] 33b1e0a273af: Waiting [2023-08-02T09:00:20.779Z] 2f39f015ded8: Waiting [2023-08-02T09:00:20.779Z] 5c69ac0246d0: Download complete [2023-08-02T09:00:20.779Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-02T09:00:20.779Z] 3a2ae6a8a46f: Download complete [2023-08-02T09:00:20.779Z] 33b1e0a273af: Verifying Checksum [2023-08-02T09:00:20.779Z] 33b1e0a273af: Download complete [2023-08-02T09:00:20.779Z] 5d3b04190fa2: Download complete [2023-08-02T09:00:20.779Z] ec43610c2a17: Verifying Checksum [2023-08-02T09:00:20.779Z] ec43610c2a17: Download complete [2023-08-02T09:00:21.038Z] 5eb5b503b376: Verifying Checksum [2023-08-02T09:00:21.038Z] 5eb5b503b376: Download complete [2023-08-02T09:00:21.604Z] 2f39f015ded8: Download complete [2023-08-02T09:00:22.169Z] 5eb5b503b376: Pull complete [2023-08-02T09:00:22.427Z] 5c69ac0246d0: Pull complete [2023-08-02T09:00:23.019Z] ec43610c2a17: Pull complete [2023-08-02T09:00:23.019Z] 3a2ae6a8a46f: Pull complete [2023-08-02T09:00:23.019Z] 33b1e0a273af: Pull complete [2023-08-02T09:00:23.278Z] 5d3b04190fa2: Pull complete [2023-08-02T09:00:27.505Z] 2f39f015ded8: Pull complete [2023-08-02T09:00:27.505Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-02T09:00:27.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:00:27.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:00:27.711Z] prd-ubuntu20.04-docker-8c-8g-2731 does not seem to be running inside a container [2023-08-02T09:00:27.750Z] $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T09:00:33.356Z] $ docker top 0895cee69f89f9b89964b19f26ea2dc3be68074e158cb589a903db016669fb39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:33.820Z] ---> job-cost.sh [2023-08-02T09:00:33.820Z] lf-activate-venv: SKIPPING [2023-08-02T09:00:33.820Z] INFO: No Stack... [2023-08-02T09:00:34.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:00:34.645Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T09:00:34.962Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-330/archives/cost.csv [2023-08-02T09:00:34.963Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T09:00:35.002Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-1-stack-cost] [2023-08-02T09:00:35.012Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-330-1-stack-cost] did not exist. Created. [2023-08-02T09:00:35.013Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T09:00:35.406Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-02T09:00:35.462Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T09:00:35.489Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T09:00:35.585Z] $ docker stop --time=1 0895cee69f89f9b89964b19f26ea2dc3be68074e158cb589a903db016669fb39 [2023-08-02T09:00:36.734Z] $ docker rm -f --volumes 0895cee69f89f9b89964b19f26ea2dc3be68074e158cb589a903db016669fb39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-02T09:00:37.100Z] Failed in branch amd64 [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-08-02T09:00:39.187Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-330/archives ] [2023-08-02T09:00:39.187Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T09:00:39.187Z] total 16 [2023-08-02T09:00:39.187Z] drwxr-xr-x 3 root root 4096 Aug 2 09:00 . [2023-08-02T09:00:39.187Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:00 .. [2023-08-02T09:00:39.187Z] drwxr-xr-x 2 root root 4096 Aug 2 09:00 cost [2023-08-02T09:00:39.187Z] -rw-r--r-- 1 root root 86 Aug 2 09:00 cost.csv [2023-08-02T09:00:39.187Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T09:00:39.187Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives [2023-08-02T09:00:39.187Z] total 16 [2023-08-02T09:00:39.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:00 . [2023-08-02T09:00:39.187Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:00 .. [2023-08-02T09:00:39.187Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 09:00 cost [2023-08-02T09:00:39.187Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 2 09:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:39.516Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:40.402Z] ---> package-listing.sh [2023-08-02T09:00:40.402Z] ++ facter osfamily [2023-08-02T09:00:40.402Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-02T09:00:40.661Z] + OS_FAMILY=debian [2023-08-02T09:00:40.661Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-330 [2023-08-02T09:00:40.661Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-02T09:00:40.661Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-02T09:00:40.661Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-02T09:00:40.661Z] + PACKAGES=/tmp/packages_start.txt [2023-08-02T09:00:40.661Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' [2023-08-02T09:00:40.661Z] + PACKAGES=/tmp/packages_end.txt [2023-08-02T09:00:40.661Z] + case "${OS_FAMILY}" in [2023-08-02T09:00:40.661Z] + dpkg -l [2023-08-02T09:00:40.661Z] + grep '^ii' [2023-08-02T09:00:40.661Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-02T09:00:40.661Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-02T09:00:40.661Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-02T09:00:40.661Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' [2023-08-02T09:00:40.661Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [2023-08-02T09:00:40.661Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [Pipeline] echo [2023-08-02T09:00:40.695Z] 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-02T09:00:40.985Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:00:41.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:00:41.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:00:41.783Z] prd-ubuntu20.04-docker-8c-8g-2731 does not seem to be running inside a container [2023-08-02T09:00:41.820Z] $ 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-330/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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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-08-02T09:00:42.004Z] $ docker top 472387c48db0c35dfcd6822038911b7850efde75ae96ccfa6d7c6f5dce62f554 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:00:42.384Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-02T09:00:42.693Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-02T09:00:43.003Z] + ls /var/log/sa-host [2023-08-02T09:00:43.004Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:00:43.224Z] provisioning config files... [2023-08-02T09:00:43.233Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config14109914242559638712tmp [Pipeline] { [Pipeline] echo [2023-08-02T09:00:43.282Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:43.590Z] ---> create-netrc.sh [Pipeline] } [2023-08-02T09:00:43.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:44.012Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-02T09:00:44.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:44.356Z] ---> sudo-logs.sh [2023-08-02T09:00:44.356Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-02T09:00:44.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:44.744Z] ---> job-cost.sh [2023-08-02T09:00:44.744Z] lf-activate-venv: SKIPPING [2023-08-02T09:00:44.744Z] DEBUG: total: 0.2199999988079071 [2023-08-02T09:00:44.744Z] INFO: Retrieving Stack Cost... [2023-08-02T09:00:44.744Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:00:45.003Z] INFO: Archiving Costs [Pipeline] echo [2023-08-02T09:00:45.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:00:45.608Z] ---> logs-deploy.sh [2023-08-02T09:00:45.608Z] lf-activate-venv: SKIPPING [2023-08-02T09:00:45.608Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-330/1 [2023-08-02T09:00:45.608Z] INFO: archiving workspace using pattern(s): [2023-08-02T09:00:46.542Z] Archives upload complete. [2023-08-02T09:00:46.542Z] INFO: archiving logs to Nexus