Pull request #322 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b00035346f56b58fcb1c3fdb42ad9ae55625437f+38c1608d3c74a3eb2d9b4ab71433628bddf7df5d (3f5bc1a5c6d00ece358e7571d26ce2e373e97973) 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-ssh1569942760044732662.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9989345904915636098.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-322/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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10200301763730305893.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh2324496842363245881.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-322/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-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4699771433630725691.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-builder-2c-1g-16844’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-16845’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-16840’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16824’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16827’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16828’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16829’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16830’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16837’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16838’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16848’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16850’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16851’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16852’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16831’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16832’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16833’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16855 in /w/workspace/gexfoundry_device-rest-go_PR-322 [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-322 # 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 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit b00035346f56b58fcb1c3fdb42ad9ae55625437f Merge succeeded, producing b00035346f56b58fcb1c3fdb42ad9ae55625437f Checking out Revision b00035346f56b58fcb1c3fdb42ad9ae55625437f (PR-322) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. > 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/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # 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 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # timeout=10 > git rev-list --no-walk 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-25T00:14:36.947Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-25T00:14:37.019Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-25T00:14:37.042Z] ========================================================= [2023-05-25T00:14:37.042Z] EdgeX Global Pipelines Version Info [2023-05-25T00:14:37.042Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:14:37.758Z] ------------------- [2023-05-25T00:14:37.759Z] stable info: [2023-05-25T00:14:37.759Z] ------------------- [2023-05-25T00:14:37.759Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-25T00:14:37.759Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-25T00:14:37.759Z] Message: update stable to v1.0.249 [2023-05-25T00:14:38.329Z] ------------------- [2023-05-25T00:14:38.329Z] experimental info: [2023-05-25T00:14:38.329Z] ------------------- [2023-05-25T00:14:38.329Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-25T00:14:38.329Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-25T00:14:38.329Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-25T00:14:38.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-25T00:14:38.520Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-25T00:14:38.540Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-25T00:14:38.559Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-25T00:14:38.578Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-25T00:14:38.597Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-25T00:14:38.615Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-25T00:14:38.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-25T00:14:38.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-25T00:14:38.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-25T00:14:38.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-25T00:14:38.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-25T00:14:38.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-25T00:14:38.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-25T00:14:38.732Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-25T00:14:38.750Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-25T00:14:38.764Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-25T00:14:38.776Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-25T00:14:38.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-25T00:14:38.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-25T00:14:38.816Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-25T00:14:38.825Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-25T00:14:38.840Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-25T00:14:38.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-25T00:14:38.866Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-25T00:14:38.879Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-25T00:14:38.901Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-25T00:14:38.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo [2023-05-25T00:14:38.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo [2023-05-25T00:14:38.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo [2023-05-25T00:14:38.957Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo [2023-05-25T00:14:38.971Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b000353 [Pipeline] echo [2023-05-25T00:14:38.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:14:39.031Z] provisioning config files... [2023-05-25T00:14:39.042Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config1982255687610271856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:14:39.347Z] ---> docker-login.sh [2023-05-25T00:14:39.347Z] nexus3.edgexfoundry.org:10001 [2023-05-25T00:14:39.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:39.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:39.607Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:39.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:39.607Z] [2023-05-25T00:14:39.607Z] Login Succeeded [2023-05-25T00:14:39.607Z] nexus3.edgexfoundry.org:10002 [2023-05-25T00:14:39.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:39.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:39.608Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:39.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:39.608Z] [2023-05-25T00:14:39.608Z] Login Succeeded [2023-05-25T00:14:39.608Z] nexus3.edgexfoundry.org:10003 [2023-05-25T00:14:39.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:39.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:39.867Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:39.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:39.867Z] [2023-05-25T00:14:39.867Z] Login Succeeded [2023-05-25T00:14:39.867Z] nexus3.edgexfoundry.org:10004 [2023-05-25T00:14:39.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:39.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:39.867Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:39.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:39.867Z] [2023-05-25T00:14:39.867Z] Login Succeeded [2023-05-25T00:14:39.867Z] docker.io [2023-05-25T00:14:39.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:40.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:40.126Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:40.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:40.126Z] [2023-05-25T00:14:40.126Z] Login Succeeded [2023-05-25T00:14:40.126Z] ---> docker-login.sh ends [Pipeline] } [2023-05-25T00:14:40.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-25T00:14:40.501Z] + git rev-list -1 --merges b00035346f56b58fcb1c3fdb42ad9ae55625437f~1..b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo [2023-05-25T00:14:40.550Z] -----------> git rev-list -1 --merges b00035346f56b58fcb1c3fdb42ad9ae55625437f~1..b00035346f56b58fcb1c3fdb42ad9ae55625437f b00035346f56b58fcb1c3fdb42ad9ae55625437f [false] [Pipeline] sh [2023-05-25T00:14:40.837Z] + git log --format=format:%s -1 b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo [2023-05-25T00:14:40.872Z] ========================================================= [2023-05-25T00:14:40.872Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-25T00:14:40.872Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:14:41.187Z] + git log --format=format:%s -1 b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo [2023-05-25T00:14:41.199Z] [semverPrep] GIT_COMMIT: b00035346f56b58fcb1c3fdb42ad9ae55625437f, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo [2023-05-25T00:14:41.210Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-25T00:14:41.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-25T00:14:41.545Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-25T00:14:41.545Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-25T00:14:41.545Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-25T00:14:41.545Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-25T00:14:41.545Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-25T00:14:41.545Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:14:41.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-25T00:14:41.901Z] [2023-05-25T00:14:41.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:14:42.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-25T00:14:42.200Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-25T00:14:42.200Z] b85a868b505f: Pulling fs layer [2023-05-25T00:14:42.200Z] e2be974225ed: Pulling fs layer [2023-05-25T00:14:42.200Z] 339a4e72a1f5: Pulling fs layer [2023-05-25T00:14:42.200Z] 988bab9f4d93: Pulling fs layer [2023-05-25T00:14:42.200Z] 1469e6f7b9e6: Pulling fs layer [2023-05-25T00:14:42.200Z] eaf3925da568: Pulling fs layer [2023-05-25T00:14:42.200Z] bab4dde63d76: Pulling fs layer [2023-05-25T00:14:42.200Z] bde34c3a00c8: Pulling fs layer [2023-05-25T00:14:42.200Z] b352a97aabf1: Pulling fs layer [2023-05-25T00:14:42.200Z] 4872d77fe225: Pulling fs layer [2023-05-25T00:14:42.200Z] 5851b861e8e6: Pulling fs layer [2023-05-25T00:14:42.200Z] bab4dde63d76: Waiting [2023-05-25T00:14:42.200Z] bde34c3a00c8: Waiting [2023-05-25T00:14:42.200Z] 988bab9f4d93: Waiting [2023-05-25T00:14:42.200Z] 1469e6f7b9e6: Waiting [2023-05-25T00:14:42.200Z] b352a97aabf1: Waiting [2023-05-25T00:14:42.200Z] 5851b861e8e6: Waiting [2023-05-25T00:14:42.200Z] 4872d77fe225: Waiting [2023-05-25T00:14:42.200Z] e2be974225ed: Download complete [2023-05-25T00:14:42.200Z] 988bab9f4d93: Verifying Checksum [2023-05-25T00:14:42.200Z] 988bab9f4d93: Download complete [2023-05-25T00:14:42.200Z] 1469e6f7b9e6: Verifying Checksum [2023-05-25T00:14:42.200Z] 1469e6f7b9e6: Download complete [2023-05-25T00:14:42.200Z] 339a4e72a1f5: Verifying Checksum [2023-05-25T00:14:42.200Z] 339a4e72a1f5: Download complete [2023-05-25T00:14:42.200Z] eaf3925da568: Verifying Checksum [2023-05-25T00:14:42.200Z] eaf3925da568: Download complete [2023-05-25T00:14:42.460Z] bde34c3a00c8: Verifying Checksum [2023-05-25T00:14:42.460Z] bde34c3a00c8: Download complete [2023-05-25T00:14:42.460Z] b352a97aabf1: Verifying Checksum [2023-05-25T00:14:42.460Z] b352a97aabf1: Download complete [2023-05-25T00:14:42.460Z] 4872d77fe225: Verifying Checksum [2023-05-25T00:14:42.460Z] 4872d77fe225: Download complete [2023-05-25T00:14:42.460Z] 5851b861e8e6: Download complete [2023-05-25T00:14:42.460Z] b85a868b505f: Verifying Checksum [2023-05-25T00:14:42.460Z] b85a868b505f: Download complete [2023-05-25T00:14:42.719Z] bab4dde63d76: Verifying Checksum [2023-05-25T00:14:42.719Z] bab4dde63d76: Download complete [2023-05-25T00:14:43.654Z] b85a868b505f: Pull complete [2023-05-25T00:14:43.654Z] e2be974225ed: Pull complete [2023-05-25T00:14:44.223Z] 339a4e72a1f5: Pull complete [2023-05-25T00:14:44.223Z] 988bab9f4d93: Pull complete [2023-05-25T00:14:44.481Z] 1469e6f7b9e6: Pull complete [2023-05-25T00:14:44.481Z] eaf3925da568: Pull complete [2023-05-25T00:14:46.384Z] bab4dde63d76: Pull complete [2023-05-25T00:14:46.384Z] bde34c3a00c8: Pull complete [2023-05-25T00:14:46.384Z] b352a97aabf1: Pull complete [2023-05-25T00:14:46.384Z] 4872d77fe225: Pull complete [2023-05-25T00:14:46.384Z] 5851b861e8e6: Pull complete [2023-05-25T00:14:46.384Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-25T00:14:46.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-25T00:14:46.384Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:14:46.479Z] prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container [2023-05-25T00:14:46.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-25T00:14:49.647Z] $ docker top 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 -eo pid,comm [2023-05-25T00:14:49.693Z] 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-05-25T00:14:49.693Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-25T00:14:49.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-25T00:14:49.728Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-25T00:14:49.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-25T00:14:49.841Z] $ docker exec 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent [2023-05-25T00:14:49.949Z] SSH_AUTH_SOCK=/tmp/ssh-brcNXsPisWBc/agent.33 [2023-05-25T00:14:49.949Z] SSH_AGENT_PID=39 [2023-05-25T00:14:49.955Z] Running ssh-add (command line suppressed) [2023-05-25T00:14:50.055Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3708871962814801630.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3708871962814801630.key) [2023-05-25T00:14:50.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-25T00:14:50.352Z] + git tag --points-at HEAD [Pipeline] } [2023-05-25T00:14:50.365Z] $ docker exec --env ******** --env ******** 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent -k [2023-05-25T00:14:50.465Z] unset SSH_AUTH_SOCK; [2023-05-25T00:14:50.465Z] unset SSH_AGENT_PID; [2023-05-25T00:14:50.466Z] echo Agent pid 39 killed; [2023-05-25T00:14:50.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-25T00:14:50.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-25T00:14:50.498Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-25T00:14:50.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-25T00:14:50.603Z] $ docker exec 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent [2023-05-25T00:14:50.699Z] SSH_AUTH_SOCK=/tmp/ssh-ymKNiUoJT6hu/agent.71 [2023-05-25T00:14:50.699Z] SSH_AGENT_PID=77 [2023-05-25T00:14:50.704Z] Running ssh-add (command line suppressed) [2023-05-25T00:14:50.808Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3814738552367164234.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3814738552367164234.key) [2023-05-25T00:14:50.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-25T00:14:51.108Z] + git semver init [2023-05-25T00:14:51.366Z] 2023-05-25 00:14:51,281 [run_init] DEBUG init version:0.0.0 force:False [2023-05-25T00:14:51.366Z] 2023-05-25 00:14:51,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver [2023-05-25T00:14:51.366Z] 2023-05-25 00:14:51,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-322/.semver [2023-05-25T00:14:51.367Z] 2023-05-25 00:14:51,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-322/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322, universal_newlines=False, shell=None, istream=None) [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.git/info/exclude [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 with force:False [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,374 [execute] INFO git cat-file --batch-check [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,379 [execute] INFO git cat-file --batch [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2023-05-25T00:14:52.748Z] 2023-05-25 00:14:52,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 [2023-05-25T00:14:52.748Z] 0.0.0 [Pipeline] } [2023-05-25T00:14:52.759Z] $ docker exec --env ******** --env ******** 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent -k [2023-05-25T00:14:52.844Z] unset SSH_AUTH_SOCK; [2023-05-25T00:14:52.845Z] unset SSH_AGENT_PID; [2023-05-25T00:14:52.845Z] echo Agent pid 77 killed; [2023-05-25T00:14:52.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-25T00:14:53.155Z] + git semver [Pipeline] } [2023-05-25T00:14:53.432Z] $ docker stop --time=1 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 [2023-05-25T00:14:54.752Z] $ docker rm -f --volumes 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:14:55.082Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-25T00:14:55.291Z] Stashed 1 file(s) [Pipeline] echo [2023-05-25T00:14:55.295Z] [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-05-25T00:14:55.459Z] provisioning config files... [2023-05-25T00:14:55.468Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config16564815849771700487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:14:55.764Z] ---> docker-login.sh [2023-05-25T00:14:55.764Z] nexus3.edgexfoundry.org:10001 [2023-05-25T00:14:55.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:55.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:55.764Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:55.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:55.764Z] [2023-05-25T00:14:55.764Z] Login Succeeded [2023-05-25T00:14:55.764Z] nexus3.edgexfoundry.org:10002 [2023-05-25T00:14:55.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:55.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:55.764Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:55.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:55.764Z] [2023-05-25T00:14:55.764Z] Login Succeeded [2023-05-25T00:14:55.764Z] nexus3.edgexfoundry.org:10003 [2023-05-25T00:14:56.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:56.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:56.026Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:56.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:56.026Z] [2023-05-25T00:14:56.026Z] Login Succeeded [2023-05-25T00:14:56.026Z] nexus3.edgexfoundry.org:10004 [2023-05-25T00:14:56.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:56.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:56.026Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:56.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:56.026Z] [2023-05-25T00:14:56.026Z] Login Succeeded [2023-05-25T00:14:56.026Z] docker.io [2023-05-25T00:14:56.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:14:56.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:14:56.284Z] Configure a credential helper to remove this warning. See [2023-05-25T00:14:56.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:14:56.284Z] [2023-05-25T00:14:56.284Z] Login Succeeded [2023-05-25T00:14:56.284Z] ---> docker-login.sh ends [Pipeline] } [2023-05-25T00:14:56.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-25T00:14:56.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:14:56.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:14:56.377Z] ========================================================= [2023-05-25T00:14:56.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-25T00:14:56.377Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:14:56.712Z] + 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-05-25T00:14:56.712Z] Sending build context to Docker daemon 10.94MB [2023-05-25T00:14:56.712Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:14:56.712Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-25T00:14:56.712Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-25T00:14:56.712Z] f56be85fc22e: Pulling fs layer [2023-05-25T00:14:56.712Z] 85791d961cd3: Pulling fs layer [2023-05-25T00:14:56.712Z] d694b5ae8c79: Pulling fs layer [2023-05-25T00:14:56.712Z] 9f32a84ed3da: Pulling fs layer [2023-05-25T00:14:56.712Z] 4d19c01a9841: Pulling fs layer [2023-05-25T00:14:56.712Z] 9325e15d5711: Pulling fs layer [2023-05-25T00:14:56.712Z] 556b6ee489ea: Pulling fs layer [2023-05-25T00:14:56.712Z] c5a4b2cf53e6: Pulling fs layer [2023-05-25T00:14:56.712Z] 9f32a84ed3da: Waiting [2023-05-25T00:14:56.712Z] 556b6ee489ea: Waiting [2023-05-25T00:14:56.712Z] 4d19c01a9841: Waiting [2023-05-25T00:14:56.712Z] 9325e15d5711: Waiting [2023-05-25T00:14:56.712Z] c5a4b2cf53e6: Waiting [2023-05-25T00:14:56.712Z] 85791d961cd3: Verifying Checksum [2023-05-25T00:14:56.712Z] 85791d961cd3: Download complete [2023-05-25T00:14:56.712Z] 9f32a84ed3da: Verifying Checksum [2023-05-25T00:14:56.712Z] 9f32a84ed3da: Download complete [2023-05-25T00:14:56.712Z] 4d19c01a9841: Verifying Checksum [2023-05-25T00:14:56.712Z] 4d19c01a9841: Download complete [2023-05-25T00:14:56.972Z] f56be85fc22e: Download complete [2023-05-25T00:14:56.972Z] 9325e15d5711: Verifying Checksum [2023-05-25T00:14:56.972Z] 9325e15d5711: Download complete [2023-05-25T00:14:56.972Z] f56be85fc22e: Pull complete [2023-05-25T00:14:57.232Z] 85791d961cd3: Pull complete [2023-05-25T00:14:57.493Z] c5a4b2cf53e6: Verifying Checksum [2023-05-25T00:14:57.493Z] c5a4b2cf53e6: Download complete [2023-05-25T00:14:57.493Z] d694b5ae8c79: Verifying Checksum [2023-05-25T00:14:57.493Z] d694b5ae8c79: Download complete [2023-05-25T00:14:57.777Z] 556b6ee489ea: Verifying Checksum [2023-05-25T00:14:57.777Z] 556b6ee489ea: Download complete [2023-05-25T00:15:01.061Z] d694b5ae8c79: Pull complete [2023-05-25T00:15:01.061Z] 9f32a84ed3da: Pull complete [2023-05-25T00:15:01.061Z] 4d19c01a9841: Pull complete [2023-05-25T00:15:01.061Z] 9325e15d5711: Pull complete [2023-05-25T00:15:02.986Z] 556b6ee489ea: Pull complete [2023-05-25T00:15:03.918Z] c5a4b2cf53e6: Pull complete [2023-05-25T00:15:03.918Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-25T00:15:03.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-25T00:15:03.919Z] ---> c4be618373d6 [2023-05-25T00:15:03.919Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:15:10.405Z] Still waiting to schedule task [2023-05-25T00:15:10.405Z] ‘prd-centos7-builder-2c-1g-16844’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-centos7-docker-4c-2g-16845’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu18.04-docker-8c-8g-16840’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16824’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16827’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16828’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16829’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16830’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16837’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16838’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16848’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16850’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16851’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16852’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16856’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.405Z] ‘prd-ubuntu20.04-docker-8c-8g-16857’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16831’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16832’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16833’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16842’ is offline [2023-05-25T00:15:10.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16854’ is offline [2023-05-25T00:15:10.486Z] ---> Running in 47d4d087f1e1 [2023-05-25T00:15:10.486Z] Removing intermediate container 47d4d087f1e1 [2023-05-25T00:15:10.486Z] ---> 3a40f0276bd7 [2023-05-25T00:15:10.486Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:15:10.486Z] ---> Running in f51ea5e850fb [2023-05-25T00:15:10.486Z] Removing intermediate container f51ea5e850fb [2023-05-25T00:15:10.486Z] ---> b4b43fa6b8f6 [2023-05-25T00:15:10.486Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:15:10.486Z] ---> Running in b05250504ac9 [2023-05-25T00:15:10.486Z] Removing intermediate container b05250504ac9 [2023-05-25T00:15:10.486Z] ---> aa83b0fc985d [2023-05-25T00:15:10.486Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:15:10.486Z] ---> Running in bb72a80a47d5 [2023-05-25T00:15:10.749Z] Removing intermediate container bb72a80a47d5 [2023-05-25T00:15:10.749Z] ---> 2cca08a9047e [2023-05-25T00:15:10.749Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:15:10.749Z] ---> Running in 99d92d9834f0 [2023-05-25T00:15:11.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-25T00:15:11.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-25T00:15:11.267Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-25T00:15:11.267Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-25T00:15:11.267Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-25T00:15:11.267Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-25T00:15:11.267Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:15:11.267Z] OK: 269 MiB in 57 packages [2023-05-25T00:15:11.837Z] Removing intermediate container 99d92d9834f0 [2023-05-25T00:15:11.837Z] ---> ba7fa912cac8 [2023-05-25T00:15:11.837Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-25T00:15:11.837Z] ---> Running in 7c30bfe032dd [2023-05-25T00:15:11.837Z] Removing intermediate container 7c30bfe032dd [2023-05-25T00:15:11.837Z] ---> ee933cd20874 [2023-05-25T00:15:11.837Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-25T00:15:12.095Z] ---> 705ada18ddc8 [2023-05-25T00:15:12.095Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:15:12.095Z] ---> Running in e13468e20dcc [2023-05-25T00:15:44.173Z] Removing intermediate container e13468e20dcc [2023-05-25T00:15:44.173Z] ---> 0cde6f4b7f17 [2023-05-25T00:15:44.173Z] Step 11/12 : COPY . . [2023-05-25T00:15:44.173Z] ---> b2759f12d214 [2023-05-25T00:15:44.173Z] Step 12/12 : RUN $MAKE [2023-05-25T00:15:44.173Z] ---> Running in c8e39f132b5e [2023-05-25T00:15:44.173Z] noop [2023-05-25T00:15:44.173Z] Removing intermediate container c8e39f132b5e [2023-05-25T00:15:44.173Z] ---> 107425fb6cde [2023-05-25T00:15:44.173Z] Successfully built 107425fb6cde [2023-05-25T00:15:44.173Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:15:44.480Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-25T00:15:44.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:15:44.545Z] prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container [2023-05-25T00:15:44.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-25T00:15:44.886Z] $ docker top 074bda7eef15aef8af6fe5667af1941bd621cbc0d89b0dbe18341b14d4c96c67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:15:45.230Z] + go version [2023-05-25T00:15:45.230Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-25T00:15:45.240Z] $ docker stop --time=1 074bda7eef15aef8af6fe5667af1941bd621cbc0d89b0dbe18341b14d4c96c67 [2023-05-25T00:15:46.549Z] $ docker rm -f --volumes 074bda7eef15aef8af6fe5667af1941bd621cbc0d89b0dbe18341b14d4c96c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:15:46.960Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-25T00:15:46.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:15:47.035Z] prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container [2023-05-25T00:15:47.080Z] $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-25T00:15:47.393Z] $ docker top bd467590ef8042748aa26002488836c5cc1b3ab6b59265494c4a9c16078b91f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:15:47.744Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] fileExists [Pipeline] sh [2023-05-25T00:15:48.044Z] + make test [2023-05-25T00:15:48.044Z] go test ./... -coverprofile=coverage.out ./... [2023-05-25T00:15:52.229Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-25T00:16:02.198Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-25T00:16:02.198Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-25T00:16:06.524Z] go vet ./... [2023-05-25T00:16:09.805Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-25T00:16:09.805Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-25T00:16:09.805Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-25T00:16:09.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-25T00:16:09.832Z] $ docker stop --time=1 bd467590ef8042748aa26002488836c5cc1b3ab6b59265494c4a9c16078b91f9 [2023-05-25T00:16:14.079Z] $ docker rm -f --volumes bd467590ef8042748aa26002488836c5cc1b3ab6b59265494c4a9c16078b91f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:16:14.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-25T00:16:14.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-25T00:16:15.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-25T00:16:15.289Z] + ls -al . [2023-05-25T00:16:15.289Z] total 184 [2023-05-25T00:16:15.289Z] drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:15 . [2023-05-25T00:16:15.289Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:14 .. [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:14 .dockerignore [2023-05-25T00:16:15.289Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:14 .git [2023-05-25T00:16:15.289Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:14 .github [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:14 .gitignore [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:14 .golangci.yml [2023-05-25T00:16:15.289Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:14 .semver [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:14 Attribution.txt [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:14 CHANGELOG.md [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:14 Dockerfile [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:14 GOVERNANCE.md [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:14 Jenkinsfile [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:14 LICENSE [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:14 Makefile [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:14 OWNERS.md [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:14 README.md [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:14 VERSION [2023-05-25T00:16:15.289Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:14 bin [2023-05-25T00:16:15.289Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:14 cmd [2023-05-25T00:16:15.289Z] -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:16 coverage.out [2023-05-25T00:16:15.289Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:14 driver [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:14 go.mod [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 31322 May 25 00:14 go.sum [2023-05-25T00:16:15.289Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:14 snap [2023-05-25T00:16:15.289Z] -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:16:15.593Z] + 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=b00035346f56b58fcb1c3fdb42ad9ae55625437f --label arch=amd64 --label version=0.0.0 . [2023-05-25T00:16:15.594Z] Sending build context to Docker daemon 10.95MB [2023-05-25T00:16:15.594Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:16:15.594Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-25T00:16:15.594Z] ---> 107425fb6cde [2023-05-25T00:16:15.594Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:16:15.853Z] ---> Running in 877bf7c1a318 [2023-05-25T00:16:15.853Z] Removing intermediate container 877bf7c1a318 [2023-05-25T00:16:15.853Z] ---> dc4b5cf611fb [2023-05-25T00:16:15.853Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:16:15.853Z] ---> Running in af84cc15d66c [2023-05-25T00:16:15.853Z] Removing intermediate container af84cc15d66c [2023-05-25T00:16:15.853Z] ---> 2a23a556ded3 [2023-05-25T00:16:15.853Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:16:15.853Z] ---> Running in e045b532bb86 [2023-05-25T00:16:16.111Z] Removing intermediate container e045b532bb86 [2023-05-25T00:16:16.111Z] ---> a99e22b3cc41 [2023-05-25T00:16:16.111Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:16:16.111Z] ---> Running in 55d17d723db9 [2023-05-25T00:16:16.111Z] Removing intermediate container 55d17d723db9 [2023-05-25T00:16:16.111Z] ---> 0c42ed609913 [2023-05-25T00:16:16.111Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:16:16.111Z] ---> Running in 3a16db2827c0 [2023-05-25T00:16:16.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-25T00:16:16.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-25T00:16:16.629Z] OK: 269 MiB in 57 packages [2023-05-25T00:16:16.887Z] Removing intermediate container 3a16db2827c0 [2023-05-25T00:16:16.887Z] ---> 8037996e5537 [2023-05-25T00:16:16.887Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-25T00:16:16.887Z] ---> Running in c2587499f333 [2023-05-25T00:16:17.145Z] Removing intermediate container c2587499f333 [2023-05-25T00:16:17.145Z] ---> 620a759b4b7a [2023-05-25T00:16:17.145Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-25T00:16:17.145Z] ---> 415d21ba8f46 [2023-05-25T00:16:17.145Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:16:17.145Z] ---> Running in cd7dfbb26b18 [2023-05-25T00:16:17.730Z] Removing intermediate container cd7dfbb26b18 [2023-05-25T00:16:17.730Z] ---> ee9016eed797 [2023-05-25T00:16:17.730Z] Step 11/25 : COPY . . [2023-05-25T00:16:18.330Z] ---> a71e5d728309 [2023-05-25T00:16:18.330Z] Step 12/25 : RUN $MAKE [2023-05-25T00:16:18.330Z] ---> Running in cc8293d45473 [2023-05-25T00:16:18.897Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-25T00:16:40.824Z] Removing intermediate container cc8293d45473 [2023-05-25T00:16:40.824Z] ---> 698700ad3c04 [2023-05-25T00:16:40.824Z] Step 13/25 : FROM alpine:3.17 [2023-05-25T00:16:40.824Z] 3.17: Pulling from library/alpine [2023-05-25T00:16:40.824Z] f56be85fc22e: Already exists [2023-05-25T00:16:40.824Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-25T00:16:40.824Z] Status: Downloaded newer image for alpine:3.17 [2023-05-25T00:16:40.824Z] ---> 9ed4aefc74f6 [2023-05-25T00:16:40.824Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-25T00:16:40.824Z] ---> Running in 0e8c1290c380 [2023-05-25T00:16:40.824Z] Removing intermediate container 0e8c1290c380 [2023-05-25T00:16:40.824Z] ---> 9d17f2d558c9 [2023-05-25T00:16:40.824Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-25T00:16:40.824Z] ---> Running in 98002911d247 [2023-05-25T00:16:40.824Z] Removing intermediate container 98002911d247 [2023-05-25T00:16:40.824Z] ---> da4cff9de10f [2023-05-25T00:16:40.824Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-25T00:16:40.824Z] ---> Running in bcbca0b19dcb [2023-05-25T00:16:40.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-25T00:16:40.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-25T00:16:40.824Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-25T00:16:40.824Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:16:40.824Z] OK: 7 MiB in 16 packages [2023-05-25T00:16:40.824Z] Removing intermediate container bcbca0b19dcb [2023-05-25T00:16:40.824Z] ---> 3dbddc9668eb [2023-05-25T00:16:40.824Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-25T00:16:40.824Z] ---> aff441ba387d [2023-05-25T00:16:40.824Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-25T00:16:40.824Z] ---> 0e6b0b3ea08e [2023-05-25T00:16:40.824Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-25T00:16:41.082Z] ---> b1cac3215e05 [2023-05-25T00:16:41.082Z] Step 20/25 : EXPOSE 59986 [2023-05-25T00:16:41.082Z] ---> Running in d766a6ad039f [2023-05-25T00:16:41.082Z] Removing intermediate container d766a6ad039f [2023-05-25T00:16:41.082Z] ---> 4ff5ae3d8fec [2023-05-25T00:16:41.082Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-25T00:16:41.082Z] ---> Running in 967d24ed107e [2023-05-25T00:16:41.082Z] Removing intermediate container 967d24ed107e [2023-05-25T00:16:41.082Z] ---> 04fd18c89ba2 [2023-05-25T00:16:41.082Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-25T00:16:41.082Z] ---> Running in 5d27d16f1964 [2023-05-25T00:16:41.341Z] Removing intermediate container 5d27d16f1964 [2023-05-25T00:16:41.341Z] ---> 2f1438e54ff7 [2023-05-25T00:16:41.341Z] Step 23/25 : LABEL arch=amd64 [2023-05-25T00:16:41.341Z] ---> Running in 949a2be57c52 [2023-05-25T00:16:41.341Z] Removing intermediate container 949a2be57c52 [2023-05-25T00:16:41.341Z] ---> a2276ddcbf4c [2023-05-25T00:16:41.341Z] Step 24/25 : LABEL git_sha=b00035346f56b58fcb1c3fdb42ad9ae55625437f [2023-05-25T00:16:41.341Z] ---> Running in 049ffcfffada [2023-05-25T00:16:41.341Z] Removing intermediate container 049ffcfffada [2023-05-25T00:16:41.341Z] ---> 0789e7a6d51a [2023-05-25T00:16:41.341Z] Step 25/25 : LABEL version=0.0.0 [2023-05-25T00:16:41.341Z] ---> Running in 5d4fa76abfaa [2023-05-25T00:16:41.600Z] Removing intermediate container 5d4fa76abfaa [2023-05-25T00:16:41.600Z] ---> 45005b9d4565 [2023-05-25T00:16:41.600Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-25T00:16:41.600Z] Successfully built 45005b9d4565 [2023-05-25T00:16:41.600Z] 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-05-25T00:16:42.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:16:42.056Z] [2023-05-25T00:16:42.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:16:42.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:16:42.356Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-25T00:16:42.356Z] 5eb5b503b376: Pulling fs layer [2023-05-25T00:16:42.356Z] 5c69ac0246d0: Pulling fs layer [2023-05-25T00:16:42.356Z] ec43610c2a17: Pulling fs layer [2023-05-25T00:16:42.356Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-25T00:16:42.356Z] 33b1e0a273af: Pulling fs layer [2023-05-25T00:16:42.356Z] 5d3b04190fa2: Pulling fs layer [2023-05-25T00:16:42.356Z] 2f39f015ded8: Pulling fs layer [2023-05-25T00:16:42.356Z] 33b1e0a273af: Waiting [2023-05-25T00:16:42.356Z] 5d3b04190fa2: Waiting [2023-05-25T00:16:42.356Z] 2f39f015ded8: Waiting [2023-05-25T00:16:42.356Z] 3a2ae6a8a46f: Waiting [2023-05-25T00:16:42.356Z] 5c69ac0246d0: Download complete [2023-05-25T00:16:42.356Z] 3a2ae6a8a46f: Download complete [2023-05-25T00:16:42.356Z] 33b1e0a273af: Verifying Checksum [2023-05-25T00:16:42.356Z] 33b1e0a273af: Download complete [2023-05-25T00:16:42.356Z] 5d3b04190fa2: Verifying Checksum [2023-05-25T00:16:42.356Z] 5d3b04190fa2: Download complete [2023-05-25T00:16:42.616Z] ec43610c2a17: Verifying Checksum [2023-05-25T00:16:42.616Z] ec43610c2a17: Download complete [2023-05-25T00:16:42.616Z] 5eb5b503b376: Verifying Checksum [2023-05-25T00:16:42.616Z] 5eb5b503b376: Download complete [2023-05-25T00:16:43.182Z] 2f39f015ded8: Download complete [2023-05-25T00:16:43.748Z] 5eb5b503b376: Pull complete [2023-05-25T00:16:43.748Z] 5c69ac0246d0: Pull complete [2023-05-25T00:16:44.312Z] ec43610c2a17: Pull complete [2023-05-25T00:16:44.312Z] 3a2ae6a8a46f: Pull complete [2023-05-25T00:16:44.570Z] 33b1e0a273af: Pull complete [2023-05-25T00:16:44.570Z] 5d3b04190fa2: Pull complete [2023-05-25T00:16:48.751Z] 2f39f015ded8: Pull complete [2023-05-25T00:16:48.751Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-25T00:16:48.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:16:48.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:16:48.832Z] prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container [2023-05-25T00:16:48.862Z] $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-25T00:16:54.018Z] $ docker top 0f76fc506ed55f44906e2cdad44ebc958b4fbfe37ec665ed8de80727e28ed068 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:16:54.391Z] ---> job-cost.sh [2023-05-25T00:16:54.391Z] lf-activate-venv: SKIPPING [2023-05-25T00:16:54.391Z] INFO: No Stack... [2023-05-25T00:16:54.965Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-25T00:16:55.223Z] INFO: Archiving Costs [Pipeline] sh [2023-05-25T00:16:55.512Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-322/archives/cost.csv [2023-05-25T00:16:55.512Z] + cut -d, -f6 [Pipeline] lock [2023-05-25T00:16:55.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [2023-05-25T00:16:55.530Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] did not exist. Created. [2023-05-25T00:16:55.530Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-25T00:16:55.841Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-25T00:16:55.863Z] Stashed 1 file(s) [Pipeline] } [2023-05-25T00:16:55.869Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-25T00:16:55.883Z] $ docker stop --time=1 0f76fc506ed55f44906e2cdad44ebc958b4fbfe37ec665ed8de80727e28ed068 [2023-05-25T00:16:57.023Z] $ docker rm -f --volumes 0f76fc506ed55f44906e2cdad44ebc958b4fbfe37ec665ed8de80727e28ed068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-25T00:17:47.758Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16872 in /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] { [Pipeline] ws [2023-05-25T00:17:47.768Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2023-05-25T00:17:47.810Z] The recommended git tool is: git [2023-05-25T00:17:54.922Z] using credential edgex-jenkins-ssh [2023-05-25T00:17:54.960Z] Cloning the remote Git repository [2023-05-25T00:17:55.020Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-25T00:17:55.159Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2023-05-25T00:17:55.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-25T00:17:55.384Z] > git --version # timeout=10 [2023-05-25T00:17:55.411Z] > git --version # 'git version 2.25.1' [2023-05-25T00:17:55.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-25T00:17:55.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-25T00:17:57.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-25T00:17:57.718Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-25T00:17:59.594Z] Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit b00035346f56b58fcb1c3fdb42ad9ae55625437f [2023-05-25T00:17:58.954Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-25T00:17:59.010Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-25T00:17:59.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-25T00:17:59.033Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-25T00:17:59.619Z] > git config core.sparsecheckout # timeout=10 [2023-05-25T00:17:59.971Z] Merge succeeded, producing b00035346f56b58fcb1c3fdb42ad9ae55625437f [2023-05-25T00:17:59.972Z] Checking out Revision b00035346f56b58fcb1c3fdb42ad9ae55625437f (PR-322) [2023-05-25T00:18:00.690Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:17:59.712Z] > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # timeout=10 [2023-05-25T00:17:59.819Z] > git remote # timeout=10 [2023-05-25T00:17:59.848Z] > git config --get remote.origin.url # timeout=10 [2023-05-25T00:17:59.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-25T00:17:59.901Z] > git merge 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 [2023-05-25T00:17:59.943Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-25T00:17:59.983Z] > git config core.sparsecheckout # timeout=10 [2023-05-25T00:18:00.012Z] > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # timeout=10 [2023-05-25T00:18:01.648Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-25T00:18:01.649Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-25T00:18:01.649Z] Dload Upload Total Spent Left Speed [2023-05-25T00:18:01.649Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh [2023-05-25T00:18:02.518Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-25T00:18:02.874Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-25T00:18:02.875Z] + sudo tee /etc/docker/daemon.new [2023-05-25T00:18:02.875Z] { [2023-05-25T00:18:02.875Z] "registry-mirrors": [ [2023-05-25T00:18:02.875Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-25T00:18:02.875Z] ], [2023-05-25T00:18:02.875Z] "bip": "10.250.0.254/24", [2023-05-25T00:18:02.875Z] "hosts": [ [2023-05-25T00:18:02.875Z] "tcp://0.0.0.0:5555", [2023-05-25T00:18:02.875Z] "unix:///var/run/docker.sock" [2023-05-25T00:18:02.875Z] ], [2023-05-25T00:18:02.875Z] "mtu": 1458, [2023-05-25T00:18:02.875Z] "selinux-enabled": true, [2023-05-25T00:18:02.875Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-25T00:18:02.875Z] } [Pipeline] sh [2023-05-25T00:18:03.229Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-25T00:18:03.576Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:18:21.915Z] provisioning config files... [2023-05-25T00:18:21.953Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config11498208858895750606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:18:22.343Z] ---> docker-login.sh [2023-05-25T00:18:22.343Z] nexus3.edgexfoundry.org:10001 [2023-05-25T00:18:23.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:18:23.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:18:23.335Z] Configure a credential helper to remove this warning. See [2023-05-25T00:18:23.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:18:23.335Z] [2023-05-25T00:18:23.335Z] Login Succeeded [2023-05-25T00:18:23.335Z] nexus3.edgexfoundry.org:10002 [2023-05-25T00:18:23.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:18:23.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:18:23.884Z] Configure a credential helper to remove this warning. See [2023-05-25T00:18:23.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:18:23.884Z] [2023-05-25T00:18:23.884Z] Login Succeeded [2023-05-25T00:18:23.884Z] nexus3.edgexfoundry.org:10003 [2023-05-25T00:18:24.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:18:24.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:18:24.157Z] Configure a credential helper to remove this warning. See [2023-05-25T00:18:24.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:18:24.157Z] [2023-05-25T00:18:24.157Z] Login Succeeded [2023-05-25T00:18:24.157Z] nexus3.edgexfoundry.org:10004 [2023-05-25T00:18:24.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:18:24.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:18:24.727Z] Configure a credential helper to remove this warning. See [2023-05-25T00:18:24.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:18:24.727Z] [2023-05-25T00:18:24.727Z] Login Succeeded [2023-05-25T00:18:24.727Z] docker.io [2023-05-25T00:18:25.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:18:25.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:18:25.272Z] Configure a credential helper to remove this warning. See [2023-05-25T00:18:25.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:18:25.272Z] [2023-05-25T00:18:25.272Z] Login Succeeded [2023-05-25T00:18:25.555Z] ---> docker-login.sh ends [Pipeline] } [2023-05-25T00:18:25.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-25T00:18:26.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:18:26.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:18:26.232Z] ========================================================= [2023-05-25T00:18:26.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-25T00:18:26.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:18:26.621Z] + 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-05-25T00:18:26.621Z] Sending build context to Docker daemon 139.3kB [2023-05-25T00:18:26.910Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:18:26.910Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-25T00:18:27.199Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-25T00:18:27.199Z] c41833b44d91: Pulling fs layer [2023-05-25T00:18:27.199Z] ed15518f5707: Pulling fs layer [2023-05-25T00:18:27.199Z] feae8fd75edb: Pulling fs layer [2023-05-25T00:18:27.199Z] 242c74f7c9fa: Pulling fs layer [2023-05-25T00:18:27.199Z] 3cdef696dda3: Pulling fs layer [2023-05-25T00:18:27.199Z] 2ced38df9373: Pulling fs layer [2023-05-25T00:18:27.199Z] 58f1dce35555: Pulling fs layer [2023-05-25T00:18:27.199Z] 242c74f7c9fa: Waiting [2023-05-25T00:18:27.199Z] 3cdef696dda3: Waiting [2023-05-25T00:18:27.199Z] 2ced38df9373: Waiting [2023-05-25T00:18:27.199Z] 58f1dce35555: Waiting [2023-05-25T00:18:27.199Z] ed15518f5707: Download complete [2023-05-25T00:18:27.199Z] 242c74f7c9fa: Verifying Checksum [2023-05-25T00:18:27.199Z] 242c74f7c9fa: Download complete [2023-05-25T00:18:27.199Z] 3cdef696dda3: Verifying Checksum [2023-05-25T00:18:27.199Z] 3cdef696dda3: Download complete [2023-05-25T00:18:27.199Z] c41833b44d91: Verifying Checksum [2023-05-25T00:18:28.202Z] c41833b44d91: Pull complete [2023-05-25T00:18:29.204Z] ed15518f5707: Pull complete [2023-05-25T00:18:29.477Z] 58f1dce35555: Verifying Checksum [2023-05-25T00:18:29.477Z] 58f1dce35555: Download complete [2023-05-25T00:18:30.465Z] feae8fd75edb: Verifying Checksum [2023-05-25T00:18:30.465Z] feae8fd75edb: Download complete [2023-05-25T00:18:30.465Z] 2ced38df9373: Verifying Checksum [2023-05-25T00:18:30.465Z] 2ced38df9373: Download complete [2023-05-25T00:18:43.004Z] feae8fd75edb: Pull complete [2023-05-25T00:18:43.004Z] 242c74f7c9fa: Pull complete [2023-05-25T00:18:43.004Z] 3cdef696dda3: Pull complete [2023-05-25T00:18:51.301Z] 2ced38df9373: Pull complete [2023-05-25T00:18:52.746Z] 58f1dce35555: Pull complete [2023-05-25T00:18:52.746Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-25T00:18:52.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-25T00:18:52.746Z] ---> fadd8f120f05 [2023-05-25T00:18:52.746Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:18:54.194Z] ---> Running in 24301970f814 [2023-05-25T00:18:54.472Z] Removing intermediate container 24301970f814 [2023-05-25T00:18:54.472Z] ---> b72994a5aaf4 [2023-05-25T00:18:54.472Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:18:54.755Z] ---> Running in 9a672f73d634 [2023-05-25T00:18:55.359Z] Removing intermediate container 9a672f73d634 [2023-05-25T00:18:55.359Z] ---> 06c1def215b7 [2023-05-25T00:18:55.359Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:18:55.359Z] ---> Running in 9f37810266e5 [2023-05-25T00:18:55.961Z] Removing intermediate container 9f37810266e5 [2023-05-25T00:18:55.961Z] ---> 9b2a546fac7e [2023-05-25T00:18:55.961Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:18:55.961Z] ---> Running in 1bccd3fcf44f [2023-05-25T00:18:56.234Z] Removing intermediate container 1bccd3fcf44f [2023-05-25T00:18:56.234Z] ---> 78d1401de7d8 [2023-05-25T00:18:56.234Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:18:56.509Z] ---> Running in 56c01db549dc [2023-05-25T00:18:57.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:18:58.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:18:59.989Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-25T00:18:59.989Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-25T00:18:59.989Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-25T00:18:59.989Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-25T00:18:59.989Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:18:59.989Z] OK: 268 MiB in 57 packages [2023-05-25T00:19:01.436Z] Removing intermediate container 56c01db549dc [2023-05-25T00:19:01.436Z] ---> f8c97f2ce236 [2023-05-25T00:19:01.436Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-25T00:19:01.436Z] ---> Running in 9b8a96e41bcf [2023-05-25T00:19:01.711Z] Removing intermediate container 9b8a96e41bcf [2023-05-25T00:19:01.711Z] ---> 453192897e84 [2023-05-25T00:19:01.711Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-25T00:19:02.324Z] ---> fe6a9a52ebbf [2023-05-25T00:19:02.324Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:19:02.324Z] ---> Running in abad8d63a80a [2023-05-25T00:20:24.142Z] Removing intermediate container abad8d63a80a [2023-05-25T00:20:24.142Z] ---> 648ea5d12333 [2023-05-25T00:20:24.142Z] Step 11/12 : COPY . . [2023-05-25T00:20:24.142Z] ---> 0443b8e6b3df [2023-05-25T00:20:24.142Z] Step 12/12 : RUN $MAKE [2023-05-25T00:20:24.142Z] ---> Running in 95ea3c778575 [2023-05-25T00:20:24.142Z] noop [2023-05-25T00:20:24.142Z] Removing intermediate container 95ea3c778575 [2023-05-25T00:20:24.142Z] ---> dc254be7bbf8 [2023-05-25T00:20:24.143Z] Successfully built dc254be7bbf8 [2023-05-25T00:20:24.143Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:20:24.515Z] + docker inspect -f . ci-base-image-arm64 [2023-05-25T00:20:24.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:20:24.793Z] prd-ubuntu20.04-docker-arm64-4c-16g-16872 does not seem to be running inside a container [2023-05-25T00:20:24.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-25T00:20:26.410Z] $ docker top cc59b1d4da91a48c6585e6fc370889a2102e0abb6c4c95b354bc4c0016ee379a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:20:27.300Z] + go version [2023-05-25T00:20:27.300Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-25T00:20:27.330Z] $ docker stop --time=1 cc59b1d4da91a48c6585e6fc370889a2102e0abb6c4c95b354bc4c0016ee379a [2023-05-25T00:20:29.103Z] $ docker rm -f --volumes cc59b1d4da91a48c6585e6fc370889a2102e0abb6c4c95b354bc4c0016ee379a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:20:29.705Z] + docker inspect -f . ci-base-image-arm64 [2023-05-25T00:20:29.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:20:29.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-16872 does not seem to be running inside a container [2023-05-25T00:20:30.052Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-25T00:20:31.492Z] $ docker top 66a02fe67b0b2f41138f60a0a71491eb3c1557924ee1f6d92e2167b3cb907fc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:20:32.623Z] + git config --global --add safe.directory /w/workspace/device-rest-go/5 [Pipeline] fileExists [Pipeline] sh [2023-05-25T00:20:33.312Z] + make test [2023-05-25T00:20:33.312Z] go test ./... -coverprofile=coverage.out ./... [2023-05-25T00:21:20.272Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-25T00:24:12.159Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-25T00:24:12.159Z] ok github.com/edgexfoundry/device-rest-go/driver 0.085s coverage: 32.2% of statements [2023-05-25T00:24:12.159Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-25T00:24:12.159Z] go vet ./... [2023-05-25T00:24:44.501Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-25T00:24:44.501Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-25T00:24:44.501Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-25T00:24:44.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-25T00:24:44.561Z] $ docker stop --time=1 66a02fe67b0b2f41138f60a0a71491eb3c1557924ee1f6d92e2167b3cb907fc7 [2023-05-25T00:24:46.590Z] $ docker rm -f --volumes 66a02fe67b0b2f41138f60a0a71491eb3c1557924ee1f6d92e2167b3cb907fc7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:24:47.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-25T00:24:47.982Z] Warning: overwriting stash ‘coverage-report’ [2023-05-25T00:24:48.629Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:24:49.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-25T00:24:49.370Z] + ls -al . [2023-05-25T00:24:49.370Z] total 180 [2023-05-25T00:24:49.370Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:20 . [2023-05-25T00:24:49.370Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:17 .. [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:17 .dockerignore [2023-05-25T00:24:49.370Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:18 .git [2023-05-25T00:24:49.370Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 .github [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:17 .gitignore [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:17 .golangci.yml [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:17 Attribution.txt [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:17 CHANGELOG.md [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:17 Dockerfile [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:17 GOVERNANCE.md [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:17 Jenkinsfile [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:17 LICENSE [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:17 Makefile [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:17 OWNERS.md [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:17 README.md [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:14 VERSION [2023-05-25T00:24:49.370Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:17 bin [2023-05-25T00:24:49.370Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 cmd [2023-05-25T00:24:49.370Z] -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:24 coverage.out [2023-05-25T00:24:49.370Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:17 driver [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:17 go.mod [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 31322 May 25 00:17 go.sum [2023-05-25T00:24:49.370Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:17 snap [2023-05-25T00:24:49.370Z] -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:24:49.729Z] + 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=b00035346f56b58fcb1c3fdb42ad9ae55625437f --label arch=arm64 --label version=0.0.0 . [2023-05-25T00:24:49.729Z] Sending build context to Docker daemon 154.6kB [2023-05-25T00:24:50.000Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:24:50.000Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-25T00:24:50.000Z] ---> dc254be7bbf8 [2023-05-25T00:24:50.000Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:24:50.270Z] ---> Running in babe1743cac2 [2023-05-25T00:24:50.542Z] Removing intermediate container babe1743cac2 [2023-05-25T00:24:50.542Z] ---> 04641202881e [2023-05-25T00:24:50.542Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:24:50.542Z] ---> Running in 2918fbb4310b [2023-05-25T00:24:50.820Z] Removing intermediate container 2918fbb4310b [2023-05-25T00:24:50.821Z] ---> 42d71f839ef8 [2023-05-25T00:24:50.821Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:24:51.094Z] ---> Running in 412bfa95319c [2023-05-25T00:24:51.365Z] Removing intermediate container 412bfa95319c [2023-05-25T00:24:51.365Z] ---> 1d07042159f7 [2023-05-25T00:24:51.365Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:24:51.365Z] ---> Running in de57754e84fa [2023-05-25T00:24:51.635Z] Removing intermediate container de57754e84fa [2023-05-25T00:24:51.635Z] ---> a93832d4116e [2023-05-25T00:24:51.635Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:24:51.907Z] ---> Running in 437b5d0d803c [2023-05-25T00:24:53.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:24:53.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:24:55.336Z] OK: 268 MiB in 57 packages [2023-05-25T00:24:56.316Z] Removing intermediate container 437b5d0d803c [2023-05-25T00:24:56.316Z] ---> a0f0d30c6506 [2023-05-25T00:24:56.316Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-25T00:24:56.589Z] ---> Running in 0c8684d7858f [2023-05-25T00:24:56.861Z] Removing intermediate container 0c8684d7858f [2023-05-25T00:24:56.861Z] ---> c9e5eecd731b [2023-05-25T00:24:56.861Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-25T00:24:58.839Z] ---> 9ee95928b446 [2023-05-25T00:24:58.839Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:24:59.112Z] ---> Running in d9f790245f07 [2023-05-25T00:25:01.720Z] Removing intermediate container d9f790245f07 [2023-05-25T00:25:01.720Z] ---> b74a45460e89 [2023-05-25T00:25:01.720Z] Step 11/25 : COPY . . [2023-05-25T00:25:02.319Z] ---> 60a929c4e851 [2023-05-25T00:25:02.319Z] Step 12/25 : RUN $MAKE [2023-05-25T00:25:02.319Z] ---> Running in 4747269d0b20 [2023-05-25T00:25:03.743Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-25T00:27:40.599Z] Removing intermediate container 4747269d0b20 [2023-05-25T00:27:40.599Z] ---> 561a874dae05 [2023-05-25T00:27:40.599Z] Step 13/25 : FROM alpine:3.17 [2023-05-25T00:27:40.865Z] 3.17: Pulling from library/alpine [2023-05-25T00:27:40.865Z] c41833b44d91: Already exists [2023-05-25T00:27:41.133Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-25T00:27:41.133Z] Status: Downloaded newer image for alpine:3.17 [2023-05-25T00:27:41.133Z] ---> 51e60588ff2c [2023-05-25T00:27:41.133Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-25T00:27:41.133Z] ---> Running in d3475a0c256a [2023-05-25T00:27:41.722Z] Removing intermediate container d3475a0c256a [2023-05-25T00:27:41.722Z] ---> 467823eccffe [2023-05-25T00:27:41.722Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-25T00:27:41.722Z] ---> Running in 4d97dd397997 [2023-05-25T00:27:41.991Z] Removing intermediate container 4d97dd397997 [2023-05-25T00:27:41.991Z] ---> 94dde14283ff [2023-05-25T00:27:41.991Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-25T00:27:41.991Z] ---> Running in 4a040c5d8dc9 [2023-05-25T00:27:42.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:27:43.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:27:45.329Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-25T00:27:45.329Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:27:45.329Z] OK: 8 MiB in 16 packages [2023-05-25T00:27:46.305Z] Removing intermediate container 4a040c5d8dc9 [2023-05-25T00:27:46.305Z] ---> 254e705c9009 [2023-05-25T00:27:46.305Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-25T00:27:47.724Z] ---> 5edee515d5b5 [2023-05-25T00:27:47.724Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-25T00:27:48.312Z] ---> 17921f50c2b2 [2023-05-25T00:27:48.312Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-25T00:27:48.900Z] ---> cd7decc70980 [2023-05-25T00:27:48.900Z] Step 20/25 : EXPOSE 59986 [2023-05-25T00:27:48.900Z] ---> Running in 0b59ea6b8b81 [2023-05-25T00:27:49.491Z] Removing intermediate container 0b59ea6b8b81 [2023-05-25T00:27:49.491Z] ---> b14a873e8f6e [2023-05-25T00:27:49.491Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-25T00:27:49.491Z] ---> Running in f86d1d36d244 [2023-05-25T00:27:49.761Z] Removing intermediate container f86d1d36d244 [2023-05-25T00:27:49.761Z] ---> 6f057e1fdb7b [2023-05-25T00:27:49.761Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-25T00:27:49.761Z] ---> Running in 9a79f587a3d4 [2023-05-25T00:27:50.348Z] Removing intermediate container 9a79f587a3d4 [2023-05-25T00:27:50.348Z] ---> 9b2ed01eba93 [2023-05-25T00:27:50.348Z] Step 23/25 : LABEL arch=arm64 [2023-05-25T00:27:50.348Z] ---> Running in 837e70585fdc [2023-05-25T00:27:50.617Z] Removing intermediate container 837e70585fdc [2023-05-25T00:27:50.617Z] ---> 9ce64fab41e5 [2023-05-25T00:27:50.617Z] Step 24/25 : LABEL git_sha=b00035346f56b58fcb1c3fdb42ad9ae55625437f [2023-05-25T00:27:50.617Z] ---> Running in 22fb9aa162c5 [2023-05-25T00:27:50.893Z] Removing intermediate container 22fb9aa162c5 [2023-05-25T00:27:50.893Z] ---> ce8fc5de34bc [2023-05-25T00:27:50.893Z] Step 25/25 : LABEL version=0.0.0 [2023-05-25T00:27:51.164Z] ---> Running in 550f3ba8d07d [2023-05-25T00:27:51.434Z] Removing intermediate container 550f3ba8d07d [2023-05-25T00:27:51.434Z] ---> 251ce133c279 [2023-05-25T00:27:51.434Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-25T00:27:51.434Z] Successfully built 251ce133c279 [2023-05-25T00:27:51.434Z] 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-05-25T00:27:51.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:27:51.873Z] [2023-05-25T00:27:51.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:27:52.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:27:52.481Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-25T00:27:52.481Z] 8998bd30e6a1: Pulling fs layer [2023-05-25T00:27:52.481Z] 04944245beec: Pulling fs layer [2023-05-25T00:27:52.481Z] 699f458cf7ca: Pulling fs layer [2023-05-25T00:27:52.481Z] 765212b225bb: Pulling fs layer [2023-05-25T00:27:52.481Z] f23df028b6ca: Pulling fs layer [2023-05-25T00:27:52.481Z] d65c8cfc05b1: Pulling fs layer [2023-05-25T00:27:52.481Z] 2437ff75d9bd: Pulling fs layer [2023-05-25T00:27:52.481Z] 765212b225bb: Waiting [2023-05-25T00:27:52.481Z] f23df028b6ca: Waiting [2023-05-25T00:27:52.481Z] 2437ff75d9bd: Waiting [2023-05-25T00:27:52.481Z] d65c8cfc05b1: Waiting [2023-05-25T00:27:52.481Z] 04944245beec: Verifying Checksum [2023-05-25T00:27:52.481Z] 04944245beec: Download complete [2023-05-25T00:27:52.481Z] 765212b225bb: Verifying Checksum [2023-05-25T00:27:52.481Z] 765212b225bb: Download complete [2023-05-25T00:27:52.481Z] f23df028b6ca: Verifying Checksum [2023-05-25T00:27:52.481Z] f23df028b6ca: Download complete [2023-05-25T00:27:52.481Z] d65c8cfc05b1: Verifying Checksum [2023-05-25T00:27:52.481Z] d65c8cfc05b1: Download complete [2023-05-25T00:27:52.752Z] 699f458cf7ca: Verifying Checksum [2023-05-25T00:27:52.752Z] 699f458cf7ca: Download complete [2023-05-25T00:27:53.021Z] 8998bd30e6a1: Verifying Checksum [2023-05-25T00:27:53.021Z] 8998bd30e6a1: Download complete [2023-05-25T00:27:55.627Z] 2437ff75d9bd: Verifying Checksum [2023-05-25T00:27:55.627Z] 2437ff75d9bd: Download complete [2023-05-25T00:27:57.045Z] 8998bd30e6a1: Pull complete [2023-05-25T00:27:57.633Z] 04944245beec: Pull complete [2023-05-25T00:27:59.046Z] 699f458cf7ca: Pull complete [2023-05-25T00:27:59.046Z] 765212b225bb: Pull complete [2023-05-25T00:28:00.011Z] f23df028b6ca: Pull complete [2023-05-25T00:28:00.011Z] d65c8cfc05b1: Pull complete [2023-05-25T00:28:15.024Z] 2437ff75d9bd: Pull complete [2023-05-25T00:28:15.024Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-25T00:28:15.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:28:15.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:28:15.227Z] prd-ubuntu20.04-docker-arm64-4c-16g-16872 does not seem to be running inside a container [2023-05-25T00:28:15.348Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-25T00:28:18.374Z] $ docker top 38ae43489b4f65c6cccd7698d689dedf6c10f1c2133601675fa6271d4a3a979c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:19.311Z] ---> job-cost.sh [2023-05-25T00:28:19.311Z] lf-activate-venv: SKIPPING [2023-05-25T00:28:19.311Z] INFO: No Stack... [2023-05-25T00:28:19.912Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-25T00:28:20.506Z] INFO: Archiving Costs [Pipeline] sh [2023-05-25T00:28:21.214Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2023-05-25T00:28:21.214Z] + cut -d, -f6 [Pipeline] lock [2023-05-25T00:28:21.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [2023-05-25T00:28:21.317Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] did not exist. Created. [2023-05-25T00:28:21.317Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-25T00:28:21.998Z] /w/workspace/device-rest-go/5@tmp/durable-f401e066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-25T00:28:22.661Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-25T00:28:22.684Z] Warning: overwriting stash ‘stack-cost’ [2023-05-25T00:28:22.735Z] Stashed 1 file(s) [Pipeline] } [2023-05-25T00:28:22.742Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-25T00:28:22.770Z] $ docker stop --time=1 38ae43489b4f65c6cccd7698d689dedf6c10f1c2133601675fa6271d4a3a979c [2023-05-25T00:28:26.836Z] $ docker rm -f --volumes 38ae43489b4f65c6cccd7698d689dedf6c10f1c2133601675fa6271d4a3a979c [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-05-25T00:28:27.217Z] provisioning config files... [2023-05-25T00:28:27.224Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config17839349985503026277tmp [Pipeline] { [Pipeline] sh [2023-05-25T00:28:27.516Z] + set +x [2023-05-25T00:28:27.516Z] + bash -s -- [2023-05-25T00:28:27.516Z] + curl -s https://codecov.io/bash [2023-05-25T00:28:27.516Z] [2023-05-25T00:28:27.516Z] _____ _ [2023-05-25T00:28:27.516Z] / ____| | | [2023-05-25T00:28:27.516Z] | | ___ __| | ___ ___ _____ __ [2023-05-25T00:28:27.516Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-25T00:28:27.516Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-25T00:28:27.516Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-25T00:28:27.516Z] Bash-1.0.6 [2023-05-25T00:28:27.516Z] [2023-05-25T00:28:27.516Z] [2023-05-25T00:28:27.516Z] ==> git version 2.25.1 found [2023-05-25T00:28:27.516Z] ==> 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-05-25T00:28:27.516Z] Release-Date: 2020-01-08 [2023-05-25T00:28:27.516Z] 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-05-25T00:28:27.516Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-25T00:28:27.516Z] ==> Jenkins CI detected. [2023-05-25T00:28:27.516Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-322 [2023-05-25T00:28:27.516Z] project root: . [2023-05-25T00:28:27.516Z] --> token set from env [2023-05-25T00:28:27.516Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-25T00:28:27.516Z] ==> Running gcov in . (disable via -X gcov) [2023-05-25T00:28:27.516Z] ==> Python coveragepy not found [2023-05-25T00:28:27.516Z] ==> Searching for coverage reports in: [2023-05-25T00:28:27.516Z] + . [2023-05-25T00:28:27.516Z] -> Found 1 reports [2023-05-25T00:28:27.516Z] ==> Detecting git/mercurial file structure [2023-05-25T00:28:27.516Z] ==> Reading reports [2023-05-25T00:28:27.516Z] + ./coverage.out bytes=14663 [2023-05-25T00:28:27.516Z] ==> Appending adjustments [2023-05-25T00:28:27.516Z] https://docs.codecov.io/docs/fixing-reports [2023-05-25T00:28:27.779Z] + Found adjustments [2023-05-25T00:28:27.779Z] ==> Gzipping contents [2023-05-25T00:28:27.779Z] 4.0K /tmp/codecov.nsRuQT.gz [2023-05-25T00:28:27.779Z] ==> Uploading reports [2023-05-25T00:28:27.779Z] url: https://codecov.io [2023-05-25T00:28:27.779Z] query: branch=PR-322&commit=b00035346f56b58fcb1c3fdb42ad9ae55625437f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= [2023-05-25T00:28:27.779Z] -> Pinging Codecov [2023-05-25T00:28:27.779Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-322&commit=b00035346f56b58fcb1c3fdb42ad9ae55625437f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= [2023-05-25T00:28:27.779Z] -> Uploading to [2023-05-25T00:28:27.779Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-25/4E5D53B4F1F92C436F7061BF334D961C/b00035346f56b58fcb1c3fdb42ad9ae55625437f/f16bbdba-529c-4716-b438-490a433e08ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T002827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=629b04ff2c98466fb5b009b1bc1385daed6c783f6758f3a0d6da95d9f030d7d2 [2023-05-25T00:28:27.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-25T00:28:27.779Z] Dload Upload Total Spent Left Speed [2023-05-25T00:28:28.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11513 --:--:-- --:--:-- --:--:-- 11513 [2023-05-25T00:28:28.040Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] } [2023-05-25T00:28:28.047Z] 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-05-25T00:28:28.732Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-322/archives ] [2023-05-25T00:28:28.732Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives [2023-05-25T00:28:28.732Z] total 16 [2023-05-25T00:28:28.732Z] drwxr-xr-x 3 root root 4096 May 25 00:16 . [2023-05-25T00:28:28.732Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:16 .. [2023-05-25T00:28:28.732Z] drwxr-xr-x 2 root root 4096 May 25 00:16 cost [2023-05-25T00:28:28.732Z] -rw-r--r-- 1 root root 86 May 25 00:16 cost.csv [2023-05-25T00:28:28.732Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-322/archives [2023-05-25T00:28:28.732Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives [2023-05-25T00:28:28.732Z] total 16 [2023-05-25T00:28:28.732Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:16 . [2023-05-25T00:28:28.732Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:16 .. [2023-05-25T00:28:28.732Z] drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:16 cost [2023-05-25T00:28:28.732Z] -rw-r--r-- 1 jenkins jenkins 86 May 25 00:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:29.022Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:29.885Z] ---> package-listing.sh [2023-05-25T00:28:29.885Z] ++ facter osfamily [2023-05-25T00:28:29.885Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-25T00:28:30.144Z] + OS_FAMILY=debian [2023-05-25T00:28:30.144Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-322 [2023-05-25T00:28:30.144Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-25T00:28:30.144Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-25T00:28:30.144Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-25T00:28:30.144Z] + PACKAGES=/tmp/packages_start.txt [2023-05-25T00:28:30.144Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' [2023-05-25T00:28:30.144Z] + PACKAGES=/tmp/packages_end.txt [2023-05-25T00:28:30.144Z] + case "${OS_FAMILY}" in [2023-05-25T00:28:30.144Z] + dpkg -l [2023-05-25T00:28:30.144Z] + grep '^ii' [2023-05-25T00:28:30.144Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-25T00:28:30.144Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-25T00:28:30.144Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-25T00:28:30.144Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' [2023-05-25T00:28:30.144Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ [2023-05-25T00:28:30.144Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ [Pipeline] echo [2023-05-25T00:28:30.154Z] 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-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-25T00:28:30.433Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:28:30.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:28:30.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:28:31.061Z] prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container [2023-05-25T00:28:31.086Z] $ 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-322/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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-25T00:28:31.364Z] $ docker top c6e65620a3d6d8bcdd79c72cdb1133031eb4c90f89c49b96deb9be096c616d43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:28:31.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-25T00:28:31.995Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-25T00:28:32.276Z] + ls /var/log/sa-host [2023-05-25T00:28:32.276Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:28:32.347Z] provisioning config files... [2023-05-25T00:28:32.355Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config5063933996367935044tmp [Pipeline] { [Pipeline] echo [2023-05-25T00:28:32.369Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:32.653Z] ---> create-netrc.sh [Pipeline] } [2023-05-25T00:28:32.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:32.978Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-25T00:28:32.987Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:33.272Z] ---> sudo-logs.sh [2023-05-25T00:28:33.272Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-25T00:28:33.299Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:33.583Z] ---> job-cost.sh [2023-05-25T00:28:33.583Z] lf-activate-venv: SKIPPING [2023-05-25T00:28:33.583Z] DEBUG: total: 0.2199999988079071 [2023-05-25T00:28:33.583Z] INFO: Retrieving Stack Cost... [2023-05-25T00:28:34.151Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-25T00:28:34.412Z] INFO: Archiving Costs [Pipeline] echo [2023-05-25T00:28:34.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:28:34.706Z] ---> logs-deploy.sh [2023-05-25T00:28:34.706Z] lf-activate-venv: SKIPPING [2023-05-25T00:28:34.706Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-322/5 [2023-05-25T00:28:34.706Z] INFO: archiving workspace using pattern(s): [2023-05-25T00:28:35.648Z] Archives upload complete. [2023-05-25T00:28:35.648Z] INFO: archiving logs to Nexus