Pull request #332 updated 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 FelixTing for edgexfoundry/device-rest-go Obtained Jenkinsfile from e6b53d85869bf1ca26570050ac5b8a29ec522302+6f0e88eb43ac42bba557c9333c6d12baa04244ae (d9beb6b6221e3f2bc42911cea8c71732c8733ab6) 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-ssh7200966432209338483.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5691666819487130440.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3026781029460473806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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 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-ssh14679747328017452152.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13739097992929202157.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4522’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4523’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4525’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4528’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4538’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-4524’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-4526’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-4527’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-4530’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-4539’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4542 in /w/workspace/gexfoundry_device-rest-go_PR-332 [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-332 # 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f0e88eb43ac42bba557c9333c6d12baa04244ae into PR head commit e6b53d85869bf1ca26570050ac5b8a29ec522302 Merge succeeded, producing e6b53d85869bf1ca26570050ac5b8a29ec522302 Checking out Revision e6b53d85869bf1ca26570050ac5b8a29ec522302 (PR-332) > git config core.sparsecheckout # timeout=10 > git checkout -f e6b53d85869bf1ca26570050ac5b8a29ec522302 # 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 6f0e88eb43ac42bba557c9333c6d12baa04244ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6b53d85869bf1ca26570050ac5b8a29ec522302 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git rev-list --no-walk 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T07:56:12.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T07:56:12.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T07:56:12.916Z] ========================================================= [2023-08-25T07:56:12.916Z] EdgeX Global Pipelines Version Info [2023-08-25T07:56:12.916Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:56:13.620Z] ------------------- [2023-08-25T07:56:13.620Z] stable info: [2023-08-25T07:56:13.620Z] ------------------- [2023-08-25T07:56:13.620Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T07:56:13.620Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T07:56:13.620Z] Message: update stable to v1.0.253 [2023-08-25T07:56:14.189Z] ------------------- [2023-08-25T07:56:14.189Z] experimental info: [2023-08-25T07:56:14.189Z] ------------------- [2023-08-25T07:56:14.189Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T07:56:14.189Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T07:56:14.189Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T07:56:14.389Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-25T07:56:14.407Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-25T07:56:14.424Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T07:56:14.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T07:56:14.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T07:56:14.477Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T07:56:14.496Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T07:56:14.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T07:56:14.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T07:56:14.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T07:56:14.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T07:56:14.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-25T07:56:14.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T07:56:14.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T07:56:14.610Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T07:56:14.628Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T07:56:14.647Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T07:56:14.665Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T07:56:14.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T07:56:14.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T07:56:14.716Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T07:56:14.739Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T07:56:14.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T07:56:14.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T07:56:14.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T07:56:14.809Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T07:56:14.824Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T07:56:14.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo [2023-08-25T07:56:14.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo [2023-08-25T07:56:14.877Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo [2023-08-25T07:56:14.896Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6b53d85869bf1ca26570050ac5b8a29ec522302 [Pipeline] echo [2023-08-25T07:56:14.914Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6b53d8 [Pipeline] echo [2023-08-25T07:56:14.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T07:56:14.991Z] provisioning config files... [2023-08-25T07:56:15.004Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config11432623811388559041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:56:15.306Z] ---> docker-login.sh [2023-08-25T07:56:15.306Z] nexus3.edgexfoundry.org:10001 [2023-08-25T07:56:15.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:15.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:15.828Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:15.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:15.828Z] [2023-08-25T07:56:15.828Z] Login Succeeded [2023-08-25T07:56:15.828Z] nexus3.edgexfoundry.org:10002 [2023-08-25T07:56:15.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:15.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:15.828Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:15.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:15.828Z] [2023-08-25T07:56:15.828Z] Login Succeeded [2023-08-25T07:56:15.828Z] nexus3.edgexfoundry.org:10003 [2023-08-25T07:56:15.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:15.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:15.828Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:15.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:15.828Z] [2023-08-25T07:56:15.828Z] Login Succeeded [2023-08-25T07:56:15.828Z] nexus3.edgexfoundry.org:10004 [2023-08-25T07:56:16.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:16.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:16.089Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:16.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:16.089Z] [2023-08-25T07:56:16.089Z] Login Succeeded [2023-08-25T07:56:16.089Z] docker.io [2023-08-25T07:56:16.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:16.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:16.349Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:16.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:16.349Z] [2023-08-25T07:56:16.349Z] Login Succeeded [2023-08-25T07:56:16.349Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T07:56:16.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T07:56:16.743Z] + git rev-list -1 --merges e6b53d85869bf1ca26570050ac5b8a29ec522302~1..e6b53d85869bf1ca26570050ac5b8a29ec522302 [Pipeline] echo [2023-08-25T07:56:16.796Z] -----------> git rev-list -1 --merges e6b53d85869bf1ca26570050ac5b8a29ec522302~1..e6b53d85869bf1ca26570050ac5b8a29ec522302 e6b53d85869bf1ca26570050ac5b8a29ec522302 [false] [Pipeline] sh [2023-08-25T07:56:17.086Z] + git log --format=format:%s -1 e6b53d85869bf1ca26570050ac5b8a29ec522302 [Pipeline] echo [2023-08-25T07:56:17.104Z] ========================================================= [2023-08-25T07:56:17.104Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T07:56:17.104Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T07:56:17.455Z] + git log --format=format:%s -1 e6b53d85869bf1ca26570050ac5b8a29ec522302 [Pipeline] echo [2023-08-25T07:56:17.467Z] [semverPrep] GIT_COMMIT: e6b53d85869bf1ca26570050ac5b8a29ec522302, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo [2023-08-25T07:56:17.478Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T07:56:17.826Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T07:56:17.826Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T07:56:17.826Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T07:56:17.826Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T07:56:17.826Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T07:56:17.826Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T07:56:17.826Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:56:18.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T07:56:18.181Z] [2023-08-25T07:56:18.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:56:18.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T07:56:18.494Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T07:56:18.494Z] b85a868b505f: Pulling fs layer [2023-08-25T07:56:18.494Z] e2be974225ed: Pulling fs layer [2023-08-25T07:56:18.494Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T07:56:18.494Z] 988bab9f4d93: Pulling fs layer [2023-08-25T07:56:18.494Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T07:56:18.494Z] eaf3925da568: Pulling fs layer [2023-08-25T07:56:18.494Z] bab4dde63d76: Pulling fs layer [2023-08-25T07:56:18.494Z] bde34c3a00c8: Pulling fs layer [2023-08-25T07:56:18.494Z] b352a97aabf1: Pulling fs layer [2023-08-25T07:56:18.494Z] 1469e6f7b9e6: Waiting [2023-08-25T07:56:18.494Z] bab4dde63d76: Waiting [2023-08-25T07:56:18.494Z] bde34c3a00c8: Waiting [2023-08-25T07:56:18.494Z] eaf3925da568: Waiting [2023-08-25T07:56:18.494Z] 988bab9f4d93: Waiting [2023-08-25T07:56:18.494Z] 4872d77fe225: Pulling fs layer [2023-08-25T07:56:18.494Z] 5851b861e8e6: Pulling fs layer [2023-08-25T07:56:18.494Z] b352a97aabf1: Waiting [2023-08-25T07:56:18.494Z] 4872d77fe225: Waiting [2023-08-25T07:56:18.494Z] 5851b861e8e6: Waiting [2023-08-25T07:56:18.494Z] e2be974225ed: Download complete [2023-08-25T07:56:18.494Z] 988bab9f4d93: Download complete [2023-08-25T07:56:18.494Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T07:56:18.494Z] 1469e6f7b9e6: Download complete [2023-08-25T07:56:18.494Z] eaf3925da568: Verifying Checksum [2023-08-25T07:56:18.494Z] eaf3925da568: Download complete [2023-08-25T07:56:18.494Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T07:56:18.494Z] 339a4e72a1f5: Download complete [2023-08-25T07:56:18.766Z] bde34c3a00c8: Verifying Checksum [2023-08-25T07:56:18.767Z] bde34c3a00c8: Download complete [2023-08-25T07:56:18.767Z] b352a97aabf1: Download complete [2023-08-25T07:56:18.767Z] 4872d77fe225: Verifying Checksum [2023-08-25T07:56:18.767Z] 4872d77fe225: Download complete [2023-08-25T07:56:18.767Z] 5851b861e8e6: Verifying Checksum [2023-08-25T07:56:18.767Z] 5851b861e8e6: Download complete [2023-08-25T07:56:18.767Z] b85a868b505f: Verifying Checksum [2023-08-25T07:56:18.767Z] b85a868b505f: Download complete [2023-08-25T07:56:19.025Z] bab4dde63d76: Verifying Checksum [2023-08-25T07:56:19.025Z] bab4dde63d76: Download complete [2023-08-25T07:56:19.962Z] b85a868b505f: Pull complete [2023-08-25T07:56:19.962Z] e2be974225ed: Pull complete [2023-08-25T07:56:20.530Z] 339a4e72a1f5: Pull complete [2023-08-25T07:56:20.531Z] 988bab9f4d93: Pull complete [2023-08-25T07:56:20.790Z] 1469e6f7b9e6: Pull complete [2023-08-25T07:56:20.790Z] eaf3925da568: Pull complete [2023-08-25T07:56:22.693Z] bab4dde63d76: Pull complete [2023-08-25T07:56:22.693Z] bde34c3a00c8: Pull complete [2023-08-25T07:56:22.693Z] b352a97aabf1: Pull complete [2023-08-25T07:56:22.693Z] 4872d77fe225: Pull complete [2023-08-25T07:56:22.953Z] 5851b861e8e6: Pull complete [2023-08-25T07:56:22.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T07:56:22.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T07:56:22.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:56:23.049Z] prd-ubuntu20.04-docker-8c-8g-4542 does not seem to be running inside a container [2023-08-25T07:56:23.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@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-devops/py-git-semver:0.1.4 cat [2023-08-25T07:56:26.620Z] $ docker top e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 -eo pid,comm [2023-08-25T07:56:26.677Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T07:56:26.677Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T07:56:26.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T07:56:26.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T07:56:26.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T07:56:26.818Z] $ docker exec e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 ssh-agent [2023-08-25T07:56:26.933Z] SSH_AUTH_SOCK=/tmp/ssh-QcxRSi54VIkI/agent.32 [2023-08-25T07:56:26.933Z] SSH_AGENT_PID=38 [2023-08-25T07:56:26.939Z] Running ssh-add (command line suppressed) [2023-08-25T07:56:27.030Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_15766033546700752873.key (/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_15766033546700752873.key) [2023-08-25T07:56:27.043Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T07:56:27.328Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T07:56:27.341Z] $ docker exec --env ******** --env ******** e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 ssh-agent -k [2023-08-25T07:56:27.441Z] unset SSH_AUTH_SOCK; [2023-08-25T07:56:27.442Z] unset SSH_AGENT_PID; [2023-08-25T07:56:27.442Z] echo Agent pid 38 killed; [2023-08-25T07:56:27.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T07:56:27.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T07:56:27.485Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T07:56:27.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T07:56:27.591Z] $ docker exec e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 ssh-agent [2023-08-25T07:56:27.685Z] SSH_AUTH_SOCK=/tmp/ssh-psnNrjyqcB04/agent.70 [2023-08-25T07:56:27.685Z] SSH_AGENT_PID=76 [2023-08-25T07:56:27.688Z] Running ssh-add (command line suppressed) [2023-08-25T07:56:27.780Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_454332042555864348.key (/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_454332042555864348.key) [2023-08-25T07:56:27.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T07:56:28.134Z] + git semver init [2023-08-25T07:56:28.392Z] 2023-08-25 07:56:28,287 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T07:56:28.392Z] 2023-08-25 07:56:28,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-332/.semver [2023-08-25T07:56:28.392Z] 2023-08-25 07:56:28,288 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-332/.semver [2023-08-25T07:56:28.392Z] 2023-08-25 07:56:28,288 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-332/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-332, universal_newlines=False, shell=None, istream=None) [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,232 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-332/.git/info/exclude [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,233 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-332/.semver/PR-332 with force:False [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,233 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-332/.semver/PR-332 [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,237 [execute] INFO git cat-file --batch-check [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,243 [execute] INFO git cat-file --batch [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T07:56:29.330Z] 2023-08-25 07:56:29,247 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-332/.semver/PR-332 [2023-08-25T07:56:29.330Z] 0.0.0 [Pipeline] } [2023-08-25T07:56:29.338Z] $ docker exec --env ******** --env ******** e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 ssh-agent -k [2023-08-25T07:56:29.425Z] unset SSH_AUTH_SOCK; [2023-08-25T07:56:29.425Z] unset SSH_AGENT_PID; [2023-08-25T07:56:29.426Z] echo Agent pid 76 killed; [2023-08-25T07:56:29.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T07:56:29.745Z] + git semver [Pipeline] } [2023-08-25T07:56:30.017Z] $ docker stop --time=1 e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 [2023-08-25T07:56:31.369Z] $ docker rm -f --volumes e2ac11d3b4357ab334433941f39564ade97d97812b93a7394a0fd33dedea7839 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T07:56:31.712Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T07:56:31.929Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T07:56:31.931Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T07:56:32.102Z] provisioning config files... [2023-08-25T07:56:32.112Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config5396079867160398327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:56:32.406Z] ---> docker-login.sh [2023-08-25T07:56:32.406Z] nexus3.edgexfoundry.org:10001 [2023-08-25T07:56:32.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:32.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:32.406Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:32.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:32.406Z] [2023-08-25T07:56:32.406Z] Login Succeeded [2023-08-25T07:56:32.406Z] nexus3.edgexfoundry.org:10002 [2023-08-25T07:56:32.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:32.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:32.406Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:32.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:32.406Z] [2023-08-25T07:56:32.406Z] Login Succeeded [2023-08-25T07:56:32.406Z] nexus3.edgexfoundry.org:10003 [2023-08-25T07:56:32.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:32.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:32.665Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:32.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:32.665Z] [2023-08-25T07:56:32.665Z] Login Succeeded [2023-08-25T07:56:32.665Z] nexus3.edgexfoundry.org:10004 [2023-08-25T07:56:32.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:32.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:32.665Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:32.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:32.665Z] [2023-08-25T07:56:32.665Z] Login Succeeded [2023-08-25T07:56:32.665Z] docker.io [2023-08-25T07:56:32.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:56:32.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:56:32.924Z] Configure a credential helper to remove this warning. See [2023-08-25T07:56:32.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:56:32.924Z] [2023-08-25T07:56:32.924Z] Login Succeeded [2023-08-25T07:56:32.924Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T07:56:32.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T07:56:33.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T07:56:33.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T07:56:33.021Z] ========================================================= [2023-08-25T07:56:33.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T07:56:33.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:56:33.335Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T07:56:33.335Z] Sending build context to Docker daemon 10.91MB [2023-08-25T07:56:33.335Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T07:56:33.335Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T07:56:33.335Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T07:56:33.335Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T07:56:33.335Z] 6911f1a30b25: Pulling fs layer [2023-08-25T07:56:33.335Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T07:56:33.335Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T07:56:33.335Z] ec0bb842ea78: Pulling fs layer [2023-08-25T07:56:33.335Z] 40a00589a448: Pulling fs layer [2023-08-25T07:56:33.335Z] 6863d3e3a2b1: Waiting [2023-08-25T07:56:33.335Z] 6c08303d61cc: Pulling fs layer [2023-08-25T07:56:33.335Z] 798269fcf238: Pulling fs layer [2023-08-25T07:56:33.335Z] 40a00589a448: Waiting [2023-08-25T07:56:33.335Z] 6c08303d61cc: Waiting [2023-08-25T07:56:33.335Z] 798269fcf238: Waiting [2023-08-25T07:56:33.335Z] 6911f1a30b25: Download complete [2023-08-25T07:56:33.335Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T07:56:33.336Z] 6863d3e3a2b1: Download complete [2023-08-25T07:56:33.336Z] ec0bb842ea78: Verifying Checksum [2023-08-25T07:56:33.336Z] ec0bb842ea78: Download complete [2023-08-25T07:56:33.595Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T07:56:33.595Z] 4db1b89c0bd1: Download complete [2023-08-25T07:56:33.595Z] 40a00589a448: Verifying Checksum [2023-08-25T07:56:33.595Z] 40a00589a448: Download complete [2023-08-25T07:56:33.595Z] 4db1b89c0bd1: Pull complete [2023-08-25T07:56:33.855Z] 6911f1a30b25: Pull complete [2023-08-25T07:56:34.114Z] 798269fcf238: Verifying Checksum [2023-08-25T07:56:34.114Z] 798269fcf238: Download complete [2023-08-25T07:56:34.114Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T07:56:34.114Z] e194b8c5c2a9: Download complete [2023-08-25T07:56:34.372Z] 6c08303d61cc: Verifying Checksum [2023-08-25T07:56:34.372Z] 6c08303d61cc: Download complete [2023-08-25T07:56:37.649Z] e194b8c5c2a9: Pull complete [2023-08-25T07:56:37.649Z] 6863d3e3a2b1: Pull complete [2023-08-25T07:56:37.649Z] ec0bb842ea78: Pull complete [2023-08-25T07:56:37.649Z] 40a00589a448: Pull complete [2023-08-25T07:56:40.177Z] 6c08303d61cc: Pull complete [2023-08-25T07:56:40.745Z] 798269fcf238: Pull complete [2023-08-25T07:56:40.745Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T07:56:40.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T07:56:40.745Z] ---> ec979cd7f677 [2023-08-25T07:56:40.745Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T07:56:47.049Z] Still waiting to schedule task [2023-08-25T07:56:47.049Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T07:56:47.321Z] ---> Running in d54b8a2ead04 [2023-08-25T07:56:47.321Z] Removing intermediate container d54b8a2ead04 [2023-08-25T07:56:47.321Z] ---> 1b548f1b1060 [2023-08-25T07:56:47.321Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T07:56:47.321Z] ---> Running in 1cdc58661e0e [2023-08-25T07:56:47.321Z] Removing intermediate container 1cdc58661e0e [2023-08-25T07:56:47.321Z] ---> 6157811714a6 [2023-08-25T07:56:47.321Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T07:56:47.321Z] ---> Running in 634ade501cc2 [2023-08-25T07:56:47.321Z] Removing intermediate container 634ade501cc2 [2023-08-25T07:56:47.321Z] ---> 149dfbb82ddf [2023-08-25T07:56:47.321Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T07:56:47.321Z] ---> Running in 05ea28b33c74 [2023-08-25T07:56:47.321Z] Removing intermediate container 05ea28b33c74 [2023-08-25T07:56:47.321Z] ---> 539c1c9e3d69 [2023-08-25T07:56:47.321Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T07:56:47.321Z] ---> Running in dcbe9a325790 [2023-08-25T07:56:47.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T07:56:47.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T07:56:47.580Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T07:56:47.580Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T07:56:47.580Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T07:56:47.580Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T07:56:47.580Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T07:56:47.580Z] OK: 269 MiB in 57 packages [2023-08-25T07:56:48.148Z] Removing intermediate container dcbe9a325790 [2023-08-25T07:56:48.148Z] ---> dbbfb9709640 [2023-08-25T07:56:48.148Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-25T07:56:48.148Z] ---> Running in 5fe596368edf [2023-08-25T07:56:48.148Z] Removing intermediate container 5fe596368edf [2023-08-25T07:56:48.148Z] ---> 0991bc6bfc75 [2023-08-25T07:56:48.148Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T07:56:48.407Z] ---> f7c374efaeb6 [2023-08-25T07:56:48.407Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T07:56:48.407Z] ---> Running in 345c3544bf5d [2023-08-25T07:57:20.493Z] Removing intermediate container 345c3544bf5d [2023-08-25T07:57:20.493Z] ---> bf1d8f47a7e6 [2023-08-25T07:57:20.493Z] Step 11/12 : COPY . . [2023-08-25T07:57:20.493Z] ---> b694094db05d [2023-08-25T07:57:20.493Z] Step 12/12 : RUN $MAKE [2023-08-25T07:57:20.493Z] ---> Running in f3ad9b31afc9 [2023-08-25T07:57:20.493Z] noop [2023-08-25T07:57:20.493Z] Removing intermediate container f3ad9b31afc9 [2023-08-25T07:57:20.493Z] ---> 774ac01868b5 [2023-08-25T07:57:20.493Z] Successfully built 774ac01868b5 [2023-08-25T07:57:20.493Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:57:20.815Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T07:57:20.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:57:20.881Z] prd-ubuntu20.04-docker-8c-8g-4542 does not seem to be running inside a container [2023-08-25T07:57:20.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T07:57:21.276Z] $ docker top b1718d96dab19b4af7bbe932e6ef944e9c0822a41ac422ede7353711d34801ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:57:21.610Z] + go version [2023-08-25T07:57:21.610Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T07:57:21.627Z] $ docker stop --time=1 b1718d96dab19b4af7bbe932e6ef944e9c0822a41ac422ede7353711d34801ff [2023-08-25T07:57:22.900Z] $ docker rm -f --volumes b1718d96dab19b4af7bbe932e6ef944e9c0822a41ac422ede7353711d34801ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:57:23.322Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T07:57:23.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:57:23.396Z] prd-ubuntu20.04-docker-8c-8g-4542 does not seem to be running inside a container [2023-08-25T07:57:23.433Z] $ 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-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T07:57:23.790Z] $ docker top d6dd04c389626668986ef8f53f02678206533be9cc2e544293cc07af02fea600 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:57:24.128Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-332 [Pipeline] fileExists [Pipeline] sh [2023-08-25T07:57:24.425Z] + make test [2023-08-25T07:57:24.425Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T07:57:29.689Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-25T07:57:39.648Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-25T07:57:39.648Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 32.2% of statements [2023-08-25T07:57:47.753Z] go vet ./... [2023-08-25T07:57:51.031Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T07:57:51.031Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T07:57:51.031Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T07:57:51.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T07:57:51.060Z] $ docker stop --time=1 d6dd04c389626668986ef8f53f02678206533be9cc2e544293cc07af02fea600 [2023-08-25T07:57:55.068Z] $ docker rm -f --volumes d6dd04c389626668986ef8f53f02678206533be9cc2e544293cc07af02fea600 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T07:57:55.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T07:57:55.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T07:57:55.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T07:57:56.265Z] + ls -al . [2023-08-25T07:57:56.265Z] total 188 [2023-08-25T07:57:56.265Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:57 . [2023-08-25T07:57:56.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:56 .. [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 25 07:56 .dockerignore [2023-08-25T07:57:56.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:56 .git [2023-08-25T07:57:56.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:56 .github [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 07:56 .gitignore [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:56 .golangci.yml [2023-08-25T07:57:56.265Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:56 .semver [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 10409 Aug 25 07:56 Attribution.txt [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 25 07:56 CHANGELOG.md [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 25 07:56 Dockerfile [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:56 GOVERNANCE.md [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:56 Jenkinsfile [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:56 LICENSE [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 25 07:56 Makefile [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 07:56 OWNERS.md [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 25 07:56 README.md [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:56 VERSION [2023-08-25T07:57:56.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:56 bin [2023-08-25T07:57:56.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:56 cmd [2023-08-25T07:57:56.265Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 25 07:57 coverage.out [2023-08-25T07:57:56.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:56 driver [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 3932 Aug 25 07:56 go.mod [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 34255 Aug 25 07:56 go.sum [2023-08-25T07:57:56.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:56 snap [2023-08-25T07:57:56.265Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 25 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:57:56.574Z] + 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=e6b53d85869bf1ca26570050ac5b8a29ec522302 --label arch=amd64 --label version=0.0.0 . [2023-08-25T07:57:56.574Z] Sending build context to Docker daemon 10.93MB [2023-08-25T07:57:56.574Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T07:57:56.574Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T07:57:56.574Z] ---> 774ac01868b5 [2023-08-25T07:57:56.574Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T07:57:56.838Z] ---> Running in 2ad00c87ea17 [2023-08-25T07:57:56.838Z] Removing intermediate container 2ad00c87ea17 [2023-08-25T07:57:56.838Z] ---> 0d9c61a9a36b [2023-08-25T07:57:56.838Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T07:57:56.838Z] ---> Running in 1cdc87f6d4de [2023-08-25T07:57:56.838Z] Removing intermediate container 1cdc87f6d4de [2023-08-25T07:57:56.838Z] ---> 3c6d88920524 [2023-08-25T07:57:56.838Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T07:57:56.838Z] ---> Running in a22558d58985 [2023-08-25T07:57:57.097Z] Removing intermediate container a22558d58985 [2023-08-25T07:57:57.097Z] ---> 2f931c4e2cf5 [2023-08-25T07:57:57.097Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T07:57:57.097Z] ---> Running in d943f5d7e5c9 [2023-08-25T07:57:57.097Z] Removing intermediate container d943f5d7e5c9 [2023-08-25T07:57:57.097Z] ---> 993b516e55b2 [2023-08-25T07:57:57.097Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T07:57:57.097Z] ---> Running in 78a2c78db88f [2023-08-25T07:57:57.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T07:57:57.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T07:57:57.873Z] OK: 269 MiB in 57 packages [2023-08-25T07:57:58.131Z] Removing intermediate container 78a2c78db88f [2023-08-25T07:57:58.131Z] ---> da2afda3d97a [2023-08-25T07:57:58.131Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-25T07:57:58.131Z] ---> Running in baa710790588 [2023-08-25T07:57:58.389Z] Removing intermediate container baa710790588 [2023-08-25T07:57:58.389Z] ---> c3dd0dadf9ef [2023-08-25T07:57:58.389Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-25T07:57:58.389Z] ---> 5cde3b4c56cb [2023-08-25T07:57:58.389Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T07:57:58.389Z] ---> Running in e26dfd40b84f [2023-08-25T07:57:58.954Z] Removing intermediate container e26dfd40b84f [2023-08-25T07:57:58.954Z] ---> 5310c7273a6a [2023-08-25T07:57:58.954Z] Step 11/25 : COPY . . [2023-08-25T07:57:59.521Z] ---> d3394eb3a0d6 [2023-08-25T07:57:59.521Z] Step 12/25 : RUN $MAKE [2023-08-25T07:57:59.521Z] ---> Running in bd5eab191507 [2023-08-25T07:57:59.780Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-25T07:58:21.695Z] Removing intermediate container bd5eab191507 [2023-08-25T07:58:21.695Z] ---> 1a2f821841e4 [2023-08-25T07:58:21.695Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T07:58:21.695Z] 3.17: Pulling from library/alpine [2023-08-25T07:58:21.695Z] 9398808236ff: Pulling fs layer [2023-08-25T07:58:21.695Z] 9398808236ff: Download complete [2023-08-25T07:58:21.695Z] 9398808236ff: Pull complete [2023-08-25T07:58:21.695Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T07:58:21.695Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T07:58:21.695Z] ---> 1e0b8b5322fc [2023-08-25T07:58:21.695Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T07:58:21.695Z] ---> Running in c77288183274 [2023-08-25T07:58:21.695Z] Removing intermediate container c77288183274 [2023-08-25T07:58:21.695Z] ---> c22632a864d0 [2023-08-25T07:58:21.695Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-25T07:58:21.695Z] ---> Running in 12ba6c0e2968 [2023-08-25T07:58:21.695Z] Removing intermediate container 12ba6c0e2968 [2023-08-25T07:58:21.695Z] ---> 998068d25f1a [2023-08-25T07:58:21.695Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-25T07:58:21.695Z] ---> Running in d08a548a2b8d [2023-08-25T07:58:21.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T07:58:21.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T07:58:21.953Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T07:58:21.953Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T07:58:21.953Z] OK: 7 MiB in 16 packages [2023-08-25T07:58:22.210Z] Removing intermediate container d08a548a2b8d [2023-08-25T07:58:22.210Z] ---> 191857515014 [2023-08-25T07:58:22.210Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-25T07:58:23.143Z] ---> d98406099f1d [2023-08-25T07:58:23.143Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-25T07:58:23.143Z] ---> 0ae36a5c8760 [2023-08-25T07:58:23.143Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-25T07:58:23.143Z] ---> c74077faa9ae [2023-08-25T07:58:23.143Z] Step 20/25 : EXPOSE 59986 [2023-08-25T07:58:23.143Z] ---> Running in 9894ff259020 [2023-08-25T07:58:23.143Z] Removing intermediate container 9894ff259020 [2023-08-25T07:58:23.143Z] ---> ec9b148a327b [2023-08-25T07:58:23.143Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-25T07:58:23.401Z] ---> Running in 03c5cc969eae [2023-08-25T07:58:23.401Z] Removing intermediate container 03c5cc969eae [2023-08-25T07:58:23.401Z] ---> 748e0da9e10b [2023-08-25T07:58:23.401Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T07:58:23.401Z] ---> Running in ba9d8d39baa0 [2023-08-25T07:58:23.401Z] Removing intermediate container ba9d8d39baa0 [2023-08-25T07:58:23.401Z] ---> 605b8c9919fa [2023-08-25T07:58:23.401Z] Step 23/25 : LABEL arch=amd64 [2023-08-25T07:58:23.401Z] ---> Running in 1fb977c97dad [2023-08-25T07:58:23.659Z] Removing intermediate container 1fb977c97dad [2023-08-25T07:58:23.659Z] ---> b3919abc2a66 [2023-08-25T07:58:23.659Z] Step 24/25 : LABEL git_sha=e6b53d85869bf1ca26570050ac5b8a29ec522302 [2023-08-25T07:58:23.659Z] ---> Running in ad0fca31d891 [2023-08-25T07:58:23.660Z] Removing intermediate container ad0fca31d891 [2023-08-25T07:58:23.660Z] ---> 9da173795903 [2023-08-25T07:58:23.660Z] Step 25/25 : LABEL version=0.0.0 [2023-08-25T07:58:23.660Z] ---> Running in 6d158b6008f9 [2023-08-25T07:58:23.660Z] Removing intermediate container 6d158b6008f9 [2023-08-25T07:58:23.660Z] ---> a98421f6ba71 [2023-08-25T07:58:23.660Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T07:58:23.660Z] Successfully built a98421f6ba71 [2023-08-25T07:58:23.660Z] 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-08-25T07:58:24.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:58:24.099Z] [2023-08-25T07:58:24.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:58:24.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:58:24.408Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T07:58:24.408Z] 5eb5b503b376: Pulling fs layer [2023-08-25T07:58:24.408Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T07:58:24.408Z] ec43610c2a17: Pulling fs layer [2023-08-25T07:58:24.408Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T07:58:24.408Z] 33b1e0a273af: Pulling fs layer [2023-08-25T07:58:24.408Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T07:58:24.408Z] 2f39f015ded8: Pulling fs layer [2023-08-25T07:58:24.408Z] 5d3b04190fa2: Waiting [2023-08-25T07:58:24.408Z] 3a2ae6a8a46f: Waiting [2023-08-25T07:58:24.408Z] 2f39f015ded8: Waiting [2023-08-25T07:58:24.408Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T07:58:24.408Z] 5c69ac0246d0: Download complete [2023-08-25T07:58:24.408Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T07:58:24.408Z] 3a2ae6a8a46f: Download complete [2023-08-25T07:58:24.408Z] 33b1e0a273af: Verifying Checksum [2023-08-25T07:58:24.408Z] 33b1e0a273af: Download complete [2023-08-25T07:58:24.408Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T07:58:24.408Z] 5d3b04190fa2: Download complete [2023-08-25T07:58:24.408Z] ec43610c2a17: Verifying Checksum [2023-08-25T07:58:24.408Z] ec43610c2a17: Download complete [2023-08-25T07:58:24.667Z] 5eb5b503b376: Verifying Checksum [2023-08-25T07:58:24.667Z] 5eb5b503b376: Download complete [2023-08-25T07:58:25.235Z] 2f39f015ded8: Download complete [2023-08-25T07:58:25.802Z] 5eb5b503b376: Pull complete [2023-08-25T07:58:26.061Z] 5c69ac0246d0: Pull complete [2023-08-25T07:58:26.320Z] ec43610c2a17: Pull complete [2023-08-25T07:58:26.578Z] 3a2ae6a8a46f: Pull complete [2023-08-25T07:58:26.578Z] 33b1e0a273af: Pull complete [2023-08-25T07:58:26.835Z] 5d3b04190fa2: Pull complete [2023-08-25T07:58:31.017Z] 2f39f015ded8: Pull complete [2023-08-25T07:58:31.017Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T07:58:31.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:58:31.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:58:31.104Z] prd-ubuntu20.04-docker-8c-8g-4542 does not seem to be running inside a container [2023-08-25T07:58:31.137Z] $ 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-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T07:58:35.745Z] $ docker top e0d326c2816b9dc9886d40a3916c919b6352670f16b7800626da0675b12803c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:58:36.100Z] ---> job-cost.sh [2023-08-25T07:58:36.100Z] lf-activate-venv: SKIPPING [2023-08-25T07:58:36.100Z] INFO: No Stack... [2023-08-25T07:58:36.359Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T07:58:36.619Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T07:58:36.906Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-332/archives/cost.csv [2023-08-25T07:58:36.906Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T07:58:36.918Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] [2023-08-25T07:58:36.926Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] did not exist. Created. [2023-08-25T07:58:36.926Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T07:58:37.229Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T07:58:37.253Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T07:58:37.259Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T07:58:37.284Z] $ docker stop --time=1 e0d326c2816b9dc9886d40a3916c919b6352670f16b7800626da0675b12803c9 [2023-08-25T07:58:38.436Z] $ docker rm -f --volumes e0d326c2816b9dc9886d40a3916c919b6352670f16b7800626da0675b12803c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T08:00:41.213Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4543 in /w/workspace/gexfoundry_device-rest-go_PR-332 [Pipeline] { [Pipeline] ws [2023-08-25T08:00:41.227Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-08-25T08:00:41.268Z] The recommended git tool is: git [2023-08-25T08:00:47.027Z] using credential edgex-jenkins-ssh [2023-08-25T08:00:47.046Z] Cloning the remote Git repository [2023-08-25T08:00:47.098Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-25T08:00:47.198Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-08-25T08:00:47.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-25T08:00:47.364Z] > git --version # timeout=10 [2023-08-25T08:00:47.389Z] > git --version # 'git version 2.25.1' [2023-08-25T08:00:47.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T08:00:47.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T08:00:49.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-25T08:00:49.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T08:00:50.826Z] Merging remotes/origin/main commit 6f0e88eb43ac42bba557c9333c6d12baa04244ae into PR head commit e6b53d85869bf1ca26570050ac5b8a29ec522302 [2023-08-25T08:00:51.094Z] Merge succeeded, producing e6b53d85869bf1ca26570050ac5b8a29ec522302 [2023-08-25T08:00:51.095Z] Checking out Revision e6b53d85869bf1ca26570050ac5b8a29ec522302 (PR-332) [2023-08-25T08:00:50.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-25T08:00:50.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-25T08:00:50.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T08:00:50.299Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-25T08:00:50.847Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T08:00:50.918Z] > git checkout -f e6b53d85869bf1ca26570050ac5b8a29ec522302 # timeout=10 [2023-08-25T08:00:50.999Z] > git remote # timeout=10 [2023-08-25T08:00:51.016Z] > git config --get remote.origin.url # timeout=10 [2023-08-25T08:00:51.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T08:00:51.051Z] > git merge 6f0e88eb43ac42bba557c9333c6d12baa04244ae # timeout=10 [2023-08-25T08:00:51.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-25T08:00:51.114Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T08:00:51.128Z] > git checkout -f e6b53d85869bf1ca26570050ac5b8a29ec522302 # timeout=10 [2023-08-25T08:00:54.585Z] Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T08:00:55.405Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T08:00:55.405Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T08:00:55.405Z] Dload Upload Total Spent Left Speed [2023-08-25T08:00:55.405Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-08-25T08:00:56.066Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T08:00:56.398Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T08:00:56.398Z] + sudo tee /etc/docker/daemon.new [2023-08-25T08:00:56.398Z] { [2023-08-25T08:00:56.398Z] "registry-mirrors": [ [2023-08-25T08:00:56.398Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T08:00:56.398Z] ], [2023-08-25T08:00:56.398Z] "bip": "10.250.0.254/24", [2023-08-25T08:00:56.398Z] "hosts": [ [2023-08-25T08:00:56.398Z] "tcp://0.0.0.0:5555", [2023-08-25T08:00:56.398Z] "unix:///var/run/docker.sock" [2023-08-25T08:00:56.398Z] ], [2023-08-25T08:00:56.398Z] "mtu": 1458, [2023-08-25T08:00:56.398Z] "selinux-enabled": true, [2023-08-25T08:00:56.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T08:00:56.398Z] } [Pipeline] sh [2023-08-25T08:00:56.723Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T08:00:57.056Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T08:01:15.337Z] provisioning config files... [2023-08-25T08:01:15.368Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2018664912931104447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:01:15.730Z] ---> docker-login.sh [2023-08-25T08:01:15.730Z] nexus3.edgexfoundry.org:10001 [2023-08-25T08:01:16.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T08:01:16.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T08:01:16.319Z] Configure a credential helper to remove this warning. See [2023-08-25T08:01:16.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T08:01:16.319Z] [2023-08-25T08:01:16.319Z] Login Succeeded [2023-08-25T08:01:16.319Z] nexus3.edgexfoundry.org:10002 [2023-08-25T08:01:16.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T08:01:16.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T08:01:16.867Z] Configure a credential helper to remove this warning. See [2023-08-25T08:01:16.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T08:01:16.867Z] [2023-08-25T08:01:16.867Z] Login Succeeded [2023-08-25T08:01:16.867Z] nexus3.edgexfoundry.org:10003 [2023-08-25T08:01:17.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T08:01:17.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T08:01:17.141Z] Configure a credential helper to remove this warning. See [2023-08-25T08:01:17.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T08:01:17.141Z] [2023-08-25T08:01:17.141Z] Login Succeeded [2023-08-25T08:01:17.141Z] nexus3.edgexfoundry.org:10004 [2023-08-25T08:01:17.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T08:01:17.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T08:01:17.686Z] Configure a credential helper to remove this warning. See [2023-08-25T08:01:17.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T08:01:17.686Z] [2023-08-25T08:01:17.686Z] Login Succeeded [2023-08-25T08:01:17.686Z] docker.io [2023-08-25T08:01:17.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T08:01:18.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T08:01:18.226Z] Configure a credential helper to remove this warning. See [2023-08-25T08:01:18.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T08:01:18.226Z] [2023-08-25T08:01:18.226Z] Login Succeeded [2023-08-25T08:01:18.226Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T08:01:18.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T08:01:18.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T08:01:18.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T08:01:18.564Z] ========================================================= [2023-08-25T08:01:18.564Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T08:01:18.564Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T08:01:18.922Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T08:01:18.922Z] Sending build context to Docker daemon 143.9kB [2023-08-25T08:01:19.191Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T08:01:19.191Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T08:01:19.461Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T08:01:19.461Z] edb6bdbacee9: Pulling fs layer [2023-08-25T08:01:19.461Z] 5f9638ab2659: Pulling fs layer [2023-08-25T08:01:19.461Z] 8d51d6327a98: Pulling fs layer [2023-08-25T08:01:19.461Z] 8b374f2dd631: Pulling fs layer [2023-08-25T08:01:19.461Z] ec14aa9079de: Pulling fs layer [2023-08-25T08:01:19.461Z] 2f466654f4bb: Pulling fs layer [2023-08-25T08:01:19.461Z] 554e91adad29: Pulling fs layer [2023-08-25T08:01:19.461Z] 8b374f2dd631: Waiting [2023-08-25T08:01:19.461Z] ec14aa9079de: Waiting [2023-08-25T08:01:19.461Z] 2f466654f4bb: Waiting [2023-08-25T08:01:19.461Z] 554e91adad29: Waiting [2023-08-25T08:01:19.733Z] 5f9638ab2659: Verifying Checksum [2023-08-25T08:01:19.733Z] 5f9638ab2659: Download complete [2023-08-25T08:01:19.733Z] 8b374f2dd631: Download complete [2023-08-25T08:01:19.733Z] ec14aa9079de: Verifying Checksum [2023-08-25T08:01:19.733Z] ec14aa9079de: Download complete [2023-08-25T08:01:19.733Z] edb6bdbacee9: Verifying Checksum [2023-08-25T08:01:19.733Z] edb6bdbacee9: Download complete [2023-08-25T08:01:20.709Z] edb6bdbacee9: Pull complete [2023-08-25T08:01:21.303Z] 554e91adad29: Verifying Checksum [2023-08-25T08:01:21.303Z] 554e91adad29: Download complete [2023-08-25T08:01:21.303Z] 5f9638ab2659: Pull complete [2023-08-25T08:01:22.282Z] 8d51d6327a98: Verifying Checksum [2023-08-25T08:01:22.282Z] 8d51d6327a98: Download complete [2023-08-25T08:01:22.552Z] 2f466654f4bb: Verifying Checksum [2023-08-25T08:01:22.552Z] 2f466654f4bb: Download complete [2023-08-25T08:01:35.816Z] 8d51d6327a98: Pull complete [2023-08-25T08:01:35.816Z] 8b374f2dd631: Pull complete [2023-08-25T08:01:35.816Z] ec14aa9079de: Pull complete [2023-08-25T08:01:42.505Z] 2f466654f4bb: Pull complete [2023-08-25T08:01:43.939Z] 554e91adad29: Pull complete [2023-08-25T08:01:43.939Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T08:01:43.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T08:01:43.939Z] ---> 1e15ea492957 [2023-08-25T08:01:43.939Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T08:01:45.378Z] ---> Running in 661ff2d65b16 [2023-08-25T08:01:45.378Z] Removing intermediate container 661ff2d65b16 [2023-08-25T08:01:45.378Z] ---> 5b8f118d4790 [2023-08-25T08:01:45.378Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T08:01:45.650Z] ---> Running in dd2e7295e8a9 [2023-08-25T08:01:45.921Z] Removing intermediate container dd2e7295e8a9 [2023-08-25T08:01:45.922Z] ---> 9715730ededd [2023-08-25T08:01:45.922Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T08:01:45.922Z] ---> Running in 8b795e244053 [2023-08-25T08:01:46.512Z] Removing intermediate container 8b795e244053 [2023-08-25T08:01:46.512Z] ---> a83a12cce4db [2023-08-25T08:01:46.512Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T08:01:46.512Z] ---> Running in 4ba99d6d3634 [2023-08-25T08:01:46.783Z] Removing intermediate container 4ba99d6d3634 [2023-08-25T08:01:46.783Z] ---> 3d52674e86cb [2023-08-25T08:01:46.783Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T08:01:47.055Z] ---> Running in 885ea6980b78 [2023-08-25T08:01:48.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T08:01:48.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T08:01:50.022Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T08:01:50.022Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T08:01:50.022Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T08:01:50.022Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T08:01:50.022Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T08:01:50.022Z] OK: 268 MiB in 57 packages [2023-08-25T08:01:51.006Z] Removing intermediate container 885ea6980b78 [2023-08-25T08:01:51.006Z] ---> bc8f29435aed [2023-08-25T08:01:51.006Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-25T08:01:51.006Z] ---> Running in 2f3b48d1dc51 [2023-08-25T08:01:51.275Z] Removing intermediate container 2f3b48d1dc51 [2023-08-25T08:01:51.275Z] ---> 0fb547cb3ccd [2023-08-25T08:01:51.275Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T08:01:51.863Z] ---> 1d7836a50238 [2023-08-25T08:01:51.863Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T08:01:51.863Z] ---> Running in 8b0663687dff [2023-08-25T08:02:59.755Z] Removing intermediate container 8b0663687dff [2023-08-25T08:02:59.755Z] ---> b9d640525e55 [2023-08-25T08:02:59.755Z] Step 11/12 : COPY . . [2023-08-25T08:02:59.755Z] ---> 88be36b7228b [2023-08-25T08:02:59.755Z] Step 12/12 : RUN $MAKE [2023-08-25T08:02:59.755Z] ---> Running in 2d3de85fbbe3 [2023-08-25T08:02:59.755Z] noop [2023-08-25T08:02:59.755Z] Removing intermediate container 2d3de85fbbe3 [2023-08-25T08:02:59.755Z] ---> f5594f036eed [2023-08-25T08:02:59.755Z] Successfully built f5594f036eed [2023-08-25T08:02:59.755Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T08:03:00.113Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T08:03:00.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T08:03:00.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-4543 does not seem to be running inside a container [2023-08-25T08:03:00.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T08:03:01.571Z] $ docker top 776edc100def3747a1bb1c3105bd12b47440c6a43574d84aa81d1728a12505a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T08:03:02.418Z] + go version [2023-08-25T08:03:02.418Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T08:03:02.444Z] $ docker stop --time=1 776edc100def3747a1bb1c3105bd12b47440c6a43574d84aa81d1728a12505a6 [2023-08-25T08:03:04.042Z] $ docker rm -f --volumes 776edc100def3747a1bb1c3105bd12b47440c6a43574d84aa81d1728a12505a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T08:03:04.573Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T08:03:04.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T08:03:04.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-4543 does not seem to be running inside a container [2023-08-25T08:03:04.830Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T08:03:06.207Z] $ docker top e8c0c1ab944b46a1d0a7a74455647261f2132ac6131e68b493bb5a4556459d35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T08:03:07.032Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-08-25T08:03:07.683Z] + make test [2023-08-25T08:03:07.683Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T08:03:46.593Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-25T08:05:53.286Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-25T08:05:56.636Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 32.2% of statements [2023-08-25T08:05:57.597Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T08:05:57.597Z] go vet ./... [2023-08-25T08:06:29.821Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T08:06:29.821Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T08:06:29.821Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T08:06:29.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T08:06:29.861Z] $ docker stop --time=1 e8c0c1ab944b46a1d0a7a74455647261f2132ac6131e68b493bb5a4556459d35 [2023-08-25T08:06:31.694Z] $ docker rm -f --volumes e8c0c1ab944b46a1d0a7a74455647261f2132ac6131e68b493bb5a4556459d35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T08:06:32.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T08:06:32.929Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T08:06:33.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T08:06:33.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T08:06:34.264Z] + ls -al . [2023-08-25T08:06:34.264Z] total 184 [2023-08-25T08:06:34.264Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:03 . [2023-08-25T08:06:34.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 08:00 .. [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 25 08:00 .dockerignore [2023-08-25T08:06:34.264Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 08:00 .git [2023-08-25T08:06:34.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 08:00 .github [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 08:00 .gitignore [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 08:00 .golangci.yml [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 10409 Aug 25 08:00 Attribution.txt [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 25 08:00 CHANGELOG.md [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 25 08:00 Dockerfile [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 08:00 GOVERNANCE.md [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 08:00 Jenkinsfile [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 08:00 LICENSE [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 25 08:00 Makefile [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 08:00 OWNERS.md [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 25 08:00 README.md [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:56 VERSION [2023-08-25T08:06:34.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 08:00 bin [2023-08-25T08:06:34.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 08:00 cmd [2023-08-25T08:06:34.264Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 25 08:05 coverage.out [2023-08-25T08:06:34.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 08:00 driver [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 3932 Aug 25 08:00 go.mod [2023-08-25T08:06:34.264Z] -rw-rw-r-- 1 jenkins jenkins 34255 Aug 25 08:00 go.sum [2023-08-25T08:06:34.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 08:00 snap [2023-08-25T08:06:34.265Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 25 08:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T08:06:34.616Z] + 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=e6b53d85869bf1ca26570050ac5b8a29ec522302 --label arch=arm64 --label version=0.0.0 . [2023-08-25T08:06:34.616Z] Sending build context to Docker daemon 159.2kB [2023-08-25T08:06:34.890Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T08:06:34.890Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T08:06:34.890Z] ---> f5594f036eed [2023-08-25T08:06:34.890Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T08:06:34.890Z] ---> Running in 5575bf2a9bc4 [2023-08-25T08:06:35.165Z] Removing intermediate container 5575bf2a9bc4 [2023-08-25T08:06:35.165Z] ---> 8442d2468329 [2023-08-25T08:06:35.165Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T08:06:35.440Z] ---> Running in ab932ee44697 [2023-08-25T08:06:35.707Z] Removing intermediate container ab932ee44697 [2023-08-25T08:06:35.707Z] ---> a8905d187ec2 [2023-08-25T08:06:35.707Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T08:06:35.707Z] ---> Running in 22053fc9d063 [2023-08-25T08:06:35.972Z] Removing intermediate container 22053fc9d063 [2023-08-25T08:06:35.972Z] ---> 3b5010904bf7 [2023-08-25T08:06:35.972Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T08:06:35.972Z] ---> Running in f1f50553073c [2023-08-25T08:06:36.240Z] Removing intermediate container f1f50553073c [2023-08-25T08:06:36.240Z] ---> de621dd3b320 [2023-08-25T08:06:36.240Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T08:06:36.515Z] ---> Running in 0ea77d011702 [2023-08-25T08:06:37.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T08:06:38.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T08:06:39.030Z] OK: 268 MiB in 57 packages [2023-08-25T08:06:39.998Z] Removing intermediate container 0ea77d011702 [2023-08-25T08:06:39.998Z] ---> 95f3996ec9f7 [2023-08-25T08:06:39.998Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-25T08:06:39.998Z] ---> Running in 1649484fb685 [2023-08-25T08:06:39.998Z] Removing intermediate container 1649484fb685 [2023-08-25T08:06:39.998Z] ---> 2c8f85bfb9e5 [2023-08-25T08:06:39.998Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-25T08:06:40.592Z] ---> 6076ff6ae864 [2023-08-25T08:06:40.592Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T08:06:40.592Z] ---> Running in 9ab8bc791642 [2023-08-25T08:06:43.948Z] Removing intermediate container 9ab8bc791642 [2023-08-25T08:06:43.948Z] ---> f19ad0b6980c [2023-08-25T08:06:43.948Z] Step 11/25 : COPY . . [2023-08-25T08:06:44.532Z] ---> f93c8830848d [2023-08-25T08:06:44.532Z] Step 12/25 : RUN $MAKE [2023-08-25T08:06:44.532Z] ---> Running in 5cc533e1e5e1 [2023-08-25T08:06:45.491Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-25T08:09:07.230Z] Removing intermediate container 5cc533e1e5e1 [2023-08-25T08:09:07.230Z] ---> e0120711c1a0 [2023-08-25T08:09:07.230Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T08:09:07.230Z] 3.17: Pulling from library/alpine [2023-08-25T08:09:07.230Z] 4060ece20d7a: Pulling fs layer [2023-08-25T08:09:07.230Z] 4060ece20d7a: Verifying Checksum [2023-08-25T08:09:07.230Z] 4060ece20d7a: Download complete [2023-08-25T08:09:07.230Z] 4060ece20d7a: Pull complete [2023-08-25T08:09:07.230Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T08:09:07.230Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T08:09:07.230Z] ---> 8650cd65339b [2023-08-25T08:09:07.230Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T08:09:07.495Z] ---> Running in d45ca42242b5 [2023-08-25T08:09:07.762Z] Removing intermediate container d45ca42242b5 [2023-08-25T08:09:07.762Z] ---> 1d087bdec3a4 [2023-08-25T08:09:07.762Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-25T08:09:07.762Z] ---> Running in fc463ed6612a [2023-08-25T08:09:08.029Z] Removing intermediate container fc463ed6612a [2023-08-25T08:09:08.029Z] ---> 0c5129702bc9 [2023-08-25T08:09:08.029Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-25T08:09:08.029Z] ---> Running in 647c5806d6d9 [2023-08-25T08:09:08.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T08:09:09.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T08:09:10.980Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T08:09:10.980Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T08:09:10.980Z] OK: 8 MiB in 16 packages [2023-08-25T08:09:12.382Z] Removing intermediate container 647c5806d6d9 [2023-08-25T08:09:12.382Z] ---> afe3c2edbf69 [2023-08-25T08:09:12.382Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-25T08:09:14.332Z] ---> 489afea39ebe [2023-08-25T08:09:14.332Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-25T08:09:14.332Z] ---> b25d16f25c11 [2023-08-25T08:09:14.332Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-25T08:09:14.917Z] ---> ab86372469e8 [2023-08-25T08:09:14.917Z] Step 20/25 : EXPOSE 59986 [2023-08-25T08:09:14.917Z] ---> Running in 637bcdf0fc9f [2023-08-25T08:09:15.196Z] Removing intermediate container 637bcdf0fc9f [2023-08-25T08:09:15.196Z] ---> 84fa5f449fe6 [2023-08-25T08:09:15.196Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-25T08:09:15.196Z] ---> Running in 42cb73e0cac0 [2023-08-25T08:09:15.468Z] Removing intermediate container 42cb73e0cac0 [2023-08-25T08:09:15.468Z] ---> 3a07bcaa76e4 [2023-08-25T08:09:15.468Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T08:09:15.737Z] ---> Running in e3f39a444128 [2023-08-25T08:09:16.005Z] Removing intermediate container e3f39a444128 [2023-08-25T08:09:16.005Z] ---> 2a7c2fcabd5b [2023-08-25T08:09:16.005Z] Step 23/25 : LABEL arch=arm64 [2023-08-25T08:09:16.005Z] ---> Running in c703e0d2eaa4 [2023-08-25T08:09:16.277Z] Removing intermediate container c703e0d2eaa4 [2023-08-25T08:09:16.277Z] ---> 9bb84a938c75 [2023-08-25T08:09:16.277Z] Step 24/25 : LABEL git_sha=e6b53d85869bf1ca26570050ac5b8a29ec522302 [2023-08-25T08:09:16.545Z] ---> Running in 0da3d984a22f [2023-08-25T08:09:16.815Z] Removing intermediate container 0da3d984a22f [2023-08-25T08:09:16.815Z] ---> bf32dd0e263b [2023-08-25T08:09:16.815Z] Step 25/25 : LABEL version=0.0.0 [2023-08-25T08:09:16.815Z] ---> Running in 32e268c169e9 [2023-08-25T08:09:17.083Z] Removing intermediate container 32e268c169e9 [2023-08-25T08:09:17.083Z] ---> be7ded1c0d07 [2023-08-25T08:09:17.083Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T08:09:17.083Z] Successfully built be7ded1c0d07 [2023-08-25T08:09:17.083Z] 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-08-25T08:09:17.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T08:09:17.523Z] [2023-08-25T08:09:17.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T08:09:17.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T08:09:17.862Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T08:09:17.862Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T08:09:17.862Z] 04944245beec: Pulling fs layer [2023-08-25T08:09:17.862Z] 699f458cf7ca: Pulling fs layer [2023-08-25T08:09:17.862Z] 765212b225bb: Pulling fs layer [2023-08-25T08:09:17.862Z] f23df028b6ca: Pulling fs layer [2023-08-25T08:09:17.862Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T08:09:17.862Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T08:09:17.862Z] 765212b225bb: Waiting [2023-08-25T08:09:17.862Z] f23df028b6ca: Waiting [2023-08-25T08:09:17.862Z] d65c8cfc05b1: Waiting [2023-08-25T08:09:17.862Z] 2437ff75d9bd: Waiting [2023-08-25T08:09:18.134Z] 04944245beec: Verifying Checksum [2023-08-25T08:09:18.134Z] 04944245beec: Download complete [2023-08-25T08:09:18.134Z] 765212b225bb: Verifying Checksum [2023-08-25T08:09:18.134Z] 765212b225bb: Download complete [2023-08-25T08:09:18.134Z] f23df028b6ca: Verifying Checksum [2023-08-25T08:09:18.134Z] f23df028b6ca: Download complete [2023-08-25T08:09:18.134Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T08:09:18.134Z] d65c8cfc05b1: Download complete [2023-08-25T08:09:18.134Z] 699f458cf7ca: Verifying Checksum [2023-08-25T08:09:18.134Z] 699f458cf7ca: Download complete [2023-08-25T08:09:18.728Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T08:09:18.728Z] 8998bd30e6a1: Download complete [2023-08-25T08:09:21.311Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T08:09:21.311Z] 2437ff75d9bd: Download complete [2023-08-25T08:09:22.722Z] 8998bd30e6a1: Pull complete [2023-08-25T08:09:23.307Z] 04944245beec: Pull complete [2023-08-25T08:09:24.715Z] 699f458cf7ca: Pull complete [2023-08-25T08:09:25.296Z] 765212b225bb: Pull complete [2023-08-25T08:09:25.883Z] f23df028b6ca: Pull complete [2023-08-25T08:09:26.157Z] d65c8cfc05b1: Pull complete [2023-08-25T08:09:41.147Z] 2437ff75d9bd: Pull complete [2023-08-25T08:09:41.147Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T08:09:41.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T08:09:41.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T08:09:41.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-4543 does not seem to be running inside a container [2023-08-25T08:09:41.395Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-25T08:09:43.844Z] $ docker top 753487f9817499a1509b138c3c8fcfd4e628a69d435222af4fb6244c52dfc12d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:44.327Z] ---> job-cost.sh [2023-08-25T08:09:44.592Z] lf-activate-venv: SKIPPING [2023-08-25T08:09:44.592Z] INFO: No Stack... [2023-08-25T08:09:45.173Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T08:09:45.754Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T08:09:46.390Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csvcut [2023-08-25T08:09:46.391Z] -d, -f6 [Pipeline] lock [2023-08-25T08:09:46.461Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] [2023-08-25T08:09:46.469Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] did not exist. Created. [2023-08-25T08:09:46.469Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T08:09:46.806Z] /w/workspace/device-rest-go/2@tmp/durable-f2b7ef81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T08:09:47.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T08:09:47.742Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T08:09:47.793Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T08:09:47.802Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-332-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T08:09:47.824Z] $ docker stop --time=1 753487f9817499a1509b138c3c8fcfd4e628a69d435222af4fb6244c52dfc12d [2023-08-25T08:09:49.298Z] $ docker rm -f --volumes 753487f9817499a1509b138c3c8fcfd4e628a69d435222af4fb6244c52dfc12d [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-08-25T08:09:49.677Z] provisioning config files... [2023-08-25T08:09:49.683Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config8605421417625923032tmp [Pipeline] { [Pipeline] sh [2023-08-25T08:09:49.970Z] + set +x [2023-08-25T08:09:49.970Z] + curl -s https://codecov.io/bash [2023-08-25T08:09:49.970Z] + bash -s -- [2023-08-25T08:09:49.970Z] [2023-08-25T08:09:49.970Z] _____ _ [2023-08-25T08:09:49.970Z] / ____| | | [2023-08-25T08:09:49.970Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T08:09:49.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T08:09:49.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T08:09:49.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T08:09:49.970Z] Bash-1.0.6 [2023-08-25T08:09:49.970Z] [2023-08-25T08:09:49.970Z] [2023-08-25T08:09:49.970Z] ==> git version 2.25.1 found [2023-08-25T08:09:49.970Z] ==> 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-08-25T08:09:49.970Z] Release-Date: 2020-01-08 [2023-08-25T08:09:49.970Z] 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-08-25T08:09:49.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T08:09:49.970Z] ==> Jenkins CI detected. [2023-08-25T08:09:49.971Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-332 [2023-08-25T08:09:49.971Z] project root: . [2023-08-25T08:09:49.971Z] --> token set from env [2023-08-25T08:09:49.971Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T08:09:49.971Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T08:09:49.971Z] ==> Python coveragepy not found [2023-08-25T08:09:49.971Z] ==> Searching for coverage reports in: [2023-08-25T08:09:49.971Z] + . [2023-08-25T08:09:49.971Z] -> Found 1 reports [2023-08-25T08:09:49.971Z] ==> Detecting git/mercurial file structure [2023-08-25T08:09:49.971Z] ==> Reading reports [2023-08-25T08:09:49.971Z] + ./coverage.out bytes=14656 [2023-08-25T08:09:49.971Z] ==> Appending adjustments [2023-08-25T08:09:49.971Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T08:09:50.230Z] + Found adjustments [2023-08-25T08:09:50.230Z] ==> Gzipping contents [2023-08-25T08:09:50.230Z] 4.0K /tmp/codecov.vvGpZq.gz [2023-08-25T08:09:50.230Z] ==> Uploading reports [2023-08-25T08:09:50.230Z] url: https://codecov.io [2023-08-25T08:09:50.230Z] query: branch=PR-332&commit=e6b53d85869bf1ca26570050ac5b8a29ec522302&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-332%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-08-25T08:09:50.230Z] -> Pinging Codecov [2023-08-25T08:09:50.230Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-332&commit=e6b53d85869bf1ca26570050ac5b8a29ec522302&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-332%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-08-25T08:09:50.230Z] -> Uploading to [2023-08-25T08:09:50.230Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/4E5D53B4F1F92C436F7061BF334D961C/e6b53d85869bf1ca26570050ac5b8a29ec522302/0342fcb3-f286-4513-a6af-c7777ac2cfbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T080950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac35b1489d8cbba5fbc84562cefe388b90045c771ea103b136f572d77085e3be [2023-08-25T08:09:50.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T08:09:50.230Z] Dload Upload Total Spent Left Speed [2023-08-25T08:09:50.489Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 13255 --:--:-- --:--:-- --:--:-- 13255 [2023-08-25T08:09:50.489Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e6b53d85869bf1ca26570050ac5b8a29ec522302 [Pipeline] } [2023-08-25T08:09:50.496Z] 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-08-25T08:09:51.248Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-332/archives ] [2023-08-25T08:09:51.248Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-332/archives [2023-08-25T08:09:51.248Z] total 16 [2023-08-25T08:09:51.248Z] drwxr-xr-x 3 root root 4096 Aug 25 07:58 . [2023-08-25T08:09:51.248Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:58 .. [2023-08-25T08:09:51.248Z] drwxr-xr-x 2 root root 4096 Aug 25 07:58 cost [2023-08-25T08:09:51.248Z] -rw-r--r-- 1 root root 86 Aug 25 07:58 cost.csv [2023-08-25T08:09:51.248Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-332/archives [2023-08-25T08:09:51.248Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-332/archives [2023-08-25T08:09:51.248Z] total 16 [2023-08-25T08:09:51.248Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:58 . [2023-08-25T08:09:51.248Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:58 .. [2023-08-25T08:09:51.248Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:58 cost [2023-08-25T08:09:51.248Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 25 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:51.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:52.392Z] ---> package-listing.sh [2023-08-25T08:09:52.392Z] ++ facter osfamily [2023-08-25T08:09:52.392Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T08:09:52.652Z] + OS_FAMILY=debian [2023-08-25T08:09:52.652Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-332 [2023-08-25T08:09:52.652Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T08:09:52.652Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T08:09:52.652Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T08:09:52.652Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T08:09:52.652Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-332 ']' [2023-08-25T08:09:52.652Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T08:09:52.652Z] + case "${OS_FAMILY}" in [2023-08-25T08:09:52.652Z] + dpkg -l [2023-08-25T08:09:52.652Z] + grep '^ii' [2023-08-25T08:09:52.652Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T08:09:52.652Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T08:09:52.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T08:09:52.652Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-332 ']' [2023-08-25T08:09:52.652Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-332/archives/ [2023-08-25T08:09:52.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-332/archives/ [Pipeline] echo [2023-08-25T08:09:52.663Z] 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T08:09:52.940Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T08:09:53.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T08:09:53.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T08:09:53.566Z] prd-ubuntu20.04-docker-8c-8g-4542 does not seem to be running inside a container [2023-08-25T08:09:53.601Z] $ 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-332/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-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T08:09:53.820Z] $ docker top 2a79bc2a7f2c18ddda8f6757f0074cfca7eaf89ba5515539c99c4992682fef46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T08:09:54.148Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T08:09:54.430Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T08:09:54.714Z] + ls /var/log/sa-host [2023-08-25T08:09:54.714Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T08:09:54.793Z] provisioning config files... [2023-08-25T08:09:54.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config13566781886778452108tmp [Pipeline] { [Pipeline] echo [2023-08-25T08:09:54.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:55.094Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T08:09:55.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:55.428Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T08:09:55.436Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:55.718Z] ---> sudo-logs.sh [2023-08-25T08:09:55.718Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T08:09:55.748Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:56.032Z] ---> job-cost.sh [2023-08-25T08:09:56.032Z] lf-activate-venv: SKIPPING [2023-08-25T08:09:56.032Z] DEBUG: total: 0.2199999988079071 [2023-08-25T08:09:56.032Z] INFO: Retrieving Stack Cost... [2023-08-25T08:09:56.290Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T08:09:56.857Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T08:09:56.867Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T08:09:57.149Z] ---> logs-deploy.sh [2023-08-25T08:09:57.149Z] lf-activate-venv: SKIPPING [2023-08-25T08:09:57.149Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-332/2 [2023-08-25T08:09:57.149Z] INFO: archiving workspace using pattern(s): [2023-08-25T08:09:58.087Z] Archives upload complete. [2023-08-25T08:09:58.087Z] INFO: archiving logs to Nexus [2023-08-25T08:09:58.654Z] ---> uname -a: [2023-08-25T08:09:58.654Z] Linux prd-ubuntu20-04-docker-8c-8g-4542 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-08-25T08:09:58.654Z] [2023-08-25T08:09:58.654Z]