Pull request #358 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63+be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 (886270ae660b89fb5c53a48a1bbfec2750558347) 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-ssh17144819435416227265.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh858867919523367271.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-358/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-358/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh971271457001471922.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-358/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10279226972203088398.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1257821620504617473.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-358/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-358/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5666742284762211320.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15650 in /w/workspace/gexfoundry_device-rest-go_PR-358 [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-358 # 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/358/head:refs/remotes/origin/PR-358 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 into PR head commit 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 Merge succeeded, producing 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 Checking out Revision 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 (PR-358) Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > git config core.sparsecheckout # timeout=10 > git checkout -f 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 # 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 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-31T21:37:17.512Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-31T21:37:17.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-31T21:37:17.807Z] ========================================================= [2023-10-31T21:37:17.807Z] EdgeX Global Pipelines Version Info [2023-10-31T21:37:17.807Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:37:19.204Z] ------------------- [2023-10-31T21:37:19.204Z] stable info: [2023-10-31T21:37:19.204Z] ------------------- [2023-10-31T21:37:19.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-31T21:37:19.204Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:37:19.204Z] Message: update stable to v1.0.254 [2023-10-31T21:37:19.792Z] ------------------- [2023-10-31T21:37:19.792Z] experimental info: [2023-10-31T21:37:19.792Z] ------------------- [2023-10-31T21:37:19.792Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-31T21:37:19.792Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-10-31T21:37:19.792Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-31T21:37:20.171Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-31T21:37:20.217Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-31T21:37:20.263Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-31T21:37:20.303Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-31T21:37:20.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-31T21:37:20.391Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-31T21:37:20.428Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-31T21:37:20.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-31T21:37:20.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-31T21:37:20.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-31T21:37:20.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-31T21:37:20.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-31T21:37:20.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-31T21:37:20.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-31T21:37:20.791Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:37:20.833Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:37:20.873Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:37:20.922Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:37:20.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-31T21:37:21.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-31T21:37:21.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-31T21:37:21.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-31T21:37:21.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-31T21:37:21.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-31T21:37:21.227Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-31T21:37:21.273Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-31T21:37:21.318Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-31T21:37:21.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-358 [Pipeline] echo [2023-10-31T21:37:21.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-358 [Pipeline] echo [2023-10-31T21:37:21.463Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-358 [Pipeline] echo [2023-10-31T21:37:21.511Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 [Pipeline] echo [2023-10-31T21:37:21.551Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 49cc518 [Pipeline] echo [2023-10-31T21:37:21.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:37:21.731Z] provisioning config files... [2023-10-31T21:37:21.745Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-358@tmp/config17714844200099168004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:37:22.113Z] ---> docker-login.sh [2023-10-31T21:37:22.113Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:37:22.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:22.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:22.644Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:22.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:22.644Z] [2023-10-31T21:37:22.644Z] Login Succeeded [2023-10-31T21:37:22.644Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:37:22.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:22.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:22.644Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:22.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:22.644Z] [2023-10-31T21:37:22.644Z] Login Succeeded [2023-10-31T21:37:22.644Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:37:22.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:22.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:22.936Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:22.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:22.936Z] [2023-10-31T21:37:22.936Z] Login Succeeded [2023-10-31T21:37:22.936Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:37:23.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:23.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:23.512Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:23.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:23.512Z] [2023-10-31T21:37:23.512Z] Login Succeeded [2023-10-31T21:37:23.512Z] docker.io [2023-10-31T21:37:23.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:24.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:24.091Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:24.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:24.091Z] [2023-10-31T21:37:24.091Z] Login Succeeded [2023-10-31T21:37:24.091Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:37:24.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-31T21:37:24.901Z] + git rev-list -1 --merges 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63~1..49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 [Pipeline] echo [2023-10-31T21:37:24.984Z] -----------> git rev-list -1 --merges 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63~1..49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 [false] [Pipeline] sh [2023-10-31T21:37:25.339Z] + git log --format=format:%s -1 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 [Pipeline] echo [2023-10-31T21:37:25.373Z] ========================================================= [2023-10-31T21:37:25.373Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T21:37:25.373Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:37:25.852Z] + git log --format=format:%s -1 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 [Pipeline] echo [2023-10-31T21:37:25.890Z] [semverPrep] GIT_COMMIT: 49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63, Commit Message: build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo [2023-10-31T21:37:25.925Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-31T21:37:26.314Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-31T21:37:26.314Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-31T21:37:26.314Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-31T21:37:26.314Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-31T21:37:26.314Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-31T21:37:26.314Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-31T21:37:26.314Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:26.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:37:26.773Z] [2023-10-31T21:37:26.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:27.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:37:27.198Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-31T21:37:27.198Z] b85a868b505f: Pulling fs layer [2023-10-31T21:37:27.198Z] e2be974225ed: Pulling fs layer [2023-10-31T21:37:27.198Z] 339a4e72a1f5: Pulling fs layer [2023-10-31T21:37:27.198Z] 988bab9f4d93: Pulling fs layer [2023-10-31T21:37:27.198Z] 1469e6f7b9e6: Pulling fs layer [2023-10-31T21:37:27.198Z] eaf3925da568: Pulling fs layer [2023-10-31T21:37:27.198Z] bab4dde63d76: Pulling fs layer [2023-10-31T21:37:27.198Z] bde34c3a00c8: Pulling fs layer [2023-10-31T21:37:27.198Z] b352a97aabf1: Pulling fs layer [2023-10-31T21:37:27.198Z] 4872d77fe225: Pulling fs layer [2023-10-31T21:37:27.198Z] 5851b861e8e6: Pulling fs layer [2023-10-31T21:37:27.198Z] 5851b861e8e6: Waiting [2023-10-31T21:37:27.198Z] bde34c3a00c8: Waiting [2023-10-31T21:37:27.198Z] eaf3925da568: Waiting [2023-10-31T21:37:27.198Z] 988bab9f4d93: Waiting [2023-10-31T21:37:27.198Z] bab4dde63d76: Waiting [2023-10-31T21:37:27.198Z] b352a97aabf1: Waiting [2023-10-31T21:37:27.198Z] 4872d77fe225: Waiting [2023-10-31T21:37:27.198Z] 1469e6f7b9e6: Waiting [2023-10-31T21:37:27.478Z] e2be974225ed: Download complete [2023-10-31T21:37:27.478Z] 988bab9f4d93: Verifying Checksum [2023-10-31T21:37:27.478Z] 1469e6f7b9e6: Verifying Checksum [2023-10-31T21:37:27.478Z] 1469e6f7b9e6: Download complete [2023-10-31T21:37:27.478Z] 339a4e72a1f5: Verifying Checksum [2023-10-31T21:37:27.478Z] 339a4e72a1f5: Download complete [2023-10-31T21:37:27.756Z] eaf3925da568: Verifying Checksum [2023-10-31T21:37:27.756Z] eaf3925da568: Download complete [2023-10-31T21:37:27.756Z] bde34c3a00c8: Verifying Checksum [2023-10-31T21:37:27.757Z] bde34c3a00c8: Download complete [2023-10-31T21:37:27.757Z] b352a97aabf1: Verifying Checksum [2023-10-31T21:37:27.757Z] b352a97aabf1: Download complete [2023-10-31T21:37:27.757Z] 5851b861e8e6: Verifying Checksum [2023-10-31T21:37:27.757Z] 5851b861e8e6: Download complete [2023-10-31T21:37:27.757Z] b85a868b505f: Verifying Checksum [2023-10-31T21:37:27.757Z] b85a868b505f: Download complete [2023-10-31T21:37:28.759Z] bab4dde63d76: Verifying Checksum [2023-10-31T21:37:28.759Z] bab4dde63d76: Download complete [2023-10-31T21:37:33.165Z] b85a868b505f: Pull complete [2023-10-31T21:37:33.165Z] e2be974225ed: Pull complete [2023-10-31T21:37:34.192Z] 339a4e72a1f5: Pull complete [2023-10-31T21:37:34.486Z] 988bab9f4d93: Pull complete [2023-10-31T21:37:35.513Z] 1469e6f7b9e6: Pull complete [2023-10-31T21:37:35.783Z] eaf3925da568: Pull complete [2023-10-31T21:37:41.362Z] bab4dde63d76: Pull complete [2023-10-31T21:37:41.362Z] bde34c3a00c8: Pull complete [2023-10-31T21:37:41.362Z] b352a97aabf1: Pull complete [2023-10-31T21:37:41.702Z] 4872d77fe225: Pull complete [2023-10-31T21:37:41.980Z] 5851b861e8e6: Pull complete [2023-10-31T21:37:41.980Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-31T21:37:41.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:37:41.980Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:42.285Z] prd-ubuntu20.04-docker-8c-8g-15650 does not seem to be running inside a container [2023-10-31T21:37:42.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-358 -v /w/workspace/gexfoundry_device-rest-go_PR-358:/w/workspace/gexfoundry_device-rest-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-358@tmp:/w/workspace/gexfoundry_device-rest-go_PR-358@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-10-31T21:37:44.533Z] $ docker top d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 -eo pid,comm [2023-10-31T21:37:44.659Z] 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-10-31T21:37:44.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-31T21:37:44.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:37:44.779Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:37:45.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:37:45.090Z] $ docker exec d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 ssh-agent [2023-10-31T21:37:45.319Z] SSH_AUTH_SOCK=/tmp/ssh-26whnPeFETrZ/agent.32 [2023-10-31T21:37:45.319Z] SSH_AGENT_PID=38 [2023-10-31T21:37:45.328Z] Running ssh-add (command line suppressed) [2023-10-31T21:37:45.520Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-358@tmp/private_key_17463602516596533847.key (/w/workspace/gexfoundry_device-rest-go_PR-358@tmp/private_key_17463602516596533847.key) [2023-10-31T21:37:45.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:37:46.002Z] + git tag --points-at HEAD [Pipeline] } [2023-10-31T21:37:46.032Z] $ docker exec --env ******** --env ******** d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 ssh-agent -k [2023-10-31T21:37:46.357Z] unset SSH_AUTH_SOCK; [2023-10-31T21:37:46.366Z] unset SSH_AGENT_PID; [2023-10-31T21:37:46.366Z] echo Agent pid 38 killed; [2023-10-31T21:37:46.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-31T21:37:46.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:37:46.502Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:37:46.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:37:46.786Z] $ docker exec d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 ssh-agent [2023-10-31T21:37:47.029Z] SSH_AUTH_SOCK=/tmp/ssh-nl1b4JjTcKoA/agent.72 [2023-10-31T21:37:47.029Z] SSH_AGENT_PID=77 [2023-10-31T21:37:47.035Z] Running ssh-add (command line suppressed) [2023-10-31T21:37:47.242Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-358@tmp/private_key_10565895006606806415.key (/w/workspace/gexfoundry_device-rest-go_PR-358@tmp/private_key_10565895006606806415.key) [2023-10-31T21:37:47.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:37:47.615Z] + git semver init [2023-10-31T21:37:48.187Z] 2023-10-31 21:37:48,018 [run_init] DEBUG init version:0.0.0 force:False [2023-10-31T21:37:48.187Z] 2023-10-31 21:37:48,019 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-358/.semver [2023-10-31T21:37:48.187Z] 2023-10-31 21:37:48,020 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-358/.semver [2023-10-31T21:37:48.187Z] 2023-10-31 21:37:48,020 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-358/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-358, universal_newlines=False, shell=None, istream=None) [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,428 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-358/.git/info/exclude [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,428 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-358/.semver/PR-358 with force:False [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,428 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-358/.semver/PR-358 [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,431 [execute] INFO git cat-file --batch-check [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-358/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,440 [execute] INFO git cat-file --batch [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-358/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:37:49.649Z] 2023-10-31 21:37:49,445 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-358/.semver/PR-358 [2023-10-31T21:37:49.649Z] 0.0.0 [Pipeline] } [2023-10-31T21:37:49.691Z] $ docker exec --env ******** --env ******** d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 ssh-agent -k [2023-10-31T21:37:49.861Z] unset SSH_AUTH_SOCK; [2023-10-31T21:37:49.861Z] unset SSH_AGENT_PID; [2023-10-31T21:37:49.861Z] echo Agent pid 77 killed; [2023-10-31T21:37:49.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-31T21:37:50.682Z] + git semver [Pipeline] } [2023-10-31T21:37:51.368Z] $ docker stop --time=1 d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 [2023-10-31T21:37:52.864Z] $ docker rm -f --volumes d869490101756ecc5c2a9931077957d329829e3f92c43c2e7915f33504119927 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:37:53.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-31T21:37:53.821Z] Stashed 1 file(s) [Pipeline] echo [2023-10-31T21:37:53.841Z] [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-10-31T21:37:54.606Z] provisioning config files... [2023-10-31T21:37:54.617Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-358@tmp/config4496880066985583554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:37:55.032Z] ---> docker-login.sh [2023-10-31T21:37:55.032Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:37:55.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:55.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:55.310Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:55.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:55.310Z] [2023-10-31T21:37:55.310Z] Login Succeeded [2023-10-31T21:37:55.310Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:37:55.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:55.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:55.310Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:55.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:55.310Z] [2023-10-31T21:37:55.310Z] Login Succeeded [2023-10-31T21:37:55.310Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:37:55.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:55.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:55.833Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:55.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:55.833Z] [2023-10-31T21:37:55.833Z] Login Succeeded [2023-10-31T21:37:55.833Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:37:55.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:56.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:56.093Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:56.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:56.093Z] [2023-10-31T21:37:56.093Z] Login Succeeded [2023-10-31T21:37:56.093Z] docker.io [2023-10-31T21:37:56.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:37:56.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:37:56.352Z] Configure a credential helper to remove this warning. See [2023-10-31T21:37:56.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:37:56.352Z] [2023-10-31T21:37:56.352Z] Login Succeeded [2023-10-31T21:37:56.352Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:37:56.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:37:56.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:37:56.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:37:56.654Z] ========================================================= [2023-10-31T21:37:56.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-31T21:37:56.654Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:57.180Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-31T21:37:57.467Z] Sending build context to Docker daemon 10.94MB [2023-10-31T21:37:57.467Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:37:57.467Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-31T21:37:57.755Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-31T21:37:57.755Z] 7264a8db6415: Pulling fs layer [2023-10-31T21:37:57.755Z] c4d48a809fc2: Pulling fs layer [2023-10-31T21:37:57.755Z] 4f1c88b9dad5: Pulling fs layer [2023-10-31T21:37:57.755Z] ad3a456e5733: Pulling fs layer [2023-10-31T21:37:57.755Z] 33e27b845d1e: Pulling fs layer [2023-10-31T21:37:57.755Z] c68163c4e522: Pulling fs layer [2023-10-31T21:37:57.755Z] 50da416c3ac9: Pulling fs layer [2023-10-31T21:37:57.755Z] 23d2d4c4bb30: Pulling fs layer [2023-10-31T21:37:57.755Z] ad3a456e5733: Waiting [2023-10-31T21:37:57.755Z] 33e27b845d1e: Waiting [2023-10-31T21:37:57.755Z] c68163c4e522: Waiting [2023-10-31T21:37:57.755Z] 50da416c3ac9: Waiting [2023-10-31T21:37:57.755Z] c4d48a809fc2: Verifying Checksum [2023-10-31T21:37:57.755Z] c4d48a809fc2: Download complete [2023-10-31T21:37:57.755Z] ad3a456e5733: Download complete [2023-10-31T21:37:57.756Z] 33e27b845d1e: Download complete [2023-10-31T21:37:57.756Z] 7264a8db6415: Verifying Checksum [2023-10-31T21:37:57.756Z] 7264a8db6415: Download complete [2023-10-31T21:37:58.054Z] c68163c4e522: Verifying Checksum [2023-10-31T21:37:58.054Z] c68163c4e522: Download complete [2023-10-31T21:37:58.701Z] 23d2d4c4bb30: Verifying Checksum [2023-10-31T21:37:58.701Z] 23d2d4c4bb30: Download complete [2023-10-31T21:37:58.701Z] 7264a8db6415: Pull complete [2023-10-31T21:37:59.299Z] 4f1c88b9dad5: Verifying Checksum [2023-10-31T21:37:59.299Z] 4f1c88b9dad5: Download complete [2023-10-31T21:37:59.299Z] c4d48a809fc2: Pull complete [2023-10-31T21:38:00.292Z] 50da416c3ac9: Verifying Checksum [2023-10-31T21:38:00.292Z] 50da416c3ac9: Download complete [2023-10-31T21:38:09.374Z] Still waiting to schedule task [2023-10-31T21:38:09.374Z] ‘prd-centos7-blackbox-4c-2g-12692’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-31T21:38:09.374Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15655’ is offline [2023-10-31T21:38:10.374Z] 4f1c88b9dad5: Pull complete [2023-10-31T21:38:10.374Z] ad3a456e5733: Pull complete [2023-10-31T21:38:10.686Z] 33e27b845d1e: Pull complete [2023-10-31T21:38:10.968Z] c68163c4e522: Pull complete [2023-10-31T21:38:23.429Z] 50da416c3ac9: Pull complete [2023-10-31T21:38:24.877Z] 23d2d4c4bb30: Pull complete [2023-10-31T21:38:24.877Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-31T21:38:24.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-31T21:38:24.877Z] ---> 0786185ac409 [2023-10-31T21:38:24.877Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:38:29.088Z] ---> Running in 94560f7947fc [2023-10-31T21:38:29.088Z] Removing intermediate container 94560f7947fc [2023-10-31T21:38:29.088Z] ---> 69a116c4aa6c [2023-10-31T21:38:29.088Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:38:29.088Z] ---> Running in 1e8a987e1ef3 [2023-10-31T21:38:29.660Z] Removing intermediate container 1e8a987e1ef3 [2023-10-31T21:38:29.660Z] ---> 95cfc2f6ade8 [2023-10-31T21:38:29.660Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-31T21:38:29.660Z] ---> Running in d66b05b07324 [2023-10-31T21:38:29.922Z] Removing intermediate container d66b05b07324 [2023-10-31T21:38:29.922Z] ---> d44361760749 [2023-10-31T21:38:29.922Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-31T21:38:29.922Z] ---> Running in ca07e28d41ef [2023-10-31T21:38:30.212Z] Removing intermediate container ca07e28d41ef [2023-10-31T21:38:30.213Z] ---> 27d0b463a565 [2023-10-31T21:38:30.213Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-31T21:38:30.213Z] ---> Running in c26717e6e5c9 [2023-10-31T21:38:30.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:31.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:31.318Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-31T21:38:31.318Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-31T21:38:31.318Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-31T21:38:31.318Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-31T21:38:31.318Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:38:31.318Z] OK: 268 MiB in 56 packages [2023-10-31T21:38:32.365Z] Removing intermediate container c26717e6e5c9 [2023-10-31T21:38:32.365Z] ---> 03b969851b61 [2023-10-31T21:38:32.365Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-31T21:38:32.365Z] ---> Running in 01a0d6504848 [2023-10-31T21:38:32.659Z] Removing intermediate container 01a0d6504848 [2023-10-31T21:38:32.660Z] ---> 6aae3763154b [2023-10-31T21:38:32.660Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-31T21:38:32.965Z] ---> b9324f5c74a8 [2023-10-31T21:38:32.965Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:38:32.965Z] ---> Running in 5dbca059e4ae [2023-10-31T21:39:19.892Z] Removing intermediate container 5dbca059e4ae [2023-10-31T21:39:19.892Z] ---> 16a85f89a495 [2023-10-31T21:39:19.892Z] Step 11/12 : COPY . . [2023-10-31T21:39:20.850Z] ---> dccd16ad4a0e [2023-10-31T21:39:20.850Z] Step 12/12 : RUN $MAKE [2023-10-31T21:39:20.850Z] ---> Running in d8dbbea94603 [2023-10-31T21:39:21.426Z] noop [2023-10-31T21:39:21.687Z] Removing intermediate container d8dbbea94603 [2023-10-31T21:39:21.687Z] ---> c98716cece56 [2023-10-31T21:39:21.687Z] Successfully built c98716cece56 [2023-10-31T21:39:21.687Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:39:22.141Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:39:22.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:39:22.380Z] prd-ubuntu20.04-docker-8c-8g-15650 does not seem to be running inside a container [2023-10-31T21:39:22.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-358 -v /w/workspace/gexfoundry_device-rest-go_PR-358:/w/workspace/gexfoundry_device-rest-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-358@tmp:/w/workspace/gexfoundry_device-rest-go_PR-358@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-10-31T21:39:23.140Z] $ docker top e44175f27dc6a3c1bc4687b76c0ac65d7bdf5b8fc8ff65fa6bff3c28f4692c24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:39:23.575Z] + go version [2023-10-31T21:39:23.575Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-31T21:39:23.613Z] $ docker stop --time=1 e44175f27dc6a3c1bc4687b76c0ac65d7bdf5b8fc8ff65fa6bff3c28f4692c24 [2023-10-31T21:39:24.933Z] $ docker rm -f --volumes e44175f27dc6a3c1bc4687b76c0ac65d7bdf5b8fc8ff65fa6bff3c28f4692c24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:39:25.805Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:39:25.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:39:26.085Z] prd-ubuntu20.04-docker-8c-8g-15650 does not seem to be running inside a container [2023-10-31T21:39:26.120Z] $ 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-358 -v /w/workspace/gexfoundry_device-rest-go_PR-358:/w/workspace/gexfoundry_device-rest-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-358@tmp:/w/workspace/gexfoundry_device-rest-go_PR-358@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-10-31T21:39:26.719Z] $ docker top 123534bd4dc0083e39657d1da469ccd334d0a4fae3c76b1c3c47f3c19bda17fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:39:27.227Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-358 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:39:27.609Z] + make test [2023-10-31T21:39:27.609Z] go test ./... -coverprofile=coverage.out ./... [2023-10-31T21:39:29.562Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-31T21:39:41.871Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-31T21:39:41.871Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-10-31T21:39:49.992Z] go vet ./... [2023-10-31T21:39:53.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:39:53.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:39:53.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:39:53.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:39:53.608Z] $ docker stop --time=1 123534bd4dc0083e39657d1da469ccd334d0a4fae3c76b1c3c47f3c19bda17fc [2023-10-31T21:39:55.974Z] $ docker rm -f --volumes 123534bd4dc0083e39657d1da469ccd334d0a4fae3c76b1c3c47f3c19bda17fc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:39:56.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:39:56.610Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-31T21:39:57.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:39:57.601Z] + ls -al . [2023-10-31T21:39:57.601Z] total 184 [2023-10-31T21:39:57.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:39 . [2023-10-31T21:39:57.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:37 .. [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 21:37 .dockerignore [2023-10-31T21:39:57.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:39 .git [2023-10-31T21:39:57.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:37 .github [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 21:37 .gitignore [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:37 .golangci.yml [2023-10-31T21:39:57.601Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:37 .semver [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 31 21:37 Attribution.txt [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 31 21:37 CHANGELOG.md [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 31 21:37 Dockerfile [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:37 GOVERNANCE.md [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 31 21:37 Jenkinsfile [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:37 LICENSE [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 31 21:37 Makefile [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 21:37 OWNERS.md [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 31 21:37 README.md [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION [2023-10-31T21:39:57.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:37 bin [2023-10-31T21:39:57.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:37 cmd [2023-10-31T21:39:57.601Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 31 21:39 coverage.out [2023-10-31T21:39:57.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:37 driver [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 31 21:37 go.mod [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 31 21:37 go.sum [2023-10-31T21:39:57.601Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 21:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:39:58.012Z] + 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=49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 --label arch=amd64 --label version=0.0.0 . [2023-10-31T21:39:58.013Z] Sending build context to Docker daemon 10.96MB [2023-10-31T21:39:58.013Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:39:58.013Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-31T21:39:58.013Z] ---> c98716cece56 [2023-10-31T21:39:58.013Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:39:58.013Z] ---> Running in d8e277141dd6 [2023-10-31T21:39:58.276Z] Removing intermediate container d8e277141dd6 [2023-10-31T21:39:58.276Z] ---> 257e7c214ac9 [2023-10-31T21:39:58.276Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:39:58.276Z] ---> Running in 66c621fcc632 [2023-10-31T21:39:58.276Z] Removing intermediate container 66c621fcc632 [2023-10-31T21:39:58.276Z] ---> c4355bde9282 [2023-10-31T21:39:58.276Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-31T21:39:58.276Z] ---> Running in f3e317d3e68f [2023-10-31T21:39:58.276Z] Removing intermediate container f3e317d3e68f [2023-10-31T21:39:58.276Z] ---> a873f541564a [2023-10-31T21:39:58.276Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-31T21:39:58.535Z] ---> Running in 3573706cc280 [2023-10-31T21:39:58.535Z] Removing intermediate container 3573706cc280 [2023-10-31T21:39:58.535Z] ---> f3c203dd2e44 [2023-10-31T21:39:58.535Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-31T21:39:58.535Z] ---> Running in b6ae5d9f1886 [2023-10-31T21:39:58.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:39:59.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:39:59.319Z] OK: 268 MiB in 56 packages [2023-10-31T21:39:59.579Z] Removing intermediate container b6ae5d9f1886 [2023-10-31T21:39:59.579Z] ---> a17ea9862c7b [2023-10-31T21:39:59.579Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-31T21:39:59.579Z] ---> Running in 01d15a5dc352 [2023-10-31T21:39:59.837Z] Removing intermediate container 01d15a5dc352 [2023-10-31T21:39:59.837Z] ---> 9c26d432c383 [2023-10-31T21:39:59.837Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-31T21:39:59.837Z] ---> 9b0b4682d989 [2023-10-31T21:39:59.837Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:39:59.837Z] ---> Running in 831e136bdf1b [2023-10-31T21:40:00.774Z] Removing intermediate container 831e136bdf1b [2023-10-31T21:40:00.774Z] ---> 394292dc297f [2023-10-31T21:40:00.774Z] Step 11/25 : COPY . . [2023-10-31T21:40:01.361Z] ---> a6b77b32226b [2023-10-31T21:40:01.361Z] Step 12/25 : RUN $MAKE [2023-10-31T21:40:01.626Z] ---> Running in 3ae9c5f50b17 [2023-10-31T21:40:02.203Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-31T21:40:28.823Z] Removing intermediate container 3ae9c5f50b17 [2023-10-31T21:40:28.823Z] ---> a2a53b7dc07d [2023-10-31T21:40:28.823Z] Step 13/25 : FROM alpine:3.18 [2023-10-31T21:40:28.823Z] 3.18: Pulling from library/alpine [2023-10-31T21:40:28.823Z] 96526aa774ef: Pulling fs layer [2023-10-31T21:40:28.823Z] 96526aa774ef: Verifying Checksum [2023-10-31T21:40:28.823Z] 96526aa774ef: Download complete [2023-10-31T21:40:28.823Z] 96526aa774ef: Pull complete [2023-10-31T21:40:28.823Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:40:28.823Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:40:28.823Z] ---> 8ca4688f4f35 [2023-10-31T21:40:28.823Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-31T21:40:28.823Z] ---> Running in 387b06e12abe [2023-10-31T21:40:28.823Z] Removing intermediate container 387b06e12abe [2023-10-31T21:40:28.823Z] ---> 54f36154dbdb [2023-10-31T21:40:28.823Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-31T21:40:28.823Z] ---> Running in 0d1bf4d51619 [2023-10-31T21:40:28.823Z] Removing intermediate container 0d1bf4d51619 [2023-10-31T21:40:28.823Z] ---> 673c20934682 [2023-10-31T21:40:28.823Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-31T21:40:28.823Z] ---> Running in 24d1101e32e6 [2023-10-31T21:40:28.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:40:28.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:40:29.397Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-31T21:40:29.397Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:40:29.397Z] OK: 7 MiB in 16 packages [2023-10-31T21:40:29.659Z] Removing intermediate container 24d1101e32e6 [2023-10-31T21:40:29.659Z] ---> 0197a9db249b [2023-10-31T21:40:29.659Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-31T21:40:31.112Z] ---> e4a88f22c48c [2023-10-31T21:40:31.112Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-31T21:40:31.112Z] ---> 6c2d7a8d7385 [2023-10-31T21:40:31.112Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-31T21:40:31.385Z] ---> 663c9a070aa7 [2023-10-31T21:40:31.385Z] Step 20/25 : EXPOSE 59986 [2023-10-31T21:40:31.647Z] ---> Running in c9f62c81de52 [2023-10-31T21:40:31.647Z] Removing intermediate container c9f62c81de52 [2023-10-31T21:40:31.647Z] ---> d353f52dd95a [2023-10-31T21:40:31.647Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-31T21:40:31.647Z] ---> Running in 86866adf6a56 [2023-10-31T21:40:31.916Z] Removing intermediate container 86866adf6a56 [2023-10-31T21:40:31.916Z] ---> 36c3b8837207 [2023-10-31T21:40:31.916Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-31T21:40:32.185Z] ---> Running in 0ea5d33941c0 [2023-10-31T21:40:32.185Z] Removing intermediate container 0ea5d33941c0 [2023-10-31T21:40:32.185Z] ---> 53ab4e04a4f3 [2023-10-31T21:40:32.185Z] Step 23/25 : LABEL arch=amd64 [2023-10-31T21:40:32.185Z] ---> Running in e4ec8ed1b07d [2023-10-31T21:40:32.453Z] Removing intermediate container e4ec8ed1b07d [2023-10-31T21:40:32.453Z] ---> 61b40640a322 [2023-10-31T21:40:32.453Z] Step 24/25 : LABEL git_sha=49cc5180e9cad99f26ac3ecb6bd79a6576cd5e63 [2023-10-31T21:40:32.453Z] ---> Running in 3e9bdaee7c8c [2023-10-31T21:40:32.721Z] Removing intermediate container 3e9bdaee7c8c [2023-10-31T21:40:32.721Z] ---> a6084e5ce41d [2023-10-31T21:40:32.721Z] Step 25/25 : LABEL version=0.0.0 [2023-10-31T21:40:32.721Z] ---> Running in 9577b444665b [2023-10-31T21:40:32.980Z] Removing intermediate container 9577b444665b [2023-10-31T21:40:32.980Z] ---> 5f8f1814b622 [2023-10-31T21:40:32.980Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:40:32.980Z] Successfully built 5f8f1814b622 [2023-10-31T21:40:32.980Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:40:34.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:40:34.013Z] [2023-10-31T21:40:34.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:40:34.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:40:34.438Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-31T21:40:34.438Z] 5eb5b503b376: Pulling fs layer [2023-10-31T21:40:34.438Z] 5c69ac0246d0: Pulling fs layer [2023-10-31T21:40:34.438Z] ec43610c2a17: Pulling fs layer [2023-10-31T21:40:34.438Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-31T21:40:34.438Z] 33b1e0a273af: Pulling fs layer [2023-10-31T21:40:34.438Z] 5d3b04190fa2: Pulling fs layer [2023-10-31T21:40:34.438Z] 2f39f015ded8: Pulling fs layer [2023-10-31T21:40:34.438Z] 33b1e0a273af: Waiting [2023-10-31T21:40:34.438Z] 5d3b04190fa2: Waiting [2023-10-31T21:40:34.438Z] 3a2ae6a8a46f: Waiting [2023-10-31T21:40:34.438Z] 2f39f015ded8: Waiting [2023-10-31T21:40:34.438Z] 5c69ac0246d0: Verifying Checksum [2023-10-31T21:40:34.438Z] 5c69ac0246d0: Download complete [2023-10-31T21:40:34.727Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-31T21:40:34.727Z] 3a2ae6a8a46f: Download complete [2023-10-31T21:40:34.727Z] 33b1e0a273af: Verifying Checksum [2023-10-31T21:40:34.727Z] 33b1e0a273af: Download complete [2023-10-31T21:40:34.727Z] ec43610c2a17: Verifying Checksum [2023-10-31T21:40:34.727Z] ec43610c2a17: Download complete [2023-10-31T21:40:34.727Z] 5d3b04190fa2: Verifying Checksum [2023-10-31T21:40:34.727Z] 5d3b04190fa2: Download complete [2023-10-31T21:40:35.025Z] 5eb5b503b376: Download complete [2023-10-31T21:40:36.562Z] 2f39f015ded8: Verifying Checksum [2023-10-31T21:40:36.562Z] 2f39f015ded8: Download complete [2023-10-31T21:40:39.222Z] 5eb5b503b376: Pull complete [2023-10-31T21:40:39.222Z] 5c69ac0246d0: Pull complete [2023-10-31T21:40:40.675Z] ec43610c2a17: Pull complete [2023-10-31T21:40:40.954Z] 3a2ae6a8a46f: Pull complete [2023-10-31T21:40:41.562Z] 33b1e0a273af: Pull complete [2023-10-31T21:40:41.562Z] 5d3b04190fa2: Pull complete [2023-10-31T21:40:56.537Z] 2f39f015ded8: Pull complete [2023-10-31T21:40:56.537Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-31T21:40:56.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:40:56.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:40:56.864Z] prd-ubuntu20.04-docker-8c-8g-15650 does not seem to be running inside a container [2023-10-31T21:40:56.917Z] $ 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-358 -v /w/workspace/gexfoundry_device-rest-go_PR-358:/w/workspace/gexfoundry_device-rest-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-358@tmp:/w/workspace/gexfoundry_device-rest-go_PR-358@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-10-31T21:40:59.322Z] $ docker top cc78d821a677216a9e5fb89892efa1c022eb33eece966f0716f620e4a73cfc9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:40:59.887Z] ---> job-cost.sh [2023-10-31T21:40:59.887Z] lf-activate-venv: SKIPPING [2023-10-31T21:40:59.887Z] INFO: No Stack... [2023-10-31T21:41:00.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:41:00.752Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:41:01.401Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-358/archives/cost.csv [2023-10-31T21:41:01.401Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:41:01.438Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] [2023-10-31T21:41:01.444Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] did not exist. Created. [2023-10-31T21:41:01.444Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:41:01.857Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-31T21:41:01.975Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:41:01.995Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:41:02.086Z] $ docker stop --time=1 cc78d821a677216a9e5fb89892efa1c022eb33eece966f0716f620e4a73cfc9b [2023-10-31T21:41:03.412Z] $ docker rm -f --volumes cc78d821a677216a9e5fb89892efa1c022eb33eece966f0716f620e4a73cfc9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T21:47:49.190Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15858 in /w/workspace/gexfoundry_device-rest-go_PR-358 [Pipeline] { [Pipeline] ws [2023-10-31T21:47:49.267Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:47:51.704Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-31T21:47:51.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:47:51.704Z] Dload Upload Total Spent Left Speed [2023-10-31T21:47:51.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-10-31T21:47:52.466Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-31T21:47:52.858Z] + sudo tee /etc/docker/daemon.new [2023-10-31T21:47:52.858Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-31T21:47:52.858Z] { [2023-10-31T21:47:52.858Z] "registry-mirrors": [ [2023-10-31T21:47:52.858Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-31T21:47:52.858Z] ], [2023-10-31T21:47:52.858Z] "bip": "10.250.0.254/24", [2023-10-31T21:47:52.858Z] "hosts": [ [2023-10-31T21:47:52.858Z] "tcp://0.0.0.0:5555", [2023-10-31T21:47:52.858Z] "unix:///var/run/docker.sock" [2023-10-31T21:47:52.858Z] ], [2023-10-31T21:47:52.858Z] "mtu": 1458, [2023-10-31T21:47:52.858Z] "selinux-enabled": true, [2023-10-31T21:47:52.858Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-31T21:47:52.858Z] } [Pipeline] sh [2023-10-31T21:47:53.280Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-31T21:47:53.697Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:48:16.026Z] provisioning config files... [2023-10-31T21:48:16.069Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10482288524715820970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:48:16.514Z] ---> docker-login.sh [2023-10-31T21:48:16.514Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:48:17.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:48:17.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:48:17.110Z] Configure a credential helper to remove this warning. See [2023-10-31T21:48:17.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:48:17.110Z] [2023-10-31T21:48:17.110Z] Login Succeeded [2023-10-31T21:48:17.110Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:48:17.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:48:17.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:48:17.658Z] Configure a credential helper to remove this warning. See [2023-10-31T21:48:17.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:48:17.658Z] [2023-10-31T21:48:17.658Z] Login Succeeded [2023-10-31T21:48:17.658Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:48:17.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:48:18.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:48:18.200Z] Configure a credential helper to remove this warning. See [2023-10-31T21:48:18.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:48:18.200Z] [2023-10-31T21:48:18.200Z] Login Succeeded [2023-10-31T21:48:18.200Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:48:18.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:48:18.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:48:18.474Z] Configure a credential helper to remove this warning. See [2023-10-31T21:48:18.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:48:18.474Z] [2023-10-31T21:48:18.474Z] Login Succeeded [2023-10-31T21:48:18.474Z] docker.io [2023-10-31T21:48:18.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:48:19.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:48:19.021Z] Configure a credential helper to remove this warning. See [2023-10-31T21:48:19.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:48:19.021Z] [2023-10-31T21:48:19.021Z] Login Succeeded [2023-10-31T21:48:19.021Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:48:19.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:48:19.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:48:19.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:48:19.757Z] ========================================================= [2023-10-31T21:48:19.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-31T21:48:19.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:48:20.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:48:20.464Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-31T21:48:20.464Z] 9fda8d8052c6: Pulling fs layer [2023-10-31T21:48:20.464Z] 5d54e960e981: Pulling fs layer [2023-10-31T21:48:20.464Z] c4a7e357bf2a: Pulling fs layer [2023-10-31T21:48:20.464Z] f0e02332f6b5: Pulling fs layer [2023-10-31T21:48:20.464Z] cefa15bbcfad: Pulling fs layer [2023-10-31T21:48:20.464Z] 17808c966233: Pulling fs layer [2023-10-31T21:48:20.464Z] f4c1fc716caa: Pulling fs layer [2023-10-31T21:48:20.464Z] f0e02332f6b5: Waiting [2023-10-31T21:48:20.464Z] cefa15bbcfad: Waiting [2023-10-31T21:48:20.464Z] f4c1fc716caa: Waiting [2023-10-31T21:48:20.464Z] 17808c966233: Waiting [2023-10-31T21:48:20.464Z] 5d54e960e981: Verifying Checksum [2023-10-31T21:48:20.464Z] 5d54e960e981: Download complete [2023-10-31T21:48:20.464Z] f0e02332f6b5: Verifying Checksum [2023-10-31T21:48:20.464Z] f0e02332f6b5: Download complete [2023-10-31T21:48:20.464Z] cefa15bbcfad: Verifying Checksum [2023-10-31T21:48:20.464Z] cefa15bbcfad: Download complete [2023-10-31T21:48:20.464Z] 9fda8d8052c6: Verifying Checksum [2023-10-31T21:48:20.464Z] 9fda8d8052c6: Download complete [2023-10-31T21:48:21.066Z] f4c1fc716caa: Verifying Checksum [2023-10-31T21:48:21.066Z] f4c1fc716caa: Download complete [2023-10-31T21:48:21.344Z] 9fda8d8052c6: Pull complete [2023-10-31T21:48:21.941Z] 5d54e960e981: Pull complete [2023-10-31T21:48:22.218Z] c4a7e357bf2a: Verifying Checksum [2023-10-31T21:48:22.218Z] c4a7e357bf2a: Download complete [2023-10-31T21:48:23.675Z] 17808c966233: Verifying Checksum [2023-10-31T21:48:23.675Z] 17808c966233: Download complete [2023-10-31T21:48:38.739Z] c4a7e357bf2a: Pull complete [2023-10-31T21:48:38.739Z] f0e02332f6b5: Pull complete [2023-10-31T21:48:38.739Z] cefa15bbcfad: Pull complete [2023-10-31T21:48:45.425Z] 17808c966233: Pull complete [2023-10-31T21:48:46.846Z] f4c1fc716caa: Pull complete [2023-10-31T21:48:46.846Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-31T21:48:46.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:48:46.846Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh [2023-10-31T21:48:47.230Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:48:47.659Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:48:47.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:48:48.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-15858 does not seem to be running inside a container [2023-10-31T21:48:48.205Z] $ 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-10-31T21:48:50.778Z] $ docker top dbc9ca909f5485c34b945e48a09d6b0f58c18d6d5d358788d2650824f08d8bd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:48:51.777Z] + go version [2023-10-31T21:48:51.777Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-31T21:48:51.820Z] $ docker stop --time=1 dbc9ca909f5485c34b945e48a09d6b0f58c18d6d5d358788d2650824f08d8bd4 [2023-10-31T21:48:53.656Z] $ docker rm -f --volumes dbc9ca909f5485c34b945e48a09d6b0f58c18d6d5d358788d2650824f08d8bd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:48:54.668Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:48:54.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:48:55.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-15858 does not seem to be running inside a container [2023-10-31T21:48:55.133Z] $ 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-10-31T21:48:56.779Z] $ docker top 386a253555c2f98c36c98e12470ac628b8b0ae40267b0e7fe3e65c8471582d02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:48:57.773Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:48:58.524Z] + make test [2023-10-31T21:48:58.524Z] make: *** No rule to make target 'test'. Stop. [Pipeline] } [2023-10-31T21:48:58.585Z] $ docker stop --time=1 386a253555c2f98c36c98e12470ac628b8b0ae40267b0e7fe3e65c8471582d02 [2023-10-31T21:49:00.404Z] $ docker rm -f --volumes 386a253555c2f98c36c98e12470ac628b8b0ae40267b0e7fe3e65c8471582d02 [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-10-31T21:49:01.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:49:01.601Z] [2023-10-31T21:49:01.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:49:02.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:49:02.317Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-31T21:49:02.317Z] 8998bd30e6a1: Pulling fs layer [2023-10-31T21:49:02.317Z] 04944245beec: Pulling fs layer [2023-10-31T21:49:02.317Z] 699f458cf7ca: Pulling fs layer [2023-10-31T21:49:02.317Z] 765212b225bb: Pulling fs layer [2023-10-31T21:49:02.317Z] f23df028b6ca: Pulling fs layer [2023-10-31T21:49:02.317Z] d65c8cfc05b1: Pulling fs layer [2023-10-31T21:49:02.317Z] 2437ff75d9bd: Pulling fs layer [2023-10-31T21:49:02.317Z] f23df028b6ca: Waiting [2023-10-31T21:49:02.317Z] d65c8cfc05b1: Waiting [2023-10-31T21:49:02.317Z] 2437ff75d9bd: Waiting [2023-10-31T21:49:02.317Z] 765212b225bb: Waiting [2023-10-31T21:49:02.317Z] 04944245beec: Verifying Checksum [2023-10-31T21:49:02.317Z] 04944245beec: Download complete [2023-10-31T21:49:02.317Z] 765212b225bb: Verifying Checksum [2023-10-31T21:49:02.317Z] 765212b225bb: Download complete [2023-10-31T21:49:02.589Z] f23df028b6ca: Verifying Checksum [2023-10-31T21:49:02.589Z] f23df028b6ca: Download complete [2023-10-31T21:49:02.589Z] d65c8cfc05b1: Verifying Checksum [2023-10-31T21:49:02.589Z] d65c8cfc05b1: Download complete [2023-10-31T21:49:02.589Z] 699f458cf7ca: Verifying Checksum [2023-10-31T21:49:02.589Z] 699f458cf7ca: Download complete [2023-10-31T21:49:03.180Z] 8998bd30e6a1: Verifying Checksum [2023-10-31T21:49:03.180Z] 8998bd30e6a1: Download complete [2023-10-31T21:49:05.782Z] 2437ff75d9bd: Verifying Checksum [2023-10-31T21:49:05.782Z] 2437ff75d9bd: Download complete [2023-10-31T21:49:07.758Z] 8998bd30e6a1: Pull complete [2023-10-31T21:49:08.347Z] 04944245beec: Pull complete [2023-10-31T21:49:09.758Z] 699f458cf7ca: Pull complete [2023-10-31T21:49:10.030Z] 765212b225bb: Pull complete [2023-10-31T21:49:11.001Z] f23df028b6ca: Pull complete [2023-10-31T21:49:11.269Z] d65c8cfc05b1: Pull complete [2023-10-31T21:49:29.604Z] 2437ff75d9bd: Pull complete [2023-10-31T21:49:29.604Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-31T21:49:29.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:49:29.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:49:29.984Z] prd-ubuntu20.04-docker-arm64-4c-16g-15858 does not seem to be running inside a container [2023-10-31T21:49:30.087Z] $ 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-10-31T21:49:33.065Z] $ docker top de0431c7f245cfb80ad758fb90a94beae7218f89a56f05854f3b3d63e36e662f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:34.043Z] ---> job-cost.sh [2023-10-31T21:49:34.043Z] lf-activate-venv: SKIPPING [2023-10-31T21:49:34.043Z] INFO: No Stack... [2023-10-31T21:49:34.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-31T21:49:35.299Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:49:35.985Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-10-31T21:49:35.985Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:49:36.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] [2023-10-31T21:49:36.092Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] did not exist. Created. [2023-10-31T21:49:36.092Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:49:36.864Z] /w/workspace/device-rest-go/1@tmp/durable-ae228d8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-31T21:49:37.565Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-31T21:49:37.613Z] Warning: overwriting stash ‘stack-cost’ [2023-10-31T21:49:38.138Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:49:38.153Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-358-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:49:38.246Z] $ docker stop --time=1 de0431c7f245cfb80ad758fb90a94beae7218f89a56f05854f3b3d63e36e662f [2023-10-31T21:49:39.865Z] $ docker rm -f --volumes de0431c7f245cfb80ad758fb90a94beae7218f89a56f05854f3b3d63e36e662f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T21:49:40.670Z] 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-10-31T21:49:42.825Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-358/archives ] [2023-10-31T21:49:42.825Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-358/archives [2023-10-31T21:49:42.825Z] total 16 [2023-10-31T21:49:42.825Z] drwxr-xr-x 3 root root 4096 Oct 31 21:41 . [2023-10-31T21:49:42.825Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:41 .. [2023-10-31T21:49:42.825Z] drwxr-xr-x 2 root root 4096 Oct 31 21:41 cost [2023-10-31T21:49:42.826Z] -rw-r--r-- 1 root root 86 Oct 31 21:41 cost.csv [2023-10-31T21:49:42.826Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-358/archives [2023-10-31T21:49:42.826Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-358/archives [2023-10-31T21:49:42.826Z] total 16 [2023-10-31T21:49:42.826Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:41 . [2023-10-31T21:49:42.826Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:41 .. [2023-10-31T21:49:42.826Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:41 cost [2023-10-31T21:49:42.826Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 31 21:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:43.160Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:44.517Z] ---> package-listing.sh [2023-10-31T21:49:44.517Z] ++ facter osfamily [2023-10-31T21:49:44.517Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-31T21:49:44.776Z] + OS_FAMILY=debian [2023-10-31T21:49:44.776Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-358 [2023-10-31T21:49:44.776Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-31T21:49:44.776Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-31T21:49:44.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-31T21:49:44.776Z] + PACKAGES=/tmp/packages_start.txt [2023-10-31T21:49:44.776Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-358 ']' [2023-10-31T21:49:44.776Z] + PACKAGES=/tmp/packages_end.txt [2023-10-31T21:49:44.776Z] + case "${OS_FAMILY}" in [2023-10-31T21:49:44.776Z] + grep '^ii' [2023-10-31T21:49:44.776Z] + dpkg -l [2023-10-31T21:49:44.776Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-31T21:49:44.776Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-31T21:49:44.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-31T21:49:44.776Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-358 ']' [2023-10-31T21:49:44.776Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-358/archives/ [2023-10-31T21:49:44.776Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-358/archives/ [Pipeline] echo [2023-10-31T21:49:44.822Z] 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-358/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-31T21:49:45.127Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:49:45.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:49:45.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:49:46.000Z] prd-ubuntu20.04-docker-8c-8g-15650 does not seem to be running inside a container [2023-10-31T21:49:46.068Z] $ 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-358/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-358 -v /w/workspace/gexfoundry_device-rest-go_PR-358:/w/workspace/gexfoundry_device-rest-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-358@tmp:/w/workspace/gexfoundry_device-rest-go_PR-358@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-10-31T21:49:46.680Z] $ docker top f360fc8b5e5db5eb4d0c00f24715e93312871c33bad09ce2f8d51a515f893b4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:49:47.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-31T21:49:47.458Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-31T21:49:47.786Z] + ls /var/log/sa-host [2023-10-31T21:49:47.786Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:49:47.949Z] provisioning config files... [2023-10-31T21:49:47.959Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-358@tmp/config1512722628020209740tmp [Pipeline] { [Pipeline] echo [2023-10-31T21:49:48.042Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:48.422Z] ---> create-netrc.sh [Pipeline] } [2023-10-31T21:49:48.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:49.109Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-31T21:49:49.146Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:49.468Z] ---> sudo-logs.sh [2023-10-31T21:49:49.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-31T21:49:49.819Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:50.444Z] ---> job-cost.sh [2023-10-31T21:49:50.444Z] lf-activate-venv: SKIPPING [2023-10-31T21:49:50.444Z] DEBUG: total: 0.2199999988079071 [2023-10-31T21:49:50.444Z] INFO: Retrieving Stack Cost... [2023-10-31T21:49:51.197Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:49:51.461Z] INFO: Archiving Costs [Pipeline] echo [2023-10-31T21:49:51.497Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:51.852Z] ---> logs-deploy.sh [2023-10-31T21:49:51.852Z] lf-activate-venv: SKIPPING [2023-10-31T21:49:51.852Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-358/1 [2023-10-31T21:49:51.852Z] INFO: archiving workspace using pattern(s): [2023-10-31T21:49:53.777Z] Archives upload complete. [2023-10-31T21:49:53.777Z] INFO: archiving logs to Nexus