Pull request #391 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0c174eca06cb985897f035aab0d0a809ccc8b9a1+71bb43dbd033e4b79fac5b32175e59679d8e2e88 (03ebc62307c675fe89df3511ada9cb8d2a21f115) 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-ssh14221757931848409686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh3717216835019806580.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-391/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-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1501269340721965300.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-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8112625195709265379.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh10362209981242831440.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-391/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-391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16326403848414618683.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-683 in /w/workspace/gexfoundry_device-rest-go_PR-391 [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-391 # 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/napa commit 71bb43dbd033e4b79fac5b32175e59679d8e2e88 into PR head commit 0c174eca06cb985897f035aab0d0a809ccc8b9a1 Merge succeeded, producing 0c174eca06cb985897f035aab0d0a809ccc8b9a1 Checking out Revision 0c174eca06cb985897f035aab0d0a809ccc8b9a1 (PR-391) > 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/391/head:refs/remotes/origin/PR-391 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # 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 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # timeout=10 Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T08:03:58.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T08:03:59.013Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T08:03:59.155Z] ========================================================= [2024-05-24T08:03:59.155Z] EdgeX Global Pipelines Version Info [2024-05-24T08:03:59.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:03:59.964Z] ------------------- [2024-05-24T08:03:59.964Z] No tag info for: stable [2024-05-24T08:04:00.533Z] ------------------- [2024-05-24T08:04:00.533Z] experimental info: [2024-05-24T08:04:00.533Z] ------------------- [2024-05-24T08:04:00.533Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T08:04:00.533Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T08:04:00.533Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T08:04:00.754Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-05-24T08:04:00.812Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-05-24T08:04:00.872Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T08:04:00.930Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T08:04:00.988Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T08:04:01.047Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T08:04:01.102Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T08:04:01.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-24T08:04:01.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T08:04:01.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T08:04:01.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T08:04:01.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-05-24T08:04:01.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T08:04:01.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T08:04:01.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T08:04:01.618Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T08:04:01.677Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T08:04:01.738Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T08:04:01.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T08:04:01.858Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T08:04:01.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-24T08:04:01.984Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-24T08:04:02.053Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T08:04:02.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T08:04:02.179Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T08:04:02.242Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T08:04:02.301Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T08:04:02.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-391 [Pipeline] echo [2024-05-24T08:04:02.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-391 [Pipeline] echo [2024-05-24T08:04:02.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-391 [Pipeline] echo [2024-05-24T08:04:02.569Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo [2024-05-24T08:04:02.629Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c174ec [Pipeline] echo [2024-05-24T08:04:02.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:04:02.843Z] provisioning config files... [2024-05-24T08:04:02.857Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config17029689805403811604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:04:03.243Z] ---> ****-login.sh [2024-05-24T08:04:03.243Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:04:03.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:03.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:03.503Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:03.504Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:03.504Z] [2024-05-24T08:04:03.504Z] Login Succeeded [2024-05-24T08:04:03.504Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:04:03.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:03.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:03.762Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:03.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:03.762Z] [2024-05-24T08:04:03.762Z] Login Succeeded [2024-05-24T08:04:03.762Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:04:03.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:03.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:03.763Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:03.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:03.763Z] [2024-05-24T08:04:03.763Z] Login Succeeded [2024-05-24T08:04:03.763Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:04:03.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:04.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:04.022Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:04.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:04.022Z] [2024-05-24T08:04:04.022Z] Login Succeeded [2024-05-24T08:04:04.022Z] ****.io [2024-05-24T08:04:04.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:04.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:04.022Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:04.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:04.022Z] [2024-05-24T08:04:04.022Z] Login Succeeded [2024-05-24T08:04:04.022Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:04:04.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T08:04:04.750Z] + git rev-list -1 --merges 0c174eca06cb985897f035aab0d0a809ccc8b9a1~1..0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo [2024-05-24T08:04:04.801Z] -----------> git rev-list -1 --merges 0c174eca06cb985897f035aab0d0a809ccc8b9a1~1..0c174eca06cb985897f035aab0d0a809ccc8b9a1 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [false] [Pipeline] sh [2024-05-24T08:04:05.134Z] + git log --format=format:%s -1 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo [2024-05-24T08:04:05.176Z] ========================================================= [2024-05-24T08:04:05.176Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T08:04:05.176Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:04:05.636Z] + git log --format=format:%s -1 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo [2024-05-24T08:04:05.670Z] [semverPrep] GIT_COMMIT: 0c174eca06cb985897f035aab0d0a809ccc8b9a1, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo [2024-05-24T08:04:05.709Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T08:04:06.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T08:04:06.104Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T08:04:06.104Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T08:04:06.104Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T08:04:06.104Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-24T08:04:06.104Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-24T08:04:06.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:04:06.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:04:06.565Z] [2024-05-24T08:04:06.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:04:06.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:04:06.965Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T08:04:06.965Z] b85a868b505f: Pulling fs layer [2024-05-24T08:04:06.965Z] e2be974225ed: Pulling fs layer [2024-05-24T08:04:06.965Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T08:04:06.965Z] 988bab9f4d93: Pulling fs layer [2024-05-24T08:04:06.965Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T08:04:06.965Z] eaf3925da568: Pulling fs layer [2024-05-24T08:04:06.965Z] bab4dde63d76: Pulling fs layer [2024-05-24T08:04:06.965Z] bde34c3a00c8: Pulling fs layer [2024-05-24T08:04:06.965Z] b352a97aabf1: Pulling fs layer [2024-05-24T08:04:06.965Z] 4872d77fe225: Pulling fs layer [2024-05-24T08:04:06.965Z] 5851b861e8e6: Pulling fs layer [2024-05-24T08:04:06.965Z] 4872d77fe225: Waiting [2024-05-24T08:04:06.965Z] 988bab9f4d93: Waiting [2024-05-24T08:04:06.965Z] eaf3925da568: Waiting [2024-05-24T08:04:06.965Z] bab4dde63d76: Waiting [2024-05-24T08:04:06.965Z] 5851b861e8e6: Waiting [2024-05-24T08:04:06.965Z] bde34c3a00c8: Waiting [2024-05-24T08:04:06.965Z] 1469e6f7b9e6: Waiting [2024-05-24T08:04:06.965Z] b352a97aabf1: Waiting [2024-05-24T08:04:06.965Z] e2be974225ed: Download complete [2024-05-24T08:04:06.965Z] 988bab9f4d93: Download complete [2024-05-24T08:04:06.965Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T08:04:06.965Z] 1469e6f7b9e6: Download complete [2024-05-24T08:04:06.965Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T08:04:06.965Z] 339a4e72a1f5: Download complete [2024-05-24T08:04:06.965Z] eaf3925da568: Download complete [2024-05-24T08:04:06.965Z] bde34c3a00c8: Verifying Checksum [2024-05-24T08:04:06.965Z] bde34c3a00c8: Download complete [2024-05-24T08:04:07.230Z] b352a97aabf1: Download complete [2024-05-24T08:04:07.230Z] 5851b861e8e6: Download complete [2024-05-24T08:04:07.230Z] b85a868b505f: Verifying Checksum [2024-05-24T08:04:07.230Z] b85a868b505f: Download complete [2024-05-24T08:04:07.487Z] bab4dde63d76: Verifying Checksum [2024-05-24T08:04:07.487Z] bab4dde63d76: Download complete [2024-05-24T08:04:08.420Z] b85a868b505f: Pull complete [2024-05-24T08:04:08.420Z] e2be974225ed: Pull complete [2024-05-24T08:04:08.678Z] 339a4e72a1f5: Pull complete [2024-05-24T08:04:08.937Z] 988bab9f4d93: Pull complete [2024-05-24T08:04:09.195Z] 1469e6f7b9e6: Pull complete [2024-05-24T08:04:09.195Z] eaf3925da568: Pull complete [2024-05-24T08:04:11.098Z] bab4dde63d76: Pull complete [2024-05-24T08:04:11.098Z] bde34c3a00c8: Pull complete [2024-05-24T08:04:11.098Z] b352a97aabf1: Pull complete [2024-05-24T08:04:11.098Z] 4872d77fe225: Pull complete [2024-05-24T08:04:11.098Z] 5851b861e8e6: Pull complete [2024-05-24T08:04:11.098Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T08:04:11.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:04:11.098Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:04:11.402Z] prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container [2024-05-24T08:04:11.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@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-devops/py-git-semver:0.1.4 cat [2024-05-24T08:04:14.054Z] $ docker top 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 -eo pid,comm [2024-05-24T08:04:14.108Z] 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-05-24T08:04:14.108Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T08:04:14.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T08:04:14.267Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T08:04:14.384Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T08:04:14.387Z] $ docker exec 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent [2024-05-24T08:04:14.492Z] SSH_AUTH_SOCK=/tmp/ssh-gRBBFxhCwlLN/agent.32 [2024-05-24T08:04:14.492Z] SSH_AGENT_PID=38 [2024-05-24T08:04:14.497Z] Running ssh-add (command line suppressed) [2024-05-24T08:04:14.587Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_5924354849442180675.key (/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_5924354849442180675.key) [2024-05-24T08:04:14.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T08:04:15.005Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T08:04:15.035Z] $ docker exec --env ******** --env ******** 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent -k [2024-05-24T08:04:15.116Z] unset SSH_AUTH_SOCK; [2024-05-24T08:04:15.116Z] unset SSH_AGENT_PID; [2024-05-24T08:04:15.116Z] echo Agent pid 38 killed; [2024-05-24T08:04:15.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T08:04:15.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T08:04:15.250Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T08:04:15.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T08:04:15.360Z] $ docker exec 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent [2024-05-24T08:04:15.464Z] SSH_AUTH_SOCK=/tmp/ssh-M1KRVxvP2vV2/agent.72 [2024-05-24T08:04:15.464Z] SSH_AGENT_PID=78 [2024-05-24T08:04:15.472Z] Running ssh-add (command line suppressed) [2024-05-24T08:04:15.566Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_1857786230556796426.key (/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_1857786230556796426.key) [2024-05-24T08:04:15.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T08:04:15.932Z] + git semver init [2024-05-24T08:04:16.189Z] 2024-05-24 08:04:16,104 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T08:04:16.190Z] 2024-05-24 08:04:16,105 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-391/.semver [2024-05-24T08:04:16.190Z] 2024-05-24 08:04:16,105 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-391/.semver [2024-05-24T08:04:16.190Z] 2024-05-24 08:04:16,105 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-391/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-391, universal_newlines=False, shell=None, istream=None) [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,352 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-391/.git/info/exclude [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,353 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-391/.semver/PR-391 with force:False [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,353 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-391/.semver/PR-391 [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,357 [execute] INFO git cat-file --batch-check [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,358 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,365 [execute] INFO git cat-file --batch [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T08:04:17.567Z] 2024-05-24 08:04:17,371 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-391/.semver/PR-391 [2024-05-24T08:04:17.567Z] 0.0.0 [Pipeline] } [2024-05-24T08:04:17.594Z] $ docker exec --env ******** --env ******** 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent -k [2024-05-24T08:04:17.687Z] unset SSH_AUTH_SOCK; [2024-05-24T08:04:17.687Z] unset SSH_AGENT_PID; [2024-05-24T08:04:17.688Z] echo Agent pid 78 killed; [2024-05-24T08:04:17.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T08:04:18.166Z] + git semver [Pipeline] } [2024-05-24T08:04:18.456Z] $ docker stop --time=1 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 [2024-05-24T08:04:19.724Z] $ docker rm -f --volumes 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:04:20.139Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T08:04:20.476Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T08:04:20.503Z] [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-05-24T08:04:21.248Z] provisioning config files... [2024-05-24T08:04:21.258Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config627214295144880910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:04:21.626Z] ---> ****-login.sh [2024-05-24T08:04:21.626Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:04:21.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:21.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:21.626Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:21.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:21.627Z] [2024-05-24T08:04:21.627Z] Login Succeeded [2024-05-24T08:04:21.627Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:04:21.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:21.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:21.627Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:21.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:21.627Z] [2024-05-24T08:04:21.627Z] Login Succeeded [2024-05-24T08:04:21.627Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:04:21.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:21.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:21.886Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:21.886Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:21.886Z] [2024-05-24T08:04:21.886Z] Login Succeeded [2024-05-24T08:04:21.886Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:04:21.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:21.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:21.886Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:21.886Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:21.886Z] [2024-05-24T08:04:21.886Z] Login Succeeded [2024-05-24T08:04:21.886Z] ****.io [2024-05-24T08:04:21.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:04:22.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:04:22.145Z] Configure a credential helper to remove this warning. See [2024-05-24T08:04:22.145Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:04:22.145Z] [2024-05-24T08:04:22.145Z] Login Succeeded [2024-05-24T08:04:22.145Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:04:22.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T08:04:22.426Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T08:04:22.749Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-24T08:04:22.749Z] + cut -d -f 2 [Pipeline] echo [2024-05-24T08:04:22.796Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:04:22.844Z] ========================================================= [2024-05-24T08:04:22.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-24T08:04:22.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:04:23.383Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-24T08:04:23.640Z] Sending build context to Docker daemon 43.99MB [2024-05-24T08:04:23.640Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:04:23.640Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T08:04:23.640Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-24T08:04:23.640Z] 619be1103602: Pulling fs layer [2024-05-24T08:04:23.640Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T08:04:23.640Z] 5df492c9dc93: Pulling fs layer [2024-05-24T08:04:23.640Z] 7629e6793208: Pulling fs layer [2024-05-24T08:04:23.640Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:04:23.640Z] 8de7f028bff5: Pulling fs layer [2024-05-24T08:04:23.640Z] 44042ff1420b: Pulling fs layer [2024-05-24T08:04:23.640Z] 5cdaf54b7214: Pulling fs layer [2024-05-24T08:04:23.640Z] 38f3e5a9071a: Pulling fs layer [2024-05-24T08:04:23.640Z] 4f4fb700ef54: Waiting [2024-05-24T08:04:23.640Z] 8de7f028bff5: Waiting [2024-05-24T08:04:23.640Z] 7629e6793208: Waiting [2024-05-24T08:04:23.640Z] 38f3e5a9071a: Waiting [2024-05-24T08:04:23.640Z] 5cdaf54b7214: Waiting [2024-05-24T08:04:23.640Z] 44042ff1420b: Waiting [2024-05-24T08:04:23.899Z] 7862e08f4a3e: Verifying Checksum [2024-05-24T08:04:23.899Z] 7862e08f4a3e: Download complete [2024-05-24T08:04:23.899Z] 7629e6793208: Verifying Checksum [2024-05-24T08:04:23.899Z] 7629e6793208: Download complete [2024-05-24T08:04:23.899Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T08:04:23.899Z] 4f4fb700ef54: Download complete [2024-05-24T08:04:23.899Z] 619be1103602: Verifying Checksum [2024-05-24T08:04:23.899Z] 619be1103602: Download complete [2024-05-24T08:04:23.899Z] 8de7f028bff5: Verifying Checksum [2024-05-24T08:04:23.899Z] 8de7f028bff5: Download complete [2024-05-24T08:04:23.899Z] 44042ff1420b: Verifying Checksum [2024-05-24T08:04:23.899Z] 44042ff1420b: Download complete [2024-05-24T08:04:23.899Z] 619be1103602: Pull complete [2024-05-24T08:04:24.160Z] 7862e08f4a3e: Pull complete [2024-05-24T08:04:24.160Z] 38f3e5a9071a: Verifying Checksum [2024-05-24T08:04:24.160Z] 38f3e5a9071a: Download complete [2024-05-24T08:04:24.160Z] 5df492c9dc93: Verifying Checksum [2024-05-24T08:04:24.160Z] 5df492c9dc93: Download complete [2024-05-24T08:04:24.726Z] 5cdaf54b7214: Verifying Checksum [2024-05-24T08:04:24.726Z] 5cdaf54b7214: Download complete [2024-05-24T08:04:27.255Z] 5df492c9dc93: Pull complete [2024-05-24T08:04:27.255Z] 7629e6793208: Pull complete [2024-05-24T08:04:27.255Z] 4f4fb700ef54: Pull complete [2024-05-24T08:04:27.513Z] 8de7f028bff5: Pull complete [2024-05-24T08:04:27.513Z] 44042ff1420b: Pull complete [2024-05-24T08:04:30.039Z] 5cdaf54b7214: Pull complete [2024-05-24T08:04:30.296Z] 38f3e5a9071a: Pull complete [2024-05-24T08:04:30.296Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-24T08:04:30.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-24T08:04:30.296Z] ---> 60b93f829570 [2024-05-24T08:04:30.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:04:33.582Z] ---> Running in e3396e5041ef [2024-05-24T08:04:33.582Z] Removing intermediate container e3396e5041ef [2024-05-24T08:04:33.582Z] ---> f1e0073784be [2024-05-24T08:04:33.582Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:04:33.582Z] ---> Running in 5bcc99588712 [2024-05-24T08:04:33.840Z] Removing intermediate container 5bcc99588712 [2024-05-24T08:04:33.840Z] ---> 25a57d5bc742 [2024-05-24T08:04:33.840Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:04:33.840Z] ---> Running in ac4dc6ce806a [2024-05-24T08:04:33.840Z] Removing intermediate container ac4dc6ce806a [2024-05-24T08:04:33.840Z] ---> 307a6a06af80 [2024-05-24T08:04:33.840Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:04:33.840Z] ---> Running in 47a2e0fa591b [2024-05-24T08:04:33.840Z] Removing intermediate container 47a2e0fa591b [2024-05-24T08:04:33.840Z] ---> b61af024694f [2024-05-24T08:04:33.840Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:04:33.840Z] ---> Running in 562ec04275ea [2024-05-24T08:04:34.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:04:34.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:04:34.616Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T08:04:34.616Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T08:04:34.616Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T08:04:34.616Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T08:04:34.616Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:04:34.616Z] OK: 268 MiB in 56 packages [2024-05-24T08:04:35.183Z] Removing intermediate container 562ec04275ea [2024-05-24T08:04:35.183Z] ---> 62bb01dde4e7 [2024-05-24T08:04:35.183Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-24T08:04:35.183Z] ---> Running in 9eace022a801 [2024-05-24T08:04:35.183Z] Removing intermediate container 9eace022a801 [2024-05-24T08:04:35.183Z] ---> bfeac09b0c3d [2024-05-24T08:04:35.183Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T08:04:36.031Z] Still waiting to schedule task [2024-05-24T08:04:36.032Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-682’ [2024-05-24T08:04:37.085Z] ---> e06b9d6a32d2 [2024-05-24T08:04:37.085Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:04:37.085Z] ---> Running in 81b5499141d9 [2024-05-24T08:04:59.018Z] Removing intermediate container 81b5499141d9 [2024-05-24T08:04:59.018Z] ---> b3132ab6531a [2024-05-24T08:04:59.018Z] Step 11/12 : COPY . . [2024-05-24T08:04:59.018Z] ---> e98fa0ecbed2 [2024-05-24T08:04:59.018Z] Step 12/12 : RUN $MAKE [2024-05-24T08:04:59.018Z] ---> Running in 71dce4e323dd [2024-05-24T08:04:59.018Z] noop [2024-05-24T08:04:59.018Z] Removing intermediate container 71dce4e323dd [2024-05-24T08:04:59.018Z] ---> 42ce4271a2f3 [2024-05-24T08:04:59.018Z] Successfully built 42ce4271a2f3 [2024-05-24T08:04:59.018Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:04:59.507Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T08:04:59.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:04:59.757Z] prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container [2024-05-24T08:04:59.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T08:05:00.142Z] $ docker top 7d0d91d95dcdc6098f08a2b4d35e58924eedb5012b1ccfbec2024b9369325a39 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:05:00.551Z] + go version [2024-05-24T08:05:00.551Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T08:05:00.595Z] $ docker stop --time=1 7d0d91d95dcdc6098f08a2b4d35e58924eedb5012b1ccfbec2024b9369325a39 [2024-05-24T08:05:01.842Z] $ docker rm -f --volumes 7d0d91d95dcdc6098f08a2b4d35e58924eedb5012b1ccfbec2024b9369325a39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:05:02.653Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T08:05:02.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:05:02.826Z] prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container [2024-05-24T08:05:02.856Z] $ 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-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T08:05:03.164Z] $ docker top 415731618dd0ce2c3e3fbffae820f538c792b973063e0e663370eac5be0f1e04 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:05:03.566Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-391 [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:05:03.939Z] + make test [2024-05-24T08:05:03.939Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:05:04.873Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-24T08:05:14.838Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-24T08:05:14.838Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2024-05-24T08:05:21.397Z] go vet ./... [2024-05-24T08:05:23.924Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:05:23.924Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:05:23.924Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:05:23.975Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:05:24.358Z] + go mod tidy [Pipeline] } [2024-05-24T08:05:24.648Z] $ docker stop --time=1 415731618dd0ce2c3e3fbffae820f538c792b973063e0e663370eac5be0f1e04 [2024-05-24T08:05:27.053Z] $ docker rm -f --volumes 415731618dd0ce2c3e3fbffae820f538c792b973063e0e663370eac5be0f1e04 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:05:27.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:05:27.732Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-24T08:05:28.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:05:28.708Z] + ls -al . [2024-05-24T08:05:28.708Z] total 184 [2024-05-24T08:05:28.708Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 08:05 . [2024-05-24T08:05:28.708Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:03 .. [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:03 .dockerignore [2024-05-24T08:05:28.708Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:05 .git [2024-05-24T08:05:28.708Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:03 .github [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:03 .gitignore [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:03 .golangci.yml [2024-05-24T08:05:28.708Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:04 .semver [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:03 Attribution.txt [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:03 CHANGELOG.md [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:03 Dockerfile [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:03 GOVERNANCE.md [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:03 Jenkinsfile [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:03 LICENSE [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:03 Makefile [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:03 OWNERS.md [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:03 README.md [2024-05-24T08:05:28.708Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 08:04 VERSION [2024-05-24T08:05:28.708Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:03 bin [2024-05-24T08:05:28.708Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:03 cmd [2024-05-24T08:05:28.709Z] -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:05 coverage.out [2024-05-24T08:05:28.709Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:03 driver [2024-05-24T08:05:28.709Z] -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:03 go.mod [2024-05-24T08:05:28.709Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:03 go.sum [2024-05-24T08:05:28.709Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:03 openapi [2024-05-24T08:05:28.709Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:03 vendor [2024-05-24T08:05:28.709Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:05:29.145Z] + 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=0c174eca06cb985897f035aab0d0a809ccc8b9a1 --label arch=amd64 --label version=0.0.0 . [2024-05-24T08:05:29.405Z] Sending build context to Docker daemon 44MB [2024-05-24T08:05:29.405Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:05:29.405Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-24T08:05:29.405Z] ---> 42ce4271a2f3 [2024-05-24T08:05:29.405Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:05:29.975Z] ---> Running in ab77b01103c6 [2024-05-24T08:05:29.975Z] Removing intermediate container ab77b01103c6 [2024-05-24T08:05:29.975Z] ---> c815bf867c64 [2024-05-24T08:05:29.975Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:05:29.975Z] ---> Running in 7e7f66b69529 [2024-05-24T08:05:29.975Z] Removing intermediate container 7e7f66b69529 [2024-05-24T08:05:29.975Z] ---> 80bebce3de15 [2024-05-24T08:05:29.975Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:05:30.235Z] ---> Running in f81829aa4cc2 [2024-05-24T08:05:30.235Z] Removing intermediate container f81829aa4cc2 [2024-05-24T08:05:30.235Z] ---> ba4b2659e18d [2024-05-24T08:05:30.235Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:05:30.235Z] ---> Running in 50f3c26d78b2 [2024-05-24T08:05:30.235Z] Removing intermediate container 50f3c26d78b2 [2024-05-24T08:05:30.235Z] ---> 59e6c14f81b0 [2024-05-24T08:05:30.235Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:05:30.235Z] ---> Running in 26b641c8c052 [2024-05-24T08:05:30.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:30.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:31.017Z] OK: 268 MiB in 56 packages [2024-05-24T08:05:31.279Z] Removing intermediate container 26b641c8c052 [2024-05-24T08:05:31.279Z] ---> a9cfed0bb753 [2024-05-24T08:05:31.279Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-24T08:05:31.279Z] ---> Running in ba9be2ecbc4b [2024-05-24T08:05:31.279Z] Removing intermediate container ba9be2ecbc4b [2024-05-24T08:05:31.279Z] ---> ec2d93820998 [2024-05-24T08:05:31.279Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-24T08:05:32.658Z] ---> f31976ae1b4a [2024-05-24T08:05:32.658Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:05:32.917Z] ---> Running in 28c0703e6608 [2024-05-24T08:05:33.176Z] skipping... [2024-05-24T08:05:33.433Z] Removing intermediate container 28c0703e6608 [2024-05-24T08:05:33.433Z] ---> d5704db717b8 [2024-05-24T08:05:33.433Z] Step 11/26 : COPY . . [2024-05-24T08:05:35.332Z] ---> 0f9bea35c387 [2024-05-24T08:05:35.332Z] Step 12/26 : RUN $MAKE [2024-05-24T08:05:35.332Z] ---> Running in 4bbfccbde615 [2024-05-24T08:05:35.332Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-24T08:05:53.429Z] Removing intermediate container 4bbfccbde615 [2024-05-24T08:05:53.429Z] ---> a43dd1958d0b [2024-05-24T08:05:53.429Z] Step 13/26 : FROM alpine:3.18 [2024-05-24T08:05:53.429Z] 3.18: Pulling from library/alpine [2024-05-24T08:05:53.429Z] 619be1103602: Already exists [2024-05-24T08:05:53.429Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:05:53.429Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:05:53.429Z] ---> d3782b16ccc9 [2024-05-24T08:05:53.429Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T08:05:53.429Z] ---> Running in b99f98e1fedd [2024-05-24T08:05:53.429Z] Removing intermediate container b99f98e1fedd [2024-05-24T08:05:53.429Z] ---> 1d4bed241373 [2024-05-24T08:05:53.429Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-24T08:05:53.429Z] ---> Running in c97a13422cf9 [2024-05-24T08:05:53.429Z] Removing intermediate container c97a13422cf9 [2024-05-24T08:05:53.429Z] ---> acd3d7aaf1fd [2024-05-24T08:05:53.429Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:05:53.429Z] ---> Running in 066ceedd7511 [2024-05-24T08:05:53.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:53.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:53.947Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:05:53.947Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:05:53.947Z] OK: 7 MiB in 16 packages [2024-05-24T08:05:54.205Z] Removing intermediate container 066ceedd7511 [2024-05-24T08:05:54.205Z] ---> cf524469dfa7 [2024-05-24T08:05:54.205Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-24T08:05:54.205Z] ---> Running in 96b218311e51 [2024-05-24T08:05:54.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:54.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:54.723Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:05:54.723Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:05:54.723Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:05:54.982Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:05:54.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:54.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:05:55.242Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:05:55.242Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:05:55.242Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:05:55.242Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:05:55.242Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:05:55.242Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:05:55.242Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:05:55.242Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:05:55.242Z] OK: 7 MiB in 16 packages [2024-05-24T08:05:55.806Z] Removing intermediate container 96b218311e51 [2024-05-24T08:05:55.806Z] ---> 2b1d738b6143 [2024-05-24T08:05:55.806Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-24T08:05:56.416Z] ---> ccf23443e8e5 [2024-05-24T08:05:56.416Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-24T08:05:56.416Z] ---> a4628547d2d1 [2024-05-24T08:05:56.416Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-24T08:05:56.673Z] ---> df934bb1b843 [2024-05-24T08:05:56.673Z] Step 21/26 : EXPOSE 59986 [2024-05-24T08:05:56.673Z] ---> Running in 44c5a635c492 [2024-05-24T08:05:56.673Z] Removing intermediate container 44c5a635c492 [2024-05-24T08:05:56.673Z] ---> 30784f48a8da [2024-05-24T08:05:56.673Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-24T08:05:56.673Z] ---> Running in 87c5deb825ef [2024-05-24T08:05:56.673Z] Removing intermediate container 87c5deb825ef [2024-05-24T08:05:56.673Z] ---> 477585cbba20 [2024-05-24T08:05:56.673Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:05:56.673Z] ---> Running in fc48011af12f [2024-05-24T08:05:56.932Z] Removing intermediate container fc48011af12f [2024-05-24T08:05:56.932Z] ---> 79145bb89034 [2024-05-24T08:05:56.932Z] Step 24/26 : LABEL arch=amd64 [2024-05-24T08:05:56.932Z] ---> Running in 4479d54f755d [2024-05-24T08:05:56.932Z] Removing intermediate container 4479d54f755d [2024-05-24T08:05:56.932Z] ---> b6e5f736df0b [2024-05-24T08:05:56.932Z] Step 25/26 : LABEL git_sha=0c174eca06cb985897f035aab0d0a809ccc8b9a1 [2024-05-24T08:05:56.932Z] ---> Running in abfb7764edd4 [2024-05-24T08:05:56.932Z] Removing intermediate container abfb7764edd4 [2024-05-24T08:05:56.932Z] ---> b6c65c180c7c [2024-05-24T08:05:56.932Z] Step 26/26 : LABEL version=0.0.0 [2024-05-24T08:05:56.932Z] ---> Running in 43bf5855f8e8 [2024-05-24T08:05:57.192Z] Removing intermediate container 43bf5855f8e8 [2024-05-24T08:05:57.192Z] ---> 09b19761da66 [2024-05-24T08:05:57.192Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:05:57.192Z] Successfully built 09b19761da66 [2024-05-24T08:05:57.192Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:05:58.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:05:58.228Z] [2024-05-24T08:05:58.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:05:58.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:05:58.622Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T08:05:58.622Z] 5eb5b503b376: Pulling fs layer [2024-05-24T08:05:58.623Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T08:05:58.623Z] ec43610c2a17: Pulling fs layer [2024-05-24T08:05:58.623Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T08:05:58.623Z] 33b1e0a273af: Pulling fs layer [2024-05-24T08:05:58.623Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T08:05:58.623Z] 2f39f015ded8: Pulling fs layer [2024-05-24T08:05:58.623Z] 3a2ae6a8a46f: Waiting [2024-05-24T08:05:58.623Z] 33b1e0a273af: Waiting [2024-05-24T08:05:58.623Z] 5d3b04190fa2: Waiting [2024-05-24T08:05:58.623Z] 2f39f015ded8: Waiting [2024-05-24T08:05:58.623Z] 5c69ac0246d0: Verifying Checksum [2024-05-24T08:05:58.623Z] 5c69ac0246d0: Download complete [2024-05-24T08:05:58.623Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-24T08:05:58.623Z] 3a2ae6a8a46f: Download complete [2024-05-24T08:05:58.623Z] 33b1e0a273af: Verifying Checksum [2024-05-24T08:05:58.623Z] 33b1e0a273af: Download complete [2024-05-24T08:05:58.623Z] 5d3b04190fa2: Verifying Checksum [2024-05-24T08:05:58.623Z] 5d3b04190fa2: Download complete [2024-05-24T08:05:58.623Z] ec43610c2a17: Verifying Checksum [2024-05-24T08:05:58.623Z] ec43610c2a17: Download complete [2024-05-24T08:05:58.881Z] 5eb5b503b376: Verifying Checksum [2024-05-24T08:05:58.881Z] 5eb5b503b376: Download complete [2024-05-24T08:05:59.445Z] 2f39f015ded8: Download complete [2024-05-24T08:06:00.011Z] 5eb5b503b376: Pull complete [2024-05-24T08:06:00.011Z] 5c69ac0246d0: Pull complete [2024-05-24T08:06:00.579Z] ec43610c2a17: Pull complete [2024-05-24T08:06:00.579Z] 3a2ae6a8a46f: Pull complete [2024-05-24T08:06:00.579Z] 33b1e0a273af: Pull complete [2024-05-24T08:06:00.837Z] 5d3b04190fa2: Pull complete [2024-05-24T08:06:04.119Z] 2f39f015ded8: Pull complete [2024-05-24T08:06:04.119Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T08:06:04.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:06:04.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:06:04.381Z] prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container [2024-05-24T08:06:04.415Z] $ 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-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T08:06:07.152Z] $ docker top b3a1d013b155ba3da85c56eb4d7f959ba67ddb0443138361ae1d037f1517ed2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:07.615Z] ---> job-cost.sh [2024-05-24T08:06:07.615Z] lf-activate-venv: SKIPPING [2024-05-24T08:06:07.615Z] INFO: No Stack... [2024-05-24T08:06:07.874Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:06:08.132Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:06:08.452Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-391/archives/cost.csv [2024-05-24T08:06:08.452Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:06:08.506Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [2024-05-24T08:06:08.511Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] did not exist. Created. [2024-05-24T08:06:08.517Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:06:08.920Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T08:06:08.999Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:06:09.019Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:06:09.118Z] $ docker stop --time=1 b3a1d013b155ba3da85c56eb4d7f959ba67ddb0443138361ae1d037f1517ed2b [2024-05-24T08:06:10.269Z] $ docker rm -f --volumes b3a1d013b155ba3da85c56eb4d7f959ba67ddb0443138361ae1d037f1517ed2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-24T08:08:13.941Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-685 in /w/workspace/gexfoundry_device-rest-go_PR-391 [Pipeline] { [Pipeline] ws [2024-05-24T08:08:14.017Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-05-24T08:08:17.120Z] The recommended git tool is: git [2024-05-24T08:08:24.662Z] using credential edgex-jenkins-ssh [2024-05-24T08:08:24.695Z] Cloning the remote Git repository [2024-05-24T08:08:24.771Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-05-24T08:08:24.926Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-05-24T08:08:25.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-05-24T08:08:25.478Z] > git --version # timeout=10 [2024-05-24T08:08:25.535Z] > git --version # 'git version 2.25.1' [2024-05-24T08:08:25.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T08:08:25.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T08:08:29.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-05-24T08:08:29.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T08:08:30.060Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-05-24T08:08:30.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-05-24T08:08:30.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T08:08:30.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-24T08:08:31.582Z] Merging remotes/origin/napa commit 71bb43dbd033e4b79fac5b32175e59679d8e2e88 into PR head commit 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [2024-05-24T08:08:31.607Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T08:08:31.678Z] > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # timeout=10 [2024-05-24T08:08:33.685Z] Merge succeeded, producing 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [2024-05-24T08:08:33.685Z] Checking out Revision 0c174eca06cb985897f035aab0d0a809ccc8b9a1 (PR-391) [2024-05-24T08:08:33.588Z] > git remote # timeout=10 [2024-05-24T08:08:33.613Z] > git config --get remote.origin.url # timeout=10 [2024-05-24T08:08:33.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T08:08:33.644Z] > git merge 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 [2024-05-24T08:08:33.670Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-24T08:08:33.689Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T08:08:33.700Z] > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # timeout=10 [2024-05-24T08:08:34.826Z] Commit message: "build: Bump SDK to v3.1.1" [2024-05-24T08:08:34.873Z] > git --version # timeout=10 [2024-05-24T08:08:34.885Z] > git --version # 'git version 2.25.1' [2024-05-24T08:08:34.902Z] fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:08:39.756Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T08:08:39.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:08:39.756Z] Dload Upload Total Spent Left Speed [2024-05-24T08:08:39.756Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2024-05-24T08:08:40.101Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T08:08:40.441Z] + sudo tee /etc/docker/daemon.new [2024-05-24T08:08:40.441Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-24T08:08:40.441Z] { [2024-05-24T08:08:40.441Z] "registry-mirrors": [ [2024-05-24T08:08:40.441Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T08:08:40.441Z] ], [2024-05-24T08:08:40.441Z] "bip": "10.250.0.254/24", [2024-05-24T08:08:40.441Z] "hosts": [ [2024-05-24T08:08:40.441Z] "tcp://0.0.0.0:5555", [2024-05-24T08:08:40.441Z] "unix:///var/run/docker.sock" [2024-05-24T08:08:40.441Z] ], [2024-05-24T08:08:40.441Z] "mtu": 1458, [2024-05-24T08:08:40.441Z] "selinux-enabled": true, [2024-05-24T08:08:40.441Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T08:08:40.441Z] } [Pipeline] sh [2024-05-24T08:08:40.787Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-24T08:08:41.217Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:08:59.565Z] provisioning config files... [2024-05-24T08:08:59.606Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17267356834824908095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:09:00.104Z] ---> ****-login.sh [2024-05-24T08:09:00.104Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:09:00.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:09:00.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:09:00.693Z] Configure a credential helper to remove this warning. See [2024-05-24T08:09:00.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:09:00.693Z] [2024-05-24T08:09:00.693Z] Login Succeeded [2024-05-24T08:09:00.693Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:09:00.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:09:00.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:09:00.962Z] Configure a credential helper to remove this warning. See [2024-05-24T08:09:00.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:09:00.962Z] [2024-05-24T08:09:00.962Z] Login Succeeded [2024-05-24T08:09:01.235Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:09:01.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:09:01.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:09:01.507Z] Configure a credential helper to remove this warning. See [2024-05-24T08:09:01.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:09:01.507Z] [2024-05-24T08:09:01.507Z] Login Succeeded [2024-05-24T08:09:01.507Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:09:01.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:09:01.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:09:01.778Z] Configure a credential helper to remove this warning. See [2024-05-24T08:09:01.778Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:09:01.778Z] [2024-05-24T08:09:01.778Z] Login Succeeded [2024-05-24T08:09:01.778Z] ****.io [2024-05-24T08:09:02.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:09:02.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:09:02.315Z] Configure a credential helper to remove this warning. See [2024-05-24T08:09:02.315Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:09:02.315Z] [2024-05-24T08:09:02.315Z] Login Succeeded [2024-05-24T08:09:02.315Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:09:02.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T08:09:02.737Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T08:09:03.086Z] + + cut -d grep -f ^go [0-9].[0-9]* 2 go.mod [2024-05-24T08:09:03.086Z] [Pipeline] echo [2024-05-24T08:09:03.143Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:09:03.194Z] ========================================================= [2024-05-24T08:09:03.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-24T08:09:03.194Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:09:03.753Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-24T08:09:05.700Z] Sending build context to Docker daemon 27.75MB [2024-05-24T08:09:05.700Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:09:05.700Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T08:09:05.967Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T08:09:05.967Z] c6b39de5b339: Pulling fs layer [2024-05-24T08:09:05.967Z] a69c41024577: Pulling fs layer [2024-05-24T08:09:05.967Z] d6de4b400683: Pulling fs layer [2024-05-24T08:09:05.967Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T08:09:05.967Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:09:05.967Z] 9e011611b7f5: Pulling fs layer [2024-05-24T08:09:05.967Z] 3bd174042beb: Pulling fs layer [2024-05-24T08:09:05.967Z] 4476f39b5e91: Pulling fs layer [2024-05-24T08:09:05.967Z] 4f4fb700ef54: Waiting [2024-05-24T08:09:05.967Z] 9e011611b7f5: Waiting [2024-05-24T08:09:05.967Z] 3bd174042beb: Waiting [2024-05-24T08:09:05.967Z] 4476f39b5e91: Waiting [2024-05-24T08:09:05.967Z] 35cb2a7552d0: Waiting [2024-05-24T08:09:05.967Z] a69c41024577: Download complete [2024-05-24T08:09:05.967Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T08:09:05.967Z] 35cb2a7552d0: Download complete [2024-05-24T08:09:05.967Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T08:09:05.967Z] 4f4fb700ef54: Download complete [2024-05-24T08:09:05.967Z] 9e011611b7f5: Verifying Checksum [2024-05-24T08:09:05.967Z] 9e011611b7f5: Download complete [2024-05-24T08:09:05.967Z] c6b39de5b339: Download complete [2024-05-24T08:09:06.550Z] 4476f39b5e91: Verifying Checksum [2024-05-24T08:09:06.550Z] 4476f39b5e91: Download complete [2024-05-24T08:09:07.132Z] c6b39de5b339: Pull complete [2024-05-24T08:09:08.090Z] a69c41024577: Pull complete [2024-05-24T08:09:08.090Z] d6de4b400683: Download complete [2024-05-24T08:09:09.048Z] 3bd174042beb: Verifying Checksum [2024-05-24T08:09:09.049Z] 3bd174042beb: Download complete [2024-05-24T08:09:21.361Z] d6de4b400683: Pull complete [2024-05-24T08:09:21.361Z] 35cb2a7552d0: Pull complete [2024-05-24T08:09:21.361Z] 4f4fb700ef54: Pull complete [2024-05-24T08:09:21.361Z] 9e011611b7f5: Pull complete [2024-05-24T08:09:29.572Z] 3bd174042beb: Pull complete [2024-05-24T08:09:32.157Z] 4476f39b5e91: Pull complete [2024-05-24T08:09:32.157Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-24T08:09:32.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-24T08:09:32.157Z] ---> 981a0608b64a [2024-05-24T08:09:32.157Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:09:34.106Z] ---> Running in c24341fbdb20 [2024-05-24T08:09:34.106Z] Removing intermediate container c24341fbdb20 [2024-05-24T08:09:34.106Z] ---> eacd7f96e6bc [2024-05-24T08:09:34.106Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:09:34.106Z] ---> Running in 73a9609e035e [2024-05-24T08:09:34.373Z] Removing intermediate container 73a9609e035e [2024-05-24T08:09:34.373Z] ---> 016974e29836 [2024-05-24T08:09:34.373Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:09:34.645Z] ---> Running in b386d92e0018 [2024-05-24T08:09:34.916Z] Removing intermediate container b386d92e0018 [2024-05-24T08:09:34.916Z] ---> c603e3fef385 [2024-05-24T08:09:34.916Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:09:34.916Z] ---> Running in 3ca8b5ad2e11 [2024-05-24T08:09:35.187Z] Removing intermediate container 3ca8b5ad2e11 [2024-05-24T08:09:35.187Z] ---> 6dd6bec87788 [2024-05-24T08:09:35.187Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:09:35.187Z] ---> Running in 9d7da8433981 [2024-05-24T08:09:36.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:09:36.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:09:37.821Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T08:09:37.821Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T08:09:37.821Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T08:09:37.821Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T08:09:37.821Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:09:37.821Z] OK: 271 MiB in 56 packages [2024-05-24T08:09:38.794Z] Removing intermediate container 9d7da8433981 [2024-05-24T08:09:38.794Z] ---> 6e3ae62c83cc [2024-05-24T08:09:38.794Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-24T08:09:39.065Z] ---> Running in 8d6bdf3ee88d [2024-05-24T08:09:39.330Z] Removing intermediate container 8d6bdf3ee88d [2024-05-24T08:09:39.330Z] ---> bb6a00aa215a [2024-05-24T08:09:39.330Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T08:09:45.994Z] ---> 233f5913f1f1 [2024-05-24T08:09:45.994Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:09:45.994Z] ---> Running in 21d4f3116094 [2024-05-24T08:10:42.393Z] Removing intermediate container 21d4f3116094 [2024-05-24T08:10:42.393Z] ---> a3063bff82eb [2024-05-24T08:10:42.394Z] Step 11/12 : COPY . . [2024-05-24T08:10:46.654Z] ---> b7e94b272e2a [2024-05-24T08:10:46.654Z] Step 12/12 : RUN $MAKE [2024-05-24T08:10:46.654Z] ---> Running in a620320f838e [2024-05-24T08:10:47.616Z] noop [2024-05-24T08:10:48.206Z] Removing intermediate container a620320f838e [2024-05-24T08:10:48.206Z] ---> efbdb614dc51 [2024-05-24T08:10:48.471Z] Successfully built efbdb614dc51 [2024-05-24T08:10:48.471Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:10:48.988Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:10:48.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:10:49.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-685 does not seem to be running inside a container [2024-05-24T08:10:49.483Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T08:10:50.686Z] $ docker top d482fe046a1d32c5e0309c6c59eecbd60e79d3d7c6ba7f893b63ceb638ee5043 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:10:51.648Z] + go version [2024-05-24T08:10:51.649Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T08:10:51.683Z] $ docker stop --time=1 d482fe046a1d32c5e0309c6c59eecbd60e79d3d7c6ba7f893b63ceb638ee5043 [2024-05-24T08:10:53.286Z] $ docker rm -f --volumes d482fe046a1d32c5e0309c6c59eecbd60e79d3d7c6ba7f893b63ceb638ee5043 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:10:54.228Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:10:54.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:10:54.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-685 does not seem to be running inside a container [2024-05-24T08:10:54.577Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T08:10:55.776Z] $ docker top 53362f20357263bcaf50426fc2cde10fb623d0d2306e8102c908f95b457d360b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:10:56.368Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:10:57.078Z] + make test [2024-05-24T08:10:57.078Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:10:59.657Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-24T08:12:51.301Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-24T08:12:51.301Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements [2024-05-24T08:12:51.570Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T08:12:51.570Z] go vet ./... [2024-05-24T08:13:18.265Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:13:18.265Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:13:18.265Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:13:18.308Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:13:19.024Z] + go mod tidy [Pipeline] } [2024-05-24T08:13:22.383Z] $ docker stop --time=1 53362f20357263bcaf50426fc2cde10fb623d0d2306e8102c908f95b457d360b [2024-05-24T08:13:24.276Z] $ docker rm -f --volumes 53362f20357263bcaf50426fc2cde10fb623d0d2306e8102c908f95b457d360b [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:13:25.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:13:25.690Z] Warning: overwriting stash ‘coverage-report’ [2024-05-24T08:13:26.529Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:13:27.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:13:27.535Z] + ls -al . [2024-05-24T08:13:27.535Z] total 180 [2024-05-24T08:13:27.535Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:10 . [2024-05-24T08:13:27.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:08 .. [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:08 .dockerignore [2024-05-24T08:13:27.535Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:08 .git [2024-05-24T08:13:27.535Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:08 .github [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:08 .gitignore [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:08 .golangci.yml [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:08 Attribution.txt [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:08 CHANGELOG.md [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:08 Dockerfile [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:08 GOVERNANCE.md [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:08 Jenkinsfile [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:08 LICENSE [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:08 Makefile [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:08 OWNERS.md [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:08 README.md [2024-05-24T08:13:27.535Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 08:04 VERSION [2024-05-24T08:13:27.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:08 bin [2024-05-24T08:13:27.536Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:08 cmd [2024-05-24T08:13:27.536Z] -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:12 coverage.out [2024-05-24T08:13:27.536Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:08 driver [2024-05-24T08:13:27.536Z] -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:08 go.mod [2024-05-24T08:13:27.536Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:08 go.sum [2024-05-24T08:13:27.536Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:08 openapi [2024-05-24T08:13:27.536Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:08 vendor [2024-05-24T08:13:27.536Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:13:27.993Z] + 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=0c174eca06cb985897f035aab0d0a809ccc8b9a1 --label arch=arm64 --label version=0.0.0 . [2024-05-24T08:13:29.944Z] Sending build context to Docker daemon 27.76MB [2024-05-24T08:13:30.214Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:13:30.214Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-24T08:13:30.214Z] ---> efbdb614dc51 [2024-05-24T08:13:30.214Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:13:30.481Z] ---> Running in 726cbb42f209 [2024-05-24T08:13:30.481Z] Removing intermediate container 726cbb42f209 [2024-05-24T08:13:30.481Z] ---> a3c80c320f75 [2024-05-24T08:13:30.481Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:13:30.746Z] ---> Running in 2d848df9a5fc [2024-05-24T08:13:31.013Z] Removing intermediate container 2d848df9a5fc [2024-05-24T08:13:31.013Z] ---> 49eb6bb0e04a [2024-05-24T08:13:31.013Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:13:31.013Z] ---> Running in 5539de5f8a8f [2024-05-24T08:13:31.278Z] Removing intermediate container 5539de5f8a8f [2024-05-24T08:13:31.278Z] ---> b706b65abf17 [2024-05-24T08:13:31.278Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:13:31.278Z] ---> Running in 2f698b9d5236 [2024-05-24T08:13:31.862Z] Removing intermediate container 2f698b9d5236 [2024-05-24T08:13:31.862Z] ---> 7d56c8652ec9 [2024-05-24T08:13:31.862Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:13:31.862Z] ---> Running in 529e16da3ad4 [2024-05-24T08:13:32.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:13:33.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:13:34.052Z] OK: 271 MiB in 56 packages [2024-05-24T08:13:35.020Z] Removing intermediate container 529e16da3ad4 [2024-05-24T08:13:35.020Z] ---> c866a0ab85ef [2024-05-24T08:13:35.020Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-24T08:13:35.020Z] ---> Running in db1526477383 [2024-05-24T08:13:35.287Z] Removing intermediate container db1526477383 [2024-05-24T08:13:35.287Z] ---> b229e8b2d679 [2024-05-24T08:13:35.287Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-24T08:13:43.479Z] ---> ad0ad1150e3c [2024-05-24T08:13:43.479Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:13:43.479Z] ---> Running in 8df2fb962017 [2024-05-24T08:13:43.479Z] skipping... [2024-05-24T08:13:43.745Z] Removing intermediate container 8df2fb962017 [2024-05-24T08:13:43.745Z] ---> 195050d7cc1c [2024-05-24T08:13:43.745Z] Step 11/26 : COPY . . [2024-05-24T08:13:50.380Z] ---> 05a7281b5d89 [2024-05-24T08:13:50.380Z] Step 12/26 : RUN $MAKE [2024-05-24T08:13:50.380Z] ---> Running in 382063f82ce8 [2024-05-24T08:13:51.338Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-24T08:15:57.983Z] Removing intermediate container 382063f82ce8 [2024-05-24T08:15:57.984Z] ---> 2a594d93140d [2024-05-24T08:15:57.984Z] Step 13/26 : FROM alpine:3.18 [2024-05-24T08:15:57.984Z] 3.18: Pulling from library/alpine [2024-05-24T08:15:57.984Z] c6b39de5b339: Already exists [2024-05-24T08:15:57.984Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:15:57.984Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:15:57.984Z] ---> 33abbf032149 [2024-05-24T08:15:57.984Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T08:15:57.984Z] ---> Running in b9522d49ccaa [2024-05-24T08:15:57.984Z] Removing intermediate container b9522d49ccaa [2024-05-24T08:15:57.984Z] ---> 173d062a2d7e [2024-05-24T08:15:57.984Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-24T08:15:57.984Z] ---> Running in 00cf6edc75e4 [2024-05-24T08:15:57.984Z] Removing intermediate container 00cf6edc75e4 [2024-05-24T08:15:57.984Z] ---> b1780ecac9ed [2024-05-24T08:15:57.984Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:15:57.984Z] ---> Running in 8a2ba03019fa [2024-05-24T08:15:57.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:15:57.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:15:58.939Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:15:58.939Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:15:58.939Z] OK: 8 MiB in 16 packages [2024-05-24T08:15:59.893Z] Removing intermediate container 8a2ba03019fa [2024-05-24T08:15:59.893Z] ---> 3e9285b01865 [2024-05-24T08:15:59.893Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-24T08:15:59.893Z] ---> Running in cfc12598ae14 [2024-05-24T08:16:00.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:16:01.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:16:02.068Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:16:02.068Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:16:02.068Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:16:02.336Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:16:02.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:16:02.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:16:03.499Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:16:03.499Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:16:03.499Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:16:03.766Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:16:03.766Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:16:03.766Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:16:03.766Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:16:03.766Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:16:03.766Z] OK: 8 MiB in 16 packages [2024-05-24T08:16:05.172Z] Removing intermediate container cfc12598ae14 [2024-05-24T08:16:05.172Z] ---> f9661203814b [2024-05-24T08:16:05.172Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-24T08:16:06.572Z] ---> 0dab79ab1fb5 [2024-05-24T08:16:06.572Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-24T08:16:06.837Z] ---> 4739083ca24b [2024-05-24T08:16:06.837Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-24T08:16:07.418Z] ---> dec36197a2c0 [2024-05-24T08:16:07.418Z] Step 21/26 : EXPOSE 59986 [2024-05-24T08:16:07.418Z] ---> Running in 59b9e9530a55 [2024-05-24T08:16:07.684Z] Removing intermediate container 59b9e9530a55 [2024-05-24T08:16:07.684Z] ---> f95900251a61 [2024-05-24T08:16:07.684Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-24T08:16:07.684Z] ---> Running in 1cf9305f845a [2024-05-24T08:16:07.950Z] Removing intermediate container 1cf9305f845a [2024-05-24T08:16:07.950Z] ---> 3feb10508de5 [2024-05-24T08:16:07.950Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:16:07.950Z] ---> Running in 3f0e91a01524 [2024-05-24T08:16:08.532Z] Removing intermediate container 3f0e91a01524 [2024-05-24T08:16:08.532Z] ---> b51cfa815c9c [2024-05-24T08:16:08.532Z] Step 24/26 : LABEL arch=arm64 [2024-05-24T08:16:08.532Z] ---> Running in 5660338df5f6 [2024-05-24T08:16:08.797Z] Removing intermediate container 5660338df5f6 [2024-05-24T08:16:08.797Z] ---> 1f1812804935 [2024-05-24T08:16:08.798Z] Step 25/26 : LABEL git_sha=0c174eca06cb985897f035aab0d0a809ccc8b9a1 [2024-05-24T08:16:08.798Z] ---> Running in 8557e7bee3f2 [2024-05-24T08:16:09.063Z] Removing intermediate container 8557e7bee3f2 [2024-05-24T08:16:09.063Z] ---> 8540b3eb31c8 [2024-05-24T08:16:09.063Z] Step 26/26 : LABEL version=0.0.0 [2024-05-24T08:16:09.063Z] ---> Running in 34f3830d2c8d [2024-05-24T08:16:09.329Z] Removing intermediate container 34f3830d2c8d [2024-05-24T08:16:09.329Z] ---> 1b7df42caed8 [2024-05-24T08:16:09.329Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:16:09.910Z] Successfully built 1b7df42caed8 [2024-05-24T08:16:09.910Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:16:10.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:16:10.852Z] [2024-05-24T08:16:10.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:16:11.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:16:11.289Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T08:16:11.289Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T08:16:11.289Z] 04944245beec: Pulling fs layer [2024-05-24T08:16:11.289Z] 699f458cf7ca: Pulling fs layer [2024-05-24T08:16:11.289Z] 765212b225bb: Pulling fs layer [2024-05-24T08:16:11.289Z] f23df028b6ca: Pulling fs layer [2024-05-24T08:16:11.289Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T08:16:11.289Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T08:16:11.289Z] f23df028b6ca: Waiting [2024-05-24T08:16:11.289Z] d65c8cfc05b1: Waiting [2024-05-24T08:16:11.289Z] 765212b225bb: Waiting [2024-05-24T08:16:11.289Z] 2437ff75d9bd: Waiting [2024-05-24T08:16:11.558Z] 04944245beec: Verifying Checksum [2024-05-24T08:16:11.558Z] 04944245beec: Download complete [2024-05-24T08:16:11.558Z] 765212b225bb: Download complete [2024-05-24T08:16:11.558Z] f23df028b6ca: Download complete [2024-05-24T08:16:11.558Z] d65c8cfc05b1: Verifying Checksum [2024-05-24T08:16:11.558Z] d65c8cfc05b1: Download complete [2024-05-24T08:16:11.558Z] 699f458cf7ca: Verifying Checksum [2024-05-24T08:16:11.558Z] 699f458cf7ca: Download complete [2024-05-24T08:16:12.140Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T08:16:12.140Z] 8998bd30e6a1: Download complete [2024-05-24T08:16:14.716Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T08:16:14.716Z] 2437ff75d9bd: Download complete [2024-05-24T08:16:16.665Z] 8998bd30e6a1: Pull complete [2024-05-24T08:16:17.248Z] 04944245beec: Pull complete [2024-05-24T08:16:18.658Z] 699f458cf7ca: Pull complete [2024-05-24T08:16:18.924Z] 765212b225bb: Pull complete [2024-05-24T08:16:19.880Z] f23df028b6ca: Pull complete [2024-05-24T08:16:19.880Z] d65c8cfc05b1: Pull complete [2024-05-24T08:16:38.320Z] 2437ff75d9bd: Pull complete [2024-05-24T08:16:38.321Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T08:16:38.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:16:38.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:16:38.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-685 does not seem to be running inside a container [2024-05-24T08:16:38.735Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-24T08:16:41.301Z] $ docker top 5414ee33872ff41c2625e49266cfee76a6f783e2a8f6a8eee39cd1bf560bb4ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:42.287Z] ---> job-cost.sh [2024-05-24T08:16:42.287Z] lf-activate-venv: SKIPPING [2024-05-24T08:16:42.287Z] INFO: No Stack... [2024-05-24T08:16:42.552Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T08:16:43.542Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:16:44.234Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-05-24T08:16:44.234Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:16:44.290Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [2024-05-24T08:16:44.296Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] did not exist. Created. [2024-05-24T08:16:44.304Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:16:44.749Z] /w/workspace/device-rest-go/1@tmp/durable-07b4891f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T08:16:45.424Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T08:16:45.548Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T08:16:46.013Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:16:46.036Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:16:46.141Z] $ docker stop --time=1 5414ee33872ff41c2625e49266cfee76a6f783e2a8f6a8eee39cd1bf560bb4ff [2024-05-24T08:16:47.617Z] $ docker rm -f --volumes 5414ee33872ff41c2625e49266cfee76a6f783e2a8f6a8eee39cd1bf560bb4ff [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-05-24T08:16:48.821Z] provisioning config files... [2024-05-24T08:16:48.828Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config16422119783460022147tmp [Pipeline] { [Pipeline] sh [2024-05-24T08:16:49.191Z] + set +x [2024-05-24T08:16:49.191Z] + curl -s https://codecov.io/bash [2024-05-24T08:16:49.191Z] + bash -s -- [2024-05-24T08:16:49.191Z] [2024-05-24T08:16:49.191Z] _____ _ [2024-05-24T08:16:49.191Z] / ____| | | [2024-05-24T08:16:49.191Z] | | ___ __| | ___ ___ _____ __ [2024-05-24T08:16:49.191Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-24T08:16:49.192Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-24T08:16:49.192Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-24T08:16:49.192Z] Bash-1.0.6 [2024-05-24T08:16:49.192Z] [2024-05-24T08:16:49.192Z] [2024-05-24T08:16:49.192Z] ==> git version 2.25.1 found [2024-05-24T08:16:49.192Z] ==> 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-05-24T08:16:49.192Z] Release-Date: 2020-01-08 [2024-05-24T08:16:49.192Z] 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-05-24T08:16:49.192Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-24T08:16:49.192Z] ==> Jenkins CI detected. [2024-05-24T08:16:49.192Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-391 [2024-05-24T08:16:49.192Z] project root: . [2024-05-24T08:16:49.192Z] --> token set from env [2024-05-24T08:16:49.192Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-24T08:16:49.451Z] ==> Running gcov in . (disable via -X gcov) [2024-05-24T08:16:49.451Z] ==> Python coveragepy not found [2024-05-24T08:16:49.451Z] ==> Searching for coverage reports in: [2024-05-24T08:16:49.451Z] + . [2024-05-24T08:16:49.451Z] -> Found 1 reports [2024-05-24T08:16:49.451Z] ==> Detecting git/mercurial file structure [2024-05-24T08:16:49.451Z] ==> Reading reports [2024-05-24T08:16:49.451Z] + ./coverage.out bytes=14499 [2024-05-24T08:16:49.451Z] ==> Appending adjustments [2024-05-24T08:16:49.451Z] https://docs.codecov.io/docs/fixing-reports [2024-05-24T08:16:49.451Z] + Found adjustments [2024-05-24T08:16:49.451Z] ==> Gzipping contents [2024-05-24T08:16:49.451Z] 16K /tmp/codecov.tNDsAh.gz [2024-05-24T08:16:49.451Z] ==> Uploading reports [2024-05-24T08:16:49.451Z] url: https://codecov.io [2024-05-24T08:16:49.451Z] query: branch=PR-391&commit=0c174eca06cb985897f035aab0d0a809ccc8b9a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=391&job=&cmd_args= [2024-05-24T08:16:49.451Z] -> Pinging Codecov [2024-05-24T08:16:49.451Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-391&commit=0c174eca06cb985897f035aab0d0a809ccc8b9a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=391&job=&cmd_args= [2024-05-24T08:16:49.709Z] -> Uploading to [2024-05-24T08:16:49.710Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-24/4E5D53B4F1F92C436F7061BF334D961C/0c174eca06cb985897f035aab0d0a809ccc8b9a1/0e3aa2fa-47e0-4a71-83dd-949ea6f8cfc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T081649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1258d477555b238c6a6ff4ea7ba16872f51475e2dd55c786e727635f595fdfa2 [2024-05-24T08:16:49.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:16:49.710Z] Dload Upload Total Spent Left Speed [2024-05-24T08:16:49.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14111 0 0 100 14111 0 56219 --:--:-- --:--:-- --:--:-- 56219 [2024-05-24T08:16:49.969Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] } [2024-05-24T08:16:50.000Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-05-24T08:16:52.279Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-391/archives ] [2024-05-24T08:16:52.279Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-391/archives [2024-05-24T08:16:52.279Z] total 16 [2024-05-24T08:16:52.279Z] drwxr-xr-x 3 root root 4096 May 24 08:06 . [2024-05-24T08:16:52.279Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:06 .. [2024-05-24T08:16:52.279Z] drwxr-xr-x 2 root root 4096 May 24 08:06 cost [2024-05-24T08:16:52.279Z] -rw-r--r-- 1 root root 86 May 24 08:06 cost.csv [2024-05-24T08:16:52.279Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-391/archives [2024-05-24T08:16:52.279Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-391/archives [2024-05-24T08:16:52.279Z] total 16 [2024-05-24T08:16:52.279Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:06 . [2024-05-24T08:16:52.279Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:06 .. [2024-05-24T08:16:52.279Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 08:06 cost [2024-05-24T08:16:52.279Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 08:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:52.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:53.520Z] ---> package-listing.sh [2024-05-24T08:16:53.521Z] ++ facter osfamily [2024-05-24T08:16:53.521Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T08:16:53.780Z] + OS_FAMILY=debian [2024-05-24T08:16:53.780Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-391 [2024-05-24T08:16:53.780Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T08:16:53.780Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T08:16:53.780Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T08:16:53.780Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T08:16:53.780Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-391 ']' [2024-05-24T08:16:53.780Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T08:16:53.780Z] + case "${OS_FAMILY}" in [2024-05-24T08:16:53.780Z] + dpkg -l [2024-05-24T08:16:53.780Z] + grep '^ii' [2024-05-24T08:16:53.780Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T08:16:53.780Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T08:16:53.780Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T08:16:53.780Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-391 ']' [2024-05-24T08:16:53.780Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-391/archives/ [2024-05-24T08:16:53.780Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-391/archives/ [Pipeline] echo [2024-05-24T08:16:53.822Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T08:16:54.118Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:16:54.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:16:54.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:16:54.945Z] prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container [2024-05-24T08:16:54.982Z] $ 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-391/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-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T08:16:55.162Z] $ docker top 0fb575a0b0ccfa321036669e01105899170a245525f2bf96dec85c13e7a2496b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:16:55.558Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T08:16:55.872Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T08:16:56.184Z] + ls /var/log/sa-host [2024-05-24T08:16:56.184Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:16:56.363Z] provisioning config files... [2024-05-24T08:16:56.373Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config14553069702208175330tmp [Pipeline] { [Pipeline] echo [2024-05-24T08:16:56.445Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:56.769Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T08:16:56.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:57.237Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T08:16:57.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:57.601Z] ---> sudo-logs.sh [2024-05-24T08:16:57.601Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T08:16:57.796Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:58.120Z] ---> job-cost.sh [2024-05-24T08:16:58.120Z] lf-activate-venv: SKIPPING [2024-05-24T08:16:58.120Z] DEBUG: total: 0.2199999988079071 [2024-05-24T08:16:58.120Z] INFO: Retrieving Stack Cost... [2024-05-24T08:16:58.378Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:16:58.636Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T08:16:58.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:16:59.029Z] ---> logs-deploy.sh [2024-05-24T08:16:59.029Z] lf-activate-venv: SKIPPING [2024-05-24T08:16:59.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-391/1 [2024-05-24T08:16:59.029Z] INFO: archiving workspace using pattern(s): [2024-05-24T08:16:59.964Z] Archives upload complete. [2024-05-24T08:16:59.964Z] INFO: archiving logs to Nexus