Pull request #319 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 90c7bff1ddffe6d05a591042972a033356d046d2+e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 (0e7f24d0d11d54b72fa26458945da40712f75f23) 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-ssh17767482331882042098.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-ssh17823358352741577312.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-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3238615306618195513.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-ssh15597063023114889557.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13422793590584979805.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15535’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15537’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15555’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15542’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-15543’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15557 in /w/workspace/gexfoundry_device-rest-go_PR-319 [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-319 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 90c7bff1ddffe6d05a591042972a033356d046d2 Merge succeeded, producing 90c7bff1ddffe6d05a591042972a033356d046d2 Checking out Revision 90c7bff1ddffe6d05a591042972a033356d046d2 (PR-319) Commit message: "build(snap): Bump epoch for major v3 upgrade" > 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/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90c7bff1ddffe6d05a591042972a033356d046d2 # 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 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90c7bff1ddffe6d05a591042972a033356d046d2 # timeout=10 > git rev-list --no-walk 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T10:08:49.593Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T10:08:49.661Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T10:08:49.682Z] ========================================================= [2023-05-16T10:08:49.682Z] EdgeX Global Pipelines Version Info [2023-05-16T10:08:49.682Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:08:50.408Z] ------------------- [2023-05-16T10:08:50.408Z] stable info: [2023-05-16T10:08:50.408Z] ------------------- [2023-05-16T10:08:50.408Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T10:08:50.408Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:08:50.408Z] Message: update stable to v1.0.249 [2023-05-16T10:08:50.985Z] ------------------- [2023-05-16T10:08:50.985Z] experimental info: [2023-05-16T10:08:50.985Z] ------------------- [2023-05-16T10:08:50.985Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T10:08:50.985Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:08:50.985Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T10:08:51.191Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-16T10:08:51.205Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-16T10:08:51.219Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T10:08:51.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T10:08:51.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T10:08:51.256Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T10:08:51.268Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T10:08:51.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T10:08:51.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T10:08:51.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T10:08:51.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T10:08:51.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-16T10:08:51.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T10:08:51.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T10:08:51.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:08:51.426Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:08:51.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:08:51.458Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:08:51.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T10:08:51.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T10:08:51.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T10:08:51.532Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T10:08:51.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T10:08:51.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T10:08:51.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T10:08:51.610Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T10:08:51.626Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T10:08:51.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo [2023-05-16T10:08:51.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo [2023-05-16T10:08:51.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo [2023-05-16T10:08:51.694Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90c7bff1ddffe6d05a591042972a033356d046d2 [Pipeline] echo [2023-05-16T10:08:51.705Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90c7bff [Pipeline] echo [2023-05-16T10:08:51.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:08:51.765Z] provisioning config files... [2023-05-16T10:08:51.781Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config12088589769624127959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:08:52.085Z] ---> docker-login.sh [2023-05-16T10:08:52.085Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:08:52.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:08:52.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:08:52.345Z] Configure a credential helper to remove this warning. See [2023-05-16T10:08:52.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:08:52.345Z] [2023-05-16T10:08:52.345Z] Login Succeeded [2023-05-16T10:08:52.345Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:08:52.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:08:52.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:08:52.606Z] Configure a credential helper to remove this warning. See [2023-05-16T10:08:52.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:08:52.606Z] [2023-05-16T10:08:52.606Z] Login Succeeded [2023-05-16T10:08:52.606Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:08:52.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:08:52.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:08:52.606Z] Configure a credential helper to remove this warning. See [2023-05-16T10:08:52.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:08:52.606Z] [2023-05-16T10:08:52.606Z] Login Succeeded [2023-05-16T10:08:52.606Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:08:52.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:08:52.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:08:52.867Z] Configure a credential helper to remove this warning. See [2023-05-16T10:08:52.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:08:52.867Z] [2023-05-16T10:08:52.867Z] Login Succeeded [2023-05-16T10:08:52.867Z] docker.io [2023-05-16T10:08:52.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:08:53.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:08:53.127Z] Configure a credential helper to remove this warning. See [2023-05-16T10:08:53.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:08:53.127Z] [2023-05-16T10:08:53.127Z] Login Succeeded [2023-05-16T10:08:53.127Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:08:53.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T10:08:53.539Z] + git rev-list -1 --merges 90c7bff1ddffe6d05a591042972a033356d046d2~1..90c7bff1ddffe6d05a591042972a033356d046d2 [Pipeline] echo [2023-05-16T10:08:53.591Z] -----------> git rev-list -1 --merges 90c7bff1ddffe6d05a591042972a033356d046d2~1..90c7bff1ddffe6d05a591042972a033356d046d2 90c7bff1ddffe6d05a591042972a033356d046d2 [false] [Pipeline] sh [2023-05-16T10:08:53.880Z] + git log --format=format:%s -1 90c7bff1ddffe6d05a591042972a033356d046d2 [Pipeline] echo [2023-05-16T10:08:53.894Z] ========================================================= [2023-05-16T10:08:53.894Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T10:08:53.894Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:08:54.232Z] + git log --format=format:%s -1 90c7bff1ddffe6d05a591042972a033356d046d2 [Pipeline] echo [2023-05-16T10:08:54.241Z] [semverPrep] GIT_COMMIT: 90c7bff1ddffe6d05a591042972a033356d046d2, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo [2023-05-16T10:08:54.249Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T10:08:54.595Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:08:54.595Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T10:08:54.595Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T10:08:54.595Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T10:08:54.595Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T10:08:54.595Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T10:08:54.595Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:08:54.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:08:54.941Z] [2023-05-16T10:08:54.941Z] 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-16T10:08:55.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:08:55.246Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T10:08:55.246Z] b85a868b505f: Pulling fs layer [2023-05-16T10:08:55.246Z] e2be974225ed: Pulling fs layer [2023-05-16T10:08:55.246Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T10:08:55.246Z] 988bab9f4d93: Pulling fs layer [2023-05-16T10:08:55.246Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T10:08:55.246Z] eaf3925da568: Pulling fs layer [2023-05-16T10:08:55.246Z] bab4dde63d76: Pulling fs layer [2023-05-16T10:08:55.246Z] bde34c3a00c8: Pulling fs layer [2023-05-16T10:08:55.246Z] b352a97aabf1: Pulling fs layer [2023-05-16T10:08:55.246Z] 4872d77fe225: Pulling fs layer [2023-05-16T10:08:55.246Z] eaf3925da568: Waiting [2023-05-16T10:08:55.246Z] bab4dde63d76: Waiting [2023-05-16T10:08:55.246Z] 988bab9f4d93: Waiting [2023-05-16T10:08:55.246Z] bde34c3a00c8: Waiting [2023-05-16T10:08:55.246Z] 1469e6f7b9e6: Waiting [2023-05-16T10:08:55.246Z] b352a97aabf1: Waiting [2023-05-16T10:08:55.246Z] 5851b861e8e6: Pulling fs layer [2023-05-16T10:08:55.246Z] 5851b861e8e6: Waiting [2023-05-16T10:08:55.246Z] e2be974225ed: Download complete [2023-05-16T10:08:55.246Z] 988bab9f4d93: Verifying Checksum [2023-05-16T10:08:55.246Z] 988bab9f4d93: Download complete [2023-05-16T10:08:55.507Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T10:08:55.508Z] 339a4e72a1f5: Download complete [2023-05-16T10:08:55.508Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T10:08:55.508Z] 1469e6f7b9e6: Download complete [2023-05-16T10:08:55.508Z] eaf3925da568: Verifying Checksum [2023-05-16T10:08:55.508Z] eaf3925da568: Download complete [2023-05-16T10:08:55.508Z] bde34c3a00c8: Download complete [2023-05-16T10:08:55.508Z] b352a97aabf1: Verifying Checksum [2023-05-16T10:08:55.508Z] b352a97aabf1: Download complete [2023-05-16T10:08:55.508Z] 4872d77fe225: Verifying Checksum [2023-05-16T10:08:55.508Z] 4872d77fe225: Download complete [2023-05-16T10:08:55.508Z] 5851b861e8e6: Verifying Checksum [2023-05-16T10:08:55.508Z] 5851b861e8e6: Download complete [2023-05-16T10:08:55.508Z] b85a868b505f: Verifying Checksum [2023-05-16T10:08:55.508Z] b85a868b505f: Download complete [2023-05-16T10:08:55.767Z] bab4dde63d76: Verifying Checksum [2023-05-16T10:08:55.767Z] bab4dde63d76: Download complete [2023-05-16T10:08:57.166Z] b85a868b505f: Pull complete [2023-05-16T10:08:57.166Z] e2be974225ed: Pull complete [2023-05-16T10:08:57.745Z] 339a4e72a1f5: Pull complete [2023-05-16T10:08:57.745Z] 988bab9f4d93: Pull complete [2023-05-16T10:08:58.008Z] 1469e6f7b9e6: Pull complete [2023-05-16T10:08:58.008Z] eaf3925da568: Pull complete [2023-05-16T10:08:59.915Z] bab4dde63d76: Pull complete [2023-05-16T10:09:00.173Z] bde34c3a00c8: Pull complete [2023-05-16T10:09:00.173Z] b352a97aabf1: Pull complete [2023-05-16T10:09:00.432Z] 4872d77fe225: Pull complete [2023-05-16T10:09:00.432Z] 5851b861e8e6: Pull complete [2023-05-16T10:09:00.432Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T10:09:00.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:09:00.432Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:09:00.534Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2023-05-16T10:09:00.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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-16T10:09:04.363Z] $ docker top 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d -eo pid,comm [2023-05-16T10:09:04.415Z] 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-16T10:09:04.415Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:09:04.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:09:04.466Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:09:04.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:09:04.603Z] $ docker exec 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d ssh-agent [2023-05-16T10:09:04.726Z] SSH_AUTH_SOCK=/tmp/ssh-5hrVUe99F00F/agent.32 [2023-05-16T10:09:04.726Z] SSH_AGENT_PID=38 [2023-05-16T10:09:04.733Z] Running ssh-add (command line suppressed) [2023-05-16T10:09:04.835Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_12384167704739375034.key (/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_12384167704739375034.key) [2023-05-16T10:09:04.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:09:05.141Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T10:09:05.159Z] $ docker exec --env ******** --env ******** 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d ssh-agent -k [2023-05-16T10:09:05.251Z] unset SSH_AUTH_SOCK; [2023-05-16T10:09:05.252Z] unset SSH_AGENT_PID; [2023-05-16T10:09:05.254Z] echo Agent pid 38 killed; [2023-05-16T10:09:05.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T10:09:05.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:09:05.289Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:09:05.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:09:05.418Z] $ docker exec 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d ssh-agent [2023-05-16T10:09:05.525Z] SSH_AUTH_SOCK=/tmp/ssh-Enf6ogrfM5t5/agent.70 [2023-05-16T10:09:05.525Z] SSH_AGENT_PID=76 [2023-05-16T10:09:05.531Z] Running ssh-add (command line suppressed) [2023-05-16T10:09:05.641Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_8360091222934259512.key (/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_8360091222934259512.key) [2023-05-16T10:09:05.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:09:05.941Z] + git semver init [2023-05-16T10:09:06.360Z] 2023-05-16 10:09:06,124 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T10:09:06.360Z] 2023-05-16 10:09:06,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver [2023-05-16T10:09:06.360Z] 2023-05-16 10:09:06,126 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-319/.semver [2023-05-16T10:09:06.360Z] 2023-05-16 10:09:06,126 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-319/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319, universal_newlines=False, shell=None, istream=None) [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,429 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-319/.git/info/exclude [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,429 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 with force:False [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,429 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,433 [execute] INFO git cat-file --batch-check [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,439 [execute] INFO git cat-file --batch [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:09:07.746Z] 2023-05-16 10:09:07,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 [2023-05-16T10:09:07.746Z] 0.0.0 [Pipeline] } [2023-05-16T10:09:07.761Z] $ docker exec --env ******** --env ******** 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d ssh-agent -k [2023-05-16T10:09:07.873Z] unset SSH_AUTH_SOCK; [2023-05-16T10:09:07.874Z] unset SSH_AGENT_PID; [2023-05-16T10:09:07.875Z] echo Agent pid 76 killed; [2023-05-16T10:09:07.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:09:08.189Z] + git semver [Pipeline] } [2023-05-16T10:09:08.469Z] $ docker stop --time=1 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d [2023-05-16T10:09:09.784Z] $ docker rm -f --volumes 509d4ffeb78a8363f05f2eecde7d02401c53710540cd170a16a9c1124ef27c9d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:09:10.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T10:09:10.346Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T10:09:10.348Z] [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-16T10:09:10.465Z] provisioning config files... [2023-05-16T10:09:10.476Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config5899591541994201886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:09:10.772Z] ---> docker-login.sh [2023-05-16T10:09:10.772Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:09:10.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:09:10.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:09:10.772Z] Configure a credential helper to remove this warning. See [2023-05-16T10:09:10.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:09:10.772Z] [2023-05-16T10:09:10.772Z] Login Succeeded [2023-05-16T10:09:10.772Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:09:10.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:09:10.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:09:10.773Z] Configure a credential helper to remove this warning. See [2023-05-16T10:09:10.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:09:10.773Z] [2023-05-16T10:09:10.773Z] Login Succeeded [2023-05-16T10:09:10.773Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:09:11.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:09:11.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:09:11.032Z] Configure a credential helper to remove this warning. See [2023-05-16T10:09:11.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:09:11.032Z] [2023-05-16T10:09:11.032Z] Login Succeeded [2023-05-16T10:09:11.032Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:09:11.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:09:11.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:09:11.032Z] Configure a credential helper to remove this warning. See [2023-05-16T10:09:11.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:09:11.032Z] [2023-05-16T10:09:11.032Z] Login Succeeded [2023-05-16T10:09:11.032Z] docker.io [2023-05-16T10:09:11.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:09:11.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:09:11.289Z] Configure a credential helper to remove this warning. See [2023-05-16T10:09:11.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:09:11.289Z] [2023-05-16T10:09:11.289Z] Login Succeeded [2023-05-16T10:09:11.289Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:09:11.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:09:11.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:09:11.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:09:11.388Z] ========================================================= [2023-05-16T10:09:11.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T10:09:11.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:09:11.701Z] + 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-16T10:09:11.701Z] Sending build context to Docker daemon 10.93MB [2023-05-16T10:09:11.701Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:09:11.701Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T10:09:11.701Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T10:09:11.701Z] f56be85fc22e: Pulling fs layer [2023-05-16T10:09:11.701Z] 85791d961cd3: Pulling fs layer [2023-05-16T10:09:11.701Z] d694b5ae8c79: Pulling fs layer [2023-05-16T10:09:11.701Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T10:09:11.701Z] 4d19c01a9841: Pulling fs layer [2023-05-16T10:09:11.701Z] 9325e15d5711: Pulling fs layer [2023-05-16T10:09:11.701Z] 556b6ee489ea: Pulling fs layer [2023-05-16T10:09:11.701Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T10:09:11.701Z] 9f32a84ed3da: Waiting [2023-05-16T10:09:11.701Z] 9325e15d5711: Waiting [2023-05-16T10:09:11.701Z] 4d19c01a9841: Waiting [2023-05-16T10:09:11.701Z] 556b6ee489ea: Waiting [2023-05-16T10:09:11.701Z] c5a4b2cf53e6: Waiting [2023-05-16T10:09:11.701Z] 85791d961cd3: Download complete [2023-05-16T10:09:11.701Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T10:09:11.701Z] 9f32a84ed3da: Download complete [2023-05-16T10:09:11.701Z] 4d19c01a9841: Download complete [2023-05-16T10:09:11.963Z] f56be85fc22e: Verifying Checksum [2023-05-16T10:09:11.963Z] f56be85fc22e: Download complete [2023-05-16T10:09:11.963Z] 9325e15d5711: Verifying Checksum [2023-05-16T10:09:11.963Z] 9325e15d5711: Download complete [2023-05-16T10:09:12.224Z] f56be85fc22e: Pull complete [2023-05-16T10:09:12.484Z] 85791d961cd3: Pull complete [2023-05-16T10:09:12.484Z] d694b5ae8c79: Verifying Checksum [2023-05-16T10:09:12.484Z] d694b5ae8c79: Download complete [2023-05-16T10:09:12.484Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T10:09:12.484Z] c5a4b2cf53e6: Download complete [2023-05-16T10:09:12.742Z] 556b6ee489ea: Verifying Checksum [2023-05-16T10:09:12.743Z] 556b6ee489ea: Download complete [2023-05-16T10:09:16.036Z] d694b5ae8c79: Pull complete [2023-05-16T10:09:16.036Z] 9f32a84ed3da: Pull complete [2023-05-16T10:09:16.036Z] 4d19c01a9841: Pull complete [2023-05-16T10:09:16.036Z] 9325e15d5711: Pull complete [2023-05-16T10:09:18.570Z] 556b6ee489ea: Pull complete [2023-05-16T10:09:19.507Z] c5a4b2cf53e6: Pull complete [2023-05-16T10:09:19.767Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T10:09:19.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T10:09:19.767Z] ---> c4be618373d6 [2023-05-16T10:09:19.767Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:09:25.436Z] Still waiting to schedule task [2023-05-16T10:09:25.436Z] ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-centos7-builder-2c-1g-15550’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-8c-8g-15535’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-8c-8g-15537’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-8c-8g-15538’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-8c-8g-15540’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-8c-8g-15558’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-8c-8g-15561’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15542’ is offline [2023-05-16T10:09:25.436Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15543’ is offline [2023-05-16T10:09:25.437Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15545’ is offline [2023-05-16T10:09:25.437Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15546’ is offline [2023-05-16T10:09:25.437Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15556’ is offline [2023-05-16T10:09:31.996Z] ---> Running in 7db9de243b7f [2023-05-16T10:09:31.996Z] Removing intermediate container 7db9de243b7f [2023-05-16T10:09:31.996Z] ---> bef4c428fe09 [2023-05-16T10:09:31.996Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:09:31.996Z] ---> Running in f6fdab4f10a7 [2023-05-16T10:09:31.996Z] Removing intermediate container f6fdab4f10a7 [2023-05-16T10:09:31.996Z] ---> cfa69560c90d [2023-05-16T10:09:31.996Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:09:31.996Z] ---> Running in 3658d458d82b [2023-05-16T10:09:31.996Z] Removing intermediate container 3658d458d82b [2023-05-16T10:09:31.996Z] ---> 7ced295c46c8 [2023-05-16T10:09:31.996Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:09:31.996Z] ---> Running in 3a2e18f394b2 [2023-05-16T10:09:31.996Z] Removing intermediate container 3a2e18f394b2 [2023-05-16T10:09:31.996Z] ---> 78dfacdd9d1d [2023-05-16T10:09:31.996Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:09:31.996Z] ---> Running in 0d44a768c8bd [2023-05-16T10:09:31.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:09:31.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:09:31.996Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T10:09:31.996Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T10:09:31.996Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T10:09:31.996Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T10:09:31.996Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:09:31.996Z] OK: 269 MiB in 57 packages [2023-05-16T10:09:32.254Z] Removing intermediate container 0d44a768c8bd [2023-05-16T10:09:32.254Z] ---> 576b4f83547e [2023-05-16T10:09:32.254Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T10:09:32.254Z] ---> Running in 49ff3c9633d8 [2023-05-16T10:09:32.254Z] Removing intermediate container 49ff3c9633d8 [2023-05-16T10:09:32.254Z] ---> 909a82cefa32 [2023-05-16T10:09:32.254Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T10:09:32.512Z] ---> 5a92daa0a711 [2023-05-16T10:09:32.512Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:09:32.512Z] ---> Running in 5ce7b80c41da [2023-05-16T10:10:11.333Z] Removing intermediate container 5ce7b80c41da [2023-05-16T10:10:11.333Z] ---> 1141aa7cafad [2023-05-16T10:10:11.333Z] Step 11/12 : COPY . . [2023-05-16T10:10:11.333Z] ---> 05d7b76204b9 [2023-05-16T10:10:11.333Z] Step 12/12 : RUN $MAKE [2023-05-16T10:10:11.333Z] ---> Running in b70b503a53ef [2023-05-16T10:10:11.333Z] noop [2023-05-16T10:10:11.333Z] Removing intermediate container b70b503a53ef [2023-05-16T10:10:11.333Z] ---> 8ac836d64bf1 [2023-05-16T10:10:11.333Z] Successfully built 8ac836d64bf1 [2023-05-16T10:10:11.333Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:10:11.659Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:10:11.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:10:11.738Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2023-05-16T10:10:11.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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-16T10:10:12.164Z] $ docker top 05b4774fdd365fb42a5f67e2ec6a81aeae5de167c59fa39a4c9405cb66e61d40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:10:12.525Z] + go version [2023-05-16T10:10:12.525Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T10:10:12.540Z] $ docker stop --time=1 05b4774fdd365fb42a5f67e2ec6a81aeae5de167c59fa39a4c9405cb66e61d40 [2023-05-16T10:10:13.883Z] $ docker rm -f --volumes 05b4774fdd365fb42a5f67e2ec6a81aeae5de167c59fa39a4c9405cb66e61d40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:10:14.328Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:10:14.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:10:14.400Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2023-05-16T10:10:14.440Z] $ 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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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-16T10:10:14.851Z] $ docker top 4cddca0524344f0f40d7d6a3082989bddf16739c3192de2102b33d8a9174dcc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:10:15.192Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-319 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:10:15.486Z] + make test [2023-05-16T10:10:15.486Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:10:20.759Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T10:10:30.731Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T10:10:30.731Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-16T10:10:37.437Z] go vet ./... [2023-05-16T10:10:41.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:10:41.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:10:41.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:10:41.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:10:41.658Z] $ docker stop --time=1 4cddca0524344f0f40d7d6a3082989bddf16739c3192de2102b33d8a9174dcc3 [2023-05-16T10:10:45.843Z] $ docker rm -f --volumes 4cddca0524344f0f40d7d6a3082989bddf16739c3192de2102b33d8a9174dcc3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:10:46.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:10:46.332Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T10:10:46.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:10:47.075Z] + ls -al . [2023-05-16T10:10:47.075Z] total 184 [2023-05-16T10:10:47.075Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:10 . [2023-05-16T10:10:47.075Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:08 .. [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 10:08 .dockerignore [2023-05-16T10:10:47.075Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:09 .git [2023-05-16T10:10:47.075Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:08 .github [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 10:08 .gitignore [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:08 .golangci.yml [2023-05-16T10:10:47.075Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:09 .semver [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 10:08 Attribution.txt [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 10:08 CHANGELOG.md [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 10:08 Dockerfile [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:08 GOVERNANCE.md [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 10:08 Jenkinsfile [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:08 LICENSE [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 10:08 Makefile [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:08 OWNERS.md [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 10:08 README.md [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:09 VERSION [2023-05-16T10:10:47.075Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:08 bin [2023-05-16T10:10:47.075Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:08 cmd [2023-05-16T10:10:47.075Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 10:10 coverage.out [2023-05-16T10:10:47.075Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:08 driver [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 10:08 go.mod [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 10:08 go.sum [2023-05-16T10:10:47.075Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:08 snap [2023-05-16T10:10:47.075Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 10:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:10:47.430Z] + 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=90c7bff1ddffe6d05a591042972a033356d046d2 --label arch=amd64 --label version=0.0.0 . [2023-05-16T10:10:47.430Z] Sending build context to Docker daemon 10.95MB [2023-05-16T10:10:47.430Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:10:47.430Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T10:10:47.430Z] ---> 8ac836d64bf1 [2023-05-16T10:10:47.430Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:10:47.693Z] ---> Running in 215bb911aa35 [2023-05-16T10:10:47.693Z] Removing intermediate container 215bb911aa35 [2023-05-16T10:10:47.693Z] ---> 70ce6d928a02 [2023-05-16T10:10:47.693Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:10:47.693Z] ---> Running in 92adc9abc580 [2023-05-16T10:10:47.953Z] Removing intermediate container 92adc9abc580 [2023-05-16T10:10:47.953Z] ---> 78ca29529555 [2023-05-16T10:10:47.953Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:10:47.953Z] ---> Running in 1f3560bba61d [2023-05-16T10:10:47.953Z] Removing intermediate container 1f3560bba61d [2023-05-16T10:10:47.953Z] ---> 015c103537a6 [2023-05-16T10:10:47.953Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:10:47.953Z] ---> Running in ba8dd8aea3ba [2023-05-16T10:10:47.953Z] Removing intermediate container ba8dd8aea3ba [2023-05-16T10:10:47.953Z] ---> afc24fdd785f [2023-05-16T10:10:47.953Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:10:47.953Z] ---> Running in 659622e19b64 [2023-05-16T10:10:48.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:10:48.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:10:48.783Z] OK: 269 MiB in 57 packages [2023-05-16T10:10:49.042Z] Removing intermediate container 659622e19b64 [2023-05-16T10:10:49.042Z] ---> 263a116f3eb3 [2023-05-16T10:10:49.042Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T10:10:49.042Z] ---> Running in a246ec5a1c6b [2023-05-16T10:10:49.301Z] Removing intermediate container a246ec5a1c6b [2023-05-16T10:10:49.301Z] ---> 1d2a9e09df81 [2023-05-16T10:10:49.301Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T10:10:49.301Z] ---> 726dd4526f54 [2023-05-16T10:10:49.301Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:10:49.301Z] ---> Running in 55556b81d05e [2023-05-16T10:10:50.392Z] Removing intermediate container 55556b81d05e [2023-05-16T10:10:50.392Z] ---> 714f5e36f261 [2023-05-16T10:10:50.392Z] Step 11/25 : COPY . . [2023-05-16T10:10:50.669Z] ---> 2503e57ba1bc [2023-05-16T10:10:50.669Z] Step 12/25 : RUN $MAKE [2023-05-16T10:10:50.669Z] ---> Running in 03a013811cb0 [2023-05-16T10:10:50.928Z] 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-16T10:11:17.477Z] Removing intermediate container 03a013811cb0 [2023-05-16T10:11:17.477Z] ---> f5dbdd4a1c2c [2023-05-16T10:11:17.477Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T10:11:17.477Z] 3.17: Pulling from library/alpine [2023-05-16T10:11:17.477Z] f56be85fc22e: Already exists [2023-05-16T10:11:17.477Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:11:17.477Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:11:17.477Z] ---> 9ed4aefc74f6 [2023-05-16T10:11:17.477Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T10:11:17.477Z] ---> Running in fb0e62f22334 [2023-05-16T10:11:17.477Z] Removing intermediate container fb0e62f22334 [2023-05-16T10:11:17.477Z] ---> 489c66ab6d25 [2023-05-16T10:11:17.477Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T10:11:17.477Z] ---> Running in 0cedc31e05ee [2023-05-16T10:11:17.477Z] Removing intermediate container 0cedc31e05ee [2023-05-16T10:11:17.477Z] ---> 7093e1563ef9 [2023-05-16T10:11:17.477Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:11:17.477Z] ---> Running in affcdf9cd33d [2023-05-16T10:11:17.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:11:17.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:11:17.477Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:11:17.477Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:11:17.477Z] OK: 7 MiB in 16 packages [2023-05-16T10:11:17.477Z] Removing intermediate container affcdf9cd33d [2023-05-16T10:11:17.477Z] ---> 58a7c6e1d105 [2023-05-16T10:11:17.477Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T10:11:17.477Z] ---> 52c22a1aecfb [2023-05-16T10:11:17.478Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T10:11:17.478Z] ---> f124f26fa699 [2023-05-16T10:11:17.478Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T10:11:17.478Z] ---> f9851e662380 [2023-05-16T10:11:17.478Z] Step 20/25 : EXPOSE 59986 [2023-05-16T10:11:17.478Z] ---> Running in 6ff92c187756 [2023-05-16T10:11:17.478Z] Removing intermediate container 6ff92c187756 [2023-05-16T10:11:17.478Z] ---> e44f2f6542b1 [2023-05-16T10:11:17.478Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T10:11:17.478Z] ---> Running in 1e8392ce3cbe [2023-05-16T10:11:17.478Z] Removing intermediate container 1e8392ce3cbe [2023-05-16T10:11:17.478Z] ---> ee6801f95c2c [2023-05-16T10:11:17.478Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T10:11:17.478Z] ---> Running in 4e165784a404 [2023-05-16T10:11:17.478Z] Removing intermediate container 4e165784a404 [2023-05-16T10:11:17.478Z] ---> e2edb089c437 [2023-05-16T10:11:17.478Z] Step 23/25 : LABEL arch=amd64 [2023-05-16T10:11:17.478Z] ---> Running in f465eaf36541 [2023-05-16T10:11:17.478Z] Removing intermediate container f465eaf36541 [2023-05-16T10:11:17.478Z] ---> 8ecd83a457fb [2023-05-16T10:11:17.478Z] Step 24/25 : LABEL git_sha=90c7bff1ddffe6d05a591042972a033356d046d2 [2023-05-16T10:11:17.478Z] ---> Running in 20a97d6d8127 [2023-05-16T10:11:17.478Z] Removing intermediate container 20a97d6d8127 [2023-05-16T10:11:17.478Z] ---> a9c0fdad06ed [2023-05-16T10:11:17.478Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T10:11:17.478Z] ---> Running in 986fc28ef2d1 [2023-05-16T10:11:17.478Z] Removing intermediate container 986fc28ef2d1 [2023-05-16T10:11:17.478Z] ---> 630338c67bb6 [2023-05-16T10:11:17.478Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:11:17.478Z] Successfully built 630338c67bb6 [2023-05-16T10:11:17.478Z] 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-16T10:11:17.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:11:17.921Z] [2023-05-16T10:11:17.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:11:18.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:11:18.221Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T10:11:18.221Z] 5eb5b503b376: Pulling fs layer [2023-05-16T10:11:18.221Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T10:11:18.221Z] ec43610c2a17: Pulling fs layer [2023-05-16T10:11:18.221Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T10:11:18.221Z] 33b1e0a273af: Pulling fs layer [2023-05-16T10:11:18.221Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T10:11:18.221Z] 2f39f015ded8: Pulling fs layer [2023-05-16T10:11:18.221Z] 33b1e0a273af: Waiting [2023-05-16T10:11:18.221Z] 5d3b04190fa2: Waiting [2023-05-16T10:11:18.221Z] 2f39f015ded8: Waiting [2023-05-16T10:11:18.221Z] 5c69ac0246d0: Verifying Checksum [2023-05-16T10:11:18.221Z] 5c69ac0246d0: Download complete [2023-05-16T10:11:18.221Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T10:11:18.221Z] 3a2ae6a8a46f: Download complete [2023-05-16T10:11:18.221Z] 33b1e0a273af: Verifying Checksum [2023-05-16T10:11:18.221Z] 33b1e0a273af: Download complete [2023-05-16T10:11:18.221Z] 5d3b04190fa2: Download complete [2023-05-16T10:11:18.480Z] ec43610c2a17: Download complete [2023-05-16T10:11:18.480Z] 5eb5b503b376: Download complete [2023-05-16T10:11:19.056Z] 2f39f015ded8: Verifying Checksum [2023-05-16T10:11:19.056Z] 2f39f015ded8: Download complete [2023-05-16T10:11:19.995Z] 5eb5b503b376: Pull complete [2023-05-16T10:11:19.995Z] 5c69ac0246d0: Pull complete [2023-05-16T10:11:20.254Z] ec43610c2a17: Pull complete [2023-05-16T10:11:20.514Z] 3a2ae6a8a46f: Pull complete [2023-05-16T10:11:20.772Z] 33b1e0a273af: Pull complete [2023-05-16T10:11:20.772Z] 5d3b04190fa2: Pull complete [2023-05-16T10:11:26.036Z] 2f39f015ded8: Pull complete [2023-05-16T10:11:26.036Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T10:11:26.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:11:26.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:11:26.128Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2023-05-16T10:11:26.173Z] $ 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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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-16T10:11:32.974Z] $ docker top 90d14d51e9621fc4de5b8908db81fa294b91690cf155a585fa82d7fdef80a3d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:11:33.395Z] ---> job-cost.sh [2023-05-16T10:11:33.395Z] lf-activate-venv: SKIPPING [2023-05-16T10:11:33.395Z] INFO: No Stack... [2023-05-16T10:11:33.655Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:11:34.223Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:11:34.511Z] + + catcut /w/workspace/gexfoundry_device-rest-go_PR-319/archives/cost.csv -d, [2023-05-16T10:11:34.511Z] -f6 [Pipeline] lock [2023-05-16T10:11:34.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] [2023-05-16T10:11:34.536Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] did not exist. Created. [2023-05-16T10:11:34.536Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:11:34.838Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T10:11:34.870Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:11:34.878Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:11:34.904Z] $ docker stop --time=1 90d14d51e9621fc4de5b8908db81fa294b91690cf155a585fa82d7fdef80a3d2 [2023-05-16T10:11:36.106Z] $ docker rm -f --volumes 90d14d51e9621fc4de5b8908db81fa294b91690cf155a585fa82d7fdef80a3d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T10:17:57.590Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15670 in /w/workspace/gexfoundry_device-rest-go_PR-319 [Pipeline] { [Pipeline] ws [2023-05-16T10:17:57.602Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-05-16T10:17:57.662Z] The recommended git tool is: git [2023-05-16T10:18:09.485Z] using credential edgex-jenkins-ssh [2023-05-16T10:18:09.513Z] Cloning the remote Git repository [2023-05-16T10:18:09.591Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T10:18:09.752Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-05-16T10:18:09.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T10:18:09.994Z] > git --version # timeout=10 [2023-05-16T10:18:10.028Z] > git --version # 'git version 2.25.1' [2023-05-16T10:18:10.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:18:10.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:18:12.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T10:18:12.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:18:14.689Z] Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 90c7bff1ddffe6d05a591042972a033356d046d2 [2023-05-16T10:18:15.087Z] Merge succeeded, producing 90c7bff1ddffe6d05a591042972a033356d046d2 [2023-05-16T10:18:15.088Z] Checking out Revision 90c7bff1ddffe6d05a591042972a033356d046d2 (PR-319) [2023-05-16T10:18:14.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T10:18:14.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T10:18:14.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:18:14.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T10:18:14.720Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:18:14.832Z] > git checkout -f 90c7bff1ddffe6d05a591042972a033356d046d2 # timeout=10 [2023-05-16T10:18:14.941Z] > git remote # timeout=10 [2023-05-16T10:18:14.971Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T10:18:14.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:18:15.022Z] > git merge e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 [2023-05-16T10:18:15.059Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T10:18:15.099Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:18:15.124Z] > git checkout -f 90c7bff1ddffe6d05a591042972a033356d046d2 # timeout=10 [2023-05-16T10:18:15.852Z] Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:18:16.841Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T10:18:16.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:18:16.842Z] Dload Upload Total Spent Left Speed [2023-05-16T10:18:16.842Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-05-16T10:18:17.573Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T10:18:17.949Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T10:18:17.950Z] + sudo tee /etc/docker/daemon.new [2023-05-16T10:18:17.950Z] { [2023-05-16T10:18:17.950Z] "registry-mirrors": [ [2023-05-16T10:18:17.950Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T10:18:17.950Z] ], [2023-05-16T10:18:17.950Z] "bip": "10.250.0.254/24", [2023-05-16T10:18:17.950Z] "hosts": [ [2023-05-16T10:18:17.950Z] "tcp://0.0.0.0:5555", [2023-05-16T10:18:17.950Z] "unix:///var/run/docker.sock" [2023-05-16T10:18:17.950Z] ], [2023-05-16T10:18:17.950Z] "mtu": 1458, [2023-05-16T10:18:17.950Z] "selinux-enabled": true, [2023-05-16T10:18:17.950Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T10:18:17.950Z] } [Pipeline] sh [2023-05-16T10:18:18.305Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T10:18:18.685Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:18:37.043Z] provisioning config files... [2023-05-16T10:18:37.077Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config11262077414726595312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:18:37.451Z] ---> docker-login.sh [2023-05-16T10:18:37.451Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:18:38.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:18:38.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:18:38.050Z] Configure a credential helper to remove this warning. See [2023-05-16T10:18:38.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:18:38.050Z] [2023-05-16T10:18:38.050Z] Login Succeeded [2023-05-16T10:18:38.050Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:18:38.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:18:38.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:18:38.598Z] Configure a credential helper to remove this warning. See [2023-05-16T10:18:38.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:18:38.598Z] [2023-05-16T10:18:38.598Z] Login Succeeded [2023-05-16T10:18:38.598Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:18:38.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:18:38.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:18:38.873Z] Configure a credential helper to remove this warning. See [2023-05-16T10:18:38.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:18:38.873Z] [2023-05-16T10:18:38.873Z] Login Succeeded [2023-05-16T10:18:38.873Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:18:39.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:18:39.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:18:39.422Z] Configure a credential helper to remove this warning. See [2023-05-16T10:18:39.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:18:39.422Z] [2023-05-16T10:18:39.422Z] Login Succeeded [2023-05-16T10:18:39.422Z] docker.io [2023-05-16T10:18:39.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:18:39.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:18:39.969Z] Configure a credential helper to remove this warning. See [2023-05-16T10:18:39.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:18:39.969Z] [2023-05-16T10:18:39.969Z] Login Succeeded [2023-05-16T10:18:39.969Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:18:39.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:18:40.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:18:40.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:18:40.363Z] ========================================================= [2023-05-16T10:18:40.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T10:18:40.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:18:40.741Z] + 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-16T10:18:40.741Z] Sending build context to Docker daemon 139.3kB [2023-05-16T10:18:41.017Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:18:41.017Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T10:18:41.291Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T10:18:41.291Z] c41833b44d91: Pulling fs layer [2023-05-16T10:18:41.291Z] ed15518f5707: Pulling fs layer [2023-05-16T10:18:41.291Z] feae8fd75edb: Pulling fs layer [2023-05-16T10:18:41.291Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T10:18:41.291Z] 3cdef696dda3: Pulling fs layer [2023-05-16T10:18:41.291Z] 2ced38df9373: Pulling fs layer [2023-05-16T10:18:41.291Z] 58f1dce35555: Pulling fs layer [2023-05-16T10:18:41.291Z] 3cdef696dda3: Waiting [2023-05-16T10:18:41.291Z] 2ced38df9373: Waiting [2023-05-16T10:18:41.291Z] 58f1dce35555: Waiting [2023-05-16T10:18:41.291Z] 242c74f7c9fa: Waiting [2023-05-16T10:18:41.291Z] ed15518f5707: Verifying Checksum [2023-05-16T10:18:41.291Z] ed15518f5707: Download complete [2023-05-16T10:18:41.569Z] 242c74f7c9fa: Download complete [2023-05-16T10:18:41.569Z] 3cdef696dda3: Download complete [2023-05-16T10:18:41.569Z] c41833b44d91: Verifying Checksum [2023-05-16T10:18:41.569Z] c41833b44d91: Download complete [2023-05-16T10:18:42.199Z] c41833b44d91: Pull complete [2023-05-16T10:18:42.842Z] ed15518f5707: Pull complete [2023-05-16T10:18:44.356Z] 58f1dce35555: Verifying Checksum [2023-05-16T10:18:44.356Z] 58f1dce35555: Download complete [2023-05-16T10:18:47.077Z] feae8fd75edb: Verifying Checksum [2023-05-16T10:18:47.077Z] feae8fd75edb: Download complete [2023-05-16T10:18:47.358Z] 2ced38df9373: Verifying Checksum [2023-05-16T10:18:47.358Z] 2ced38df9373: Download complete [2023-05-16T10:18:59.906Z] feae8fd75edb: Pull complete [2023-05-16T10:18:59.906Z] 242c74f7c9fa: Pull complete [2023-05-16T10:18:59.906Z] 3cdef696dda3: Pull complete [2023-05-16T10:19:06.641Z] 2ced38df9373: Pull complete [2023-05-16T10:19:08.080Z] 58f1dce35555: Pull complete [2023-05-16T10:19:08.080Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T10:19:08.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T10:19:08.364Z] ---> fadd8f120f05 [2023-05-16T10:19:08.364Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:19:10.390Z] ---> Running in af983f9ad0d3 [2023-05-16T10:19:11.010Z] Removing intermediate container af983f9ad0d3 [2023-05-16T10:19:11.010Z] ---> 8d75ca0da9bb [2023-05-16T10:19:11.010Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:19:11.010Z] ---> Running in a4e747932fdc [2023-05-16T10:19:13.003Z] Removing intermediate container a4e747932fdc [2023-05-16T10:19:13.004Z] ---> 9a94b76c3b82 [2023-05-16T10:19:13.004Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:19:13.303Z] ---> Running in cc024b2acd37 [2023-05-16T10:19:13.584Z] Removing intermediate container cc024b2acd37 [2023-05-16T10:19:13.584Z] ---> c3e818de5f09 [2023-05-16T10:19:13.584Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:19:13.863Z] ---> Running in 8034b83093a2 [2023-05-16T10:19:14.144Z] Removing intermediate container 8034b83093a2 [2023-05-16T10:19:14.144Z] ---> e96ebf8f837a [2023-05-16T10:19:14.144Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:19:14.144Z] ---> Running in c33543c1fc0b [2023-05-16T10:19:15.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:19:16.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:19:18.079Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T10:19:18.079Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T10:19:18.079Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T10:19:18.079Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T10:19:18.079Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:19:18.079Z] OK: 268 MiB in 57 packages [2023-05-16T10:19:19.065Z] Removing intermediate container c33543c1fc0b [2023-05-16T10:19:19.065Z] ---> a8d01de141c3 [2023-05-16T10:19:19.065Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T10:19:19.344Z] ---> Running in f585e677020e [2023-05-16T10:19:19.620Z] Removing intermediate container f585e677020e [2023-05-16T10:19:19.620Z] ---> b545706af823 [2023-05-16T10:19:19.620Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T10:19:20.230Z] ---> aac044d3a1f1 [2023-05-16T10:19:20.230Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:19:20.230Z] ---> Running in 4de1247e7407 [2023-05-16T10:20:28.439Z] Removing intermediate container 4de1247e7407 [2023-05-16T10:20:28.439Z] ---> dcb2d5f06e68 [2023-05-16T10:20:28.439Z] Step 11/12 : COPY . . [2023-05-16T10:20:29.426Z] ---> cb87c02eaa0c [2023-05-16T10:20:29.426Z] Step 12/12 : RUN $MAKE [2023-05-16T10:20:29.426Z] ---> Running in dedbcefb9c12 [2023-05-16T10:20:30.411Z] noop [2023-05-16T10:20:31.417Z] Removing intermediate container dedbcefb9c12 [2023-05-16T10:20:31.417Z] ---> 4bad034dee9d [2023-05-16T10:20:31.417Z] Successfully built 4bad034dee9d [2023-05-16T10:20:31.417Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:20:31.802Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:20:31.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:20:32.066Z] prd-ubuntu20.04-docker-arm64-4c-16g-15670 does not seem to be running inside a container [2023-05-16T10:20:32.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T10:20:33.676Z] $ docker top 8da9553331555440e3f193a72c767b109e942acd6f792b91387cdd938e6be3ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:20:34.586Z] + go version [2023-05-16T10:20:34.586Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T10:20:34.615Z] $ docker stop --time=1 8da9553331555440e3f193a72c767b109e942acd6f792b91387cdd938e6be3ce [2023-05-16T10:20:36.394Z] $ docker rm -f --volumes 8da9553331555440e3f193a72c767b109e942acd6f792b91387cdd938e6be3ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:20:36.979Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:20:36.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:20:37.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-15670 does not seem to be running inside a container [2023-05-16T10:20:37.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T10:20:38.672Z] $ docker top 39eb3428d438825403681ee0eb0cad3a31860ef6a4fd9641ec538135c92982d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:20:39.566Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:20:40.242Z] + make test [2023-05-16T10:20:40.243Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:21:27.187Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T10:23:34.010Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T10:23:37.380Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 32.2% of statements [2023-05-16T10:23:37.651Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T10:23:37.651Z] go vet ./... [2023-05-16T10:24:09.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:24:09.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:24:09.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:24:09.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:24:09.990Z] $ docker stop --time=1 39eb3428d438825403681ee0eb0cad3a31860ef6a4fd9641ec538135c92982d2 [2023-05-16T10:24:11.972Z] $ docker rm -f --volumes 39eb3428d438825403681ee0eb0cad3a31860ef6a4fd9641ec538135c92982d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:24:13.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:24:13.277Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T10:24:13.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:24:14.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:24:14.565Z] + ls -al . [2023-05-16T10:24:14.565Z] total 180 [2023-05-16T10:24:14.565Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:20 . [2023-05-16T10:24:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:18 .. [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 10:18 .dockerignore [2023-05-16T10:24:14.565Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:18 .git [2023-05-16T10:24:14.565Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:18 .github [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 10:18 .gitignore [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:18 .golangci.yml [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 10:18 Attribution.txt [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 10:18 CHANGELOG.md [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 10:18 Dockerfile [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:18 GOVERNANCE.md [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 10:18 Jenkinsfile [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:18 LICENSE [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 10:18 Makefile [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:18 OWNERS.md [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 10:18 README.md [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:09 VERSION [2023-05-16T10:24:14.565Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:18 bin [2023-05-16T10:24:14.565Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:18 cmd [2023-05-16T10:24:14.565Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 10:23 coverage.out [2023-05-16T10:24:14.565Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:18 driver [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 10:18 go.mod [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 10:18 go.sum [2023-05-16T10:24:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:18 snap [2023-05-16T10:24:14.565Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 10:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:24:14.910Z] + 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=90c7bff1ddffe6d05a591042972a033356d046d2 --label arch=arm64 --label version=0.0.0 . [2023-05-16T10:24:14.910Z] Sending build context to Docker daemon 154.6kB [2023-05-16T10:24:15.179Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:24:15.179Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T10:24:15.179Z] ---> 4bad034dee9d [2023-05-16T10:24:15.179Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:24:15.179Z] ---> Running in c88b53555422 [2023-05-16T10:24:15.449Z] Removing intermediate container c88b53555422 [2023-05-16T10:24:15.449Z] ---> ca5e96e81a7a [2023-05-16T10:24:15.449Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:24:15.716Z] ---> Running in 08f03841e7eb [2023-05-16T10:24:15.984Z] Removing intermediate container 08f03841e7eb [2023-05-16T10:24:15.984Z] ---> 9dfb98a2dab4 [2023-05-16T10:24:15.984Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:24:15.984Z] ---> Running in cf05494f7c14 [2023-05-16T10:24:16.251Z] Removing intermediate container cf05494f7c14 [2023-05-16T10:24:16.251Z] ---> 19ddd41e91a3 [2023-05-16T10:24:16.251Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:24:16.517Z] ---> Running in 6befd4af18ef [2023-05-16T10:24:16.786Z] Removing intermediate container 6befd4af18ef [2023-05-16T10:24:16.786Z] ---> d12261d741f6 [2023-05-16T10:24:16.786Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:24:16.786Z] ---> Running in 81cda8cfa478 [2023-05-16T10:24:17.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:24:18.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:24:19.303Z] OK: 268 MiB in 57 packages [2023-05-16T10:24:20.327Z] Removing intermediate container 81cda8cfa478 [2023-05-16T10:24:20.327Z] ---> 357399954317 [2023-05-16T10:24:20.327Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T10:24:20.327Z] ---> Running in e372458c927f [2023-05-16T10:24:20.595Z] Removing intermediate container e372458c927f [2023-05-16T10:24:20.595Z] ---> f9ef88e74ed0 [2023-05-16T10:24:20.595Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T10:24:21.182Z] ---> 23f392c5b3e6 [2023-05-16T10:24:21.182Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:24:21.182Z] ---> Running in d123f7ec561d [2023-05-16T10:24:23.775Z] Removing intermediate container d123f7ec561d [2023-05-16T10:24:23.775Z] ---> cbe118d7fd7d [2023-05-16T10:24:23.775Z] Step 11/25 : COPY . . [2023-05-16T10:24:24.361Z] ---> 50a9859c7dec [2023-05-16T10:24:24.361Z] Step 12/25 : RUN $MAKE [2023-05-16T10:24:24.361Z] ---> Running in aee4f6d14869 [2023-05-16T10:24:25.325Z] 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-16T10:27:02.085Z] Removing intermediate container aee4f6d14869 [2023-05-16T10:27:02.085Z] ---> f0b29667549d [2023-05-16T10:27:02.085Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T10:27:02.085Z] 3.17: Pulling from library/alpine [2023-05-16T10:27:02.085Z] c41833b44d91: Already exists [2023-05-16T10:27:02.085Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:27:02.085Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:27:02.085Z] ---> 51e60588ff2c [2023-05-16T10:27:02.085Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T10:27:02.085Z] ---> Running in a9e82e318d74 [2023-05-16T10:27:02.085Z] Removing intermediate container a9e82e318d74 [2023-05-16T10:27:02.085Z] ---> 47a74171ce18 [2023-05-16T10:27:02.085Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T10:27:02.085Z] ---> Running in 67cee0535295 [2023-05-16T10:27:02.085Z] Removing intermediate container 67cee0535295 [2023-05-16T10:27:02.085Z] ---> dda79174aa90 [2023-05-16T10:27:02.085Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:27:02.086Z] ---> Running in 27ce0dfcd7e9 [2023-05-16T10:27:02.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:27:03.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:27:04.687Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:27:04.687Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:27:04.687Z] OK: 8 MiB in 16 packages [2023-05-16T10:27:05.658Z] Removing intermediate container 27ce0dfcd7e9 [2023-05-16T10:27:05.658Z] ---> 23f4e6cbc770 [2023-05-16T10:27:05.658Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T10:27:07.613Z] ---> d9446fb4439a [2023-05-16T10:27:07.613Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T10:27:08.200Z] ---> 6e17e4a97377 [2023-05-16T10:27:08.200Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T10:27:08.785Z] ---> 84d667bc75d0 [2023-05-16T10:27:08.785Z] Step 20/25 : EXPOSE 59986 [2023-05-16T10:27:08.785Z] ---> Running in 261c93f99c80 [2023-05-16T10:27:09.072Z] Removing intermediate container 261c93f99c80 [2023-05-16T10:27:09.073Z] ---> e5ee8e43000f [2023-05-16T10:27:09.073Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T10:27:09.343Z] ---> Running in a8483903a185 [2023-05-16T10:27:09.611Z] Removing intermediate container a8483903a185 [2023-05-16T10:27:09.611Z] ---> 9feae905ec99 [2023-05-16T10:27:09.611Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T10:27:09.611Z] ---> Running in 32117b64f3c2 [2023-05-16T10:27:09.886Z] Removing intermediate container 32117b64f3c2 [2023-05-16T10:27:09.886Z] ---> 434603bef3d3 [2023-05-16T10:27:09.886Z] Step 23/25 : LABEL arch=arm64 [2023-05-16T10:27:10.154Z] ---> Running in 487f5a3afda9 [2023-05-16T10:27:10.424Z] Removing intermediate container 487f5a3afda9 [2023-05-16T10:27:10.424Z] ---> ddaee750ec22 [2023-05-16T10:27:10.424Z] Step 24/25 : LABEL git_sha=90c7bff1ddffe6d05a591042972a033356d046d2 [2023-05-16T10:27:10.424Z] ---> Running in 0e86a048f209 [2023-05-16T10:27:10.693Z] Removing intermediate container 0e86a048f209 [2023-05-16T10:27:10.693Z] ---> b60c2b0c0258 [2023-05-16T10:27:10.693Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T10:27:10.962Z] ---> Running in 803c66922ada [2023-05-16T10:27:11.267Z] Removing intermediate container 803c66922ada [2023-05-16T10:27:11.267Z] ---> a4ec41b33c95 [2023-05-16T10:27:11.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:27:11.267Z] Successfully built a4ec41b33c95 [2023-05-16T10:27:11.267Z] 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-16T10:27:11.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:27:11.739Z] [2023-05-16T10:27:11.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:27:12.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:27:12.136Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T10:27:12.136Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T10:27:12.136Z] 04944245beec: Pulling fs layer [2023-05-16T10:27:12.136Z] 699f458cf7ca: Pulling fs layer [2023-05-16T10:27:12.136Z] 765212b225bb: Pulling fs layer [2023-05-16T10:27:12.136Z] f23df028b6ca: Pulling fs layer [2023-05-16T10:27:12.136Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T10:27:12.136Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T10:27:12.136Z] f23df028b6ca: Waiting [2023-05-16T10:27:12.136Z] 765212b225bb: Waiting [2023-05-16T10:27:12.136Z] d65c8cfc05b1: Waiting [2023-05-16T10:27:12.136Z] 2437ff75d9bd: Waiting [2023-05-16T10:27:12.452Z] 04944245beec: Verifying Checksum [2023-05-16T10:27:12.453Z] 04944245beec: Download complete [2023-05-16T10:27:12.453Z] 765212b225bb: Verifying Checksum [2023-05-16T10:27:12.453Z] 765212b225bb: Download complete [2023-05-16T10:27:12.453Z] f23df028b6ca: Verifying Checksum [2023-05-16T10:27:12.453Z] f23df028b6ca: Download complete [2023-05-16T10:27:12.453Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T10:27:12.453Z] d65c8cfc05b1: Download complete [2023-05-16T10:27:12.740Z] 699f458cf7ca: Verifying Checksum [2023-05-16T10:27:12.740Z] 699f458cf7ca: Download complete [2023-05-16T10:27:13.025Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T10:27:13.025Z] 8998bd30e6a1: Download complete [2023-05-16T10:27:15.671Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T10:27:15.671Z] 2437ff75d9bd: Download complete [2023-05-16T10:27:17.098Z] 8998bd30e6a1: Pull complete [2023-05-16T10:27:17.685Z] 04944245beec: Pull complete [2023-05-16T10:27:19.102Z] 699f458cf7ca: Pull complete [2023-05-16T10:27:19.102Z] 765212b225bb: Pull complete [2023-05-16T10:27:21.049Z] f23df028b6ca: Pull complete [2023-05-16T10:27:21.050Z] d65c8cfc05b1: Pull complete [2023-05-16T10:27:36.080Z] 2437ff75d9bd: Pull complete [2023-05-16T10:27:36.080Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T10:27:36.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:27:36.080Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:27:36.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-15670 does not seem to be running inside a container [2023-05-16T10:27:36.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T10:27:39.563Z] $ docker top a5518b7b0de1dd37d8bf1d5b091b3956b3632014ba7dadb3602c4de0cc3c0a27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:40.471Z] ---> job-cost.sh [2023-05-16T10:27:40.471Z] lf-activate-venv: SKIPPING [2023-05-16T10:27:40.471Z] INFO: No Stack... [2023-05-16T10:27:41.063Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T10:27:41.657Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:27:42.317Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-05-16T10:27:42.317Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:27:42.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] [2023-05-16T10:27:42.412Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] did not exist. Created. [2023-05-16T10:27:42.412Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:27:43.090Z] /w/workspace/device-rest-go/2@tmp/durable-e8166a3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T10:27:43.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T10:27:43.793Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T10:27:43.847Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:27:43.853Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-319-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:27:43.884Z] $ docker stop --time=1 a5518b7b0de1dd37d8bf1d5b091b3956b3632014ba7dadb3602c4de0cc3c0a27 [2023-05-16T10:27:48.268Z] $ docker rm -f --volumes a5518b7b0de1dd37d8bf1d5b091b3956b3632014ba7dadb3602c4de0cc3c0a27 [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-16T10:27:48.680Z] provisioning config files... [2023-05-16T10:27:48.687Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config4421924346720094538tmp [Pipeline] { [Pipeline] sh [2023-05-16T10:27:48.987Z] + set +x [2023-05-16T10:27:48.987Z] + curl -s https://codecov.io/bash [2023-05-16T10:27:48.987Z] + bash -s -- [2023-05-16T10:27:48.987Z] [2023-05-16T10:27:48.987Z] _____ _ [2023-05-16T10:27:48.987Z] / ____| | | [2023-05-16T10:27:48.987Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T10:27:48.987Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T10:27:48.987Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T10:27:48.987Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T10:27:48.988Z] Bash-1.0.6 [2023-05-16T10:27:48.988Z] [2023-05-16T10:27:48.988Z] [2023-05-16T10:27:48.988Z] ==> git version 2.25.1 found [2023-05-16T10:27:48.988Z] ==> 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-16T10:27:48.988Z] Release-Date: 2020-01-08 [2023-05-16T10:27:48.988Z] 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-16T10:27:48.988Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T10:27:48.988Z] ==> Jenkins CI detected. [2023-05-16T10:27:48.988Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-319 [2023-05-16T10:27:48.988Z] project root: . [2023-05-16T10:27:48.988Z] --> token set from env [2023-05-16T10:27:48.988Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T10:27:48.988Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T10:27:48.988Z] ==> Python coveragepy not found [2023-05-16T10:27:48.988Z] ==> Searching for coverage reports in: [2023-05-16T10:27:48.988Z] + . [2023-05-16T10:27:48.988Z] -> Found 1 reports [2023-05-16T10:27:48.988Z] ==> Detecting git/mercurial file structure [2023-05-16T10:27:48.988Z] ==> Reading reports [2023-05-16T10:27:48.988Z] + ./coverage.out bytes=14663 [2023-05-16T10:27:48.988Z] ==> Appending adjustments [2023-05-16T10:27:48.988Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T10:27:49.247Z] + Found adjustments [2023-05-16T10:27:49.247Z] ==> Gzipping contents [2023-05-16T10:27:49.247Z] 4.0K /tmp/codecov.ezjkhM.gz [2023-05-16T10:27:49.247Z] ==> Uploading reports [2023-05-16T10:27:49.247Z] url: https://codecov.io [2023-05-16T10:27:49.247Z] query: branch=PR-319&commit=90c7bff1ddffe6d05a591042972a033356d046d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-319%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=319&job=&cmd_args= [2023-05-16T10:27:49.247Z] -> Pinging Codecov [2023-05-16T10:27:49.247Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-319&commit=90c7bff1ddffe6d05a591042972a033356d046d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-319%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=319&job=&cmd_args= [2023-05-16T10:27:49.247Z] -> Uploading to [2023-05-16T10:27:49.247Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/4E5D53B4F1F92C436F7061BF334D961C/90c7bff1ddffe6d05a591042972a033356d046d2/93f4418b-4525-4fae-84a7-267d0db4a436.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T102749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c30bd1ad2ca4f2764ed13f70b1316d436a538dd4d2966bd00048c8535c52d81c [2023-05-16T10:27:49.247Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:27:49.247Z] Dload Upload Total Spent Left Speed [2023-05-16T10:27:49.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13944 --:--:-- --:--:-- --:--:-- 13944 [2023-05-16T10:27:49.506Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/90c7bff1ddffe6d05a591042972a033356d046d2 [Pipeline] } [2023-05-16T10:27:49.514Z] 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-16T10:27:50.196Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-319/archives ] [2023-05-16T10:27:50.196Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-319/archives [2023-05-16T10:27:50.196Z] total 16 [2023-05-16T10:27:50.196Z] drwxr-xr-x 3 root root 4096 May 16 10:11 . [2023-05-16T10:27:50.196Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:11 .. [2023-05-16T10:27:50.196Z] drwxr-xr-x 2 root root 4096 May 16 10:11 cost [2023-05-16T10:27:50.196Z] -rw-r--r-- 1 root root 86 May 16 10:11 cost.csv [2023-05-16T10:27:50.196Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-319/archives [2023-05-16T10:27:50.196Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-319/archives [2023-05-16T10:27:50.196Z] total 16 [2023-05-16T10:27:50.196Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:11 . [2023-05-16T10:27:50.196Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:11 .. [2023-05-16T10:27:50.196Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:11 cost [2023-05-16T10:27:50.196Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 10:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:50.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:51.343Z] ---> package-listing.sh [2023-05-16T10:27:51.343Z] ++ facter osfamily [2023-05-16T10:27:51.343Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T10:27:51.602Z] + OS_FAMILY=debian [2023-05-16T10:27:51.602Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-319 [2023-05-16T10:27:51.602Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T10:27:51.602Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T10:27:51.602Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T10:27:51.602Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T10:27:51.602Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-319 ']' [2023-05-16T10:27:51.602Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T10:27:51.602Z] + case "${OS_FAMILY}" in [2023-05-16T10:27:51.602Z] + dpkg -l [2023-05-16T10:27:51.602Z] + grep '^ii' [2023-05-16T10:27:51.602Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T10:27:51.602Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T10:27:51.602Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T10:27:51.602Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-319 ']' [2023-05-16T10:27:51.602Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-319/archives/ [2023-05-16T10:27:51.602Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-319/archives/ [Pipeline] echo [2023-05-16T10:27:51.612Z] 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T10:27:51.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:27:52.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:27:52.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:27:52.521Z] prd-ubuntu20.04-docker-8c-8g-15557 does not seem to be running inside a container [2023-05-16T10:27:52.553Z] $ 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-319/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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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-16T10:27:52.755Z] $ docker top 5947d8ff122358c8eddb26cbc504c860eb214a12e47db9451c02385f9462ba03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:27:53.093Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T10:27:53.379Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T10:27:53.660Z] + ls /var/log/sa-host [2023-05-16T10:27:53.660Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:27:53.734Z] provisioning config files... [2023-05-16T10:27:53.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config6727631049717703543tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:27:53.757Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:54.039Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T10:27:54.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:54.376Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T10:27:54.383Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:54.665Z] ---> sudo-logs.sh [2023-05-16T10:27:54.665Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T10:27:54.698Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:54.981Z] ---> job-cost.sh [2023-05-16T10:27:54.982Z] lf-activate-venv: SKIPPING [2023-05-16T10:27:54.982Z] DEBUG: total: 0.2199999988079071 [2023-05-16T10:27:54.982Z] INFO: Retrieving Stack Cost... [2023-05-16T10:27:55.552Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:27:55.811Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T10:27:55.822Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:27:56.103Z] ---> logs-deploy.sh [2023-05-16T10:27:56.103Z] lf-activate-venv: SKIPPING [2023-05-16T10:27:56.103Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-319/2 [2023-05-16T10:27:56.103Z] INFO: archiving workspace using pattern(s): [2023-05-16T10:27:57.053Z] Archives upload complete. [2023-05-16T10:27:57.054Z] INFO: archiving logs to Nexus