Pull request #262 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 996a69196826d7a4bac0fc4252d9a425cd6ca015+dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f (7ae492c9d467540b561bac9afb763734c685fd95) 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-ssh4270370019715640411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3938107768236528658.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9899449299259500280.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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13463316548476197229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1514419149628159367.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14987490267272267068.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9827 in /w/workspace/gexfoundry_device-rest-go_PR-262 [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-262 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f into PR head commit 996a69196826d7a4bac0fc4252d9a425cd6ca015 Merge succeeded, producing 996a69196826d7a4bac0fc4252d9a425cd6ca015 Checking out Revision 996a69196826d7a4bac0fc4252d9a425cd6ca015 (PR-262) > git config core.sparsecheckout # timeout=10 > git checkout -f 996a69196826d7a4bac0fc4252d9a425cd6ca015 # 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 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 996a69196826d7a4bac0fc4252d9a425cd6ca015 # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T02:57:36.862Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T02:57:37.065Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T02:57:37.180Z] ========================================================= [2023-03-13T02:57:37.180Z] EdgeX Global Pipelines Version Info [2023-03-13T02:57:37.180Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:57:37.938Z] ------------------- [2023-03-13T02:57:37.938Z] stable info: [2023-03-13T02:57:37.938Z] ------------------- [2023-03-13T02:57:37.938Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T02:57:37.938Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T02:57:37.938Z] Message: update stable to v1.0.244 [2023-03-13T02:57:38.512Z] ------------------- [2023-03-13T02:57:38.512Z] experimental info: [2023-03-13T02:57:38.512Z] ------------------- [2023-03-13T02:57:38.512Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T02:57:38.512Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T02:57:38.512Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T02:57:38.828Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-13T02:57:38.872Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-13T02:57:38.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T02:57:38.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T02:57:38.991Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T02:57:39.028Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T02:57:39.066Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T02:57:39.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T02:57:39.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T02:57:39.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T02:57:39.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T02:57:39.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-13T02:57:39.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T02:57:39.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T02:57:39.390Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T02:57:39.433Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T02:57:39.476Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T02:57:39.519Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T02:57:39.563Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T02:57:39.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T02:57:39.640Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T02:57:39.684Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T02:57:39.729Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T02:57:39.768Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T02:57:39.810Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T02:57:39.854Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T02:57:39.896Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T02:57:39.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-03-13T02:57:39.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-03-13T02:57:40.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-03-13T02:57:40.066Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 996a69196826d7a4bac0fc4252d9a425cd6ca015 [Pipeline] echo [2023-03-13T02:57:40.112Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 996a691 [Pipeline] echo [2023-03-13T02:57:40.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T02:57:40.291Z] provisioning config files... [2023-03-13T02:57:40.306Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-262@tmp/config17599298239153340783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:57:40.690Z] ---> docker-login.sh [2023-03-13T02:57:40.690Z] nexus3.edgexfoundry.org:10001 [2023-03-13T02:57:40.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:40.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:40.952Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:40.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:40.952Z] [2023-03-13T02:57:40.952Z] Login Succeeded [2023-03-13T02:57:40.952Z] nexus3.edgexfoundry.org:10002 [2023-03-13T02:57:40.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:40.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:40.952Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:40.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:40.952Z] [2023-03-13T02:57:40.952Z] Login Succeeded [2023-03-13T02:57:40.952Z] nexus3.edgexfoundry.org:10003 [2023-03-13T02:57:40.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:41.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:41.213Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:41.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:41.213Z] [2023-03-13T02:57:41.213Z] Login Succeeded [2023-03-13T02:57:41.213Z] nexus3.edgexfoundry.org:10004 [2023-03-13T02:57:41.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:41.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:41.213Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:41.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:41.213Z] [2023-03-13T02:57:41.213Z] Login Succeeded [2023-03-13T02:57:41.213Z] docker.io [2023-03-13T02:57:41.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:41.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:41.473Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:41.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:41.473Z] [2023-03-13T02:57:41.473Z] Login Succeeded [2023-03-13T02:57:41.473Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T02:57:41.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T02:57:42.173Z] + git rev-list -1 --merges 996a69196826d7a4bac0fc4252d9a425cd6ca015~1..996a69196826d7a4bac0fc4252d9a425cd6ca015 [Pipeline] echo [2023-03-13T02:57:42.237Z] -----------> git rev-list -1 --merges 996a69196826d7a4bac0fc4252d9a425cd6ca015~1..996a69196826d7a4bac0fc4252d9a425cd6ca015 996a69196826d7a4bac0fc4252d9a425cd6ca015 [false] [Pipeline] sh [2023-03-13T02:57:42.549Z] + git log --format=format:%s -1 996a69196826d7a4bac0fc4252d9a425cd6ca015 [Pipeline] echo [2023-03-13T02:57:42.587Z] ========================================================= [2023-03-13T02:57:42.588Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T02:57:42.588Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T02:57:43.027Z] + git log --format=format:%s -1 996a69196826d7a4bac0fc4252d9a425cd6ca015 [Pipeline] echo [2023-03-13T02:57:43.058Z] [semverPrep] GIT_COMMIT: 996a69196826d7a4bac0fc4252d9a425cd6ca015, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo [2023-03-13T02:57:43.090Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T02:57:43.464Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T02:57:43.464Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T02:57:43.464Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T02:57:43.464Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T02:57:43.464Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T02:57:43.464Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T02:57:43.464Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:57:43.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T02:57:43.885Z] [2023-03-13T02:57:43.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:57:44.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T02:57:44.259Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T02:57:44.259Z] b85a868b505f: Pulling fs layer [2023-03-13T02:57:44.259Z] e2be974225ed: Pulling fs layer [2023-03-13T02:57:44.259Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T02:57:44.259Z] 988bab9f4d93: Pulling fs layer [2023-03-13T02:57:44.259Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T02:57:44.259Z] eaf3925da568: Pulling fs layer [2023-03-13T02:57:44.259Z] bab4dde63d76: Pulling fs layer [2023-03-13T02:57:44.259Z] bde34c3a00c8: Pulling fs layer [2023-03-13T02:57:44.259Z] b352a97aabf1: Pulling fs layer [2023-03-13T02:57:44.259Z] 4872d77fe225: Pulling fs layer [2023-03-13T02:57:44.259Z] 5851b861e8e6: Pulling fs layer [2023-03-13T02:57:44.259Z] 988bab9f4d93: Waiting [2023-03-13T02:57:44.259Z] 1469e6f7b9e6: Waiting [2023-03-13T02:57:44.259Z] eaf3925da568: Waiting [2023-03-13T02:57:44.259Z] bab4dde63d76: Waiting [2023-03-13T02:57:44.259Z] bde34c3a00c8: Waiting [2023-03-13T02:57:44.259Z] b352a97aabf1: Waiting [2023-03-13T02:57:44.259Z] 4872d77fe225: Waiting [2023-03-13T02:57:44.259Z] 5851b861e8e6: Waiting [2023-03-13T02:57:44.259Z] e2be974225ed: Download complete [2023-03-13T02:57:44.259Z] 988bab9f4d93: Download complete [2023-03-13T02:57:44.519Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T02:57:44.519Z] 1469e6f7b9e6: Download complete [2023-03-13T02:57:44.519Z] eaf3925da568: Verifying Checksum [2023-03-13T02:57:44.519Z] eaf3925da568: Download complete [2023-03-13T02:57:44.519Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T02:57:44.519Z] 339a4e72a1f5: Download complete [2023-03-13T02:57:44.519Z] bde34c3a00c8: Verifying Checksum [2023-03-13T02:57:44.519Z] bde34c3a00c8: Download complete [2023-03-13T02:57:44.519Z] b352a97aabf1: Download complete [2023-03-13T02:57:44.519Z] 4872d77fe225: Download complete [2023-03-13T02:57:44.519Z] 5851b861e8e6: Verifying Checksum [2023-03-13T02:57:44.519Z] 5851b861e8e6: Download complete [2023-03-13T02:57:44.519Z] b85a868b505f: Download complete [2023-03-13T02:57:44.784Z] bab4dde63d76: Verifying Checksum [2023-03-13T02:57:44.784Z] bab4dde63d76: Download complete [2023-03-13T02:57:45.723Z] b85a868b505f: Pull complete [2023-03-13T02:57:45.723Z] e2be974225ed: Pull complete [2023-03-13T02:57:46.291Z] 339a4e72a1f5: Pull complete [2023-03-13T02:57:46.291Z] 988bab9f4d93: Pull complete [2023-03-13T02:57:46.550Z] 1469e6f7b9e6: Pull complete [2023-03-13T02:57:46.809Z] eaf3925da568: Pull complete [2023-03-13T02:57:48.185Z] bab4dde63d76: Pull complete [2023-03-13T02:57:48.185Z] bde34c3a00c8: Pull complete [2023-03-13T02:57:48.445Z] b352a97aabf1: Pull complete [2023-03-13T02:57:48.445Z] 4872d77fe225: Pull complete [2023-03-13T02:57:48.445Z] 5851b861e8e6: Pull complete [2023-03-13T02:57:48.445Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T02:57:48.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T02:57:48.703Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:57:48.909Z] prd-ubuntu20.04-docker-8c-8g-9827 does not seem to be running inside a container [2023-03-13T02:57:48.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-262 -v /w/workspace/gexfoundry_device-rest-go_PR-262:/w/workspace/gexfoundry_device-rest-go_PR-262:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-262@tmp:/w/workspace/gexfoundry_device-rest-go_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T02:57:52.340Z] $ docker top 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e -eo pid,comm [2023-03-13T02:57:52.388Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T02:57:52.388Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T02:57:52.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T02:57:52.530Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T02:57:52.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T02:57:52.648Z] $ docker exec 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e ssh-agent [2023-03-13T02:57:52.763Z] SSH_AUTH_SOCK=/tmp/ssh-HZtxzpGaUbM8/agent.32 [2023-03-13T02:57:52.763Z] SSH_AGENT_PID=38 [2023-03-13T02:57:52.769Z] Running ssh-add (command line suppressed) [2023-03-13T02:57:52.873Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-262@tmp/private_key_17901370595329236990.key (/w/workspace/gexfoundry_device-rest-go_PR-262@tmp/private_key_17901370595329236990.key) [2023-03-13T02:57:52.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T02:57:53.216Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T02:57:53.246Z] $ docker exec --env ******** --env ******** 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e ssh-agent -k [2023-03-13T02:57:53.342Z] unset SSH_AUTH_SOCK; [2023-03-13T02:57:53.342Z] unset SSH_AGENT_PID; [2023-03-13T02:57:53.342Z] echo Agent pid 38 killed; [2023-03-13T02:57:53.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T02:57:53.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T02:57:53.446Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T02:57:53.556Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T02:57:53.562Z] $ docker exec 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e ssh-agent [2023-03-13T02:57:53.666Z] SSH_AUTH_SOCK=/tmp/ssh-aBvMvhFAe5Qc/agent.70 [2023-03-13T02:57:53.666Z] SSH_AGENT_PID=76 [2023-03-13T02:57:53.672Z] Running ssh-add (command line suppressed) [2023-03-13T02:57:53.778Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-262@tmp/private_key_9893021112417392636.key (/w/workspace/gexfoundry_device-rest-go_PR-262@tmp/private_key_9893021112417392636.key) [2023-03-13T02:57:53.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T02:57:54.124Z] + git semver init [2023-03-13T02:57:54.383Z] 2023-03-13 02:57:54,289 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T02:57:54.383Z] 2023-03-13 02:57:54,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-262/.semver [2023-03-13T02:57:54.383Z] 2023-03-13 02:57:54,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-262/.semver [2023-03-13T02:57:54.383Z] 2023-03-13 02:57:54,291 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-262/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-262, universal_newlines=False, shell=None, istream=None) [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,498 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-262/.git/info/exclude [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-262/.semver/PR-262 with force:False [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,498 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-262/.semver/PR-262 [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,503 [execute] INFO git cat-file --batch-check [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,512 [execute] INFO git cat-file --batch [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T02:57:55.765Z] 2023-03-13 02:57:55,518 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-262/.semver/PR-262 [2023-03-13T02:57:55.765Z] 0.0.0 [Pipeline] } [2023-03-13T02:57:55.795Z] $ docker exec --env ******** --env ******** 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e ssh-agent -k [2023-03-13T02:57:55.893Z] unset SSH_AUTH_SOCK; [2023-03-13T02:57:55.893Z] unset SSH_AGENT_PID; [2023-03-13T02:57:55.894Z] echo Agent pid 76 killed; [2023-03-13T02:57:55.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T02:57:56.336Z] + git semver [Pipeline] } [2023-03-13T02:57:56.625Z] $ docker stop --time=1 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e [2023-03-13T02:57:57.921Z] $ docker rm -f --volumes 7e4f5b5bddbebbf1478e460dd0f91eb2cb1c6d6b769af7a9c06df33a17aefc4e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T02:57:58.315Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T02:57:58.568Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T02:57:58.586Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T02:57:59.217Z] provisioning config files... [2023-03-13T02:57:59.230Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-262@tmp/config14184315542926545797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:57:59.600Z] ---> docker-login.sh [2023-03-13T02:57:59.600Z] nexus3.edgexfoundry.org:10001 [2023-03-13T02:57:59.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:59.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:59.600Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:59.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:59.600Z] [2023-03-13T02:57:59.600Z] Login Succeeded [2023-03-13T02:57:59.600Z] nexus3.edgexfoundry.org:10002 [2023-03-13T02:57:59.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:59.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:59.600Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:59.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:59.600Z] [2023-03-13T02:57:59.600Z] Login Succeeded [2023-03-13T02:57:59.600Z] nexus3.edgexfoundry.org:10003 [2023-03-13T02:57:59.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:59.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:59.859Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:59.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:59.859Z] [2023-03-13T02:57:59.859Z] Login Succeeded [2023-03-13T02:57:59.859Z] nexus3.edgexfoundry.org:10004 [2023-03-13T02:57:59.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:57:59.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:57:59.859Z] Configure a credential helper to remove this warning. See [2023-03-13T02:57:59.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:57:59.859Z] [2023-03-13T02:57:59.859Z] Login Succeeded [2023-03-13T02:57:59.859Z] docker.io [2023-03-13T02:58:00.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:58:00.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:58:00.118Z] Configure a credential helper to remove this warning. See [2023-03-13T02:58:00.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:58:00.118Z] [2023-03-13T02:58:00.118Z] Login Succeeded [2023-03-13T02:58:00.118Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T02:58:00.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T02:58:00.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T02:58:00.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T02:58:00.421Z] ========================================================= [2023-03-13T02:58:00.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T02:58:00.421Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:58:00.900Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T02:58:00.901Z] Sending build context to Docker daemon 10.83MB [2023-03-13T02:58:00.901Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T02:58:00.901Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T02:58:00.901Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T02:58:00.901Z] 213ec9aee27d: Pulling fs layer [2023-03-13T02:58:00.901Z] 4583459ba037: Pulling fs layer [2023-03-13T02:58:00.901Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T02:58:00.901Z] 53926ce57604: Pulling fs layer [2023-03-13T02:58:00.901Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T02:58:00.901Z] 22ff95d597cd: Pulling fs layer [2023-03-13T02:58:00.901Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T02:58:00.901Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T02:58:00.901Z] a7acece74701: Pulling fs layer [2023-03-13T02:58:00.901Z] 22ff95d597cd: Waiting [2023-03-13T02:58:00.901Z] 12d6caf4c0d1: Waiting [2023-03-13T02:58:00.901Z] 96b7cbca73a9: Waiting [2023-03-13T02:58:00.901Z] 53926ce57604: Waiting [2023-03-13T02:58:00.901Z] 21b2b0c7a3f4: Waiting [2023-03-13T02:58:00.901Z] a7acece74701: Waiting [2023-03-13T02:58:00.901Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T02:58:00.901Z] 93c1e223e6f2: Download complete [2023-03-13T02:58:00.901Z] 4583459ba037: Verifying Checksum [2023-03-13T02:58:00.901Z] 4583459ba037: Download complete [2023-03-13T02:58:01.163Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T02:58:01.163Z] 21b2b0c7a3f4: Download complete [2023-03-13T02:58:01.163Z] 22ff95d597cd: Download complete [2023-03-13T02:58:01.163Z] 213ec9aee27d: Verifying Checksum [2023-03-13T02:58:01.163Z] 213ec9aee27d: Download complete [2023-03-13T02:58:01.163Z] 12d6caf4c0d1: Verifying Checksum [2023-03-13T02:58:01.163Z] 12d6caf4c0d1: Download complete [2023-03-13T02:58:01.163Z] 213ec9aee27d: Pull complete [2023-03-13T02:58:01.427Z] 4583459ba037: Pull complete [2023-03-13T02:58:01.427Z] 93c1e223e6f2: Pull complete [2023-03-13T02:58:01.688Z] a7acece74701: Verifying Checksum [2023-03-13T02:58:01.688Z] a7acece74701: Download complete [2023-03-13T02:58:01.947Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T02:58:01.947Z] 96b7cbca73a9: Download complete [2023-03-13T02:58:01.947Z] 53926ce57604: Download complete [2023-03-13T02:58:06.128Z] 53926ce57604: Pull complete [2023-03-13T02:58:06.128Z] 21b2b0c7a3f4: Pull complete [2023-03-13T02:58:06.128Z] 22ff95d597cd: Pull complete [2023-03-13T02:58:06.128Z] 12d6caf4c0d1: Pull complete [2023-03-13T02:58:08.031Z] 96b7cbca73a9: Pull complete [2023-03-13T02:58:08.290Z] a7acece74701: Pull complete [2023-03-13T02:58:08.290Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T02:58:08.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T02:58:08.290Z] ---> db6d94c90886 [2023-03-13T02:58:08.290Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T02:58:13.564Z] ---> Running in efabc6c7b7ee [2023-03-13T02:58:13.564Z] Removing intermediate container efabc6c7b7ee [2023-03-13T02:58:13.564Z] ---> 6dee9ba8f4ae [2023-03-13T02:58:13.564Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T02:58:13.564Z] ---> Running in a7205813400b [2023-03-13T02:58:13.564Z] Removing intermediate container a7205813400b [2023-03-13T02:58:13.564Z] ---> a94843a7b67e [2023-03-13T02:58:13.564Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T02:58:13.564Z] ---> Running in eb25e6f24770 [2023-03-13T02:58:13.564Z] Removing intermediate container eb25e6f24770 [2023-03-13T02:58:13.564Z] ---> 36288d48174f [2023-03-13T02:58:13.564Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T02:58:13.564Z] ---> Running in 3b3c69a856e0 [2023-03-13T02:58:13.823Z] Removing intermediate container 3b3c69a856e0 [2023-03-13T02:58:13.823Z] ---> 57c82c8f56f4 [2023-03-13T02:58:13.823Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T02:58:13.823Z] ---> Running in 8727237237e2 [2023-03-13T02:58:14.025Z] Still waiting to schedule task [2023-03-13T02:58:14.025Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-13T02:58:14.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T02:58:14.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T02:58:14.649Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T02:58:14.649Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T02:58:14.649Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T02:58:14.649Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T02:58:14.649Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T02:58:14.649Z] OK: 216 MiB in 55 packages [2023-03-13T02:58:14.909Z] Removing intermediate container 8727237237e2 [2023-03-13T02:58:14.909Z] ---> e96f1041c9e3 [2023-03-13T02:58:14.909Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-13T02:58:14.909Z] ---> Running in 9c3c8228b78c [2023-03-13T02:58:15.167Z] Removing intermediate container 9c3c8228b78c [2023-03-13T02:58:15.167Z] ---> 473fb9993f2d [2023-03-13T02:58:15.167Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T02:58:15.167Z] ---> ab8ef0bc5834 [2023-03-13T02:58:15.167Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T02:58:15.167Z] ---> Running in a1ac4b94ac91 [2023-03-13T02:59:11.413Z] Removing intermediate container a1ac4b94ac91 [2023-03-13T02:59:11.413Z] ---> 56053f3d384d [2023-03-13T02:59:11.413Z] Step 11/12 : COPY . . [2023-03-13T02:59:11.413Z] ---> b67bc1ca8da2 [2023-03-13T02:59:11.413Z] Step 12/12 : RUN $MAKE [2023-03-13T02:59:11.413Z] ---> Running in db46c41b8a09 [2023-03-13T02:59:11.413Z] noop [2023-03-13T02:59:11.413Z] Removing intermediate container db46c41b8a09 [2023-03-13T02:59:11.413Z] ---> 3932ca027720 [2023-03-13T02:59:11.413Z] Successfully built 3932ca027720 [2023-03-13T02:59:11.413Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:59:11.859Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T02:59:11.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:59:12.003Z] prd-ubuntu20.04-docker-8c-8g-9827 does not seem to be running inside a container [2023-03-13T02:59:12.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-262 -v /w/workspace/gexfoundry_device-rest-go_PR-262:/w/workspace/gexfoundry_device-rest-go_PR-262:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-262@tmp:/w/workspace/gexfoundry_device-rest-go_PR-262@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T02:59:12.393Z] $ docker top b1e9b73313678e74a5d6123d65d04bc8f8ddcc84b3c28069b6140f2c2c2bce44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:59:12.781Z] + go version [2023-03-13T02:59:12.781Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T02:59:12.892Z] $ docker stop --time=1 b1e9b73313678e74a5d6123d65d04bc8f8ddcc84b3c28069b6140f2c2c2bce44 [2023-03-13T02:59:14.169Z] $ docker rm -f --volumes b1e9b73313678e74a5d6123d65d04bc8f8ddcc84b3c28069b6140f2c2c2bce44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:59:14.894Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T02:59:14.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:59:15.040Z] prd-ubuntu20.04-docker-8c-8g-9827 does not seem to be running inside a container [2023-03-13T02:59:15.072Z] $ 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-262 -v /w/workspace/gexfoundry_device-rest-go_PR-262:/w/workspace/gexfoundry_device-rest-go_PR-262:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-262@tmp:/w/workspace/gexfoundry_device-rest-go_PR-262@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T02:59:15.367Z] $ docker top a7ef7b40cea7d8d2e4ec49124b97992b98046c9db8fdf2641524b138c0ac06d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:59:15.754Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-03-13T02:59:16.113Z] + make test [2023-03-13T02:59:16.113Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T02:59:16.371Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-13T02:59:24.486Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-13T02:59:24.486Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.1% of statements [2023-03-13T02:59:29.747Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-13T02:59:29.747Z] go vet ./... [2023-03-13T02:59:33.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T02:59:33.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T02:59:33.024Z] ./bin/test-attribution-txt.sh [2023-03-13T02:59:33.024Z] An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [Pipeline] echo [2023-03-13T02:59:33.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T02:59:33.098Z] $ docker stop --time=1 a7ef7b40cea7d8d2e4ec49124b97992b98046c9db8fdf2641524b138c0ac06d5 [2023-03-13T02:59:35.824Z] $ docker rm -f --volumes a7ef7b40cea7d8d2e4ec49124b97992b98046c9db8fdf2641524b138c0ac06d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T02:59:36.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T02:59:36.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T02:59:37.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T02:59:37.395Z] + ls -al . [2023-03-13T02:59:37.395Z] total 184 [2023-03-13T02:59:37.395Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 02:59 . [2023-03-13T02:59:37.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 02:57 .. [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 02:57 .dockerignore [2023-03-13T02:59:37.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 02:59 .git [2023-03-13T02:59:37.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:57 .github [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 02:57 .gitignore [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 02:57 .golangci.yml [2023-03-13T02:59:37.395Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 02:57 .semver [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 13 02:57 Attribution.txt [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 13 02:57 CHANGELOG.md [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 13 02:57 Dockerfile [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 02:57 GOVERNANCE.md [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 02:57 Jenkinsfile [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 02:57 LICENSE [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 13 02:57 Makefile [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 02:57 OWNERS.md [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 13 02:57 README.md [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 02:57 VERSION [2023-03-13T02:59:37.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 02:57 bin [2023-03-13T02:59:37.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:57 cmd [2023-03-13T02:59:37.395Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 13 02:59 coverage.out [2023-03-13T02:59:37.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 02:57 driver [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 13 02:57 go.mod [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 02:57 go.sum [2023-03-13T02:59:37.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 02:57 snap [2023-03-13T02:59:37.395Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 02:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:59:37.782Z] + 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=996a69196826d7a4bac0fc4252d9a425cd6ca015 --label arch=amd64 --label version=0.0.0 . [2023-03-13T02:59:37.782Z] Sending build context to Docker daemon 10.85MB [2023-03-13T02:59:37.782Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T02:59:37.782Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-13T02:59:37.782Z] ---> 3932ca027720 [2023-03-13T02:59:37.782Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-13T02:59:38.041Z] ---> Running in 677cee8835f2 [2023-03-13T02:59:38.299Z] Removing intermediate container 677cee8835f2 [2023-03-13T02:59:38.299Z] ---> 3b08fd4528c5 [2023-03-13T02:59:38.299Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T02:59:38.299Z] ---> Running in db1a36851091 [2023-03-13T02:59:38.299Z] Removing intermediate container db1a36851091 [2023-03-13T02:59:38.299Z] ---> e8fc2cafc4bb [2023-03-13T02:59:38.299Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T02:59:38.299Z] ---> Running in 1a592e34d69a [2023-03-13T02:59:38.299Z] Removing intermediate container 1a592e34d69a [2023-03-13T02:59:38.299Z] ---> 6ba8ae97e80d [2023-03-13T02:59:38.299Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T02:59:38.299Z] ---> Running in f0672765f1b0 [2023-03-13T02:59:38.559Z] Removing intermediate container f0672765f1b0 [2023-03-13T02:59:38.559Z] ---> 47c1f577eaaa [2023-03-13T02:59:38.559Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T02:59:38.559Z] ---> Running in 709a77a7be53 [2023-03-13T02:59:38.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T02:59:38.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T02:59:39.075Z] OK: 216 MiB in 55 packages [2023-03-13T02:59:39.334Z] Removing intermediate container 709a77a7be53 [2023-03-13T02:59:39.334Z] ---> 102eca5e403b [2023-03-13T02:59:39.334Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-13T02:59:39.592Z] ---> Running in bcaa59d2305c [2023-03-13T02:59:39.592Z] Removing intermediate container bcaa59d2305c [2023-03-13T02:59:39.592Z] ---> 48a8c328ee78 [2023-03-13T02:59:39.592Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-13T02:59:39.592Z] ---> e65d656d58db [2023-03-13T02:59:39.592Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T02:59:39.592Z] ---> Running in a31a49deb7d1 [2023-03-13T02:59:40.540Z] Removing intermediate container a31a49deb7d1 [2023-03-13T02:59:40.540Z] ---> 5cf430c6de8f [2023-03-13T02:59:40.540Z] Step 11/25 : COPY . . [2023-03-13T02:59:41.110Z] ---> 801b2746f4be [2023-03-13T02:59:41.110Z] Step 12/25 : RUN $MAKE [2023-03-13T02:59:41.110Z] ---> Running in 1d29e5fd97a5 [2023-03-13T02:59:41.368Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-13T03:00:03.294Z] Removing intermediate container 1d29e5fd97a5 [2023-03-13T03:00:03.294Z] ---> 30bfcddf7f79 [2023-03-13T03:00:03.294Z] Step 13/25 : FROM alpine:3.16 [2023-03-13T03:00:03.294Z] 3.16: Pulling from library/alpine [2023-03-13T03:00:03.294Z] ef5531b6e74e: Pulling fs layer [2023-03-13T03:00:03.294Z] ef5531b6e74e: Verifying Checksum [2023-03-13T03:00:03.294Z] ef5531b6e74e: Download complete [2023-03-13T03:00:03.294Z] ef5531b6e74e: Pull complete [2023-03-13T03:00:03.294Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T03:00:03.294Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T03:00:03.294Z] ---> dfd21b5a31f5 [2023-03-13T03:00:03.294Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T03:00:03.294Z] ---> Running in 0f91189012d1 [2023-03-13T03:00:03.294Z] Removing intermediate container 0f91189012d1 [2023-03-13T03:00:03.294Z] ---> f4ca181dd241 [2023-03-13T03:00:03.294Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-13T03:00:03.294Z] ---> Running in 2d6c096db9f3 [2023-03-13T03:00:03.294Z] Removing intermediate container 2d6c096db9f3 [2023-03-13T03:00:03.294Z] ---> 9afef32f1ff1 [2023-03-13T03:00:03.294Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-13T03:00:03.294Z] ---> Running in cdbd708428bd [2023-03-13T03:00:03.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T03:00:03.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T03:00:03.294Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T03:00:03.294Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T03:00:03.294Z] OK: 6 MiB in 15 packages [2023-03-13T03:00:03.294Z] Removing intermediate container cdbd708428bd [2023-03-13T03:00:03.294Z] ---> 34acbd7ca414 [2023-03-13T03:00:03.294Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-13T03:00:03.294Z] ---> 1c90dd4d620b [2023-03-13T03:00:03.294Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-13T03:00:03.294Z] ---> c5b0c4772489 [2023-03-13T03:00:03.294Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-13T03:00:03.294Z] ---> 9b3df48af2eb [2023-03-13T03:00:03.294Z] Step 20/25 : EXPOSE 59986 [2023-03-13T03:00:03.294Z] ---> Running in 0616698399c1 [2023-03-13T03:00:03.294Z] Removing intermediate container 0616698399c1 [2023-03-13T03:00:03.294Z] ---> 9ba0456ae534 [2023-03-13T03:00:03.294Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-13T03:00:03.294Z] ---> Running in b43dd88bde0c [2023-03-13T03:00:03.294Z] Removing intermediate container b43dd88bde0c [2023-03-13T03:00:03.294Z] ---> 8c4fef24cba8 [2023-03-13T03:00:03.294Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T03:00:03.294Z] ---> Running in 75601a6994e0 [2023-03-13T03:00:03.294Z] Removing intermediate container 75601a6994e0 [2023-03-13T03:00:03.294Z] ---> 99fda17cb8fb [2023-03-13T03:00:03.294Z] Step 23/25 : LABEL arch=amd64 [2023-03-13T03:00:03.294Z] ---> Running in b869ed669337 [2023-03-13T03:00:03.295Z] Removing intermediate container b869ed669337 [2023-03-13T03:00:03.295Z] ---> 456ebbcf79b1 [2023-03-13T03:00:03.295Z] Step 24/25 : LABEL git_sha=996a69196826d7a4bac0fc4252d9a425cd6ca015 [2023-03-13T03:00:03.295Z] ---> Running in 5aca84038aa3 [2023-03-13T03:00:03.295Z] Removing intermediate container 5aca84038aa3 [2023-03-13T03:00:03.295Z] ---> 38f80cd5fac3 [2023-03-13T03:00:03.295Z] Step 25/25 : LABEL version=0.0.0 [2023-03-13T03:00:03.295Z] ---> Running in dae35436902a [2023-03-13T03:00:03.295Z] Removing intermediate container dae35436902a [2023-03-13T03:00:03.295Z] ---> beba5d1a01a8 [2023-03-13T03:00:03.295Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T03:00:03.295Z] Successfully built beba5d1a01a8 [2023-03-13T03:00:03.295Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:00:04.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T03:00:04.211Z] [2023-03-13T03:00:04.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:00:04.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T03:00:04.604Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T03:00:04.604Z] 5eb5b503b376: Pulling fs layer [2023-03-13T03:00:04.604Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T03:00:04.604Z] ec43610c2a17: Pulling fs layer [2023-03-13T03:00:04.604Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T03:00:04.604Z] 33b1e0a273af: Pulling fs layer [2023-03-13T03:00:04.604Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T03:00:04.604Z] 2f39f015ded8: Pulling fs layer [2023-03-13T03:00:04.604Z] 33b1e0a273af: Waiting [2023-03-13T03:00:04.604Z] 5d3b04190fa2: Waiting [2023-03-13T03:00:04.604Z] 3a2ae6a8a46f: Waiting [2023-03-13T03:00:04.604Z] 2f39f015ded8: Waiting [2023-03-13T03:00:04.604Z] 5c69ac0246d0: Download complete [2023-03-13T03:00:04.604Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T03:00:04.604Z] 3a2ae6a8a46f: Download complete [2023-03-13T03:00:04.863Z] 33b1e0a273af: Verifying Checksum [2023-03-13T03:00:04.863Z] 33b1e0a273af: Download complete [2023-03-13T03:00:04.863Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T03:00:04.863Z] 5d3b04190fa2: Download complete [2023-03-13T03:00:04.863Z] ec43610c2a17: Verifying Checksum [2023-03-13T03:00:04.863Z] ec43610c2a17: Download complete [2023-03-13T03:00:04.863Z] 5eb5b503b376: Verifying Checksum [2023-03-13T03:00:04.863Z] 5eb5b503b376: Download complete [2023-03-13T03:00:05.428Z] 2f39f015ded8: Download complete [2023-03-13T03:00:05.997Z] 5eb5b503b376: Pull complete [2023-03-13T03:00:06.255Z] 5c69ac0246d0: Pull complete [2023-03-13T03:00:06.512Z] ec43610c2a17: Pull complete [2023-03-13T03:00:06.512Z] 3a2ae6a8a46f: Pull complete [2023-03-13T03:00:06.773Z] 33b1e0a273af: Pull complete [2023-03-13T03:00:06.773Z] 5d3b04190fa2: Pull complete [2023-03-13T03:00:10.962Z] 2f39f015ded8: Pull complete [2023-03-13T03:00:10.962Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T03:00:10.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T03:00:10.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T03:00:11.183Z] prd-ubuntu20.04-docker-8c-8g-9827 does not seem to be running inside a container [2023-03-13T03:00:11.213Z] $ 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-262 -v /w/workspace/gexfoundry_device-rest-go_PR-262:/w/workspace/gexfoundry_device-rest-go_PR-262:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-262@tmp:/w/workspace/gexfoundry_device-rest-go_PR-262@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T03:00:16.951Z] $ docker top ed8cf5a9dde4fd3de1a8aa7ac476f094587fe066d9895ff0ea1a90206f1d8a9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:00:17.399Z] ---> job-cost.sh [2023-03-13T03:00:17.399Z] lf-activate-venv: SKIPPING [2023-03-13T03:00:17.399Z] INFO: No Stack... [2023-03-13T03:00:17.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T03:00:17.917Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T03:00:18.234Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-262/archives/cost.csv [2023-03-13T03:00:18.234Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T03:00:18.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] [2023-03-13T03:00:18.285Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] did not exist. Created. [2023-03-13T03:00:18.285Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T03:00:18.708Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T03:00:18.757Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T03:00:18.844Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T03:00:18.931Z] $ docker stop --time=1 ed8cf5a9dde4fd3de1a8aa7ac476f094587fe066d9895ff0ea1a90206f1d8a9f [2023-03-13T03:00:20.074Z] $ docker rm -f --volumes ed8cf5a9dde4fd3de1a8aa7ac476f094587fe066d9895ff0ea1a90206f1d8a9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T03:01:04.522Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9828 in /w/workspace/gexfoundry_device-rest-go_PR-262 [Pipeline] { [Pipeline] ws [2023-03-13T03:01:04.584Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-13T03:01:04.666Z] The recommended git tool is: git [2023-03-13T03:01:10.329Z] using credential edgex-jenkins-ssh [2023-03-13T03:01:10.346Z] Cloning the remote Git repository [2023-03-13T03:01:10.397Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T03:01:10.482Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-13T03:01:10.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T03:01:10.638Z] > git --version # timeout=10 [2023-03-13T03:01:10.663Z] > git --version # 'git version 2.25.1' [2023-03-13T03:01:10.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T03:01:10.729Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T03:01:12.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-13T03:01:12.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T03:01:14.184Z] Merging remotes/origin/main commit dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f into PR head commit 996a69196826d7a4bac0fc4252d9a425cd6ca015 [2023-03-13T03:01:14.461Z] Merge succeeded, producing 996a69196826d7a4bac0fc4252d9a425cd6ca015 [2023-03-13T03:01:14.461Z] Checking out Revision 996a69196826d7a4bac0fc4252d9a425cd6ca015 (PR-262) [2023-03-13T03:01:13.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-13T03:01:13.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T03:01:13.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T03:01:13.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T03:01:14.208Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T03:01:14.236Z] > git checkout -f 996a69196826d7a4bac0fc4252d9a425cd6ca015 # timeout=10 [2023-03-13T03:01:14.328Z] > git remote # timeout=10 [2023-03-13T03:01:14.353Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T03:01:14.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T03:01:14.410Z] > git merge dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 [2023-03-13T03:01:14.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T03:01:14.469Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T03:01:14.484Z] > git checkout -f 996a69196826d7a4bac0fc4252d9a425cd6ca015 # timeout=10 [2023-03-13T03:01:18.014Z] Commit message: "refactor!: consume device-sdk-go breaking changes" [2023-03-13T03:01:18.067Z] > git --version # timeout=10 [2023-03-13T03:01:18.079Z] > git --version # 'git version 2.25.1' [2023-03-13T03:01:18.100Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T03:01:19.203Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T03:01:19.203Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T03:01:19.203Z] Dload Upload Total Spent Left Speed [2023-03-13T03:01:19.203Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-03-13T03:01:19.951Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T03:01:20.307Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T03:01:20.307Z] + sudo tee /etc/docker/daemon.new [2023-03-13T03:01:20.307Z] { [2023-03-13T03:01:20.307Z] "registry-mirrors": [ [2023-03-13T03:01:20.307Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T03:01:20.307Z] ], [2023-03-13T03:01:20.307Z] "bip": "10.250.0.254/24", [2023-03-13T03:01:20.307Z] "hosts": [ [2023-03-13T03:01:20.307Z] "tcp://0.0.0.0:5555", [2023-03-13T03:01:20.307Z] "unix:///var/run/docker.sock" [2023-03-13T03:01:20.307Z] ], [2023-03-13T03:01:20.307Z] "mtu": 1458, [2023-03-13T03:01:20.307Z] "selinux-enabled": true, [2023-03-13T03:01:20.307Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T03:01:20.307Z] } [Pipeline] sh [2023-03-13T03:01:20.653Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T03:01:21.016Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T03:01:39.343Z] provisioning config files... [2023-03-13T03:01:39.378Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15529813997252392889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:01:39.769Z] ---> docker-login.sh [2023-03-13T03:01:39.769Z] nexus3.edgexfoundry.org:10001 [2023-03-13T03:01:40.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T03:01:40.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T03:01:40.358Z] Configure a credential helper to remove this warning. See [2023-03-13T03:01:40.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T03:01:40.358Z] [2023-03-13T03:01:40.358Z] Login Succeeded [2023-03-13T03:01:40.358Z] nexus3.edgexfoundry.org:10002 [2023-03-13T03:01:40.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T03:01:40.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T03:01:40.899Z] Configure a credential helper to remove this warning. See [2023-03-13T03:01:40.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T03:01:40.899Z] [2023-03-13T03:01:40.899Z] Login Succeeded [2023-03-13T03:01:40.899Z] nexus3.edgexfoundry.org:10003 [2023-03-13T03:01:41.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T03:01:41.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T03:01:41.172Z] Configure a credential helper to remove this warning. See [2023-03-13T03:01:41.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T03:01:41.172Z] [2023-03-13T03:01:41.172Z] Login Succeeded [2023-03-13T03:01:41.172Z] nexus3.edgexfoundry.org:10004 [2023-03-13T03:01:41.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T03:01:41.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T03:01:41.714Z] Configure a credential helper to remove this warning. See [2023-03-13T03:01:41.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T03:01:41.714Z] [2023-03-13T03:01:41.714Z] Login Succeeded [2023-03-13T03:01:41.714Z] docker.io [2023-03-13T03:01:41.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T03:01:41.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T03:01:41.993Z] Configure a credential helper to remove this warning. See [2023-03-13T03:01:41.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T03:01:41.993Z] [2023-03-13T03:01:41.993Z] Login Succeeded [2023-03-13T03:01:41.993Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T03:01:42.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T03:01:42.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T03:01:42.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T03:01:42.540Z] ========================================================= [2023-03-13T03:01:42.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T03:01:42.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:01:43.068Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T03:01:43.068Z] Sending build context to Docker daemon 138.8kB [2023-03-13T03:01:43.340Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T03:01:43.340Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T03:01:43.340Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T03:01:43.340Z] 9b18e9b68314: Pulling fs layer [2023-03-13T03:01:43.340Z] 35d82f9e3411: Pulling fs layer [2023-03-13T03:01:43.340Z] e16973657156: Pulling fs layer [2023-03-13T03:01:43.340Z] fc693d55d65f: Pulling fs layer [2023-03-13T03:01:43.340Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T03:01:43.340Z] dda99020689f: Pulling fs layer [2023-03-13T03:01:43.340Z] db1c61fa0a46: Pulling fs layer [2023-03-13T03:01:43.340Z] 891c053d2c06: Pulling fs layer [2023-03-13T03:01:43.340Z] fc693d55d65f: Waiting [2023-03-13T03:01:43.340Z] 7e9fc2657dce: Waiting [2023-03-13T03:01:43.340Z] dda99020689f: Waiting [2023-03-13T03:01:43.340Z] db1c61fa0a46: Waiting [2023-03-13T03:01:43.340Z] 891c053d2c06: Waiting [2023-03-13T03:01:43.615Z] e16973657156: Verifying Checksum [2023-03-13T03:01:43.615Z] e16973657156: Download complete [2023-03-13T03:01:43.615Z] 35d82f9e3411: Verifying Checksum [2023-03-13T03:01:43.615Z] 35d82f9e3411: Download complete [2023-03-13T03:01:43.615Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T03:01:43.615Z] 7e9fc2657dce: Download complete [2023-03-13T03:01:43.615Z] dda99020689f: Verifying Checksum [2023-03-13T03:01:43.615Z] dda99020689f: Download complete [2023-03-13T03:01:43.615Z] 9b18e9b68314: Verifying Checksum [2023-03-13T03:01:43.615Z] 9b18e9b68314: Download complete [2023-03-13T03:01:45.073Z] 891c053d2c06: Verifying Checksum [2023-03-13T03:01:45.073Z] 891c053d2c06: Download complete [2023-03-13T03:01:46.500Z] db1c61fa0a46: Verifying Checksum [2023-03-13T03:01:46.500Z] db1c61fa0a46: Download complete [2023-03-13T03:01:46.770Z] fc693d55d65f: Verifying Checksum [2023-03-13T03:01:46.770Z] fc693d55d65f: Download complete [2023-03-13T03:01:47.357Z] 9b18e9b68314: Pull complete [2023-03-13T03:01:47.945Z] 35d82f9e3411: Pull complete [2023-03-13T03:01:48.216Z] e16973657156: Pull complete [2023-03-13T03:02:00.560Z] fc693d55d65f: Pull complete [2023-03-13T03:02:00.560Z] 7e9fc2657dce: Pull complete [2023-03-13T03:02:00.560Z] dda99020689f: Pull complete [2023-03-13T03:02:07.255Z] db1c61fa0a46: Pull complete [2023-03-13T03:02:09.844Z] 891c053d2c06: Pull complete [2023-03-13T03:02:09.844Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T03:02:09.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T03:02:09.844Z] ---> f96f9c87975a [2023-03-13T03:02:09.844Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T03:02:10.432Z] ---> Running in c16eaca6cd35 [2023-03-13T03:02:10.700Z] Removing intermediate container c16eaca6cd35 [2023-03-13T03:02:10.700Z] ---> 5f07a0217668 [2023-03-13T03:02:10.700Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T03:02:10.973Z] ---> Running in 486904ef3487 [2023-03-13T03:02:11.242Z] Removing intermediate container 486904ef3487 [2023-03-13T03:02:11.242Z] ---> 3c7af22f5491 [2023-03-13T03:02:11.242Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T03:02:11.512Z] ---> Running in 4f49ce862cf9 [2023-03-13T03:02:11.783Z] Removing intermediate container 4f49ce862cf9 [2023-03-13T03:02:11.783Z] ---> efe2b9c63446 [2023-03-13T03:02:11.783Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T03:02:11.783Z] ---> Running in 566dd499d901 [2023-03-13T03:02:12.053Z] Removing intermediate container 566dd499d901 [2023-03-13T03:02:12.053Z] ---> b14ce8f1a425 [2023-03-13T03:02:12.053Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T03:02:12.323Z] ---> Running in 4c82e753b1a1 [2023-03-13T03:02:13.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T03:02:13.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T03:02:14.853Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T03:02:14.853Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T03:02:14.853Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T03:02:14.853Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T03:02:14.853Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T03:02:14.853Z] OK: 226 MiB in 55 packages [2023-03-13T03:02:16.275Z] Removing intermediate container 4c82e753b1a1 [2023-03-13T03:02:16.275Z] ---> e1daba6b4cfd [2023-03-13T03:02:16.275Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-13T03:02:16.275Z] ---> Running in c9d074df9622 [2023-03-13T03:02:16.275Z] Removing intermediate container c9d074df9622 [2023-03-13T03:02:16.275Z] ---> 22e1ff82d69b [2023-03-13T03:02:16.275Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T03:02:16.862Z] ---> 59f8eeaa5034 [2023-03-13T03:02:16.862Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T03:02:16.862Z] ---> Running in 93293b1c29eb [2023-03-13T03:03:24.762Z] Removing intermediate container 93293b1c29eb [2023-03-13T03:03:24.762Z] ---> 6d77df14eb77 [2023-03-13T03:03:24.762Z] Step 11/12 : COPY . . [2023-03-13T03:03:24.762Z] ---> 2e8bea6b3dfb [2023-03-13T03:03:24.762Z] Step 12/12 : RUN $MAKE [2023-03-13T03:03:24.762Z] ---> Running in 327913dbd911 [2023-03-13T03:03:24.762Z] noop [2023-03-13T03:03:24.762Z] Removing intermediate container 327913dbd911 [2023-03-13T03:03:24.762Z] ---> 7098d81de92b [2023-03-13T03:03:24.762Z] Successfully built 7098d81de92b [2023-03-13T03:03:24.762Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:03:25.231Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T03:03:25.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T03:03:25.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-9828 does not seem to be running inside a container [2023-03-13T03:03:25.532Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-13T03:03:26.663Z] $ docker top ed16e1a4602d4e39cbc444af450973602e271ad3d90b9d105d5dab080eaa0263 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T03:03:27.515Z] + go version [2023-03-13T03:03:27.515Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T03:03:27.553Z] $ docker stop --time=1 ed16e1a4602d4e39cbc444af450973602e271ad3d90b9d105d5dab080eaa0263 [2023-03-13T03:03:29.584Z] $ docker rm -f --volumes ed16e1a4602d4e39cbc444af450973602e271ad3d90b9d105d5dab080eaa0263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:03:30.430Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T03:03:30.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T03:03:30.676Z] prd-ubuntu20.04-docker-arm64-4c-16g-9828 does not seem to be running inside a container [2023-03-13T03:03:30.738Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-13T03:03:31.773Z] $ docker top afb30244419eaf0aae6021081872672272826c23b7963a742dc39623c2578062 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T03:03:32.353Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T03:03:32.742Z] + make test [2023-03-13T03:03:32.743Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T03:03:34.151Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-13T03:04:55.783Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-13T03:04:55.783Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.1% of statements [2023-03-13T03:04:55.784Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T03:04:55.784Z] go vet ./... [2023-03-13T03:05:14.021Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T03:05:14.021Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T03:05:14.021Z] ./bin/test-attribution-txt.sh [2023-03-13T03:05:14.021Z] An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [Pipeline] echo [2023-03-13T03:05:14.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T03:05:14.101Z] $ docker stop --time=1 afb30244419eaf0aae6021081872672272826c23b7963a742dc39623c2578062 [2023-03-13T03:05:16.134Z] $ docker rm -f --volumes afb30244419eaf0aae6021081872672272826c23b7963a742dc39623c2578062 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T03:05:17.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T03:05:17.110Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T03:05:17.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T03:05:18.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T03:05:18.455Z] + ls -al . [2023-03-13T03:05:18.456Z] total 180 [2023-03-13T03:05:18.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 03:03 . [2023-03-13T03:05:18.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 03:01 .. [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 03:01 .dockerignore [2023-03-13T03:05:18.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 03:01 .git [2023-03-13T03:05:18.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:01 .github [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 03:01 .gitignore [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 03:01 .golangci.yml [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 13 03:01 Attribution.txt [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 13 03:01 CHANGELOG.md [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 13 03:01 Dockerfile [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 03:01 GOVERNANCE.md [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 03:01 Jenkinsfile [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 03:01 LICENSE [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 13 03:01 Makefile [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 03:01 OWNERS.md [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 13 03:01 README.md [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 02:57 VERSION [2023-03-13T03:05:18.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 03:01 bin [2023-03-13T03:05:18.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 03:01 cmd [2023-03-13T03:05:18.456Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 13 03:04 coverage.out [2023-03-13T03:05:18.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 03:01 driver [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 13 03:01 go.mod [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 03:01 go.sum [2023-03-13T03:05:18.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 03:01 snap [2023-03-13T03:05:18.456Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 03:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:05:18.874Z] + 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=996a69196826d7a4bac0fc4252d9a425cd6ca015 --label arch=arm64 --label version=0.0.0 . [2023-03-13T03:05:18.874Z] Sending build context to Docker daemon 153.6kB [2023-03-13T03:05:19.144Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T03:05:19.144Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-13T03:05:19.144Z] ---> 7098d81de92b [2023-03-13T03:05:19.144Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-13T03:05:19.144Z] ---> Running in 2612a2da52ab [2023-03-13T03:05:19.725Z] Removing intermediate container 2612a2da52ab [2023-03-13T03:05:19.725Z] ---> 671339e09523 [2023-03-13T03:05:19.725Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T03:05:19.725Z] ---> Running in d9c2fc682692 [2023-03-13T03:05:19.999Z] Removing intermediate container d9c2fc682692 [2023-03-13T03:05:19.999Z] ---> 153e088da2f7 [2023-03-13T03:05:20.000Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T03:05:20.000Z] ---> Running in 413d34bd93fa [2023-03-13T03:05:20.268Z] Removing intermediate container 413d34bd93fa [2023-03-13T03:05:20.268Z] ---> 4b57a95a5162 [2023-03-13T03:05:20.268Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T03:05:20.268Z] ---> Running in 1cebb85dbc6b [2023-03-13T03:05:20.535Z] Removing intermediate container 1cebb85dbc6b [2023-03-13T03:05:20.535Z] ---> cec9c0a6ee30 [2023-03-13T03:05:20.535Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T03:05:20.535Z] ---> Running in e0108bfde85a [2023-03-13T03:05:21.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T03:05:21.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T03:05:22.728Z] OK: 226 MiB in 55 packages [2023-03-13T03:05:24.140Z] Removing intermediate container e0108bfde85a [2023-03-13T03:05:24.140Z] ---> 8ef8a82c0f97 [2023-03-13T03:05:24.140Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-13T03:05:24.140Z] ---> Running in 62ecfb552f12 [2023-03-13T03:05:24.140Z] Removing intermediate container 62ecfb552f12 [2023-03-13T03:05:24.140Z] ---> 30ca0e4b2ecb [2023-03-13T03:05:24.140Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-13T03:05:24.725Z] ---> a5cb5378642c [2023-03-13T03:05:24.725Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T03:05:24.725Z] ---> Running in 613d97b69225 [2023-03-13T03:05:30.180Z] Removing intermediate container 613d97b69225 [2023-03-13T03:05:30.180Z] ---> 5972edf00204 [2023-03-13T03:05:30.180Z] Step 11/25 : COPY . . [2023-03-13T03:05:30.180Z] ---> 7f6d3c47d96c [2023-03-13T03:05:30.180Z] Step 12/25 : RUN $MAKE [2023-03-13T03:05:30.180Z] ---> Running in 366898e7e809 [2023-03-13T03:05:30.795Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-13T03:07:52.708Z] Removing intermediate container 366898e7e809 [2023-03-13T03:07:52.708Z] ---> 8663909a4a7c [2023-03-13T03:07:52.708Z] Step 13/25 : FROM alpine:3.16 [2023-03-13T03:07:52.708Z] 3.16: Pulling from library/alpine [2023-03-13T03:07:52.708Z] 3760b48202b3: Pulling fs layer [2023-03-13T03:07:52.708Z] 3760b48202b3: Verifying Checksum [2023-03-13T03:07:52.708Z] 3760b48202b3: Download complete [2023-03-13T03:07:52.708Z] 3760b48202b3: Pull complete [2023-03-13T03:07:52.708Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T03:07:52.708Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T03:07:52.708Z] ---> 4c81e5bf8899 [2023-03-13T03:07:52.708Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T03:07:52.708Z] ---> Running in b5a4ae96d82e [2023-03-13T03:07:52.708Z] Removing intermediate container b5a4ae96d82e [2023-03-13T03:07:52.708Z] ---> f9464bf1adc3 [2023-03-13T03:07:52.708Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-13T03:07:52.708Z] ---> Running in 5b4704011831 [2023-03-13T03:07:52.708Z] Removing intermediate container 5b4704011831 [2023-03-13T03:07:52.708Z] ---> b4f63fd16019 [2023-03-13T03:07:52.708Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-13T03:07:52.708Z] ---> Running in e65fe6befd0f [2023-03-13T03:07:52.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T03:07:52.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T03:07:52.708Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T03:07:52.708Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T03:07:52.708Z] OK: 5 MiB in 15 packages [2023-03-13T03:07:52.708Z] Removing intermediate container e65fe6befd0f [2023-03-13T03:07:52.708Z] ---> 64e1185a88c2 [2023-03-13T03:07:52.708Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-13T03:07:52.708Z] ---> 8235be77007c [2023-03-13T03:07:52.708Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-13T03:07:52.708Z] ---> 389a731eb782 [2023-03-13T03:07:52.708Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-13T03:07:52.708Z] ---> ae8a013513bf [2023-03-13T03:07:52.708Z] Step 20/25 : EXPOSE 59986 [2023-03-13T03:07:52.708Z] ---> Running in 261b548729aa [2023-03-13T03:07:52.708Z] Removing intermediate container 261b548729aa [2023-03-13T03:07:52.708Z] ---> 40a2f5744d19 [2023-03-13T03:07:52.708Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-13T03:07:52.708Z] ---> Running in 30141b855448 [2023-03-13T03:07:52.708Z] Removing intermediate container 30141b855448 [2023-03-13T03:07:52.708Z] ---> 61907cf5fea5 [2023-03-13T03:07:52.708Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T03:07:52.708Z] ---> Running in a42594baec50 [2023-03-13T03:07:52.708Z] Removing intermediate container a42594baec50 [2023-03-13T03:07:52.708Z] ---> 724b03ff5cbe [2023-03-13T03:07:52.708Z] Step 23/25 : LABEL arch=arm64 [2023-03-13T03:07:52.708Z] ---> Running in 83e58719dd58 [2023-03-13T03:07:52.708Z] Removing intermediate container 83e58719dd58 [2023-03-13T03:07:52.708Z] ---> ecb06def144e [2023-03-13T03:07:52.708Z] Step 24/25 : LABEL git_sha=996a69196826d7a4bac0fc4252d9a425cd6ca015 [2023-03-13T03:07:52.708Z] ---> Running in cbefd6bf1a34 [2023-03-13T03:07:52.708Z] Removing intermediate container cbefd6bf1a34 [2023-03-13T03:07:52.708Z] ---> 054447b9ea80 [2023-03-13T03:07:52.708Z] Step 25/25 : LABEL version=0.0.0 [2023-03-13T03:07:52.708Z] ---> Running in f7f12ae08345 [2023-03-13T03:07:52.708Z] Removing intermediate container f7f12ae08345 [2023-03-13T03:07:52.708Z] ---> 1920a24300aa [2023-03-13T03:07:52.708Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T03:07:52.708Z] Successfully built 1920a24300aa [2023-03-13T03:07:52.708Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:07:53.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T03:07:53.529Z] [2023-03-13T03:07:53.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:07:53.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T03:07:53.925Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T03:07:53.925Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T03:07:53.925Z] 04944245beec: Pulling fs layer [2023-03-13T03:07:53.925Z] 699f458cf7ca: Pulling fs layer [2023-03-13T03:07:53.925Z] 765212b225bb: Pulling fs layer [2023-03-13T03:07:53.925Z] f23df028b6ca: Pulling fs layer [2023-03-13T03:07:53.925Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T03:07:53.925Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T03:07:53.925Z] 765212b225bb: Waiting [2023-03-13T03:07:53.925Z] d65c8cfc05b1: Waiting [2023-03-13T03:07:53.925Z] f23df028b6ca: Waiting [2023-03-13T03:07:53.925Z] 2437ff75d9bd: Waiting [2023-03-13T03:07:54.195Z] 04944245beec: Verifying Checksum [2023-03-13T03:07:54.195Z] 04944245beec: Download complete [2023-03-13T03:07:54.195Z] 765212b225bb: Verifying Checksum [2023-03-13T03:07:54.195Z] 765212b225bb: Download complete [2023-03-13T03:07:54.195Z] f23df028b6ca: Verifying Checksum [2023-03-13T03:07:54.195Z] f23df028b6ca: Download complete [2023-03-13T03:07:54.195Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T03:07:54.195Z] d65c8cfc05b1: Download complete [2023-03-13T03:07:54.195Z] 699f458cf7ca: Verifying Checksum [2023-03-13T03:07:54.195Z] 699f458cf7ca: Download complete [2023-03-13T03:07:54.781Z] 8998bd30e6a1: Download complete [2023-03-13T03:07:56.743Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T03:07:56.743Z] 2437ff75d9bd: Download complete [2023-03-13T03:07:58.679Z] 8998bd30e6a1: Pull complete [2023-03-13T03:07:58.679Z] 04944245beec: Pull complete [2023-03-13T03:08:00.083Z] 699f458cf7ca: Pull complete [2023-03-13T03:08:00.083Z] 765212b225bb: Pull complete [2023-03-13T03:08:00.664Z] f23df028b6ca: Pull complete [2023-03-13T03:08:00.931Z] d65c8cfc05b1: Pull complete [2023-03-13T03:08:15.925Z] 2437ff75d9bd: Pull complete [2023-03-13T03:08:15.925Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T03:08:15.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T03:08:15.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T03:08:16.241Z] prd-ubuntu20.04-docker-arm64-4c-16g-9828 does not seem to be running inside a container [2023-03-13T03:08:16.315Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T03:08:19.230Z] $ docker top af9a5ce75466423afe9305518f023786f1aa1ad0cbf12111f3fd76130cf717d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:19.808Z] ---> job-cost.sh [2023-03-13T03:08:20.077Z] lf-activate-venv: SKIPPING [2023-03-13T03:08:20.077Z] INFO: No Stack... [2023-03-13T03:08:20.659Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T03:08:21.617Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T03:08:21.972Z] + cut -d, -f6 [2023-03-13T03:08:21.972Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-03-13T03:08:22.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] [2023-03-13T03:08:22.039Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] did not exist. Created. [2023-03-13T03:08:22.039Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T03:08:22.768Z] /w/workspace/device-rest-go/1@tmp/durable-7cb999bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T03:08:23.434Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T03:08:23.468Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T03:08:23.508Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T03:08:23.524Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-262-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T03:08:23.608Z] $ docker stop --time=1 af9a5ce75466423afe9305518f023786f1aa1ad0cbf12111f3fd76130cf717d5 [2023-03-13T03:08:25.099Z] $ docker rm -f --volumes af9a5ce75466423afe9305518f023786f1aa1ad0cbf12111f3fd76130cf717d5 [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 [2023-03-13T03:08:26.193Z] provisioning config files... [2023-03-13T03:08:26.201Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-262@tmp/config10389010183281626038tmp [Pipeline] { [Pipeline] sh [2023-03-13T03:08:26.532Z] + set +x [2023-03-13T03:08:26.532Z] + bash -s -- [2023-03-13T03:08:26.532Z] + curl -s https://codecov.io/bash [2023-03-13T03:08:26.533Z] [2023-03-13T03:08:26.533Z] _____ _ [2023-03-13T03:08:26.533Z] / ____| | | [2023-03-13T03:08:26.533Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T03:08:26.533Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T03:08:26.533Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T03:08:26.533Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T03:08:26.533Z] Bash-1.0.6 [2023-03-13T03:08:26.533Z] [2023-03-13T03:08:26.533Z] [2023-03-13T03:08:26.533Z] ==> git version 2.25.1 found [2023-03-13T03:08:26.533Z] ==> 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 [2023-03-13T03:08:26.533Z] Release-Date: 2020-01-08 [2023-03-13T03:08:26.533Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-13T03:08:26.533Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T03:08:26.533Z] ==> Jenkins CI detected. [2023-03-13T03:08:26.533Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-262 [2023-03-13T03:08:26.533Z] project root: . [2023-03-13T03:08:26.533Z] --> token set from env [2023-03-13T03:08:26.533Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T03:08:26.533Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T03:08:26.533Z] ==> Python coveragepy not found [2023-03-13T03:08:26.533Z] ==> Searching for coverage reports in: [2023-03-13T03:08:26.533Z] + . [2023-03-13T03:08:26.533Z] -> Found 1 reports [2023-03-13T03:08:26.533Z] ==> Detecting git/mercurial file structure [2023-03-13T03:08:26.533Z] ==> Reading reports [2023-03-13T03:08:26.791Z] + ./coverage.out bytes=14200 [2023-03-13T03:08:26.791Z] ==> Appending adjustments [2023-03-13T03:08:26.791Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T03:08:26.791Z] + Found adjustments [2023-03-13T03:08:26.791Z] ==> Gzipping contents [2023-03-13T03:08:26.791Z] 4.0K /tmp/codecov.1fxQxB.gz [2023-03-13T03:08:26.791Z] ==> Uploading reports [2023-03-13T03:08:26.791Z] url: https://codecov.io [2023-03-13T03:08:26.791Z] query: branch=PR-262&commit=996a69196826d7a4bac0fc4252d9a425cd6ca015&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-262%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-03-13T03:08:26.791Z] -> Pinging Codecov [2023-03-13T03:08:26.792Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-262&commit=996a69196826d7a4bac0fc4252d9a425cd6ca015&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-262%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-03-13T03:08:26.792Z] -> Uploading to [2023-03-13T03:08:26.792Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/4E5D53B4F1F92C436F7061BF334D961C/996a69196826d7a4bac0fc4252d9a425cd6ca015/79a98999-f020-48b4-abc5-f50b596155dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T030826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d77f51555fdc6fea8abe08a17bf54f5e8244adb2288e520c0daf0af9de47aac [2023-03-13T03:08:26.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T03:08:26.792Z] Dload Upload Total Spent Left Speed [2023-03-13T03:08:27.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 8251 --:--:-- --:--:-- --:--:-- 8251 [2023-03-13T03:08:27.358Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/996a69196826d7a4bac0fc4252d9a425cd6ca015 [Pipeline] } [2023-03-13T03:08:27.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-13T03:08:29.153Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-262/archives ] [2023-03-13T03:08:29.153Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-262/archives [2023-03-13T03:08:29.153Z] total 16 [2023-03-13T03:08:29.153Z] drwxr-xr-x 3 root root 4096 Mar 13 03:00 . [2023-03-13T03:08:29.153Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 03:00 .. [2023-03-13T03:08:29.153Z] drwxr-xr-x 2 root root 4096 Mar 13 03:00 cost [2023-03-13T03:08:29.153Z] -rw-r--r-- 1 root root 86 Mar 13 03:00 cost.csv [2023-03-13T03:08:29.153Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-262/archives [2023-03-13T03:08:29.153Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-262/archives [2023-03-13T03:08:29.153Z] total 16 [2023-03-13T03:08:29.153Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 03:00 . [2023-03-13T03:08:29.153Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 03:00 .. [2023-03-13T03:08:29.153Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 03:00 cost [2023-03-13T03:08:29.153Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:29.484Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:30.372Z] ---> package-listing.sh [2023-03-13T03:08:30.372Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T03:08:30.372Z] ++ facter osfamily [2023-03-13T03:08:30.631Z] + OS_FAMILY=debian [2023-03-13T03:08:30.631Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-262 [2023-03-13T03:08:30.631Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T03:08:30.631Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T03:08:30.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T03:08:30.631Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T03:08:30.631Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-262 ']' [2023-03-13T03:08:30.631Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T03:08:30.631Z] + case "${OS_FAMILY}" in [2023-03-13T03:08:30.631Z] + dpkg -l [2023-03-13T03:08:30.631Z] + grep '^ii' [2023-03-13T03:08:30.631Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T03:08:30.631Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T03:08:30.631Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T03:08:30.631Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-262 ']' [2023-03-13T03:08:30.631Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-262/archives/ [2023-03-13T03:08:30.631Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-262/archives/ [Pipeline] echo [2023-03-13T03:08:30.662Z] 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-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T03:08:30.953Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T03:08:31.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T03:08:31.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T03:08:31.718Z] prd-ubuntu20.04-docker-8c-8g-9827 does not seem to be running inside a container [2023-03-13T03:08:31.744Z] $ 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-262/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-262 -v /w/workspace/gexfoundry_device-rest-go_PR-262:/w/workspace/gexfoundry_device-rest-go_PR-262:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-262@tmp:/w/workspace/gexfoundry_device-rest-go_PR-262@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 [2023-03-13T03:08:31.923Z] $ docker top 9639b0673c5b6d024e90ee61d6cf920d553f5674c98cd8294c90ce883969874a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T03:08:32.312Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T03:08:32.620Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T03:08:32.928Z] + ls /var/log/sa-host [2023-03-13T03:08:32.928Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T03:08:33.146Z] provisioning config files... [2023-03-13T03:08:33.156Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-262@tmp/config6860199643814952518tmp [Pipeline] { [Pipeline] echo [2023-03-13T03:08:33.243Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:33.555Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T03:08:33.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:33.976Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T03:08:34.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:34.322Z] ---> sudo-logs.sh [2023-03-13T03:08:34.322Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T03:08:34.404Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:34.712Z] ---> job-cost.sh [2023-03-13T03:08:34.712Z] lf-activate-venv: SKIPPING [2023-03-13T03:08:34.712Z] DEBUG: total: 0.2199999988079071 [2023-03-13T03:08:34.712Z] INFO: Retrieving Stack Cost... [2023-03-13T03:08:35.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T03:08:35.542Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T03:08:35.580Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T03:08:35.888Z] ---> logs-deploy.sh [2023-03-13T03:08:35.888Z] lf-activate-venv: SKIPPING [2023-03-13T03:08:35.888Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-262/1 [2023-03-13T03:08:35.888Z] INFO: archiving workspace using pattern(s): [2023-03-13T03:08:36.821Z] Archives upload complete. [2023-03-13T03:08:37.079Z] INFO: archiving logs to Nexus