Pull request #367 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5+abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 (6a53420c62cbb5c1aaadc3ce8c3621ce43a8f933) 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-ssh16956663491770745695.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh1274744437308758949.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7008727030419834107.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8280159401369208081.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8967228139833144040.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9803720300706199994.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17519 in /w/workspace/gexfoundry_device-rest-go_PR-367 [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-367 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 into PR head commit 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 Merge succeeded, producing 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 Checking out Revision 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 (PR-367) > git config core.sparsecheckout # timeout=10 > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # 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 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T18:54:55.077Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:54:55.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:54:55.385Z] ========================================================= [2023-11-14T18:54:55.385Z] EdgeX Global Pipelines Version Info [2023-11-14T18:54:55.385Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:56.126Z] ------------------- [2023-11-14T18:54:56.126Z] stable info: [2023-11-14T18:54:56.126Z] ------------------- [2023-11-14T18:54:56.126Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:54:56.126Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:54:56.126Z] Message: update stable to v1.0.257 [2023-11-14T18:54:56.696Z] ------------------- [2023-11-14T18:54:56.696Z] experimental info: [2023-11-14T18:54:56.696Z] ------------------- [2023-11-14T18:54:56.696Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:54:56.696Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:54:56.696Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:54:57.034Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-14T18:54:57.079Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-14T18:54:57.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:54:57.176Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:54:57.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:54:57.260Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:54:57.298Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:54:57.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T18:54:57.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:54:57.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:54:57.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:54:57.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-14T18:54:57.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:54:57.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:54:57.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:54:57.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:54:57.722Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:54:57.772Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:54:57.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:54:57.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:54:57.910Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T18:54:57.955Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T18:54:57.997Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:54:58.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:54:58.091Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:54:58.140Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:54:58.188Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:54:58.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo [2023-11-14T18:54:58.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo [2023-11-14T18:54:58.321Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo [2023-11-14T18:54:58.366Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo [2023-11-14T18:54:58.413Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c19ced [Pipeline] echo [2023-11-14T18:54:58.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:54:58.592Z] provisioning config files... [2023-11-14T18:54:58.607Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config5894049599305608033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:58.951Z] ---> docker-login.sh [2023-11-14T18:54:58.951Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:54:59.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:59.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:59.471Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:59.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:59.471Z] [2023-11-14T18:54:59.471Z] Login Succeeded [2023-11-14T18:54:59.471Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:54:59.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:59.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:59.471Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:59.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:59.471Z] [2023-11-14T18:54:59.471Z] Login Succeeded [2023-11-14T18:54:59.471Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:54:59.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:59.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:59.471Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:59.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:59.471Z] [2023-11-14T18:54:59.471Z] Login Succeeded [2023-11-14T18:54:59.471Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:54:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:59.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:59.731Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:59.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:59.731Z] [2023-11-14T18:54:59.731Z] Login Succeeded [2023-11-14T18:54:59.731Z] docker.io [2023-11-14T18:54:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:59.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:59.991Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:59.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:59.991Z] [2023-11-14T18:54:59.991Z] Login Succeeded [2023-11-14T18:54:59.991Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:55:00.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:55:00.695Z] + git rev-list -1 --merges 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5~1..4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo [2023-11-14T18:55:00.760Z] -----------> git rev-list -1 --merges 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5~1..4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [false] [Pipeline] sh [2023-11-14T18:55:01.077Z] + git log --format=format:%s -1 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo [2023-11-14T18:55:01.114Z] ========================================================= [2023-11-14T18:55:01.114Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:55:01.114Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:55:01.549Z] + git log --format=format:%s -1 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo [2023-11-14T18:55:01.579Z] [semverPrep] GIT_COMMIT: 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:55:01.608Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:55:02.091Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:55:02.091Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:55:02.091Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:55:02.091Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:55:02.091Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:55:02.091Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:55:02.091Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:55:02.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:55:02.518Z] [2023-11-14T18:55:02.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:55:02.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:55:02.888Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:55:02.888Z] b85a868b505f: Pulling fs layer [2023-11-14T18:55:02.888Z] e2be974225ed: Pulling fs layer [2023-11-14T18:55:02.888Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:55:02.888Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:55:02.888Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:55:02.888Z] eaf3925da568: Pulling fs layer [2023-11-14T18:55:02.888Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:55:02.888Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:55:02.888Z] eaf3925da568: Waiting [2023-11-14T18:55:02.888Z] 1469e6f7b9e6: Waiting [2023-11-14T18:55:02.888Z] 988bab9f4d93: Waiting [2023-11-14T18:55:02.888Z] bab4dde63d76: Waiting [2023-11-14T18:55:02.888Z] bde34c3a00c8: Waiting [2023-11-14T18:55:02.888Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:55:02.888Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:55:02.888Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:55:02.888Z] b352a97aabf1: Waiting [2023-11-14T18:55:02.888Z] 4872d77fe225: Waiting [2023-11-14T18:55:02.888Z] 5851b861e8e6: Waiting [2023-11-14T18:55:02.888Z] e2be974225ed: Download complete [2023-11-14T18:55:02.888Z] 988bab9f4d93: Download complete [2023-11-14T18:55:03.153Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:55:03.153Z] 1469e6f7b9e6: Download complete [2023-11-14T18:55:03.153Z] eaf3925da568: Verifying Checksum [2023-11-14T18:55:03.153Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:55:03.153Z] 339a4e72a1f5: Download complete [2023-11-14T18:55:03.153Z] bde34c3a00c8: Verifying Checksum [2023-11-14T18:55:03.153Z] bde34c3a00c8: Download complete [2023-11-14T18:55:03.153Z] b352a97aabf1: Verifying Checksum [2023-11-14T18:55:03.153Z] b352a97aabf1: Download complete [2023-11-14T18:55:03.153Z] 4872d77fe225: Verifying Checksum [2023-11-14T18:55:03.153Z] 4872d77fe225: Download complete [2023-11-14T18:55:03.153Z] 5851b861e8e6: Download complete [2023-11-14T18:55:03.411Z] b85a868b505f: Verifying Checksum [2023-11-14T18:55:03.411Z] b85a868b505f: Download complete [2023-11-14T18:55:03.670Z] bab4dde63d76: Verifying Checksum [2023-11-14T18:55:03.670Z] bab4dde63d76: Download complete [2023-11-14T18:55:04.235Z] b85a868b505f: Pull complete [2023-11-14T18:55:04.494Z] e2be974225ed: Pull complete [2023-11-14T18:55:05.061Z] 339a4e72a1f5: Pull complete [2023-11-14T18:55:05.061Z] 988bab9f4d93: Pull complete [2023-11-14T18:55:05.318Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:55:05.318Z] eaf3925da568: Pull complete [2023-11-14T18:55:06.691Z] bab4dde63d76: Pull complete [2023-11-14T18:55:06.951Z] bde34c3a00c8: Pull complete [2023-11-14T18:55:06.951Z] b352a97aabf1: Pull complete [2023-11-14T18:55:06.951Z] 4872d77fe225: Pull complete [2023-11-14T18:55:07.210Z] 5851b861e8e6: Pull complete [2023-11-14T18:55:07.210Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:55:07.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:55:07.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:55:07.424Z] prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container [2023-11-14T18:55:07.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@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-11-14T18:55:10.502Z] $ docker top 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 -eo pid,comm [2023-11-14T18:55:10.593Z] 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-11-14T18:55:10.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:55:10.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:55:10.730Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:55:10.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:55:10.839Z] $ docker exec 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent [2023-11-14T18:55:10.930Z] SSH_AUTH_SOCK=/tmp/ssh-ADZSm2hjvDHx/agent.31 [2023-11-14T18:55:10.930Z] SSH_AGENT_PID=37 [2023-11-14T18:55:10.935Z] Running ssh-add (command line suppressed) [2023-11-14T18:55:11.036Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_17027305853293908102.key (/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_17027305853293908102.key) [2023-11-14T18:55:11.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:55:11.380Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:55:11.407Z] $ docker exec --env ******** --env ******** 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent -k [2023-11-14T18:55:11.512Z] unset SSH_AUTH_SOCK; [2023-11-14T18:55:11.512Z] unset SSH_AGENT_PID; [2023-11-14T18:55:11.512Z] echo Agent pid 37 killed; [2023-11-14T18:55:11.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:55:11.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:55:11.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:55:11.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:55:11.771Z] $ docker exec 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent [2023-11-14T18:55:11.864Z] SSH_AUTH_SOCK=/tmp/ssh-aC24dbRD53no/agent.69 [2023-11-14T18:55:11.864Z] SSH_AGENT_PID=76 [2023-11-14T18:55:11.868Z] Running ssh-add (command line suppressed) [2023-11-14T18:55:11.968Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_14963049202779785026.key (/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_14963049202779785026.key) [2023-11-14T18:55:11.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:55:12.313Z] + git semver init [2023-11-14T18:55:12.573Z] 2023-11-14 18:55:12,466 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:55:12.573Z] 2023-11-14 18:55:12,466 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-367/.semver [2023-11-14T18:55:12.573Z] 2023-11-14 18:55:12,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-367/.semver [2023-11-14T18:55:12.573Z] 2023-11-14 18:55:12,467 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-367/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-367, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,597 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-367/.git/info/exclude [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,597 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-367/.semver/PR-367 with force:False [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,598 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-367/.semver/PR-367 [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,601 [execute] INFO git cat-file --batch-check [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-367/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,608 [execute] INFO git cat-file --batch [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-367/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:55:13.953Z] 2023-11-14 18:55:13,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-367/.semver/PR-367 [2023-11-14T18:55:13.953Z] 0.0.0 [Pipeline] } [2023-11-14T18:55:13.981Z] $ docker exec --env ******** --env ******** 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent -k [2023-11-14T18:55:14.060Z] unset SSH_AUTH_SOCK; [2023-11-14T18:55:14.061Z] unset SSH_AGENT_PID; [2023-11-14T18:55:14.061Z] echo Agent pid 76 killed; [2023-11-14T18:55:14.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:55:14.500Z] + git semver [Pipeline] } [2023-11-14T18:55:14.788Z] $ docker stop --time=1 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 [2023-11-14T18:55:16.717Z] $ docker rm -f --volumes 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:55:17.160Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:55:17.491Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:55:17.508Z] [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-11-14T18:55:18.138Z] provisioning config files... [2023-11-14T18:55:18.148Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config12853732964122743768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:55:18.506Z] ---> docker-login.sh [2023-11-14T18:55:18.506Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:55:18.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:55:18.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:55:18.506Z] Configure a credential helper to remove this warning. See [2023-11-14T18:55:18.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:55:18.506Z] [2023-11-14T18:55:18.506Z] Login Succeeded [2023-11-14T18:55:18.506Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:55:18.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:55:18.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:55:18.766Z] Configure a credential helper to remove this warning. See [2023-11-14T18:55:18.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:55:18.766Z] [2023-11-14T18:55:18.766Z] Login Succeeded [2023-11-14T18:55:18.766Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:55:18.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:55:18.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:55:18.766Z] Configure a credential helper to remove this warning. See [2023-11-14T18:55:18.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:55:18.766Z] [2023-11-14T18:55:18.766Z] Login Succeeded [2023-11-14T18:55:18.766Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:55:18.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:55:18.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:55:18.766Z] Configure a credential helper to remove this warning. See [2023-11-14T18:55:18.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:55:18.766Z] [2023-11-14T18:55:18.766Z] Login Succeeded [2023-11-14T18:55:18.766Z] docker.io [2023-11-14T18:55:19.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:55:19.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:55:19.283Z] Configure a credential helper to remove this warning. See [2023-11-14T18:55:19.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:55:19.283Z] [2023-11-14T18:55:19.283Z] Login Succeeded [2023-11-14T18:55:19.283Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:55:19.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:55:19.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:55:19.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:55:19.587Z] ========================================================= [2023-11-14T18:55:19.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:55:19.587Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:55:20.094Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:55:20.094Z] Sending build context to Docker daemon 10.94MB [2023-11-14T18:55:20.094Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:55:20.094Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:55:20.094Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:55:20.094Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:55:20.094Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:55:20.094Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:55:20.094Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:55:20.094Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:55:20.094Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:55:20.094Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:55:20.094Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:55:20.094Z] ad3a456e5733: Waiting [2023-11-14T18:55:20.094Z] 69c7f0334f64: Waiting [2023-11-14T18:55:20.094Z] 1f1c1a5573a3: Waiting [2023-11-14T18:55:20.094Z] ce7588e14bc9: Waiting [2023-11-14T18:55:20.094Z] b5e4710f87ac: Waiting [2023-11-14T18:55:20.094Z] c4d48a809fc2: Verifying Checksum [2023-11-14T18:55:20.094Z] c4d48a809fc2: Download complete [2023-11-14T18:55:20.094Z] ad3a456e5733: Verifying Checksum [2023-11-14T18:55:20.094Z] ad3a456e5733: Download complete [2023-11-14T18:55:20.094Z] 69c7f0334f64: Verifying Checksum [2023-11-14T18:55:20.094Z] 69c7f0334f64: Download complete [2023-11-14T18:55:20.392Z] 7264a8db6415: Verifying Checksum [2023-11-14T18:55:20.392Z] 7264a8db6415: Download complete [2023-11-14T18:55:20.392Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:55:20.392Z] 1f1c1a5573a3: Download complete [2023-11-14T18:55:20.392Z] 7264a8db6415: Pull complete [2023-11-14T18:55:20.392Z] c4d48a809fc2: Pull complete [2023-11-14T18:55:20.657Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:55:20.657Z] b5e4710f87ac: Download complete [2023-11-14T18:55:20.917Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T18:55:20.917Z] 4f1c88b9dad5: Download complete [2023-11-14T18:55:21.185Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:55:21.185Z] ce7588e14bc9: Download complete [2023-11-14T18:55:23.714Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:55:23.714Z] ad3a456e5733: Pull complete [2023-11-14T18:55:23.974Z] 69c7f0334f64: Pull complete [2023-11-14T18:55:23.974Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:55:26.502Z] ce7588e14bc9: Pull complete [2023-11-14T18:55:27.068Z] b5e4710f87ac: Pull complete [2023-11-14T18:55:27.068Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:55:27.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:55:27.068Z] ---> 88b5674ff536 [2023-11-14T18:55:27.068Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:55:32.938Z] Still waiting to schedule task [2023-11-14T18:55:32.939Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T18:55:35.181Z] ---> Running in 89e86595086a [2023-11-14T18:55:35.181Z] Removing intermediate container 89e86595086a [2023-11-14T18:55:35.181Z] ---> d2c8028be618 [2023-11-14T18:55:35.181Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:55:35.181Z] ---> Running in 1293f7b605e7 [2023-11-14T18:55:35.181Z] Removing intermediate container 1293f7b605e7 [2023-11-14T18:55:35.181Z] ---> bd78284dc067 [2023-11-14T18:55:35.181Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T18:55:35.181Z] ---> Running in 4ee139b8241b [2023-11-14T18:55:35.181Z] Removing intermediate container 4ee139b8241b [2023-11-14T18:55:35.181Z] ---> 9fec9caec5cc [2023-11-14T18:55:35.181Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:55:35.181Z] ---> Running in 9306e058602c [2023-11-14T18:55:35.181Z] Removing intermediate container 9306e058602c [2023-11-14T18:55:35.181Z] ---> bf9a7c4311e7 [2023-11-14T18:55:35.181Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:55:35.181Z] ---> Running in edc5094b41b3 [2023-11-14T18:55:35.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:55:35.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:55:35.442Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:55:35.442Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T18:55:35.442Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:55:35.442Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:55:35.442Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:55:35.442Z] OK: 268 MiB in 56 packages [2023-11-14T18:55:36.009Z] Removing intermediate container edc5094b41b3 [2023-11-14T18:55:36.009Z] ---> b4dab7d1c1df [2023-11-14T18:55:36.010Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-14T18:55:36.268Z] ---> Running in 88a1cf72a463 [2023-11-14T18:55:36.527Z] Removing intermediate container 88a1cf72a463 [2023-11-14T18:55:36.527Z] ---> 5b510ad14b30 [2023-11-14T18:55:36.527Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T18:55:37.093Z] ---> 4aea007a9532 [2023-11-14T18:55:37.093Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:55:37.351Z] ---> Running in f569a9911c71 [2023-11-14T18:56:24.033Z] Removing intermediate container f569a9911c71 [2023-11-14T18:56:24.033Z] ---> e23924088cb6 [2023-11-14T18:56:24.033Z] Step 11/12 : COPY . . [2023-11-14T18:56:24.033Z] ---> ee18a677492c [2023-11-14T18:56:24.033Z] Step 12/12 : RUN $MAKE [2023-11-14T18:56:24.033Z] ---> Running in 40f96cc3278e [2023-11-14T18:56:24.033Z] noop [2023-11-14T18:56:24.033Z] Removing intermediate container 40f96cc3278e [2023-11-14T18:56:24.033Z] ---> ec1ee5302fd7 [2023-11-14T18:56:24.033Z] Successfully built ec1ee5302fd7 [2023-11-14T18:56:24.033Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:56:24.495Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:56:24.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:56:24.658Z] prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container [2023-11-14T18:56:24.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@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-11-14T18:56:26.828Z] $ docker top 9d39ee295917434aece72db09216036b47beecf92561e6ac76f2748e7a0cabd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:56:27.291Z] + go version [2023-11-14T18:56:27.291Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:56:27.328Z] $ docker stop --time=1 9d39ee295917434aece72db09216036b47beecf92561e6ac76f2748e7a0cabd3 [2023-11-14T18:56:28.801Z] $ docker rm -f --volumes 9d39ee295917434aece72db09216036b47beecf92561e6ac76f2748e7a0cabd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:56:29.541Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:56:29.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:56:29.684Z] prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container [2023-11-14T18:56:29.721Z] $ 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-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@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-11-14T18:56:30.033Z] $ docker top b3b12063de0a3c97440f52c296ef54188e6f300a8875f8b952d0951d4307f44d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:56:30.419Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-367 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:56:30.784Z] + make test [2023-11-14T18:56:30.784Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:56:34.080Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-14T18:56:44.039Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-14T18:56:44.040Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-11-14T18:56:48.223Z] go vet ./... [2023-11-14T18:56:51.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:56:51.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:56:51.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:56:51.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:56:51.819Z] $ docker stop --time=1 b3b12063de0a3c97440f52c296ef54188e6f300a8875f8b952d0951d4307f44d [2023-11-14T18:56:55.624Z] $ docker rm -f --volumes b3b12063de0a3c97440f52c296ef54188e6f300a8875f8b952d0951d4307f44d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:56:56.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:56:56.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:56:56.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:56:57.167Z] + ls -al . [2023-11-14T18:56:57.167Z] total 180 [2023-11-14T18:56:57.167Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:56 . [2023-11-14T18:56:57.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:54 .. [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 14 18:54 .dockerignore [2023-11-14T18:56:57.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:56 .git [2023-11-14T18:56:57.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 .github [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 18:54 .gitignore [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:54 .golangci.yml [2023-11-14T18:56:57.167Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:55 .semver [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 14 18:54 Attribution.txt [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 14 18:54 CHANGELOG.md [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 14 18:54 Dockerfile [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:54 GOVERNANCE.md [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 14 18:54 Jenkinsfile [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:54 LICENSE [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 14 18:54 Makefile [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 18:54 OWNERS.md [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 14 18:54 README.md [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:55 VERSION [2023-11-14T18:56:57.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:54 bin [2023-11-14T18:56:57.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 cmd [2023-11-14T18:56:57.167Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 14 18:56 coverage.out [2023-11-14T18:56:57.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:54 driver [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 14 18:54 go.mod [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 18:54 go.sum [2023-11-14T18:56:57.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 openapi [2023-11-14T18:56:57.167Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 14 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:56:57.566Z] + 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=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:56:57.566Z] Sending build context to Docker daemon 10.96MB [2023-11-14T18:56:57.566Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:56:57.566Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T18:56:57.566Z] ---> ec1ee5302fd7 [2023-11-14T18:56:57.566Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:56:57.825Z] ---> Running in f94c5f175373 [2023-11-14T18:56:57.825Z] Removing intermediate container f94c5f175373 [2023-11-14T18:56:57.825Z] ---> 617eaa7d51d8 [2023-11-14T18:56:57.825Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:56:57.825Z] ---> Running in 853d4d113bf6 [2023-11-14T18:56:57.825Z] Removing intermediate container 853d4d113bf6 [2023-11-14T18:56:57.825Z] ---> a02273b1a72f [2023-11-14T18:56:57.825Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T18:56:58.085Z] ---> Running in 88fb147b88a9 [2023-11-14T18:56:58.085Z] Removing intermediate container 88fb147b88a9 [2023-11-14T18:56:58.085Z] ---> 56d25647c78b [2023-11-14T18:56:58.085Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:56:58.085Z] ---> Running in 1fff039d7516 [2023-11-14T18:56:58.085Z] Removing intermediate container 1fff039d7516 [2023-11-14T18:56:58.085Z] ---> a7ccfe8629f9 [2023-11-14T18:56:58.085Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:56:58.085Z] ---> Running in a7a0925952ac [2023-11-14T18:56:58.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:56:58.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:56:58.867Z] OK: 268 MiB in 56 packages [2023-11-14T18:56:59.437Z] Removing intermediate container a7a0925952ac [2023-11-14T18:56:59.437Z] ---> 5db297e098b5 [2023-11-14T18:56:59.437Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-14T18:56:59.696Z] ---> Running in ffc7a2b8587b [2023-11-14T18:56:59.955Z] Removing intermediate container ffc7a2b8587b [2023-11-14T18:56:59.955Z] ---> 4938d92d2936 [2023-11-14T18:56:59.955Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-14T18:57:00.218Z] ---> 2e58339401a1 [2023-11-14T18:57:00.218Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:57:00.218Z] ---> Running in dc235c06409e [2023-11-14T18:57:01.596Z] Removing intermediate container dc235c06409e [2023-11-14T18:57:01.596Z] ---> 06d72181ae44 [2023-11-14T18:57:01.596Z] Step 11/26 : COPY . . [2023-11-14T18:57:02.162Z] ---> cbc9dbdfedc9 [2023-11-14T18:57:02.162Z] Step 12/26 : RUN $MAKE [2023-11-14T18:57:02.162Z] ---> Running in 053d3607e5b9 [2023-11-14T18:57:02.730Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-14T18:57:24.799Z] Removing intermediate container 053d3607e5b9 [2023-11-14T18:57:24.799Z] ---> 77374ecca5d6 [2023-11-14T18:57:24.799Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T18:57:24.799Z] 3.18: Pulling from library/alpine [2023-11-14T18:57:24.799Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:57:24.799Z] 96526aa774ef: Verifying Checksum [2023-11-14T18:57:24.799Z] 96526aa774ef: Download complete [2023-11-14T18:57:24.799Z] 96526aa774ef: Pull complete [2023-11-14T18:57:24.799Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:57:24.799Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:57:24.799Z] ---> 8ca4688f4f35 [2023-11-14T18:57:24.799Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:57:24.799Z] ---> Running in e3e7e7ec9be5 [2023-11-14T18:57:24.799Z] Removing intermediate container e3e7e7ec9be5 [2023-11-14T18:57:24.799Z] ---> d4b1e8e14bcd [2023-11-14T18:57:24.799Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-14T18:57:24.799Z] ---> Running in f59ecc0c78cd [2023-11-14T18:57:25.063Z] Removing intermediate container f59ecc0c78cd [2023-11-14T18:57:25.063Z] ---> d33c2339aaa8 [2023-11-14T18:57:25.063Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:57:25.063Z] ---> Running in 1c5cc3167d2b [2023-11-14T18:57:25.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:57:25.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:57:26.156Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:57:26.156Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:57:26.156Z] OK: 7 MiB in 16 packages [2023-11-14T18:57:27.090Z] Removing intermediate container 1c5cc3167d2b [2023-11-14T18:57:27.090Z] ---> 7c988519fa60 [2023-11-14T18:57:27.090Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-14T18:57:27.090Z] ---> Running in 20f90e6446c3 [2023-11-14T18:57:27.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:57:27.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:57:27.919Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:57:27.919Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:57:27.919Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:57:27.919Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:57:27.919Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:57:27.919Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:57:27.919Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:57:27.919Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:57:27.919Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:57:27.919Z] OK: 7 MiB in 16 packages [2023-11-14T18:57:29.820Z] Removing intermediate container 20f90e6446c3 [2023-11-14T18:57:29.820Z] ---> a1ebc7e01236 [2023-11-14T18:57:29.820Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-14T18:57:30.581Z] ---> 48b3393243d1 [2023-11-14T18:57:30.581Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-14T18:57:30.840Z] ---> a63d0dca0664 [2023-11-14T18:57:30.840Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-14T18:57:30.840Z] ---> a1b65276e25d [2023-11-14T18:57:30.840Z] Step 21/26 : EXPOSE 59986 [2023-11-14T18:57:30.840Z] ---> Running in c0933733515e [2023-11-14T18:57:31.111Z] Removing intermediate container c0933733515e [2023-11-14T18:57:31.111Z] ---> e409da59e6eb [2023-11-14T18:57:31.111Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-14T18:57:31.111Z] ---> Running in 76279fa9caa3 [2023-11-14T18:57:31.111Z] Removing intermediate container 76279fa9caa3 [2023-11-14T18:57:31.111Z] ---> 6ed14095d776 [2023-11-14T18:57:31.111Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T18:57:31.111Z] ---> Running in f84fafce48bd [2023-11-14T18:57:31.111Z] Removing intermediate container f84fafce48bd [2023-11-14T18:57:31.111Z] ---> 40641bfb50a3 [2023-11-14T18:57:31.111Z] Step 24/26 : LABEL arch=amd64 [2023-11-14T18:57:31.111Z] ---> Running in 32a7e2959f86 [2023-11-14T18:57:31.370Z] Removing intermediate container 32a7e2959f86 [2023-11-14T18:57:31.370Z] ---> 0821729afddb [2023-11-14T18:57:31.370Z] Step 25/26 : LABEL git_sha=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [2023-11-14T18:57:31.370Z] ---> Running in 074e5487ab73 [2023-11-14T18:57:31.370Z] Removing intermediate container 074e5487ab73 [2023-11-14T18:57:31.370Z] ---> dcc058b3aa4d [2023-11-14T18:57:31.370Z] Step 26/26 : LABEL version=0.0.0 [2023-11-14T18:57:31.370Z] ---> Running in 5a27d75952ce [2023-11-14T18:57:31.370Z] Removing intermediate container 5a27d75952ce [2023-11-14T18:57:31.370Z] ---> 04a9ecc3fe97 [2023-11-14T18:57:31.370Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:57:31.370Z] Successfully built 04a9ecc3fe97 [2023-11-14T18:57:31.370Z] 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-11-14T18:57:32.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:57:32.244Z] [2023-11-14T18:57:32.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:57:32.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:57:32.620Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:57:32.620Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:57:32.620Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:57:32.620Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:57:32.620Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:57:32.620Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:57:32.620Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:57:32.620Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:57:32.620Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:57:32.620Z] 33b1e0a273af: Waiting [2023-11-14T18:57:32.620Z] 5d3b04190fa2: Waiting [2023-11-14T18:57:32.620Z] 2f39f015ded8: Waiting [2023-11-14T18:57:32.620Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:57:32.620Z] 5c69ac0246d0: Download complete [2023-11-14T18:57:32.620Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T18:57:32.620Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:57:32.620Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:57:32.620Z] 33b1e0a273af: Download complete [2023-11-14T18:57:32.620Z] ec43610c2a17: Verifying Checksum [2023-11-14T18:57:32.620Z] ec43610c2a17: Download complete [2023-11-14T18:57:32.880Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T18:57:32.880Z] 5d3b04190fa2: Download complete [2023-11-14T18:57:32.880Z] 5eb5b503b376: Verifying Checksum [2023-11-14T18:57:32.880Z] 5eb5b503b376: Download complete [2023-11-14T18:57:33.461Z] 2f39f015ded8: Download complete [2023-11-14T18:57:34.027Z] 5eb5b503b376: Pull complete [2023-11-14T18:57:34.027Z] 5c69ac0246d0: Pull complete [2023-11-14T18:57:34.621Z] ec43610c2a17: Pull complete [2023-11-14T18:57:34.621Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:57:34.879Z] 33b1e0a273af: Pull complete [2023-11-14T18:57:34.879Z] 5d3b04190fa2: Pull complete [2023-11-14T18:57:39.058Z] 2f39f015ded8: Pull complete [2023-11-14T18:57:39.058Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:57:39.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:57:39.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:57:39.285Z] prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container [2023-11-14T18:57:39.317Z] $ 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-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@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-11-14T18:57:49.330Z] $ docker top a31bc937b7c53b495b3b0a76adc62a01e64ca13783c20a8da62207917f376f48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:57:49.867Z] ---> job-cost.sh [2023-11-14T18:57:49.867Z] lf-activate-venv: SKIPPING [2023-11-14T18:57:49.868Z] INFO: No Stack... [2023-11-14T18:57:50.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:57:50.387Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:57:50.705Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-367/archives/cost.csv [2023-11-14T18:57:50.705Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:57:50.751Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [2023-11-14T18:57:50.755Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] did not exist. Created. [2023-11-14T18:57:50.756Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:57:51.148Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T18:57:51.193Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:57:51.272Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:57:51.355Z] $ docker stop --time=1 a31bc937b7c53b495b3b0a76adc62a01e64ca13783c20a8da62207917f376f48 [2023-11-14T18:57:52.719Z] $ docker rm -f --volumes a31bc937b7c53b495b3b0a76adc62a01e64ca13783c20a8da62207917f376f48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T18:59:31.665Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17521 in /w/workspace/gexfoundry_device-rest-go_PR-367 [Pipeline] { [Pipeline] ws [2023-11-14T18:59:31.833Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:59:31.965Z] The recommended git tool is: git [2023-11-14T18:59:37.816Z] using credential edgex-jenkins-ssh [2023-11-14T18:59:37.834Z] Cloning the remote Git repository [2023-11-14T18:59:37.892Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-14T18:59:38.010Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-14T18:59:38.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-14T18:59:38.177Z] > git --version # timeout=10 [2023-11-14T18:59:38.205Z] > git --version # 'git version 2.25.1' [2023-11-14T18:59:38.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:59:38.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:59:40.350Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-14T18:59:40.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:59:42.125Z] Merging remotes/origin/main commit abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 into PR head commit 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [2023-11-14T18:59:41.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-14T18:59:41.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-14T18:59:41.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:59:41.475Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:59:42.149Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:59:42.230Z] > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # timeout=10 [2023-11-14T18:59:42.438Z] Merge succeeded, producing 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [2023-11-14T18:59:42.439Z] Checking out Revision 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 (PR-367) [2023-11-14T18:59:42.322Z] > git remote # timeout=10 [2023-11-14T18:59:42.347Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:59:42.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:59:42.386Z] > git merge abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 [2023-11-14T18:59:42.417Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:59:42.450Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:59:42.465Z] > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # timeout=10 [2023-11-14T18:59:46.419Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:59:46.487Z] > git --version # timeout=10 [2023-11-14T18:59:46.499Z] > git --version # 'git version 2.25.1' [2023-11-14T18:59:46.518Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:59:47.646Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:59:47.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:59:47.646Z] Dload Upload Total Spent Left Speed [2023-11-14T18:59:47.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 92569 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh [2023-11-14T18:59:48.447Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:59:48.813Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:59:48.813Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:59:48.813Z] { [2023-11-14T18:59:48.813Z] "registry-mirrors": [ [2023-11-14T18:59:48.813Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:59:48.813Z] ], [2023-11-14T18:59:48.813Z] "bip": "10.250.0.254/24", [2023-11-14T18:59:48.813Z] "hosts": [ [2023-11-14T18:59:48.813Z] "tcp://0.0.0.0:5555", [2023-11-14T18:59:48.813Z] "unix:///var/run/docker.sock" [2023-11-14T18:59:48.813Z] ], [2023-11-14T18:59:48.813Z] "mtu": 1458, [2023-11-14T18:59:48.813Z] "selinux-enabled": true, [2023-11-14T18:59:48.813Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:59:48.813Z] } [Pipeline] sh [2023-11-14T18:59:49.162Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:59:49.528Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:00:07.875Z] provisioning config files... [2023-11-14T19:00:07.914Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10136475207372198930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:00:08.322Z] ---> docker-login.sh [2023-11-14T19:00:08.322Z] nexus3.edgexfoundry.org:10001 [2023-11-14T19:00:08.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:00:08.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:00:08.912Z] Configure a credential helper to remove this warning. See [2023-11-14T19:00:08.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:00:08.912Z] [2023-11-14T19:00:08.912Z] Login Succeeded [2023-11-14T19:00:08.912Z] nexus3.edgexfoundry.org:10002 [2023-11-14T19:00:09.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:00:09.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:00:09.181Z] Configure a credential helper to remove this warning. See [2023-11-14T19:00:09.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:00:09.181Z] [2023-11-14T19:00:09.181Z] Login Succeeded [2023-11-14T19:00:09.181Z] nexus3.edgexfoundry.org:10003 [2023-11-14T19:00:09.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:00:09.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:00:09.721Z] Configure a credential helper to remove this warning. See [2023-11-14T19:00:09.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:00:09.721Z] [2023-11-14T19:00:09.721Z] Login Succeeded [2023-11-14T19:00:09.721Z] nexus3.edgexfoundry.org:10004 [2023-11-14T19:00:09.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:00:09.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:00:09.992Z] Configure a credential helper to remove this warning. See [2023-11-14T19:00:09.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:00:09.992Z] [2023-11-14T19:00:09.992Z] Login Succeeded [2023-11-14T19:00:09.992Z] docker.io [2023-11-14T19:00:10.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:00:11.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:00:11.223Z] Configure a credential helper to remove this warning. See [2023-11-14T19:00:11.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:00:11.223Z] [2023-11-14T19:00:11.223Z] Login Succeeded [2023-11-14T19:00:11.223Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T19:00:11.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T19:00:11.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T19:00:11.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T19:00:11.704Z] ========================================================= [2023-11-14T19:00:11.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T19:00:11.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:00:12.192Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T19:00:15.559Z] Sending build context to Docker daemon 127.5kB [2023-11-14T19:00:15.559Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T19:00:15.559Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T19:00:15.559Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T19:00:15.559Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T19:00:15.559Z] 5d54e960e981: Pulling fs layer [2023-11-14T19:00:15.559Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T19:00:15.559Z] f0e02332f6b5: Pulling fs layer [2023-11-14T19:00:15.559Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T19:00:15.559Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T19:00:15.559Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T19:00:15.559Z] 0c6a40ed1a82: Waiting [2023-11-14T19:00:15.559Z] 94ae7d8d031c: Waiting [2023-11-14T19:00:15.559Z] f0e02332f6b5: Waiting [2023-11-14T19:00:15.559Z] 872ee5b61b7b: Waiting [2023-11-14T19:00:15.559Z] 5d54e960e981: Verifying Checksum [2023-11-14T19:00:15.559Z] 5d54e960e981: Download complete [2023-11-14T19:00:15.559Z] f0e02332f6b5: Verifying Checksum [2023-11-14T19:00:15.559Z] f0e02332f6b5: Download complete [2023-11-14T19:00:15.559Z] 872ee5b61b7b: Download complete [2023-11-14T19:00:15.559Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T19:00:15.559Z] 9fda8d8052c6: Download complete [2023-11-14T19:00:16.155Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T19:00:16.155Z] 94ae7d8d031c: Download complete [2023-11-14T19:00:16.747Z] 9fda8d8052c6: Pull complete [2023-11-14T19:00:17.017Z] 5d54e960e981: Pull complete [2023-11-14T19:00:17.606Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T19:00:17.606Z] c4a7e357bf2a: Download complete [2023-11-14T19:00:19.028Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T19:00:19.028Z] 0c6a40ed1a82: Download complete [2023-11-14T19:00:31.357Z] c4a7e357bf2a: Pull complete [2023-11-14T19:00:31.357Z] f0e02332f6b5: Pull complete [2023-11-14T19:00:31.357Z] 872ee5b61b7b: Pull complete [2023-11-14T19:00:39.619Z] 0c6a40ed1a82: Pull complete [2023-11-14T19:00:43.895Z] 94ae7d8d031c: Pull complete [2023-11-14T19:00:43.895Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T19:00:43.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T19:00:43.895Z] ---> 86de565de09d [2023-11-14T19:00:43.895Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:00:45.313Z] ---> Running in 00a8bcc55a0c [2023-11-14T19:00:45.581Z] Removing intermediate container 00a8bcc55a0c [2023-11-14T19:00:45.581Z] ---> 459918b4e6ec [2023-11-14T19:00:45.581Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:00:45.581Z] ---> Running in 04949cba0bd8 [2023-11-14T19:00:45.848Z] Removing intermediate container 04949cba0bd8 [2023-11-14T19:00:45.848Z] ---> 359af4bf6909 [2023-11-14T19:00:45.848Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T19:00:46.118Z] ---> Running in 1d0685138b3e [2023-11-14T19:00:46.396Z] Removing intermediate container 1d0685138b3e [2023-11-14T19:00:46.396Z] ---> 9fbeb009d78e [2023-11-14T19:00:46.396Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:00:46.396Z] ---> Running in 919c22d78bfa [2023-11-14T19:00:46.990Z] Removing intermediate container 919c22d78bfa [2023-11-14T19:00:46.990Z] ---> 2de6d2f11982 [2023-11-14T19:00:46.990Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:00:46.990Z] ---> Running in 4c5b6b5087a3 [2023-11-14T19:00:48.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:48.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:50.099Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T19:00:50.099Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T19:00:50.099Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T19:00:50.099Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T19:00:50.099Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:00:50.099Z] OK: 271 MiB in 56 packages [2023-11-14T19:00:51.077Z] Removing intermediate container 4c5b6b5087a3 [2023-11-14T19:00:51.077Z] ---> 55568d1f3cb6 [2023-11-14T19:00:51.077Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-14T19:00:51.351Z] ---> Running in a4078c9bef11 [2023-11-14T19:00:51.642Z] Removing intermediate container a4078c9bef11 [2023-11-14T19:00:51.642Z] ---> d7c745a6980a [2023-11-14T19:00:51.642Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T19:00:52.236Z] ---> 4daf8bfc912a [2023-11-14T19:00:52.236Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:00:52.236Z] ---> Running in 7a58c74c4185 [2023-11-14T19:02:13.894Z] Removing intermediate container 7a58c74c4185 [2023-11-14T19:02:13.894Z] ---> 39e393b386a9 [2023-11-14T19:02:13.894Z] Step 11/12 : COPY . . [2023-11-14T19:02:13.894Z] ---> 5fa7e766ebe2 [2023-11-14T19:02:13.894Z] Step 12/12 : RUN $MAKE [2023-11-14T19:02:13.894Z] ---> Running in 6e2c87edbdcd [2023-11-14T19:02:13.894Z] noop [2023-11-14T19:02:13.894Z] Removing intermediate container 6e2c87edbdcd [2023-11-14T19:02:13.894Z] ---> a5bcea8d4244 [2023-11-14T19:02:13.894Z] Successfully built a5bcea8d4244 [2023-11-14T19:02:13.894Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:02:14.393Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T19:02:14.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:02:14.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-17521 does not seem to be running inside a container [2023-11-14T19:02:14.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T19:02:16.043Z] $ docker top f417235494a59186da5af4098e34d04993a9f16504513124422909489ab2b78f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:02:16.931Z] + go version [2023-11-14T19:02:16.931Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T19:02:16.968Z] $ docker stop --time=1 f417235494a59186da5af4098e34d04993a9f16504513124422909489ab2b78f [2023-11-14T19:02:18.609Z] $ docker rm -f --volumes f417235494a59186da5af4098e34d04993a9f16504513124422909489ab2b78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:02:19.476Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T19:02:19.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:02:19.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-17521 does not seem to be running inside a container [2023-11-14T19:02:19.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T19:02:21.079Z] $ docker top 91ccba61d0238a752b845ec2ef1de5193fb4831c6609e59c72c6651105bd079a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:02:21.974Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T19:02:22.689Z] + make test [2023-11-14T19:02:22.689Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T19:02:26.953Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-14T19:04:33.653Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-14T19:04:33.653Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements [2023-11-14T19:04:33.653Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T19:04:33.653Z] go vet ./... [2023-11-14T19:04:51.867Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T19:04:51.867Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T19:04:51.867Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T19:04:51.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T19:04:51.930Z] $ docker stop --time=1 91ccba61d0238a752b845ec2ef1de5193fb4831c6609e59c72c6651105bd079a [2023-11-14T19:04:54.115Z] $ docker rm -f --volumes 91ccba61d0238a752b845ec2ef1de5193fb4831c6609e59c72c6651105bd079a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T19:04:55.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T19:04:55.749Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T19:04:56.490Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T19:04:57.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T19:04:57.496Z] + ls -al . [2023-11-14T19:04:57.496Z] total 176 [2023-11-14T19:04:57.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:02 . [2023-11-14T19:04:57.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:59 .. [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 14 18:59 .dockerignore [2023-11-14T19:04:57.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:59 .git [2023-11-14T19:04:57.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:59 .github [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 18:59 .gitignore [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:59 .golangci.yml [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 14 18:59 Attribution.txt [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 14 18:59 CHANGELOG.md [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 14 18:59 Dockerfile [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:59 GOVERNANCE.md [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 14 18:59 Jenkinsfile [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:59 LICENSE [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 14 18:59 Makefile [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 18:59 OWNERS.md [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 14 18:59 README.md [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:55 VERSION [2023-11-14T19:04:57.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:59 bin [2023-11-14T19:04:57.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:59 cmd [2023-11-14T19:04:57.496Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 14 19:04 coverage.out [2023-11-14T19:04:57.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:59 driver [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 14 18:59 go.mod [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 18:59 go.sum [2023-11-14T19:04:57.496Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:59 openapi [2023-11-14T19:04:57.496Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 14 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:04:57.939Z] + 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=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 --label arch=arm64 --label version=0.0.0 . [2023-11-14T19:04:58.213Z] Sending build context to Docker daemon 142.8kB [2023-11-14T19:04:58.482Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T19:04:58.482Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T19:04:58.482Z] ---> a5bcea8d4244 [2023-11-14T19:04:58.482Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:04:58.756Z] ---> Running in 0e43061711d9 [2023-11-14T19:04:59.349Z] Removing intermediate container 0e43061711d9 [2023-11-14T19:04:59.349Z] ---> 06dce02f5b8e [2023-11-14T19:04:59.349Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:04:59.618Z] ---> Running in d6f841e93985 [2023-11-14T19:04:59.887Z] Removing intermediate container d6f841e93985 [2023-11-14T19:04:59.887Z] ---> 5c6a02065b3a [2023-11-14T19:04:59.887Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T19:05:00.162Z] ---> Running in f387b1921ab6 [2023-11-14T19:05:00.764Z] Removing intermediate container f387b1921ab6 [2023-11-14T19:05:00.764Z] ---> 66b59c50343e [2023-11-14T19:05:00.764Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:05:01.031Z] ---> Running in b5d394b0bc42 [2023-11-14T19:05:01.304Z] Removing intermediate container b5d394b0bc42 [2023-11-14T19:05:01.304Z] ---> b5f9c09ad48c [2023-11-14T19:05:01.304Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:05:01.304Z] ---> Running in 40acd8b0eb79 [2023-11-14T19:05:05.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:05:05.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:05:07.112Z] OK: 271 MiB in 56 packages [2023-11-14T19:05:08.094Z] Removing intermediate container 40acd8b0eb79 [2023-11-14T19:05:08.094Z] ---> 866001d0887f [2023-11-14T19:05:08.094Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-14T19:05:08.367Z] ---> Running in f166de09a6a3 [2023-11-14T19:05:08.657Z] Removing intermediate container f166de09a6a3 [2023-11-14T19:05:08.657Z] ---> c7de7c5dec3d [2023-11-14T19:05:08.657Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-14T19:05:09.251Z] ---> 92984f909324 [2023-11-14T19:05:09.251Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:05:09.522Z] ---> Running in 6dfea429a23c [2023-11-14T19:05:12.121Z] Removing intermediate container 6dfea429a23c [2023-11-14T19:05:12.121Z] ---> 6b22b879a54e [2023-11-14T19:05:12.121Z] Step 11/26 : COPY . . [2023-11-14T19:05:12.716Z] ---> 665660814ce8 [2023-11-14T19:05:12.716Z] Step 12/26 : RUN $MAKE [2023-11-14T19:05:12.993Z] ---> Running in d4269ec377d6 [2023-11-14T19:05:13.959Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-14T19:07:20.688Z] Removing intermediate container d4269ec377d6 [2023-11-14T19:07:20.688Z] ---> b61b099dfb81 [2023-11-14T19:07:20.688Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T19:07:20.688Z] 3.18: Pulling from library/alpine [2023-11-14T19:07:20.688Z] 579b34f0a95b: Pulling fs layer [2023-11-14T19:07:20.688Z] 579b34f0a95b: Verifying Checksum [2023-11-14T19:07:20.688Z] 579b34f0a95b: Download complete [2023-11-14T19:07:20.688Z] 579b34f0a95b: Pull complete [2023-11-14T19:07:20.688Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T19:07:20.688Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T19:07:20.688Z] ---> 3cc203321400 [2023-11-14T19:07:20.688Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T19:07:20.688Z] ---> Running in bc7894aa0ca2 [2023-11-14T19:07:20.688Z] Removing intermediate container bc7894aa0ca2 [2023-11-14T19:07:20.688Z] ---> 66e11bd55789 [2023-11-14T19:07:20.688Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-14T19:07:20.688Z] ---> Running in e5d56bde0c70 [2023-11-14T19:07:20.688Z] Removing intermediate container e5d56bde0c70 [2023-11-14T19:07:20.689Z] ---> b91fd0b70965 [2023-11-14T19:07:20.689Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T19:07:20.689Z] ---> Running in 01e77ce32152 [2023-11-14T19:07:20.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:07:20.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:07:21.289Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T19:07:21.289Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T19:07:21.289Z] OK: 8 MiB in 16 packages [2023-11-14T19:07:22.257Z] Removing intermediate container 01e77ce32152 [2023-11-14T19:07:22.257Z] ---> c70f8d618a43 [2023-11-14T19:07:22.257Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-14T19:07:22.527Z] ---> Running in 7d5876e54611 [2023-11-14T19:07:23.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:07:23.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:07:25.173Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:07:25.173Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:07:25.173Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T19:07:25.173Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:07:25.173Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:07:25.173Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:07:25.173Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:07:25.173Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:07:25.173Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:07:25.173Z] OK: 8 MiB in 16 packages [2023-11-14T19:07:26.595Z] Removing intermediate container 7d5876e54611 [2023-11-14T19:07:26.595Z] ---> 5a65a76b5f93 [2023-11-14T19:07:26.595Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-14T19:07:28.006Z] ---> 7880fd55d031 [2023-11-14T19:07:28.006Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-14T19:07:28.588Z] ---> 02db885259f7 [2023-11-14T19:07:28.588Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-14T19:07:29.171Z] ---> 65b82cd91f42 [2023-11-14T19:07:29.171Z] Step 21/26 : EXPOSE 59986 [2023-11-14T19:07:29.171Z] ---> Running in ea4d6a1e938f [2023-11-14T19:07:29.440Z] Removing intermediate container ea4d6a1e938f [2023-11-14T19:07:29.440Z] ---> 1e95b73e0773 [2023-11-14T19:07:29.440Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-14T19:07:29.440Z] ---> Running in f9ed4064a9b7 [2023-11-14T19:07:30.028Z] Removing intermediate container f9ed4064a9b7 [2023-11-14T19:07:30.028Z] ---> 782c5b2f76ca [2023-11-14T19:07:30.028Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T19:07:30.028Z] ---> Running in 3be4662275bc [2023-11-14T19:07:30.295Z] Removing intermediate container 3be4662275bc [2023-11-14T19:07:30.295Z] ---> c01277abfe64 [2023-11-14T19:07:30.295Z] Step 24/26 : LABEL arch=arm64 [2023-11-14T19:07:30.295Z] ---> Running in 512b97c6ec18 [2023-11-14T19:07:30.561Z] Removing intermediate container 512b97c6ec18 [2023-11-14T19:07:30.561Z] ---> b825cd41a10a [2023-11-14T19:07:30.561Z] Step 25/26 : LABEL git_sha=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [2023-11-14T19:07:30.827Z] ---> Running in e34ed07e6e2c [2023-11-14T19:07:31.093Z] Removing intermediate container e34ed07e6e2c [2023-11-14T19:07:31.093Z] ---> ccc9b4275b74 [2023-11-14T19:07:31.093Z] Step 26/26 : LABEL version=0.0.0 [2023-11-14T19:07:31.361Z] ---> Running in 34021f8f15ab [2023-11-14T19:07:31.628Z] Removing intermediate container 34021f8f15ab [2023-11-14T19:07:31.628Z] ---> aa13ce5de9c6 [2023-11-14T19:07:31.628Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T19:07:31.628Z] Successfully built aa13ce5de9c6 [2023-11-14T19:07:31.628Z] 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-11-14T19:07:32.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:07:32.517Z] [2023-11-14T19:07:32.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:07:32.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:07:33.203Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T19:07:33.203Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T19:07:33.203Z] 04944245beec: Pulling fs layer [2023-11-14T19:07:33.203Z] 699f458cf7ca: Pulling fs layer [2023-11-14T19:07:33.203Z] 765212b225bb: Pulling fs layer [2023-11-14T19:07:33.203Z] f23df028b6ca: Pulling fs layer [2023-11-14T19:07:33.203Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T19:07:33.203Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T19:07:33.203Z] 765212b225bb: Waiting [2023-11-14T19:07:33.203Z] f23df028b6ca: Waiting [2023-11-14T19:07:33.203Z] d65c8cfc05b1: Waiting [2023-11-14T19:07:33.203Z] 2437ff75d9bd: Waiting [2023-11-14T19:07:33.203Z] 04944245beec: Verifying Checksum [2023-11-14T19:07:33.203Z] 04944245beec: Download complete [2023-11-14T19:07:33.203Z] 765212b225bb: Verifying Checksum [2023-11-14T19:07:33.203Z] 765212b225bb: Download complete [2023-11-14T19:07:33.203Z] f23df028b6ca: Download complete [2023-11-14T19:07:33.203Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T19:07:33.203Z] d65c8cfc05b1: Download complete [2023-11-14T19:07:33.472Z] 699f458cf7ca: Verifying Checksum [2023-11-14T19:07:33.472Z] 699f458cf7ca: Download complete [2023-11-14T19:07:34.057Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T19:07:34.057Z] 8998bd30e6a1: Download complete [2023-11-14T19:07:36.637Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T19:07:36.637Z] 2437ff75d9bd: Download complete [2023-11-14T19:07:39.220Z] 8998bd30e6a1: Pull complete [2023-11-14T19:07:39.487Z] 04944245beec: Pull complete [2023-11-14T19:07:41.427Z] 699f458cf7ca: Pull complete [2023-11-14T19:07:41.427Z] 765212b225bb: Pull complete [2023-11-14T19:07:42.392Z] f23df028b6ca: Pull complete [2023-11-14T19:07:42.392Z] d65c8cfc05b1: Pull complete [2023-11-14T19:08:00.603Z] 2437ff75d9bd: Pull complete [2023-11-14T19:08:00.603Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T19:08:00.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:08:00.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:08:01.027Z] prd-ubuntu20.04-docker-arm64-4c-16g-17521 does not seem to be running inside a container [2023-11-14T19:08:01.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T19:08:04.141Z] $ docker top d393b0907b2d5c8f3218bb66fc75864e8baaaff7722a6e9f5b754e3b05fbe18e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:05.067Z] ---> job-cost.sh [2023-11-14T19:08:05.067Z] lf-activate-venv: SKIPPING [2023-11-14T19:08:05.067Z] INFO: No Stack... [2023-11-14T19:08:05.340Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T19:08:06.298Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T19:08:06.956Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-11-14T19:08:06.957Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T19:08:07.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [2023-11-14T19:08:07.054Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] did not exist. Created. [2023-11-14T19:08:07.054Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T19:08:07.787Z] /w/workspace/device-rest-go/1@tmp/durable-72daa896/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T19:08:08.464Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T19:08:08.503Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T19:08:08.560Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T19:08:08.575Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T19:08:08.661Z] $ docker stop --time=1 d393b0907b2d5c8f3218bb66fc75864e8baaaff7722a6e9f5b754e3b05fbe18e [2023-11-14T19:08:10.182Z] $ docker rm -f --volumes d393b0907b2d5c8f3218bb66fc75864e8baaaff7722a6e9f5b754e3b05fbe18e [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-11-14T19:08:11.263Z] provisioning config files... [2023-11-14T19:08:11.269Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config4464249968719620878tmp [Pipeline] { [Pipeline] sh [2023-11-14T19:08:11.610Z] + set +x [2023-11-14T19:08:11.610Z] + curl -s https://codecov.io/bash [2023-11-14T19:08:11.610Z] + bash -s -- [2023-11-14T19:08:11.610Z] [2023-11-14T19:08:11.610Z] _____ _ [2023-11-14T19:08:11.610Z] / ____| | | [2023-11-14T19:08:11.610Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T19:08:11.610Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T19:08:11.610Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T19:08:11.610Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T19:08:11.610Z] Bash-1.0.6 [2023-11-14T19:08:11.610Z] [2023-11-14T19:08:11.610Z] [2023-11-14T19:08:11.610Z] ==> git version 2.25.1 found [2023-11-14T19:08:11.610Z] ==> 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-11-14T19:08:11.610Z] Release-Date: 2020-01-08 [2023-11-14T19:08:11.610Z] 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-11-14T19:08:11.610Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T19:08:11.610Z] ==> Jenkins CI detected. [2023-11-14T19:08:11.610Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-367 [2023-11-14T19:08:11.610Z] project root: . [2023-11-14T19:08:11.610Z] --> token set from env [2023-11-14T19:08:11.610Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T19:08:11.610Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T19:08:11.610Z] ==> Python coveragepy not found [2023-11-14T19:08:11.610Z] ==> Searching for coverage reports in: [2023-11-14T19:08:11.610Z] + . [2023-11-14T19:08:11.610Z] -> Found 1 reports [2023-11-14T19:08:11.610Z] ==> Detecting git/mercurial file structure [2023-11-14T19:08:11.610Z] ==> Reading reports [2023-11-14T19:08:11.610Z] + ./coverage.out bytes=14499 [2023-11-14T19:08:11.610Z] ==> Appending adjustments [2023-11-14T19:08:11.610Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T19:08:11.873Z] + Found adjustments [2023-11-14T19:08:11.873Z] ==> Gzipping contents [2023-11-14T19:08:11.873Z] 4.0K /tmp/codecov.PwpQz5.gz [2023-11-14T19:08:11.873Z] ==> Uploading reports [2023-11-14T19:08:11.873Z] url: https://codecov.io [2023-11-14T19:08:11.873Z] query: branch=PR-367&commit=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=367&job=&cmd_args= [2023-11-14T19:08:11.873Z] -> Pinging Codecov [2023-11-14T19:08:11.873Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-367&commit=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=367&job=&cmd_args= [2023-11-14T19:08:11.873Z] -> Uploading to [2023-11-14T19:08:11.873Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/4E5D53B4F1F92C436F7061BF334D961C/4c19ced1cc2347cd6df254a74a2a1a52ea4005c5/9723bcec-fda9-469c-8bf5-eb9d532a49af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T190811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e9c5756c752f6009bc47bd5ca3b6be9bfc5d87a6a367bf99ac17eca562bc36e8 [2023-11-14T19:08:11.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T19:08:11.873Z] Dload Upload Total Spent Left Speed [2023-11-14T19:08:12.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 10745 --:--:-- --:--:-- --:--:-- 10695 [2023-11-14T19:08:12.132Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] } [2023-11-14T19:08:12.156Z] 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-11-14T19:08:13.924Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-367/archives ] [2023-11-14T19:08:13.924Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-367/archives [2023-11-14T19:08:13.924Z] total 16 [2023-11-14T19:08:13.924Z] drwxr-xr-x 3 root root 4096 Nov 14 18:57 . [2023-11-14T19:08:13.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:57 .. [2023-11-14T19:08:13.924Z] drwxr-xr-x 2 root root 4096 Nov 14 18:57 cost [2023-11-14T19:08:13.924Z] -rw-r--r-- 1 root root 86 Nov 14 18:57 cost.csv [2023-11-14T19:08:13.924Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-367/archives [2023-11-14T19:08:13.924Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-367/archives [2023-11-14T19:08:13.924Z] total 16 [2023-11-14T19:08:13.924Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:57 . [2023-11-14T19:08:13.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:57 .. [2023-11-14T19:08:13.924Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:57 cost [2023-11-14T19:08:13.924Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:14.265Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:15.160Z] ---> package-listing.sh [2023-11-14T19:08:15.160Z] ++ facter osfamily [2023-11-14T19:08:15.160Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T19:08:15.419Z] + OS_FAMILY=debian [2023-11-14T19:08:15.419Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-367 [2023-11-14T19:08:15.419Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T19:08:15.419Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T19:08:15.419Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T19:08:15.419Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T19:08:15.419Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-367 ']' [2023-11-14T19:08:15.419Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T19:08:15.419Z] + case "${OS_FAMILY}" in [2023-11-14T19:08:15.419Z] + dpkg -l [2023-11-14T19:08:15.419Z] + grep '^ii' [2023-11-14T19:08:15.419Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T19:08:15.419Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T19:08:15.419Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T19:08:15.419Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-367 ']' [2023-11-14T19:08:15.419Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-367/archives/ [2023-11-14T19:08:15.419Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-367/archives/ [Pipeline] echo [2023-11-14T19:08:15.459Z] 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-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T19:08:15.754Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:08:16.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:08:16.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:08:16.533Z] prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container [2023-11-14T19:08:16.558Z] $ 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-367/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-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@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-11-14T19:08:17.333Z] $ docker top 4e5f123ec938240704f08502d0536c80385bb7e8f7547acb6949912c7256784b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:08:17.745Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T19:08:18.052Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T19:08:18.362Z] + ls /var/log/sa-host [2023-11-14T19:08:18.362Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:08:18.582Z] provisioning config files... [2023-11-14T19:08:18.591Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config4973150416817901117tmp [Pipeline] { [Pipeline] echo [2023-11-14T19:08:18.640Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:18.952Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T19:08:18.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:19.430Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T19:08:19.467Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:19.779Z] ---> sudo-logs.sh [2023-11-14T19:08:19.779Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T19:08:19.864Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:20.179Z] ---> job-cost.sh [2023-11-14T19:08:20.179Z] lf-activate-venv: SKIPPING [2023-11-14T19:08:20.179Z] DEBUG: total: 0.2199999988079071 [2023-11-14T19:08:20.179Z] INFO: Retrieving Stack Cost... [2023-11-14T19:08:20.749Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T19:08:21.010Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T19:08:21.051Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:08:21.380Z] ---> logs-deploy.sh [2023-11-14T19:08:21.381Z] lf-activate-venv: SKIPPING [2023-11-14T19:08:21.381Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-367/1 [2023-11-14T19:08:21.381Z] INFO: archiving workspace using pattern(s): [2023-11-14T19:08:22.317Z] Archives upload complete. [2023-11-14T19:08:22.576Z] INFO: archiving logs to Nexus [2023-11-14T19:08:23.143Z] ---> uname -a: [2023-11-14T19:08:23.143Z] Linux prd-ubuntu20-04-docker-8c-8g-17519 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-14T19:08:23.143Z] [2023-11-14T19:08:23.143Z]