Pull request #387 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 470f401685a8b376d1efe0d2199b8c2a6f37ff5f+75bc767cd91fa94e23213f88954145bb20b6ca5d (437c5d5c5aacbb6164ee23393db1bf59df29a1b5) 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-ssh3869328726319624493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13558400098048623069.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-387/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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6436044188485726102.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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8268563703440232692.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11781826394032126357.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-387/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-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2424876034919018811.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-478’ Running on prd-ubuntu20.04-docker-8c-8g-481 in /w/workspace/gexfoundry_device-rest-go_PR-387 [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-387 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 75bc767cd91fa94e23213f88954145bb20b6ca5d into PR head commit 470f401685a8b376d1efe0d2199b8c2a6f37ff5f Merge succeeded, producing 470f401685a8b376d1efe0d2199b8c2a6f37ff5f Checking out Revision 470f401685a8b376d1efe0d2199b8c2a6f37ff5f (PR-387) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # 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 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-20T20:33:34.626Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-20T20:33:34.837Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-20T20:33:34.942Z] ========================================================= [2024-03-20T20:33:34.942Z] EdgeX Global Pipelines Version Info [2024-03-20T20:33:34.942Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:33:35.706Z] ------------------- [2024-03-20T20:33:35.706Z] stable info: [2024-03-20T20:33:35.706Z] ------------------- [2024-03-20T20:33:35.706Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-20T20:33:35.706Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T20:33:35.706Z] Message: update stable to v1.0.258 [2024-03-20T20:33:36.275Z] ------------------- [2024-03-20T20:33:36.275Z] experimental info: [2024-03-20T20:33:36.275Z] ------------------- [2024-03-20T20:33:36.275Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-20T20:33:36.275Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T20:33:36.275Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-20T20:33:36.491Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-03-20T20:33:36.547Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-03-20T20:33:36.604Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-20T20:33:36.657Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-20T20:33:36.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-20T20:33:36.764Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-20T20:33:36.818Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-20T20:33:36.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-20T20:33:36.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-20T20:33:36.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-20T20:33:37.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-20T20:33:37.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-03-20T20:33:37.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-20T20:33:37.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-20T20:33:37.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-20T20:33:37.285Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-20T20:33:37.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T20:33:37.384Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T20:33:37.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-20T20:33:37.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-20T20:33:37.537Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-20T20:33:37.589Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-20T20:33:37.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-20T20:33:37.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-20T20:33:37.737Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-20T20:33:37.789Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-20T20:33:37.840Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-20T20:33:37.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo [2024-03-20T20:33:37.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo [2024-03-20T20:33:37.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo [2024-03-20T20:33:38.044Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo [2024-03-20T20:33:38.100Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 470f401 [Pipeline] echo [2024-03-20T20:33:38.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T20:33:38.292Z] provisioning config files... [2024-03-20T20:33:38.306Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config3579550218749712884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:33:38.680Z] ---> ****-login.sh [2024-03-20T20:33:38.680Z] nexus3.edgexfoundry.org:10001 [2024-03-20T20:33:38.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:38.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:38.947Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:38.947Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:38.947Z] [2024-03-20T20:33:38.947Z] Login Succeeded [2024-03-20T20:33:38.947Z] nexus3.edgexfoundry.org:10002 [2024-03-20T20:33:38.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:38.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:38.947Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:38.947Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:38.947Z] [2024-03-20T20:33:38.947Z] Login Succeeded [2024-03-20T20:33:38.947Z] nexus3.edgexfoundry.org:10003 [2024-03-20T20:33:39.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:39.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:39.211Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:39.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:39.211Z] [2024-03-20T20:33:39.211Z] Login Succeeded [2024-03-20T20:33:39.211Z] nexus3.edgexfoundry.org:10004 [2024-03-20T20:33:39.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:39.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:39.212Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:39.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:39.212Z] [2024-03-20T20:33:39.212Z] Login Succeeded [2024-03-20T20:33:39.212Z] ****.io [2024-03-20T20:33:39.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:39.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:39.471Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:39.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:39.471Z] [2024-03-20T20:33:39.471Z] Login Succeeded [2024-03-20T20:33:39.471Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T20:33:39.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-20T20:33:40.165Z] + git rev-list -1 --merges 470f401685a8b376d1efe0d2199b8c2a6f37ff5f~1..470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo [2024-03-20T20:33:40.208Z] -----------> git rev-list -1 --merges 470f401685a8b376d1efe0d2199b8c2a6f37ff5f~1..470f401685a8b376d1efe0d2199b8c2a6f37ff5f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [false] [Pipeline] sh [2024-03-20T20:33:40.525Z] + git log --format=format:%s -1 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo [2024-03-20T20:33:40.562Z] ========================================================= [2024-03-20T20:33:40.562Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-20T20:33:40.562Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T20:33:41.001Z] + git log --format=format:%s -1 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo [2024-03-20T20:33:41.035Z] [semverPrep] GIT_COMMIT: 470f401685a8b376d1efe0d2199b8c2a6f37ff5f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-20T20:33:41.069Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-20T20:33:41.555Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-20T20:33:41.555Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-20T20:33:41.555Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-20T20:33:41.555Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-20T20:33:41.555Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-03-20T20:33:41.555Z] tee -a /etc/ssh/ssh_known_hosts [2024-03-20T20:33:41.555Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:33:42.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T20:33:42.060Z] [2024-03-20T20:33:42.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:33:42.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T20:33:42.455Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-20T20:33:42.455Z] b85a868b505f: Pulling fs layer [2024-03-20T20:33:42.455Z] e2be974225ed: Pulling fs layer [2024-03-20T20:33:42.455Z] 339a4e72a1f5: Pulling fs layer [2024-03-20T20:33:42.455Z] 988bab9f4d93: Pulling fs layer [2024-03-20T20:33:42.455Z] 1469e6f7b9e6: Pulling fs layer [2024-03-20T20:33:42.455Z] eaf3925da568: Pulling fs layer [2024-03-20T20:33:42.455Z] bab4dde63d76: Pulling fs layer [2024-03-20T20:33:42.455Z] bde34c3a00c8: Pulling fs layer [2024-03-20T20:33:42.455Z] b352a97aabf1: Pulling fs layer [2024-03-20T20:33:42.455Z] 4872d77fe225: Pulling fs layer [2024-03-20T20:33:42.455Z] 5851b861e8e6: Pulling fs layer [2024-03-20T20:33:42.455Z] eaf3925da568: Waiting [2024-03-20T20:33:42.455Z] b352a97aabf1: Waiting [2024-03-20T20:33:42.455Z] 988bab9f4d93: Waiting [2024-03-20T20:33:42.455Z] 4872d77fe225: Waiting [2024-03-20T20:33:42.455Z] bab4dde63d76: Waiting [2024-03-20T20:33:42.455Z] 5851b861e8e6: Waiting [2024-03-20T20:33:42.455Z] bde34c3a00c8: Waiting [2024-03-20T20:33:42.455Z] 1469e6f7b9e6: Waiting [2024-03-20T20:33:42.455Z] e2be974225ed: Verifying Checksum [2024-03-20T20:33:42.455Z] e2be974225ed: Download complete [2024-03-20T20:33:42.455Z] 988bab9f4d93: Verifying Checksum [2024-03-20T20:33:42.456Z] 988bab9f4d93: Download complete [2024-03-20T20:33:42.715Z] 1469e6f7b9e6: Verifying Checksum [2024-03-20T20:33:42.716Z] 1469e6f7b9e6: Download complete [2024-03-20T20:33:42.716Z] 339a4e72a1f5: Verifying Checksum [2024-03-20T20:33:42.716Z] eaf3925da568: Download complete [2024-03-20T20:33:42.716Z] 339a4e72a1f5: Download complete [2024-03-20T20:33:42.716Z] bde34c3a00c8: Download complete [2024-03-20T20:33:42.716Z] b352a97aabf1: Download complete [2024-03-20T20:33:42.716Z] 4872d77fe225: Download complete [2024-03-20T20:33:42.716Z] 5851b861e8e6: Verifying Checksum [2024-03-20T20:33:42.716Z] 5851b861e8e6: Download complete [2024-03-20T20:33:42.716Z] b85a868b505f: Verifying Checksum [2024-03-20T20:33:42.716Z] b85a868b505f: Download complete [2024-03-20T20:33:42.975Z] bab4dde63d76: Download complete [2024-03-20T20:33:43.912Z] b85a868b505f: Pull complete [2024-03-20T20:33:44.171Z] e2be974225ed: Pull complete [2024-03-20T20:33:44.743Z] 339a4e72a1f5: Pull complete [2024-03-20T20:33:44.743Z] 988bab9f4d93: Pull complete [2024-03-20T20:33:45.003Z] 1469e6f7b9e6: Pull complete [2024-03-20T20:33:45.003Z] eaf3925da568: Pull complete [2024-03-20T20:33:46.907Z] bab4dde63d76: Pull complete [2024-03-20T20:33:46.907Z] bde34c3a00c8: Pull complete [2024-03-20T20:33:47.168Z] b352a97aabf1: Pull complete [2024-03-20T20:33:47.168Z] 4872d77fe225: Pull complete [2024-03-20T20:33:47.168Z] 5851b861e8e6: Pull complete [2024-03-20T20:33:47.168Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-20T20:33:47.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T20:33:47.168Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:33:47.464Z] prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container [2024-03-20T20:33:47.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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 [2024-03-20T20:33:50.311Z] $ docker top 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 -eo pid,comm [2024-03-20T20:33:50.373Z] 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). [2024-03-20T20:33:50.373Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-20T20:33:50.525Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T20:33:50.526Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T20:33:50.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T20:33:50.658Z] $ docker exec 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent [2024-03-20T20:33:50.777Z] SSH_AUTH_SOCK=/tmp/ssh-LJ7Uzc0lFfuP/agent.32 [2024-03-20T20:33:50.777Z] SSH_AGENT_PID=38 [2024-03-20T20:33:50.784Z] Running ssh-add (command line suppressed) [2024-03-20T20:33:50.886Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_9831071512695795119.key (/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_9831071512695795119.key) [2024-03-20T20:33:50.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T20:33:51.242Z] + git tag --points-at HEAD [Pipeline] } [2024-03-20T20:33:51.264Z] $ docker exec --env ******** --env ******** 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent -k [2024-03-20T20:33:51.372Z] unset SSH_AUTH_SOCK; [2024-03-20T20:33:51.373Z] unset SSH_AGENT_PID; [2024-03-20T20:33:51.373Z] echo Agent pid 38 killed; [2024-03-20T20:33:51.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-20T20:33:51.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T20:33:51.485Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T20:33:51.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T20:33:51.602Z] $ docker exec 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent [2024-03-20T20:33:51.723Z] SSH_AUTH_SOCK=/tmp/ssh-5TpVTGkRvvJH/agent.71 [2024-03-20T20:33:51.723Z] SSH_AGENT_PID=77 [2024-03-20T20:33:51.728Z] Running ssh-add (command line suppressed) [2024-03-20T20:33:51.845Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_8523436133530320667.key (/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_8523436133530320667.key) [2024-03-20T20:33:51.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T20:33:52.196Z] + git semver init [2024-03-20T20:33:52.456Z] 2024-03-20 20:33:52,391 [run_init] DEBUG init version:0.0.0 force:False [2024-03-20T20:33:52.456Z] 2024-03-20 20:33:52,392 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-387/.semver [2024-03-20T20:33:52.456Z] 2024-03-20 20:33:52,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-387/.semver [2024-03-20T20:33:52.456Z] 2024-03-20 20:33:52,392 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-387/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-387, universal_newlines=False, shell=None, istream=None) [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,894 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-387/.git/info/exclude [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,895 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-387/.semver/PR-387 with force:False [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,895 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-387/.semver/PR-387 [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,897 [execute] INFO git cat-file --batch-check [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,902 [execute] INFO git cat-file --batch [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T20:33:54.374Z] 2024-03-20 20:33:53,907 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-387/.semver/PR-387 [2024-03-20T20:33:54.374Z] 0.0.0 [Pipeline] } [2024-03-20T20:33:54.400Z] $ docker exec --env ******** --env ******** 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent -k [2024-03-20T20:33:54.507Z] unset SSH_AUTH_SOCK; [2024-03-20T20:33:54.508Z] unset SSH_AGENT_PID; [2024-03-20T20:33:54.508Z] echo Agent pid 77 killed; [2024-03-20T20:33:54.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-20T20:33:54.951Z] + git semver [Pipeline] } [2024-03-20T20:33:55.237Z] $ docker stop --time=1 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 [2024-03-20T20:33:56.576Z] $ docker rm -f --volumes 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T20:33:56.987Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-20T20:33:57.264Z] Stashed 1 file(s) [Pipeline] echo [2024-03-20T20:33:57.281Z] [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 [2024-03-20T20:33:57.915Z] provisioning config files... [2024-03-20T20:33:57.926Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config5611197270378419596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:33:58.289Z] ---> ****-login.sh [2024-03-20T20:33:58.289Z] nexus3.edgexfoundry.org:10001 [2024-03-20T20:33:58.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:58.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:58.290Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:58.290Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:58.290Z] [2024-03-20T20:33:58.290Z] Login Succeeded [2024-03-20T20:33:58.290Z] nexus3.edgexfoundry.org:10002 [2024-03-20T20:33:58.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:58.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:58.290Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:58.290Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:58.290Z] [2024-03-20T20:33:58.290Z] Login Succeeded [2024-03-20T20:33:58.290Z] nexus3.edgexfoundry.org:10003 [2024-03-20T20:33:58.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:58.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:58.550Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:58.550Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:58.550Z] [2024-03-20T20:33:58.550Z] Login Succeeded [2024-03-20T20:33:58.550Z] nexus3.edgexfoundry.org:10004 [2024-03-20T20:33:58.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:58.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:58.550Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:58.550Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:58.550Z] [2024-03-20T20:33:58.550Z] Login Succeeded [2024-03-20T20:33:58.550Z] ****.io [2024-03-20T20:33:58.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:33:59.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:33:59.069Z] Configure a credential helper to remove this warning. See [2024-03-20T20:33:59.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:33:59.069Z] [2024-03-20T20:33:59.069Z] Login Succeeded [2024-03-20T20:33:59.069Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T20:33:59.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-20T20:33:59.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T20:33:59.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T20:33:59.474Z] ========================================================= [2024-03-20T20:33:59.474Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-20T20:33:59.474Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:33:59.954Z] + 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 . [2024-03-20T20:33:59.954Z] Sending build context to Docker daemon 16.36MB [2024-03-20T20:33:59.954Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T20:33:59.954Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-20T20:33:59.954Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-20T20:33:59.954Z] 7264a8db6415: Pulling fs layer [2024-03-20T20:33:59.954Z] c4d48a809fc2: Pulling fs layer [2024-03-20T20:33:59.954Z] 4f1c88b9dad5: Pulling fs layer [2024-03-20T20:33:59.954Z] ad3a456e5733: Pulling fs layer [2024-03-20T20:33:59.954Z] 69c7f0334f64: Pulling fs layer [2024-03-20T20:33:59.954Z] 1f1c1a5573a3: Pulling fs layer [2024-03-20T20:33:59.954Z] ce7588e14bc9: Pulling fs layer [2024-03-20T20:33:59.954Z] b5e4710f87ac: Pulling fs layer [2024-03-20T20:33:59.954Z] ad3a456e5733: Waiting [2024-03-20T20:33:59.954Z] 69c7f0334f64: Waiting [2024-03-20T20:33:59.954Z] 1f1c1a5573a3: Waiting [2024-03-20T20:33:59.954Z] ce7588e14bc9: Waiting [2024-03-20T20:33:59.954Z] b5e4710f87ac: Waiting [2024-03-20T20:34:00.212Z] c4d48a809fc2: Download complete [2024-03-20T20:34:00.212Z] ad3a456e5733: Download complete [2024-03-20T20:34:00.212Z] 69c7f0334f64: Verifying Checksum [2024-03-20T20:34:00.212Z] 69c7f0334f64: Download complete [2024-03-20T20:34:00.212Z] 7264a8db6415: Verifying Checksum [2024-03-20T20:34:00.212Z] 7264a8db6415: Download complete [2024-03-20T20:34:00.212Z] 1f1c1a5573a3: Verifying Checksum [2024-03-20T20:34:00.212Z] 1f1c1a5573a3: Download complete [2024-03-20T20:34:00.212Z] 7264a8db6415: Pull complete [2024-03-20T20:34:00.470Z] b5e4710f87ac: Verifying Checksum [2024-03-20T20:34:00.470Z] b5e4710f87ac: Download complete [2024-03-20T20:34:00.470Z] c4d48a809fc2: Pull complete [2024-03-20T20:34:00.729Z] 4f1c88b9dad5: Verifying Checksum [2024-03-20T20:34:00.729Z] 4f1c88b9dad5: Download complete [2024-03-20T20:34:00.987Z] ce7588e14bc9: Verifying Checksum [2024-03-20T20:34:00.987Z] ce7588e14bc9: Download complete [2024-03-20T20:34:04.270Z] 4f1c88b9dad5: Pull complete [2024-03-20T20:34:04.270Z] ad3a456e5733: Pull complete [2024-03-20T20:34:04.270Z] 69c7f0334f64: Pull complete [2024-03-20T20:34:04.270Z] 1f1c1a5573a3: Pull complete [2024-03-20T20:34:06.799Z] ce7588e14bc9: Pull complete [2024-03-20T20:34:07.060Z] b5e4710f87ac: Pull complete [2024-03-20T20:34:07.060Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-20T20:34:07.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-20T20:34:07.060Z] ---> 88b5674ff536 [2024-03-20T20:34:07.060Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-20T20:34:11.247Z] ---> Running in eabfe1f8bd60 [2024-03-20T20:34:11.247Z] Removing intermediate container eabfe1f8bd60 [2024-03-20T20:34:11.247Z] ---> 50a3ca2de06a [2024-03-20T20:34:11.247Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T20:34:11.247Z] ---> Running in 05bb36469438 [2024-03-20T20:34:11.247Z] Removing intermediate container 05bb36469438 [2024-03-20T20:34:11.247Z] ---> 9a5e06ca2e33 [2024-03-20T20:34:11.247Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T20:34:11.247Z] ---> Running in aa7541fc5efc [2024-03-20T20:34:11.247Z] Removing intermediate container aa7541fc5efc [2024-03-20T20:34:11.247Z] ---> 085d84117a37 [2024-03-20T20:34:11.247Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T20:34:11.247Z] ---> Running in f3c96b07704c [2024-03-20T20:34:11.247Z] Removing intermediate container f3c96b07704c [2024-03-20T20:34:11.247Z] ---> ec74f17e4034 [2024-03-20T20:34:11.248Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T20:34:11.248Z] ---> Running in f9cf59eaf767 [2024-03-20T20:34:11.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T20:34:11.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T20:34:12.030Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-20T20:34:12.030Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-20T20:34:12.030Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-20T20:34:12.030Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-20T20:34:12.030Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T20:34:12.030Z] OK: 268 MiB in 56 packages [2024-03-20T20:34:12.604Z] Removing intermediate container f9cf59eaf767 [2024-03-20T20:34:12.604Z] ---> 7ab09d6cb95c [2024-03-20T20:34:12.604Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-20T20:34:12.604Z] ---> Running in f77b9f2068ee [2024-03-20T20:34:12.604Z] Removing intermediate container f77b9f2068ee [2024-03-20T20:34:12.604Z] ---> aa09b4057adc [2024-03-20T20:34:12.604Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-20T20:34:12.729Z] Still waiting to schedule task [2024-03-20T20:34:12.729Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-20T20:34:12.866Z] ---> b04430d51f6f [2024-03-20T20:34:12.866Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T20:34:12.866Z] ---> Running in 358b7478ff2e [2024-03-20T20:35:13.480Z] Removing intermediate container 358b7478ff2e [2024-03-20T20:35:13.480Z] ---> 1f5cbe7b230d [2024-03-20T20:35:13.480Z] Step 11/12 : COPY . . [2024-03-20T20:35:13.480Z] ---> 777641ad2dc6 [2024-03-20T20:35:13.480Z] Step 12/12 : RUN $MAKE [2024-03-20T20:35:13.480Z] ---> Running in e6f4a46a28c0 [2024-03-20T20:35:13.480Z] noop [2024-03-20T20:35:13.480Z] Removing intermediate container e6f4a46a28c0 [2024-03-20T20:35:13.480Z] ---> b6fd91b5e1bc [2024-03-20T20:35:13.480Z] Successfully built b6fd91b5e1bc [2024-03-20T20:35:13.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:35:13.936Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-20T20:35:13.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:35:14.092Z] prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container [2024-03-20T20:35:14.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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 [2024-03-20T20:35:14.450Z] $ docker top e0da97db6107c545b5f33bc212095f1e7f6d322fb3f8c8511ca02723777bcab7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T20:35:14.847Z] + go version [2024-03-20T20:35:14.847Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-20T20:35:14.886Z] $ docker stop --time=1 e0da97db6107c545b5f33bc212095f1e7f6d322fb3f8c8511ca02723777bcab7 [2024-03-20T20:35:16.172Z] $ docker rm -f --volumes e0da97db6107c545b5f33bc212095f1e7f6d322fb3f8c8511ca02723777bcab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:35:16.906Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-20T20:35:16.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:35:17.063Z] prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container [2024-03-20T20:35:17.094Z] $ 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-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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 [2024-03-20T20:35:17.421Z] $ docker top cdd8635329acc87a7cd4b66c543dc69de5ba118f5353cc08726dc30e37a8daf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T20:35:17.814Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-387 [Pipeline] fileExists [Pipeline] sh [2024-03-20T20:35:18.176Z] + make test [2024-03-20T20:35:18.176Z] go test ./... -coverprofile=coverage.out ./... [2024-03-20T20:35:20.101Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-20T20:35:38.165Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-20T20:35:38.165Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2024-03-20T20:35:44.301Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-483 in /w/workspace/gexfoundry_device-rest-go_PR-387 [Pipeline] { [Pipeline] ws [2024-03-20T20:35:44.370Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-03-20T20:35:44.730Z] go vet ./... [2024-03-20T20:35:47.477Z] The recommended git tool is: git [2024-03-20T20:35:49.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-20T20:35:49.989Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-20T20:35:49.989Z] ./bin/test-attribution-txt.sh [2024-03-20T20:35:49.989Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-20T20:35:49.989Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-20T20:35:50.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-20T20:35:50.073Z] $ docker stop --time=1 cdd8635329acc87a7cd4b66c543dc69de5ba118f5353cc08726dc30e37a8daf3 [2024-03-20T20:35:52.246Z] using credential edgex-jenkins-ssh [2024-03-20T20:35:52.271Z] Cloning the remote Git repository [2024-03-20T20:35:52.316Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-03-20T20:35:52.416Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-03-20T20:35:52.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-20T20:35:52.546Z] > git --version # timeout=10 [2024-03-20T20:35:52.566Z] > git --version # 'git version 2.25.1' [2024-03-20T20:35:52.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T20:35:52.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-20T20:35:54.572Z] $ docker rm -f --volumes cdd8635329acc87a7cd4b66c543dc69de5ba118f5353cc08726dc30e37a8daf3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T20:35:55.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-20T20:35:55.236Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-20T20:35:56.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-20T20:35:55.324Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-20T20:35:55.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-20T20:35:56.337Z] + ls -al . [2024-03-20T20:35:56.337Z] total 248 [2024-03-20T20:35:56.337Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 20:35 . [2024-03-20T20:35:56.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:33 .. [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 20:33 .dockerignore [2024-03-20T20:35:56.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:35 .git [2024-03-20T20:35:56.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:33 .github [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 20:33 .gitignore [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 20:33 .golangci.yml [2024-03-20T20:35:56.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:33 .semver [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 20:33 Attribution.txt [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 20:33 CHANGELOG.md [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 20:33 Dockerfile [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:33 GOVERNANCE.md [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 20:33 Jenkinsfile [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 20:33 LICENSE [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 20:33 Makefile [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 20:33 OWNERS.md [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 20:33 README.md [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:33 VERSION [2024-03-20T20:35:56.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:33 bin [2024-03-20T20:35:56.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:33 cmd [2024-03-20T20:35:56.337Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 20:35 coverage.out [2024-03-20T20:35:56.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:33 driver [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 20:33 go.mod [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 20:33 go.sum [2024-03-20T20:35:56.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:33 openapi [2024-03-20T20:35:56.337Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 20:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:35:56.741Z] + 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=470f401685a8b376d1efe0d2199b8c2a6f37ff5f --label arch=amd64 --label version=0.0.0 . [2024-03-20T20:35:56.741Z] Sending build context to Docker daemon 16.38MB [2024-03-20T20:35:56.741Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T20:35:56.741Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-20T20:35:56.741Z] ---> b6fd91b5e1bc [2024-03-20T20:35:56.741Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-20T20:35:56.793Z] Merging remotes/origin/main commit 75bc767cd91fa94e23213f88954145bb20b6ca5d into PR head commit 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [2024-03-20T20:35:56.999Z] ---> Running in d6a772824633 [2024-03-20T20:35:57.061Z] Merge succeeded, producing 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [2024-03-20T20:35:57.061Z] Checking out Revision 470f401685a8b376d1efe0d2199b8c2a6f37ff5f (PR-387) [2024-03-20T20:35:57.257Z] Removing intermediate container d6a772824633 [2024-03-20T20:35:57.257Z] ---> e94db308e61b [2024-03-20T20:35:57.257Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T20:35:57.257Z] ---> Running in 80ec4ba146b8 [2024-03-20T20:35:57.257Z] Removing intermediate container 80ec4ba146b8 [2024-03-20T20:35:57.257Z] ---> 8fd2a550fdb2 [2024-03-20T20:35:57.257Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T20:35:57.257Z] ---> Running in dfa3d2bc50ae [2024-03-20T20:35:57.257Z] Removing intermediate container dfa3d2bc50ae [2024-03-20T20:35:57.257Z] ---> 1f3cff992e67 [2024-03-20T20:35:57.257Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T20:35:57.257Z] ---> Running in 764eb17d449c [2024-03-20T20:35:57.515Z] Removing intermediate container 764eb17d449c [2024-03-20T20:35:57.515Z] ---> 1487bcb162ac [2024-03-20T20:35:57.515Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T20:35:57.515Z] ---> Running in 564e3fb8c27d [2024-03-20T20:35:57.576Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-20T20:35:56.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-20T20:35:56.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-20T20:35:56.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T20:35:56.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-20T20:35:56.811Z] > git config core.sparsecheckout # timeout=10 [2024-03-20T20:35:56.873Z] > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # timeout=10 [2024-03-20T20:35:56.960Z] > git remote # timeout=10 [2024-03-20T20:35:56.980Z] > git config --get remote.origin.url # timeout=10 [2024-03-20T20:35:57.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T20:35:57.021Z] > git merge 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 [2024-03-20T20:35:57.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-20T20:35:57.065Z] > git config core.sparsecheckout # timeout=10 [2024-03-20T20:35:57.090Z] > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # timeout=10 [2024-03-20T20:35:57.619Z] > git --version # timeout=10 [2024-03-20T20:35:57.636Z] > git --version # 'git version 2.25.1' [2024-03-20T20:35:57.657Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T20:35:57.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T20:35:57.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T20:35:58.340Z] OK: 268 MiB in 56 packages [2024-03-20T20:35:58.599Z] Removing intermediate container 564e3fb8c27d [2024-03-20T20:35:58.599Z] ---> 7457e8b8bbea [2024-03-20T20:35:58.599Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-20T20:35:58.599Z] ---> Running in 5368eb672b68 [2024-03-20T20:35:58.599Z] Removing intermediate container 5368eb672b68 [2024-03-20T20:35:58.599Z] ---> 76566ccf1acf [2024-03-20T20:35:58.599Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-20T20:35:58.599Z] ---> c22025d6c0f6 [2024-03-20T20:35:58.599Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T20:35:58.599Z] ---> Running in efa43c12544a [2024-03-20T20:35:59.592Z] Removing intermediate container efa43c12544a [2024-03-20T20:35:59.592Z] ---> 3040c00c333e [2024-03-20T20:35:59.592Z] Step 11/26 : COPY . . [2024-03-20T20:35:59.852Z] ---> fe7832a1e9a6 [2024-03-20T20:35:59.852Z] Step 12/26 : RUN $MAKE [2024-03-20T20:35:59.852Z] ---> Running in bb6cafcffd81 [2024-03-20T20:36:00.111Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T20:36:02.559Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-20T20:36:02.559Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-20T20:36:02.559Z] Dload Upload Total Spent Left Speed [2024-03-20T20:36:02.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2024-03-20T20:36:02.904Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-20T20:36:03.261Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-20T20:36:03.261Z] + sudo tee /etc/docker/daemon.new [2024-03-20T20:36:03.261Z] { [2024-03-20T20:36:03.261Z] "registry-mirrors": [ [2024-03-20T20:36:03.261Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-20T20:36:03.261Z] ], [2024-03-20T20:36:03.261Z] "bip": "10.250.0.254/24", [2024-03-20T20:36:03.261Z] "hosts": [ [2024-03-20T20:36:03.261Z] "tcp://0.0.0.0:5555", [2024-03-20T20:36:03.261Z] "unix:///var/run/docker.sock" [2024-03-20T20:36:03.261Z] ], [2024-03-20T20:36:03.261Z] "mtu": 1458, [2024-03-20T20:36:03.261Z] "selinux-enabled": true, [2024-03-20T20:36:03.261Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-20T20:36:03.261Z] } [Pipeline] sh [2024-03-20T20:36:03.601Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-20T20:36:03.940Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T20:36:22.235Z] provisioning config files... [2024-03-20T20:36:22.259Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5107013761908234949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:36:22.716Z] ---> ****-login.sh [2024-03-20T20:36:22.716Z] nexus3.edgexfoundry.org:10001 [2024-03-20T20:36:22.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:36:23.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:36:23.261Z] Configure a credential helper to remove this warning. See [2024-03-20T20:36:23.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:36:23.261Z] [2024-03-20T20:36:23.261Z] Login Succeeded [2024-03-20T20:36:23.261Z] nexus3.edgexfoundry.org:10002 [2024-03-20T20:36:23.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:36:23.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:36:23.802Z] Configure a credential helper to remove this warning. See [2024-03-20T20:36:23.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:36:23.802Z] [2024-03-20T20:36:23.802Z] Login Succeeded [2024-03-20T20:36:23.802Z] nexus3.edgexfoundry.org:10003 [2024-03-20T20:36:24.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:36:24.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:36:24.073Z] Configure a credential helper to remove this warning. See [2024-03-20T20:36:24.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:36:24.073Z] [2024-03-20T20:36:24.073Z] Login Succeeded [2024-03-20T20:36:24.073Z] nexus3.edgexfoundry.org:10004 [2024-03-20T20:36:24.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:36:24.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:36:24.340Z] Configure a credential helper to remove this warning. See [2024-03-20T20:36:24.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:36:24.340Z] [2024-03-20T20:36:24.340Z] Login Succeeded [2024-03-20T20:36:24.340Z] ****.io [2024-03-20T20:36:24.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T20:36:24.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T20:36:24.880Z] Configure a credential helper to remove this warning. See [2024-03-20T20:36:24.880Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T20:36:24.880Z] [2024-03-20T20:36:24.880Z] Login Succeeded [2024-03-20T20:36:24.880Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T20:36:24.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-20T20:36:25.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T20:36:25.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T20:36:25.457Z] ========================================================= [2024-03-20T20:36:25.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-20T20:36:25.457Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:36:25.990Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-20T20:36:25.990Z] Sending build context to Docker daemon 131.1kB [2024-03-20T20:36:26.261Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T20:36:26.261Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-20T20:36:26.261Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-20T20:36:26.261Z] 9fda8d8052c6: Pulling fs layer [2024-03-20T20:36:26.261Z] 5d54e960e981: Pulling fs layer [2024-03-20T20:36:26.261Z] c4a7e357bf2a: Pulling fs layer [2024-03-20T20:36:26.261Z] f0e02332f6b5: Pulling fs layer [2024-03-20T20:36:26.261Z] 872ee5b61b7b: Pulling fs layer [2024-03-20T20:36:26.261Z] 0c6a40ed1a82: Pulling fs layer [2024-03-20T20:36:26.261Z] 94ae7d8d031c: Pulling fs layer [2024-03-20T20:36:26.261Z] 872ee5b61b7b: Waiting [2024-03-20T20:36:26.261Z] 0c6a40ed1a82: Waiting [2024-03-20T20:36:26.261Z] 94ae7d8d031c: Waiting [2024-03-20T20:36:26.261Z] f0e02332f6b5: Waiting [2024-03-20T20:36:26.530Z] 5d54e960e981: Verifying Checksum [2024-03-20T20:36:26.530Z] f0e02332f6b5: Download complete [2024-03-20T20:36:26.530Z] 872ee5b61b7b: Verifying Checksum [2024-03-20T20:36:26.530Z] 872ee5b61b7b: Download complete [2024-03-20T20:36:26.530Z] 9fda8d8052c6: Verifying Checksum [2024-03-20T20:36:26.530Z] 9fda8d8052c6: Download complete [2024-03-20T20:36:27.117Z] 94ae7d8d031c: Verifying Checksum [2024-03-20T20:36:27.117Z] 94ae7d8d031c: Download complete [2024-03-20T20:36:27.386Z] 9fda8d8052c6: Pull complete [2024-03-20T20:36:28.350Z] 5d54e960e981: Pull complete [2024-03-20T20:36:28.350Z] c4a7e357bf2a: Verifying Checksum [2024-03-20T20:36:28.350Z] c4a7e357bf2a: Download complete [2024-03-20T20:36:29.759Z] 0c6a40ed1a82: Verifying Checksum [2024-03-20T20:36:29.759Z] 0c6a40ed1a82: Download complete [2024-03-20T20:36:32.174Z] Removing intermediate container bb6cafcffd81 [2024-03-20T20:36:32.174Z] ---> 4b35baa536f5 [2024-03-20T20:36:32.174Z] Step 13/26 : FROM alpine:3.18 [2024-03-20T20:36:32.174Z] 3.18: Pulling from library/alpine [2024-03-20T20:36:32.174Z] 619be1103602: Pulling fs layer [2024-03-20T20:36:32.174Z] 619be1103602: Verifying Checksum [2024-03-20T20:36:32.174Z] 619be1103602: Download complete [2024-03-20T20:36:32.174Z] 619be1103602: Pull complete [2024-03-20T20:36:32.174Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-20T20:36:32.174Z] Status: Downloaded newer image for alpine:3.18 [2024-03-20T20:36:32.174Z] ---> d3782b16ccc9 [2024-03-20T20:36:32.174Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T20:36:32.174Z] ---> Running in 3d79c5351f67 [2024-03-20T20:36:32.174Z] Removing intermediate container 3d79c5351f67 [2024-03-20T20:36:32.174Z] ---> a1c392567483 [2024-03-20T20:36:32.174Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-20T20:36:32.174Z] ---> Running in bb364e6089e6 [2024-03-20T20:36:32.174Z] Removing intermediate container bb364e6089e6 [2024-03-20T20:36:32.174Z] ---> 869e622e5a6d [2024-03-20T20:36:32.174Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-20T20:36:32.174Z] ---> Running in bd8ef5406ca1 [2024-03-20T20:36:32.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T20:36:32.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T20:36:32.174Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-20T20:36:32.174Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T20:36:32.174Z] OK: 7 MiB in 16 packages [2024-03-20T20:36:32.174Z] Removing intermediate container bd8ef5406ca1 [2024-03-20T20:36:32.174Z] ---> 804072b56fe4 [2024-03-20T20:36:32.174Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-20T20:36:32.174Z] ---> Running in 26163871eaee [2024-03-20T20:36:32.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T20:36:32.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T20:36:32.433Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-20T20:36:32.433Z] OK: 7 MiB in 16 packages [2024-03-20T20:36:32.693Z] Removing intermediate container 26163871eaee [2024-03-20T20:36:32.693Z] ---> baf7f7bab822 [2024-03-20T20:36:32.693Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-20T20:36:33.627Z] ---> 33c436dcada5 [2024-03-20T20:36:33.627Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-20T20:36:33.627Z] ---> 3782e35734f8 [2024-03-20T20:36:33.627Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-20T20:36:33.886Z] ---> 7d16644d390b [2024-03-20T20:36:33.886Z] Step 21/26 : EXPOSE 59986 [2024-03-20T20:36:33.886Z] ---> Running in 93d4acb4bced [2024-03-20T20:36:33.886Z] Removing intermediate container 93d4acb4bced [2024-03-20T20:36:33.886Z] ---> fcae491d7a38 [2024-03-20T20:36:33.886Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-20T20:36:34.144Z] ---> Running in 6adec89c0340 [2024-03-20T20:36:34.144Z] Removing intermediate container 6adec89c0340 [2024-03-20T20:36:34.144Z] ---> e823a7f1eb12 [2024-03-20T20:36:34.144Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-20T20:36:34.144Z] ---> Running in e5a40a1e2c76 [2024-03-20T20:36:34.144Z] Removing intermediate container e5a40a1e2c76 [2024-03-20T20:36:34.144Z] ---> 3cec19518ebd [2024-03-20T20:36:34.144Z] Step 24/26 : LABEL arch=amd64 [2024-03-20T20:36:34.144Z] ---> Running in d496d6ffd1c4 [2024-03-20T20:36:34.144Z] Removing intermediate container d496d6ffd1c4 [2024-03-20T20:36:34.144Z] ---> acb066650358 [2024-03-20T20:36:34.144Z] Step 25/26 : LABEL git_sha=470f401685a8b376d1efe0d2199b8c2a6f37ff5f [2024-03-20T20:36:34.403Z] ---> Running in 82ff646ff150 [2024-03-20T20:36:34.403Z] Removing intermediate container 82ff646ff150 [2024-03-20T20:36:34.403Z] ---> 089164cd57bd [2024-03-20T20:36:34.403Z] Step 26/26 : LABEL version=0.0.0 [2024-03-20T20:36:34.403Z] ---> Running in d8371b06f464 [2024-03-20T20:36:34.403Z] Removing intermediate container d8371b06f464 [2024-03-20T20:36:34.403Z] ---> 50a6af205ff5 [2024-03-20T20:36:34.403Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-20T20:36:34.403Z] Successfully built 50a6af205ff5 [2024-03-20T20:36:34.403Z] 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 [2024-03-20T20:36:35.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T20:36:35.309Z] [2024-03-20T20:36:35.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:36:35.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T20:36:35.709Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-20T20:36:35.709Z] 5eb5b503b376: Pulling fs layer [2024-03-20T20:36:35.709Z] 5c69ac0246d0: Pulling fs layer [2024-03-20T20:36:35.709Z] ec43610c2a17: Pulling fs layer [2024-03-20T20:36:35.709Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-20T20:36:35.709Z] 33b1e0a273af: Pulling fs layer [2024-03-20T20:36:35.709Z] 5d3b04190fa2: Pulling fs layer [2024-03-20T20:36:35.709Z] 2f39f015ded8: Pulling fs layer [2024-03-20T20:36:35.709Z] 33b1e0a273af: Waiting [2024-03-20T20:36:35.709Z] 3a2ae6a8a46f: Waiting [2024-03-20T20:36:35.709Z] 5d3b04190fa2: Waiting [2024-03-20T20:36:35.709Z] 2f39f015ded8: Waiting [2024-03-20T20:36:35.709Z] 5c69ac0246d0: Verifying Checksum [2024-03-20T20:36:35.710Z] 5c69ac0246d0: Download complete [2024-03-20T20:36:35.710Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-20T20:36:35.710Z] 3a2ae6a8a46f: Download complete [2024-03-20T20:36:35.710Z] 33b1e0a273af: Verifying Checksum [2024-03-20T20:36:35.710Z] 33b1e0a273af: Download complete [2024-03-20T20:36:35.710Z] 5d3b04190fa2: Verifying Checksum [2024-03-20T20:36:35.710Z] 5d3b04190fa2: Download complete [2024-03-20T20:36:35.710Z] ec43610c2a17: Verifying Checksum [2024-03-20T20:36:35.710Z] ec43610c2a17: Download complete [2024-03-20T20:36:35.968Z] 5eb5b503b376: Verifying Checksum [2024-03-20T20:36:35.968Z] 5eb5b503b376: Download complete [2024-03-20T20:36:36.533Z] 2f39f015ded8: Download complete [2024-03-20T20:36:37.102Z] 5eb5b503b376: Pull complete [2024-03-20T20:36:37.102Z] 5c69ac0246d0: Pull complete [2024-03-20T20:36:37.670Z] ec43610c2a17: Pull complete [2024-03-20T20:36:37.670Z] 3a2ae6a8a46f: Pull complete [2024-03-20T20:36:37.928Z] 33b1e0a273af: Pull complete [2024-03-20T20:36:38.186Z] 5d3b04190fa2: Pull complete [2024-03-20T20:36:42.085Z] c4a7e357bf2a: Pull complete [2024-03-20T20:36:42.085Z] f0e02332f6b5: Pull complete [2024-03-20T20:36:42.086Z] 872ee5b61b7b: Pull complete [2024-03-20T20:36:42.369Z] 2f39f015ded8: Pull complete [2024-03-20T20:36:42.369Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-20T20:36:42.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T20:36:42.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:36:42.605Z] prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container [2024-03-20T20:36:42.629Z] $ 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-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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 [2024-03-20T20:36:47.382Z] $ docker top d6458d1557750c0899cd02ab21cb77dad5703357ffed23265e3a5fbf05f1f95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:36:47.842Z] ---> job-cost.sh [2024-03-20T20:36:47.842Z] lf-activate-venv: SKIPPING [2024-03-20T20:36:47.842Z] INFO: No Stack... [2024-03-20T20:36:48.102Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-20T20:36:48.361Z] INFO: Archiving Costs [Pipeline] sh [2024-03-20T20:36:48.685Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-387/archives/cost.csv [2024-03-20T20:36:48.685Z] + cut -d, -f6 [Pipeline] lock [2024-03-20T20:36:48.728Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [2024-03-20T20:36:48.738Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] did not exist. Created. [2024-03-20T20:36:48.742Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-20T20:36:49.141Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-20T20:36:49.192Z] Stashed 1 file(s) [Pipeline] } [2024-03-20T20:36:49.225Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-20T20:36:49.319Z] $ docker stop --time=1 d6458d1557750c0899cd02ab21cb77dad5703357ffed23265e3a5fbf05f1f95e [2024-03-20T20:36:50.470Z] $ docker rm -f --volumes d6458d1557750c0899cd02ab21cb77dad5703357ffed23265e3a5fbf05f1f95e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-20T20:36:52.173Z] 0c6a40ed1a82: Pull complete [2024-03-20T20:36:52.173Z] 94ae7d8d031c: Pull complete [2024-03-20T20:36:52.173Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-20T20:36:52.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-20T20:36:52.443Z] ---> 86de565de09d [2024-03-20T20:36:52.443Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-20T20:36:53.425Z] ---> Running in e9939e3a9653 [2024-03-20T20:36:53.695Z] Removing intermediate container e9939e3a9653 [2024-03-20T20:36:53.695Z] ---> 9635cb8c146c [2024-03-20T20:36:53.695Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T20:36:53.695Z] ---> Running in fe2f3d9688c5 [2024-03-20T20:36:53.965Z] Removing intermediate container fe2f3d9688c5 [2024-03-20T20:36:53.965Z] ---> 303e6be4bf0c [2024-03-20T20:36:53.965Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T20:36:54.240Z] ---> Running in 4bb7c19bcee6 [2024-03-20T20:36:54.508Z] Removing intermediate container 4bb7c19bcee6 [2024-03-20T20:36:54.508Z] ---> 36cd587a5e3e [2024-03-20T20:36:54.508Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T20:36:54.508Z] ---> Running in 1fce3667c923 [2024-03-20T20:36:54.785Z] Removing intermediate container 1fce3667c923 [2024-03-20T20:36:54.785Z] ---> 8e90be8c25af [2024-03-20T20:36:54.785Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T20:36:54.785Z] ---> Running in b45a7a08cc83 [2024-03-20T20:36:56.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T20:36:56.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T20:36:57.429Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-20T20:36:57.429Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-20T20:36:57.429Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-20T20:36:57.699Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-20T20:36:57.699Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T20:36:57.699Z] OK: 271 MiB in 56 packages [2024-03-20T20:36:58.660Z] Removing intermediate container b45a7a08cc83 [2024-03-20T20:36:58.660Z] ---> 5b8e6babd32e [2024-03-20T20:36:58.660Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-20T20:36:58.660Z] ---> Running in 32f2578e27f4 [2024-03-20T20:36:58.930Z] Removing intermediate container 32f2578e27f4 [2024-03-20T20:36:58.930Z] ---> 2b1522f3ccee [2024-03-20T20:36:58.930Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-20T20:36:59.520Z] ---> 48c8a051260e [2024-03-20T20:36:59.520Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T20:36:59.520Z] ---> Running in 05c509c4df8d [2024-03-20T20:39:06.203Z] Removing intermediate container 05c509c4df8d [2024-03-20T20:39:06.203Z] ---> 23994a7c5aed [2024-03-20T20:39:06.203Z] Step 11/12 : COPY . . [2024-03-20T20:39:06.203Z] ---> 5949fd9b8d6c [2024-03-20T20:39:06.203Z] Step 12/12 : RUN $MAKE [2024-03-20T20:39:06.203Z] ---> Running in dc4bba83d6cf [2024-03-20T20:39:06.203Z] noop [2024-03-20T20:39:06.203Z] Removing intermediate container dc4bba83d6cf [2024-03-20T20:39:06.203Z] ---> 5bd861480398 [2024-03-20T20:39:06.203Z] Successfully built 5bd861480398 [2024-03-20T20:39:06.203Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:39:06.689Z] + docker inspect -f . ci-base-image-arm64 [2024-03-20T20:39:06.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:39:06.984Z] prd-ubuntu20.04-docker-arm64-4c-16g-483 does not seem to be running inside a container [2024-03-20T20:39:07.052Z] $ 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 [2024-03-20T20:39:08.311Z] $ docker top c73003bbc22c1b0ca655427d77fcfdf23443c82e0bce576eccdc65f876832ba7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T20:39:09.211Z] + go version [2024-03-20T20:39:09.212Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-20T20:39:09.244Z] $ docker stop --time=1 c73003bbc22c1b0ca655427d77fcfdf23443c82e0bce576eccdc65f876832ba7 [2024-03-20T20:39:10.889Z] $ docker rm -f --volumes c73003bbc22c1b0ca655427d77fcfdf23443c82e0bce576eccdc65f876832ba7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:39:11.762Z] + docker inspect -f . ci-base-image-arm64 [2024-03-20T20:39:11.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:39:12.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-483 does not seem to be running inside a container [2024-03-20T20:39:12.071Z] $ 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 [2024-03-20T20:39:13.203Z] $ docker top 7cfa391f4c7ee35cac732da0b1d9c890caf6f35a8e345f18f818a3f1640b8bfd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T20:39:13.777Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-20T20:39:14.435Z] + make test [2024-03-20T20:39:14.702Z] go test ./... -coverprofile=coverage.out ./... [2024-03-20T20:39:20.062Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-20T20:41:56.988Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-20T20:41:56.988Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 33.2% of statements [2024-03-20T20:41:56.988Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-20T20:41:56.988Z] go vet ./... [2024-03-20T20:42:29.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-20T20:42:29.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-20T20:42:29.215Z] ./bin/test-attribution-txt.sh [2024-03-20T20:42:29.215Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-20T20:42:29.215Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-20T20:42:29.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-20T20:42:29.290Z] $ docker stop --time=1 7cfa391f4c7ee35cac732da0b1d9c890caf6f35a8e345f18f818a3f1640b8bfd [2024-03-20T20:42:31.260Z] $ docker rm -f --volumes 7cfa391f4c7ee35cac732da0b1d9c890caf6f35a8e345f18f818a3f1640b8bfd [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T20:42:32.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-20T20:42:32.828Z] Warning: overwriting stash ‘coverage-report’ [2024-03-20T20:42:33.226Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T20:42:33.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-20T20:42:34.153Z] + ls -al . [2024-03-20T20:42:34.153Z] total 244 [2024-03-20T20:42:34.153Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:39 . [2024-03-20T20:42:34.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:35 .. [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 20:35 .dockerignore [2024-03-20T20:42:34.153Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:36 .git [2024-03-20T20:42:34.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:35 .github [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 20:35 .gitignore [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 20:35 .golangci.yml [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 20:35 Attribution.txt [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 20:35 CHANGELOG.md [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 20:35 Dockerfile [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:35 GOVERNANCE.md [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 20:35 Jenkinsfile [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 20:35 LICENSE [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 20:35 Makefile [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 20:35 OWNERS.md [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 20:35 README.md [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:33 VERSION [2024-03-20T20:42:34.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:35 bin [2024-03-20T20:42:34.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:35 cmd [2024-03-20T20:42:34.153Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 20:41 coverage.out [2024-03-20T20:42:34.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:35 driver [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 20:35 go.mod [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 20:35 go.sum [2024-03-20T20:42:34.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:35 openapi [2024-03-20T20:42:34.153Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 20:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:42:34.571Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=470f401685a8b376d1efe0d2199b8c2a6f37ff5f --label arch=arm64 --label version=0.0.0 . [2024-03-20T20:42:34.571Z] Sending build context to Docker daemon 146.4kB [2024-03-20T20:42:34.841Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T20:42:34.841Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-20T20:42:34.841Z] ---> 5bd861480398 [2024-03-20T20:42:34.841Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-20T20:42:34.841Z] ---> Running in cb1b4a735731 [2024-03-20T20:42:35.106Z] Removing intermediate container cb1b4a735731 [2024-03-20T20:42:35.106Z] ---> 5cc44fb7b74d [2024-03-20T20:42:35.106Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T20:42:35.374Z] ---> Running in aa049993fded [2024-03-20T20:42:35.639Z] Removing intermediate container aa049993fded [2024-03-20T20:42:35.639Z] ---> 3190dd5bce25 [2024-03-20T20:42:35.639Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T20:42:35.639Z] ---> Running in 260f7906dbf2 [2024-03-20T20:42:35.904Z] Removing intermediate container 260f7906dbf2 [2024-03-20T20:42:35.904Z] ---> 9c9714151de0 [2024-03-20T20:42:35.904Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T20:42:35.904Z] ---> Running in af3fd5626764 [2024-03-20T20:42:36.170Z] Removing intermediate container af3fd5626764 [2024-03-20T20:42:36.170Z] ---> ed1707d8e84f [2024-03-20T20:42:36.170Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T20:42:36.439Z] ---> Running in 3bf0c646e221 [2024-03-20T20:42:37.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T20:42:37.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T20:42:39.064Z] OK: 271 MiB in 56 packages [2024-03-20T20:42:39.643Z] Removing intermediate container 3bf0c646e221 [2024-03-20T20:42:39.643Z] ---> e986f653bc14 [2024-03-20T20:42:39.643Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-20T20:42:39.919Z] ---> Running in 384844013cdc [2024-03-20T20:42:40.184Z] Removing intermediate container 384844013cdc [2024-03-20T20:42:40.184Z] ---> 08bc2cfef98c [2024-03-20T20:42:40.184Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-20T20:42:40.763Z] ---> 7a6eb6503bf2 [2024-03-20T20:42:40.763Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T20:42:40.763Z] ---> Running in 28fdb52848db [2024-03-20T20:42:42.701Z] Removing intermediate container 28fdb52848db [2024-03-20T20:42:42.701Z] ---> 532602903a89 [2024-03-20T20:42:42.701Z] Step 11/26 : COPY . . [2024-03-20T20:42:43.283Z] ---> f3290c4e3a01 [2024-03-20T20:42:43.283Z] Step 12/26 : RUN $MAKE [2024-03-20T20:42:43.548Z] ---> Running in b9f44d14e504 [2024-03-20T20:42:44.506Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-20T20:45:36.182Z] Removing intermediate container b9f44d14e504 [2024-03-20T20:45:36.182Z] ---> ac77f5d8b1ab [2024-03-20T20:45:36.182Z] Step 13/26 : FROM alpine:3.18 [2024-03-20T20:45:36.182Z] 3.18: Pulling from library/alpine [2024-03-20T20:45:36.182Z] c6b39de5b339: Pulling fs layer [2024-03-20T20:45:36.182Z] c6b39de5b339: Download complete [2024-03-20T20:45:36.182Z] c6b39de5b339: Pull complete [2024-03-20T20:45:36.182Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-20T20:45:36.182Z] Status: Downloaded newer image for alpine:3.18 [2024-03-20T20:45:36.182Z] ---> 33abbf032149 [2024-03-20T20:45:36.182Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T20:45:36.182Z] ---> Running in c3aebd417243 [2024-03-20T20:45:36.182Z] Removing intermediate container c3aebd417243 [2024-03-20T20:45:36.182Z] ---> c5090377b4c2 [2024-03-20T20:45:36.182Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-20T20:45:36.182Z] ---> Running in 262a0fa0b91a [2024-03-20T20:45:36.182Z] Removing intermediate container 262a0fa0b91a [2024-03-20T20:45:36.182Z] ---> ea6848d67be0 [2024-03-20T20:45:36.182Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-20T20:45:36.182Z] ---> Running in c6caf1930e42 [2024-03-20T20:45:36.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T20:45:36.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T20:45:36.182Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-20T20:45:36.182Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T20:45:36.182Z] OK: 8 MiB in 16 packages [2024-03-20T20:45:36.182Z] Removing intermediate container c6caf1930e42 [2024-03-20T20:45:36.182Z] ---> 131942360417 [2024-03-20T20:45:36.182Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-20T20:45:36.182Z] ---> Running in 81a3c82a40c3 [2024-03-20T20:45:36.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T20:45:36.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T20:45:36.182Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-20T20:45:36.182Z] OK: 8 MiB in 16 packages [2024-03-20T20:45:36.182Z] Removing intermediate container 81a3c82a40c3 [2024-03-20T20:45:36.182Z] ---> d6ed5dfc4105 [2024-03-20T20:45:36.182Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-20T20:45:36.182Z] ---> e43aebf4f91e [2024-03-20T20:45:36.182Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-20T20:45:36.182Z] ---> 0c0d14221a98 [2024-03-20T20:45:36.182Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-20T20:45:36.182Z] ---> 20c3b68d2c6e [2024-03-20T20:45:36.182Z] Step 21/26 : EXPOSE 59986 [2024-03-20T20:45:36.182Z] ---> Running in 48982f844a6a [2024-03-20T20:45:36.182Z] Removing intermediate container 48982f844a6a [2024-03-20T20:45:36.182Z] ---> 58d1269e5dc2 [2024-03-20T20:45:36.182Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-20T20:45:36.182Z] ---> Running in eb64cd134dde [2024-03-20T20:45:36.182Z] Removing intermediate container eb64cd134dde [2024-03-20T20:45:36.182Z] ---> fd7311892a19 [2024-03-20T20:45:36.182Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-20T20:45:36.182Z] ---> Running in cada1579a7fa [2024-03-20T20:45:36.182Z] Removing intermediate container cada1579a7fa [2024-03-20T20:45:36.182Z] ---> 2d2031bf9c19 [2024-03-20T20:45:36.182Z] Step 24/26 : LABEL arch=arm64 [2024-03-20T20:45:36.450Z] ---> Running in b0c7fa9c32ce [2024-03-20T20:45:36.717Z] Removing intermediate container b0c7fa9c32ce [2024-03-20T20:45:36.717Z] ---> ca79527611b1 [2024-03-20T20:45:36.717Z] Step 25/26 : LABEL git_sha=470f401685a8b376d1efe0d2199b8c2a6f37ff5f [2024-03-20T20:45:36.717Z] ---> Running in 81441dedb611 [2024-03-20T20:45:36.984Z] Removing intermediate container 81441dedb611 [2024-03-20T20:45:36.984Z] ---> 4f6bfb93a5ea [2024-03-20T20:45:36.984Z] Step 26/26 : LABEL version=0.0.0 [2024-03-20T20:45:37.252Z] ---> Running in f7b7f0a99394 [2024-03-20T20:45:37.518Z] Removing intermediate container f7b7f0a99394 [2024-03-20T20:45:37.518Z] ---> 66af041db147 [2024-03-20T20:45:37.518Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-20T20:45:37.518Z] Successfully built 66af041db147 [2024-03-20T20:45:37.518Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:45:38.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T20:45:38.423Z] [2024-03-20T20:45:38.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:45:38.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T20:45:38.840Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-20T20:45:38.840Z] 8998bd30e6a1: Pulling fs layer [2024-03-20T20:45:38.840Z] 04944245beec: Pulling fs layer [2024-03-20T20:45:38.840Z] 699f458cf7ca: Pulling fs layer [2024-03-20T20:45:38.840Z] 765212b225bb: Pulling fs layer [2024-03-20T20:45:38.840Z] f23df028b6ca: Pulling fs layer [2024-03-20T20:45:38.840Z] d65c8cfc05b1: Pulling fs layer [2024-03-20T20:45:38.840Z] 2437ff75d9bd: Pulling fs layer [2024-03-20T20:45:38.840Z] f23df028b6ca: Waiting [2024-03-20T20:45:38.840Z] 765212b225bb: Waiting [2024-03-20T20:45:38.840Z] d65c8cfc05b1: Waiting [2024-03-20T20:45:38.840Z] 2437ff75d9bd: Waiting [2024-03-20T20:45:39.108Z] 04944245beec: Verifying Checksum [2024-03-20T20:45:39.108Z] 04944245beec: Download complete [2024-03-20T20:45:39.108Z] 765212b225bb: Verifying Checksum [2024-03-20T20:45:39.108Z] 765212b225bb: Download complete [2024-03-20T20:45:39.108Z] f23df028b6ca: Download complete [2024-03-20T20:45:39.108Z] d65c8cfc05b1: Verifying Checksum [2024-03-20T20:45:39.108Z] d65c8cfc05b1: Download complete [2024-03-20T20:45:39.376Z] 699f458cf7ca: Verifying Checksum [2024-03-20T20:45:39.376Z] 699f458cf7ca: Download complete [2024-03-20T20:45:39.644Z] 8998bd30e6a1: Verifying Checksum [2024-03-20T20:45:39.644Z] 8998bd30e6a1: Download complete [2024-03-20T20:45:42.224Z] 2437ff75d9bd: Verifying Checksum [2024-03-20T20:45:42.224Z] 2437ff75d9bd: Download complete [2024-03-20T20:45:44.804Z] 8998bd30e6a1: Pull complete [2024-03-20T20:45:44.804Z] 04944245beec: Pull complete [2024-03-20T20:45:46.213Z] 699f458cf7ca: Pull complete [2024-03-20T20:45:46.492Z] 765212b225bb: Pull complete [2024-03-20T20:45:47.452Z] f23df028b6ca: Pull complete [2024-03-20T20:45:47.720Z] d65c8cfc05b1: Pull complete [2024-03-20T20:46:02.721Z] 2437ff75d9bd: Pull complete [2024-03-20T20:46:02.721Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-20T20:46:02.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T20:46:02.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:46:03.066Z] prd-ubuntu20.04-docker-arm64-4c-16g-483 does not seem to be running inside a container [2024-03-20T20:46:03.124Z] $ 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 [2024-03-20T20:46:05.900Z] $ docker top aa8f7d66e4dedf8ef2b41dcd78ca0fb49e4f771a091a85002441dca7082904b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:06.807Z] ---> job-cost.sh [2024-03-20T20:46:06.807Z] lf-activate-venv: SKIPPING [2024-03-20T20:46:06.807Z] INFO: No Stack... [2024-03-20T20:46:09.381Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-20T20:46:09.964Z] INFO: Archiving Costs [Pipeline] sh [2024-03-20T20:46:10.621Z] + + cut -d, -f6 [2024-03-20T20:46:10.621Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2024-03-20T20:46:10.684Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [2024-03-20T20:46:10.689Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] did not exist. Created. [2024-03-20T20:46:10.695Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-20T20:46:11.428Z] /w/workspace/device-rest-go/1@tmp/durable-71a9f4e6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-20T20:46:12.093Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-20T20:46:12.129Z] Warning: overwriting stash ‘stack-cost’ [2024-03-20T20:46:12.176Z] Stashed 1 file(s) [Pipeline] } [2024-03-20T20:46:12.191Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-20T20:46:12.279Z] $ docker stop --time=1 aa8f7d66e4dedf8ef2b41dcd78ca0fb49e4f771a091a85002441dca7082904b9 [2024-03-20T20:46:13.798Z] $ docker rm -f --volumes aa8f7d66e4dedf8ef2b41dcd78ca0fb49e4f771a091a85002441dca7082904b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-20T20:46:14.909Z] provisioning config files... [2024-03-20T20:46:14.918Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config13108595689468336389tmp [Pipeline] { [Pipeline] sh [2024-03-20T20:46:15.266Z] + set +x [2024-03-20T20:46:15.266Z] + + curl -s https://codecov.io/bash [2024-03-20T20:46:15.266Z] bash -s -- [2024-03-20T20:46:15.266Z] [2024-03-20T20:46:15.266Z] _____ _ [2024-03-20T20:46:15.266Z] / ____| | | [2024-03-20T20:46:15.266Z] | | ___ __| | ___ ___ _____ __ [2024-03-20T20:46:15.266Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-20T20:46:15.266Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-20T20:46:15.266Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-20T20:46:15.266Z] Bash-1.0.6 [2024-03-20T20:46:15.266Z] [2024-03-20T20:46:15.266Z] [2024-03-20T20:46:15.266Z] ==> git version 2.25.1 found [2024-03-20T20:46:15.266Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-20T20:46:15.266Z] Release-Date: 2020-01-08 [2024-03-20T20:46:15.266Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-20T20:46:15.266Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-20T20:46:15.266Z] ==> Jenkins CI detected. [2024-03-20T20:46:15.266Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-387 [2024-03-20T20:46:15.266Z] project root: . [2024-03-20T20:46:15.266Z] --> token set from env [2024-03-20T20:46:15.266Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-20T20:46:15.266Z] ==> Running gcov in . (disable via -X gcov) [2024-03-20T20:46:15.527Z] ==> Python coveragepy not found [2024-03-20T20:46:15.527Z] ==> Searching for coverage reports in: [2024-03-20T20:46:15.527Z] + . [2024-03-20T20:46:15.527Z] -> Found 1 reports [2024-03-20T20:46:15.527Z] ==> Detecting git/mercurial file structure [2024-03-20T20:46:15.527Z] ==> Reading reports [2024-03-20T20:46:15.527Z] + ./coverage.out bytes=14499 [2024-03-20T20:46:15.527Z] ==> Appending adjustments [2024-03-20T20:46:15.527Z] https://docs.codecov.io/docs/fixing-reports [2024-03-20T20:46:15.527Z] + Found adjustments [2024-03-20T20:46:15.527Z] ==> Gzipping contents [2024-03-20T20:46:15.527Z] 4.0K /tmp/codecov.wUacgH.gz [2024-03-20T20:46:15.527Z] ==> Uploading reports [2024-03-20T20:46:15.527Z] url: https://codecov.io [2024-03-20T20:46:15.527Z] query: branch=PR-387&commit=470f401685a8b376d1efe0d2199b8c2a6f37ff5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2024-03-20T20:46:15.527Z] -> Pinging Codecov [2024-03-20T20:46:15.527Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-387&commit=470f401685a8b376d1efe0d2199b8c2a6f37ff5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2024-03-20T20:46:15.786Z] -> Uploading to [2024-03-20T20:46:15.786Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-20/4E5D53B4F1F92C436F7061BF334D961C/470f401685a8b376d1efe0d2199b8c2a6f37ff5f/cf299772-cc8c-4b05-8a23-957bc39cb191.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240320T204615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f358832712562508484e8395f6a4199472cfe72534ca85b0883c88e4f9372089 [2024-03-20T20:46:15.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-20T20:46:15.786Z] Dload Upload Total Spent Left Speed [2024-03-20T20:46:16.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8115 --:--:-- --:--:-- --:--:-- 8115 [2024-03-20T20:46:16.046Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] } [2024-03-20T20:46:16.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-20T20:46:17.883Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-387/archives ] [2024-03-20T20:46:17.884Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-387/archives [2024-03-20T20:46:17.884Z] total 16 [2024-03-20T20:46:17.884Z] drwxr-xr-x 3 root root 4096 Mar 20 20:36 . [2024-03-20T20:46:17.884Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:36 .. [2024-03-20T20:46:17.884Z] drwxr-xr-x 2 root root 4096 Mar 20 20:36 cost [2024-03-20T20:46:17.884Z] -rw-r--r-- 1 root root 86 Mar 20 20:36 cost.csv [2024-03-20T20:46:17.884Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-387/archives [2024-03-20T20:46:17.884Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-387/archives [2024-03-20T20:46:17.884Z] total 16 [2024-03-20T20:46:17.884Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:36 . [2024-03-20T20:46:17.884Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:36 .. [2024-03-20T20:46:17.884Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 20:36 cost [2024-03-20T20:46:17.884Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:18.208Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:19.184Z] ---> package-listing.sh [2024-03-20T20:46:19.184Z] ++ facter osfamily [2024-03-20T20:46:19.184Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-20T20:46:19.184Z] + OS_FAMILY=debian [2024-03-20T20:46:19.184Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-387 [2024-03-20T20:46:19.184Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-20T20:46:19.184Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-20T20:46:19.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-20T20:46:19.184Z] + PACKAGES=/tmp/packages_start.txt [2024-03-20T20:46:19.184Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-387 ']' [2024-03-20T20:46:19.184Z] + PACKAGES=/tmp/packages_end.txt [2024-03-20T20:46:19.184Z] + case "${OS_FAMILY}" in [2024-03-20T20:46:19.184Z] + dpkg -l [2024-03-20T20:46:19.184Z] + grep '^ii' [2024-03-20T20:46:19.184Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-20T20:46:19.184Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-20T20:46:19.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-20T20:46:19.184Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-387 ']' [2024-03-20T20:46:19.184Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-387/archives/ [2024-03-20T20:46:19.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-387/archives/ [Pipeline] echo [2024-03-20T20:46:19.224Z] 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-20T20:46:19.558Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T20:46:19.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T20:46:19.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T20:46:20.130Z] prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container [2024-03-20T20:46:20.164Z] $ 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-387/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-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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 [2024-03-20T20:46:20.367Z] $ docker top 0b2066de21fbbd891c625cf58e5d050696f83456912c9d23fbe83eb6f18bc38c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T20:46:20.757Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-20T20:46:21.067Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-20T20:46:21.376Z] + ls /var/log/sa-host [2024-03-20T20:46:21.377Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T20:46:21.591Z] provisioning config files... [2024-03-20T20:46:21.603Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config5264467433804551385tmp [Pipeline] { [Pipeline] echo [2024-03-20T20:46:21.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:21.971Z] ---> create-netrc.sh [Pipeline] } [2024-03-20T20:46:22.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:22.420Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-20T20:46:22.453Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:22.766Z] ---> sudo-logs.sh [2024-03-20T20:46:22.766Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-20T20:46:22.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:23.160Z] ---> job-cost.sh [2024-03-20T20:46:23.160Z] lf-activate-venv: SKIPPING [2024-03-20T20:46:23.160Z] DEBUG: total: 0.2199999988079071 [2024-03-20T20:46:23.160Z] INFO: Retrieving Stack Cost... [2024-03-20T20:46:23.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-20T20:46:23.675Z] INFO: Archiving Costs [Pipeline] echo [2024-03-20T20:46:23.707Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T20:46:24.011Z] ---> logs-deploy.sh [2024-03-20T20:46:24.011Z] lf-activate-venv: SKIPPING [2024-03-20T20:46:24.011Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-387/1 [2024-03-20T20:46:24.011Z] INFO: archiving workspace using pattern(s): [2024-03-20T20:46:24.946Z] Archives upload complete. [2024-03-20T20:46:24.946Z] INFO: archiving logs to Nexus