Pull request #268 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0fabda8af675933305fd9e419603ed10b7693eb+ae54ce6f1033167052867af1427946ef32cb9188 (65b35424cb1942b5e72f9fdad8fea3a46890516a) 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-ssh15609013349537860701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15379657379498765496.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-268/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-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4465950067520658769.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-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3626488627943471592.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15713957831525520432.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-268/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-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7959910713584371822.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-852’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-855 in /w/workspace/gexfoundry_device-rest-go_PR-268 [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-268 # 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/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ae54ce6f1033167052867af1427946ef32cb9188 into PR head commit e0fabda8af675933305fd9e419603ed10b7693eb Merge succeeded, producing e0fabda8af675933305fd9e419603ed10b7693eb Checking out Revision e0fabda8af675933305fd9e419603ed10b7693eb (PR-268) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # 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 ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:11:19.888Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:11:20.065Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:11:20.162Z] ========================================================= [2023-03-15T16:11:20.162Z] EdgeX Global Pipelines Version Info [2023-03-15T16:11:20.162Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:20.904Z] ------------------- [2023-03-15T16:11:20.904Z] stable info: [2023-03-15T16:11:20.904Z] ------------------- [2023-03-15T16:11:20.904Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:11:20.904Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:11:20.904Z] Message: update stable to v1.0.245 [2023-03-15T16:11:21.477Z] ------------------- [2023-03-15T16:11:21.477Z] experimental info: [2023-03-15T16:11:21.477Z] ------------------- [2023-03-15T16:11:21.477Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:11:21.477Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:11:21.477Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:11:21.764Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-15T16:11:21.820Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-15T16:11:21.862Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:11:21.903Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:11:21.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:11:21.983Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:11:22.022Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:11:22.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:11:22.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:11:22.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:11:22.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:11:22.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-15T16:11:22.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:11:22.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:11:22.316Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:11:22.355Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:11:22.398Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:11:22.437Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:11:22.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:11:22.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:11:22.562Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:11:22.604Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:11:22.641Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:11:22.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:11:22.713Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:11:22.754Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:11:22.796Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:11:22.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-03-15T16:11:22.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-03-15T16:11:22.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-03-15T16:11:22.957Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0fabda8af675933305fd9e419603ed10b7693eb [Pipeline] echo [2023-03-15T16:11:23.003Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0fabda [Pipeline] echo [2023-03-15T16:11:23.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:11:23.152Z] provisioning config files... [2023-03-15T16:11:23.167Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config4396660723445328915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:23.510Z] ---> docker-login.sh [2023-03-15T16:11:23.510Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:23.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:23.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:23.771Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:23.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:23.771Z] [2023-03-15T16:11:23.771Z] Login Succeeded [2023-03-15T16:11:23.771Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:23.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:24.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:24.031Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:24.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:24.031Z] [2023-03-15T16:11:24.031Z] Login Succeeded [2023-03-15T16:11:24.031Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:24.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:24.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:24.031Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:24.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:24.031Z] [2023-03-15T16:11:24.031Z] Login Succeeded [2023-03-15T16:11:24.031Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:24.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:24.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:24.031Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:24.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:24.031Z] [2023-03-15T16:11:24.031Z] Login Succeeded [2023-03-15T16:11:24.031Z] docker.io [2023-03-15T16:11:24.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:24.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:24.290Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:24.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:24.290Z] [2023-03-15T16:11:24.290Z] Login Succeeded [2023-03-15T16:11:24.290Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:24.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:11:25.018Z] + git rev-list -1 --merges e0fabda8af675933305fd9e419603ed10b7693eb~1..e0fabda8af675933305fd9e419603ed10b7693eb [Pipeline] echo [2023-03-15T16:11:25.087Z] -----------> git rev-list -1 --merges e0fabda8af675933305fd9e419603ed10b7693eb~1..e0fabda8af675933305fd9e419603ed10b7693eb e0fabda8af675933305fd9e419603ed10b7693eb [false] [Pipeline] sh [2023-03-15T16:11:25.390Z] + git log --format=format:%s -1 e0fabda8af675933305fd9e419603ed10b7693eb [Pipeline] echo [2023-03-15T16:11:25.426Z] ========================================================= [2023-03-15T16:11:25.426Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:11:25.426Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:11:25.853Z] + git log --format=format:%s -1 e0fabda8af675933305fd9e419603ed10b7693eb [Pipeline] echo [2023-03-15T16:11:25.881Z] [semverPrep] GIT_COMMIT: e0fabda8af675933305fd9e419603ed10b7693eb, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-15T16:11:25.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:11:26.314Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:11:26.314Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:11:26.314Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:11:26.314Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:11:26.314Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:11:26.314Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:11:26.314Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:26.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:26.722Z] [2023-03-15T16:11:26.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:27.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:27.088Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:11:27.088Z] b85a868b505f: Pulling fs layer [2023-03-15T16:11:27.088Z] e2be974225ed: Pulling fs layer [2023-03-15T16:11:27.088Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:11:27.088Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:11:27.088Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:11:27.088Z] eaf3925da568: Pulling fs layer [2023-03-15T16:11:27.088Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:11:27.088Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:11:27.088Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:11:27.088Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:11:27.088Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:11:27.088Z] bab4dde63d76: Waiting [2023-03-15T16:11:27.088Z] bde34c3a00c8: Waiting [2023-03-15T16:11:27.088Z] b352a97aabf1: Waiting [2023-03-15T16:11:27.088Z] 5851b861e8e6: Waiting [2023-03-15T16:11:27.088Z] 1469e6f7b9e6: Waiting [2023-03-15T16:11:27.088Z] 988bab9f4d93: Waiting [2023-03-15T16:11:27.088Z] eaf3925da568: Waiting [2023-03-15T16:11:27.088Z] e2be974225ed: Verifying Checksum [2023-03-15T16:11:27.088Z] e2be974225ed: Download complete [2023-03-15T16:11:27.088Z] 988bab9f4d93: Verifying Checksum [2023-03-15T16:11:27.088Z] 988bab9f4d93: Download complete [2023-03-15T16:11:27.349Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:11:27.349Z] 1469e6f7b9e6: Download complete [2023-03-15T16:11:27.349Z] eaf3925da568: Download complete [2023-03-15T16:11:27.349Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:11:27.349Z] 339a4e72a1f5: Download complete [2023-03-15T16:11:27.349Z] bde34c3a00c8: Verifying Checksum [2023-03-15T16:11:27.349Z] bde34c3a00c8: Download complete [2023-03-15T16:11:27.349Z] b352a97aabf1: Download complete [2023-03-15T16:11:27.349Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:11:27.349Z] 4872d77fe225: Download complete [2023-03-15T16:11:27.349Z] 5851b861e8e6: Download complete [2023-03-15T16:11:27.349Z] b85a868b505f: Verifying Checksum [2023-03-15T16:11:27.349Z] b85a868b505f: Download complete [2023-03-15T16:11:27.609Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:11:27.609Z] bab4dde63d76: Download complete [2023-03-15T16:11:28.542Z] b85a868b505f: Pull complete [2023-03-15T16:11:28.800Z] e2be974225ed: Pull complete [2023-03-15T16:11:29.394Z] 339a4e72a1f5: Pull complete [2023-03-15T16:11:29.394Z] 988bab9f4d93: Pull complete [2023-03-15T16:11:29.658Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:11:29.658Z] eaf3925da568: Pull complete [2023-03-15T16:11:31.560Z] bab4dde63d76: Pull complete [2023-03-15T16:11:31.560Z] bde34c3a00c8: Pull complete [2023-03-15T16:11:31.821Z] b352a97aabf1: Pull complete [2023-03-15T16:11:31.821Z] 4872d77fe225: Pull complete [2023-03-15T16:11:31.821Z] 5851b861e8e6: Pull complete [2023-03-15T16:11:31.821Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:11:32.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:32.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:32.316Z] prd-ubuntu20.04-docker-8c-8g-855 does not seem to be running inside a container [2023-03-15T16:11:32.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:11:34.805Z] $ docker top 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc -eo pid,comm [2023-03-15T16:11:34.852Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T16:11:34.852Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:11:35.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:11:35.023Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:11:35.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:11:35.130Z] $ docker exec 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc ssh-agent [2023-03-15T16:11:35.243Z] SSH_AUTH_SOCK=/tmp/ssh-VinhSha84vse/agent.31 [2023-03-15T16:11:35.243Z] SSH_AGENT_PID=37 [2023-03-15T16:11:35.248Z] Running ssh-add (command line suppressed) [2023-03-15T16:11:35.351Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_13186325395399563053.key (/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_13186325395399563053.key) [2023-03-15T16:11:35.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:11:35.698Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:11:35.737Z] $ docker exec --env ******** --env ******** 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc ssh-agent -k [2023-03-15T16:11:35.844Z] unset SSH_AUTH_SOCK; [2023-03-15T16:11:35.844Z] unset SSH_AGENT_PID; [2023-03-15T16:11:35.844Z] echo Agent pid 37 killed; [2023-03-15T16:11:35.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:11:35.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:11:35.946Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:11:36.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:11:36.050Z] $ docker exec 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc ssh-agent [2023-03-15T16:11:36.154Z] SSH_AUTH_SOCK=/tmp/ssh-JCmetJaOaZ1f/agent.69 [2023-03-15T16:11:36.154Z] SSH_AGENT_PID=75 [2023-03-15T16:11:36.159Z] Running ssh-add (command line suppressed) [2023-03-15T16:11:36.248Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_13961824540889519775.key (/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_13961824540889519775.key) [2023-03-15T16:11:36.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:11:36.609Z] + git semver init [2023-03-15T16:11:36.869Z] 2023-03-15 16:11:36,784 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:11:36.869Z] 2023-03-15 16:11:36,785 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver [2023-03-15T16:11:36.869Z] 2023-03-15 16:11:36,785 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-268/.semver [2023-03-15T16:11:36.869Z] 2023-03-15 16:11:36,785 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-268/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,794 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-268/.git/info/exclude [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,795 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 with force:False [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,795 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,799 [execute] INFO git cat-file --batch-check [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,804 [execute] INFO git cat-file --batch [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:11:37.811Z] 2023-03-15 16:11:37,809 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 [2023-03-15T16:11:37.811Z] 0.0.0 [Pipeline] } [2023-03-15T16:11:38.086Z] $ docker exec --env ******** --env ******** 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc ssh-agent -k [2023-03-15T16:11:38.180Z] unset SSH_AUTH_SOCK; [2023-03-15T16:11:38.180Z] unset SSH_AGENT_PID; [2023-03-15T16:11:38.180Z] echo Agent pid 75 killed; [2023-03-15T16:11:38.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:11:38.605Z] + git semver [Pipeline] } [2023-03-15T16:11:38.891Z] $ docker stop --time=1 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc [2023-03-15T16:11:40.162Z] $ docker rm -f --volumes 3046ecc97be242c2a17a5132c3135d27e1d5a211907e01b467d117b9a274afdc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:11:40.557Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:11:40.801Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:11:40.816Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:11:41.476Z] provisioning config files... [2023-03-15T16:11:41.485Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config11353996114271396482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:41.828Z] ---> docker-login.sh [2023-03-15T16:11:41.828Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:41.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:41.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:41.828Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:41.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:41.828Z] [2023-03-15T16:11:41.828Z] Login Succeeded [2023-03-15T16:11:41.828Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:41.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:41.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:41.828Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:41.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:41.828Z] [2023-03-15T16:11:41.828Z] Login Succeeded [2023-03-15T16:11:41.828Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:42.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:42.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:42.158Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:42.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:42.158Z] [2023-03-15T16:11:42.158Z] Login Succeeded [2023-03-15T16:11:42.158Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:42.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:42.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:42.158Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:42.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:42.158Z] [2023-03-15T16:11:42.158Z] Login Succeeded [2023-03-15T16:11:42.158Z] docker.io [2023-03-15T16:11:42.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:42.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:42.429Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:42.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:42.429Z] [2023-03-15T16:11:42.429Z] Login Succeeded [2023-03-15T16:11:42.429Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:42.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:11:42.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:42.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:42.677Z] ========================================================= [2023-03-15T16:11:42.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:11:42.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:43.114Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:11:43.114Z] Sending build context to Docker daemon 10.86MB [2023-03-15T16:11:43.114Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:11:43.114Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:11:43.114Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:11:43.114Z] 63b65145d645: Pulling fs layer [2023-03-15T16:11:43.114Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:11:43.114Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:11:43.114Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:11:43.114Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:11:43.114Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:11:43.114Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:11:43.114Z] f25807f1079a: Pulling fs layer [2023-03-15T16:11:43.114Z] a2aff8979fd8: Waiting [2023-03-15T16:11:43.114Z] 94cc34f8dd06: Waiting [2023-03-15T16:11:43.114Z] 6808be2612f2: Waiting [2023-03-15T16:11:43.114Z] 30dea6a524f1: Waiting [2023-03-15T16:11:43.114Z] f25807f1079a: Waiting [2023-03-15T16:11:43.114Z] a2d21d5440eb: Verifying Checksum [2023-03-15T16:11:43.114Z] a2d21d5440eb: Download complete [2023-03-15T16:11:43.374Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:11:43.374Z] 94cc34f8dd06: Download complete [2023-03-15T16:11:43.374Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:11:43.374Z] 30dea6a524f1: Download complete [2023-03-15T16:11:43.374Z] 63b65145d645: Verifying Checksum [2023-03-15T16:11:43.374Z] 63b65145d645: Download complete [2023-03-15T16:11:43.374Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:11:43.374Z] a2aff8979fd8: Download complete [2023-03-15T16:11:43.374Z] 63b65145d645: Pull complete [2023-03-15T16:11:43.637Z] a2d21d5440eb: Pull complete [2023-03-15T16:11:43.896Z] f25807f1079a: Verifying Checksum [2023-03-15T16:11:43.896Z] f25807f1079a: Download complete [2023-03-15T16:11:43.896Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:11:43.896Z] 935e6c44a52c: Download complete [2023-03-15T16:11:44.154Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:11:44.154Z] 6808be2612f2: Download complete [2023-03-15T16:11:47.430Z] 935e6c44a52c: Pull complete [2023-03-15T16:11:47.430Z] 94cc34f8dd06: Pull complete [2023-03-15T16:11:47.430Z] 30dea6a524f1: Pull complete [2023-03-15T16:11:47.430Z] a2aff8979fd8: Pull complete [2023-03-15T16:11:49.328Z] 6808be2612f2: Pull complete [2023-03-15T16:11:49.895Z] f25807f1079a: Pull complete [2023-03-15T16:11:49.895Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:11:50.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:11:50.153Z] ---> 3b553350e43f [2023-03-15T16:11:50.153Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:11:53.510Z] ---> Running in a268c8e9bb87 [2023-03-15T16:11:53.510Z] Removing intermediate container a268c8e9bb87 [2023-03-15T16:11:53.510Z] ---> 8adedf407f45 [2023-03-15T16:11:53.510Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:11:53.510Z] ---> Running in 0f162152e176 [2023-03-15T16:11:53.768Z] Removing intermediate container 0f162152e176 [2023-03-15T16:11:53.768Z] ---> 0d38c6c4b085 [2023-03-15T16:11:53.768Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:11:53.768Z] ---> Running in 652a8bdbc803 [2023-03-15T16:11:53.768Z] Removing intermediate container 652a8bdbc803 [2023-03-15T16:11:53.768Z] ---> 0878727632e9 [2023-03-15T16:11:53.768Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:11:53.768Z] ---> Running in 838c47ec6fb0 [2023-03-15T16:11:54.028Z] Removing intermediate container 838c47ec6fb0 [2023-03-15T16:11:54.028Z] ---> 71c9853178ec [2023-03-15T16:11:54.028Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:11:54.028Z] ---> Running in 63029bedbc9d [2023-03-15T16:11:54.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:54.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:54.802Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:11:54.802Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:11:54.802Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:11:54.802Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:11:54.802Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:11:54.802Z] OK: 269 MiB in 57 packages [2023-03-15T16:11:55.377Z] Removing intermediate container 63029bedbc9d [2023-03-15T16:11:55.377Z] ---> 2b676c937f24 [2023-03-15T16:11:55.377Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T16:11:55.377Z] ---> Running in 767c922eb307 [2023-03-15T16:11:55.377Z] Removing intermediate container 767c922eb307 [2023-03-15T16:11:55.377Z] ---> 0d99abde0a6b [2023-03-15T16:11:55.377Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:11:55.377Z] ---> ac7a5dc48b6b [2023-03-15T16:11:55.377Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:11:55.377Z] ---> Running in 40c6e044a3dd [2023-03-15T16:11:56.281Z] Still waiting to schedule task [2023-03-15T16:11:56.281Z] ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:56.281Z] ‘prd-ubuntu20.04-docker-8c-8g-629’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:56.281Z] ‘prd-ubuntu20.04-docker-8c-8g-630’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:56.281Z] ‘prd-ubuntu20.04-docker-8c-8g-860’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:56.281Z] ‘prd-ubuntu20.04-docker-8c-8g-861’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:56.281Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ is offline [2023-03-15T16:11:56.282Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ is offline [2023-03-15T16:11:56.282Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-858’ is offline [2023-03-15T16:12:27.491Z] Removing intermediate container 40c6e044a3dd [2023-03-15T16:12:27.491Z] ---> 766fbedc11f8 [2023-03-15T16:12:27.491Z] Step 11/12 : COPY . . [2023-03-15T16:12:27.491Z] ---> 9ec91d09e6cc [2023-03-15T16:12:27.491Z] Step 12/12 : RUN $MAKE [2023-03-15T16:12:27.491Z] ---> Running in 15cfc906fe35 [2023-03-15T16:12:27.491Z] noop [2023-03-15T16:12:27.491Z] Removing intermediate container 15cfc906fe35 [2023-03-15T16:12:27.491Z] ---> 0c1ed29969e3 [2023-03-15T16:12:27.491Z] Successfully built 0c1ed29969e3 [2023-03-15T16:12:27.491Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:27.920Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:12:27.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:28.074Z] prd-ubuntu20.04-docker-8c-8g-855 does not seem to be running inside a container [2023-03-15T16:12:28.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 ******** ci-base-image-x86_64 cat [2023-03-15T16:12:28.438Z] $ docker top 99aa576e51e557d0f62b9cbbd0eefe5cc6b5cf9290c53829e7f35c0715ba2125 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:12:28.837Z] + go version [2023-03-15T16:12:28.837Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:12:28.872Z] $ docker stop --time=1 99aa576e51e557d0f62b9cbbd0eefe5cc6b5cf9290c53829e7f35c0715ba2125 [2023-03-15T16:12:30.142Z] $ docker rm -f --volumes 99aa576e51e557d0f62b9cbbd0eefe5cc6b5cf9290c53829e7f35c0715ba2125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:30.836Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:12:30.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:30.982Z] prd-ubuntu20.04-docker-8c-8g-855 does not seem to be running inside a container [2023-03-15T16:12:31.012Z] $ 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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 ******** ci-base-image-x86_64 cat [2023-03-15T16:12:31.313Z] $ docker top e9ced003773fa1b14f3bf8f1a06db8bbad0d90422864d97a08b461c486af8770 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:12:31.702Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:12:32.056Z] + make test [2023-03-15T16:12:32.056Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:12:37.443Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:12:45.597Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:12:45.597Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.1% of statements [2023-03-15T16:12:52.148Z] go vet ./... [2023-03-15T16:12:54.669Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:12:54.669Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:12:54.669Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:12:54.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:12:54.746Z] $ docker stop --time=1 e9ced003773fa1b14f3bf8f1a06db8bbad0d90422864d97a08b461c486af8770 [2023-03-15T16:12:58.322Z] $ docker rm -f --volumes e9ced003773fa1b14f3bf8f1a06db8bbad0d90422864d97a08b461c486af8770 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:12:58.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:12:58.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:12:59.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:12:59.817Z] + ls -al . [2023-03-15T16:12:59.817Z] total 184 [2023-03-15T16:12:59.817Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:12 . [2023-03-15T16:12:59.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:11 .. [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:11 .dockerignore [2023-03-15T16:12:59.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:11 .git [2023-03-15T16:12:59.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 .github [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:11 .gitignore [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:11 .golangci.yml [2023-03-15T16:12:59.817Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:11 .semver [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:11 Attribution.txt [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:11 CHANGELOG.md [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:11 Dockerfile [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:11 GOVERNANCE.md [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:11 Jenkinsfile [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:11 LICENSE [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:11 Makefile [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:11 OWNERS.md [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:11 README.md [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:11 VERSION [2023-03-15T16:12:59.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:11 bin [2023-03-15T16:12:59.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 cmd [2023-03-15T16:12:59.817Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:12 coverage.out [2023-03-15T16:12:59.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:11 driver [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:11 go.mod [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:11 go.sum [2023-03-15T16:12:59.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:11 snap [2023-03-15T16:12:59.817Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:00.201Z] + 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=e0fabda8af675933305fd9e419603ed10b7693eb --label arch=amd64 --label version=0.0.0 . [2023-03-15T16:13:00.201Z] Sending build context to Docker daemon 10.87MB [2023-03-15T16:13:00.201Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:13:00.201Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:13:00.201Z] ---> 0c1ed29969e3 [2023-03-15T16:13:00.201Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:13:00.460Z] ---> Running in 93ae196c3f44 [2023-03-15T16:13:00.460Z] Removing intermediate container 93ae196c3f44 [2023-03-15T16:13:00.460Z] ---> 81e94117d31a [2023-03-15T16:13:00.460Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:13:00.719Z] ---> Running in 8c4af4e7995e [2023-03-15T16:13:00.719Z] Removing intermediate container 8c4af4e7995e [2023-03-15T16:13:00.719Z] ---> cc8c7b4c6b6c [2023-03-15T16:13:00.719Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:13:00.719Z] ---> Running in 19e303b0f876 [2023-03-15T16:13:00.719Z] Removing intermediate container 19e303b0f876 [2023-03-15T16:13:00.719Z] ---> a0e15166167d [2023-03-15T16:13:00.719Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:13:00.719Z] ---> Running in 2e0a0ff52806 [2023-03-15T16:13:00.719Z] Removing intermediate container 2e0a0ff52806 [2023-03-15T16:13:00.719Z] ---> 1da96a7963de [2023-03-15T16:13:00.719Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:13:00.719Z] ---> Running in 5a40ee371cb2 [2023-03-15T16:13:00.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:01.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:01.496Z] OK: 269 MiB in 57 packages [2023-03-15T16:13:01.755Z] Removing intermediate container 5a40ee371cb2 [2023-03-15T16:13:01.755Z] ---> fefb793ad720 [2023-03-15T16:13:01.755Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:13:01.755Z] ---> Running in 9b0bdfefd555 [2023-03-15T16:13:02.013Z] Removing intermediate container 9b0bdfefd555 [2023-03-15T16:13:02.013Z] ---> bbca91dc70ac [2023-03-15T16:13:02.013Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:13:02.013Z] ---> 4f2f1e20201c [2023-03-15T16:13:02.013Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:13:02.013Z] ---> Running in 05fc3fa0c769 [2023-03-15T16:13:03.020Z] Removing intermediate container 05fc3fa0c769 [2023-03-15T16:13:03.020Z] ---> 60e538a39139 [2023-03-15T16:13:03.020Z] Step 11/25 : COPY . . [2023-03-15T16:13:03.284Z] ---> c071502162a0 [2023-03-15T16:13:03.284Z] Step 12/25 : RUN $MAKE [2023-03-15T16:13:03.284Z] ---> Running in 9d005a646cce [2023-03-15T16:13:03.542Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-15T16:13:21.633Z] Removing intermediate container 9d005a646cce [2023-03-15T16:13:21.633Z] ---> c3d27d1c653e [2023-03-15T16:13:21.633Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:13:21.633Z] 3.17: Pulling from library/alpine [2023-03-15T16:13:21.633Z] 63b65145d645: Already exists [2023-03-15T16:13:21.633Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:13:21.633Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:13:21.633Z] ---> b2aa39c304c2 [2023-03-15T16:13:21.633Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:13:21.893Z] ---> Running in d9abe6c1b3b3 [2023-03-15T16:13:21.893Z] Removing intermediate container d9abe6c1b3b3 [2023-03-15T16:13:21.893Z] ---> 772411f95c18 [2023-03-15T16:13:21.893Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:13:21.893Z] ---> Running in f87d57f8aeb5 [2023-03-15T16:13:21.893Z] Removing intermediate container f87d57f8aeb5 [2023-03-15T16:13:21.893Z] ---> 367419ed89c8 [2023-03-15T16:13:21.893Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:13:21.893Z] ---> Running in eaa3b8d8296e [2023-03-15T16:13:22.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:22.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:22.408Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:13:22.408Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:13:22.408Z] OK: 7 MiB in 16 packages [2023-03-15T16:13:22.972Z] Removing intermediate container eaa3b8d8296e [2023-03-15T16:13:22.972Z] ---> 398c60920de7 [2023-03-15T16:13:22.972Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:13:23.547Z] ---> 2411de247643 [2023-03-15T16:13:23.547Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:13:23.805Z] ---> c7b03d8fde7e [2023-03-15T16:13:23.805Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:13:23.805Z] ---> c0113d6241fb [2023-03-15T16:13:23.805Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:13:23.805Z] ---> Running in bb0f65c8460c [2023-03-15T16:13:23.805Z] Removing intermediate container bb0f65c8460c [2023-03-15T16:13:23.805Z] ---> d092d4da9a95 [2023-03-15T16:13:23.805Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:13:24.062Z] ---> Running in 5a69051693c2 [2023-03-15T16:13:24.062Z] Removing intermediate container 5a69051693c2 [2023-03-15T16:13:24.062Z] ---> b5f1bf82b8c5 [2023-03-15T16:13:24.062Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:13:24.062Z] ---> Running in cce4d8e816cd [2023-03-15T16:13:24.062Z] Removing intermediate container cce4d8e816cd [2023-03-15T16:13:24.062Z] ---> b7342b19404d [2023-03-15T16:13:24.062Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T16:13:24.062Z] ---> Running in c811b549cb0f [2023-03-15T16:13:24.062Z] Removing intermediate container c811b549cb0f [2023-03-15T16:13:24.062Z] ---> 4cab4e3acbe0 [2023-03-15T16:13:24.062Z] Step 24/25 : LABEL git_sha=e0fabda8af675933305fd9e419603ed10b7693eb [2023-03-15T16:13:24.319Z] ---> Running in 9c92fa33cb12 [2023-03-15T16:13:24.319Z] Removing intermediate container 9c92fa33cb12 [2023-03-15T16:13:24.319Z] ---> f76cb7861200 [2023-03-15T16:13:24.319Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T16:13:24.319Z] ---> Running in 999d24eebbda [2023-03-15T16:13:24.319Z] Removing intermediate container 999d24eebbda [2023-03-15T16:13:24.319Z] ---> 625496f3bb24 [2023-03-15T16:13:24.319Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:13:24.319Z] Successfully built 625496f3bb24 [2023-03-15T16:13:24.319Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:25.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:25.175Z] [2023-03-15T16:13:25.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:25.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:25.565Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:13:25.565Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:13:25.565Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:13:25.565Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:13:25.565Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:13:25.565Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:13:25.565Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:13:25.565Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:13:25.565Z] 33b1e0a273af: Waiting [2023-03-15T16:13:25.565Z] 5d3b04190fa2: Waiting [2023-03-15T16:13:25.565Z] 2f39f015ded8: Waiting [2023-03-15T16:13:25.565Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:13:25.565Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T16:13:25.565Z] 5c69ac0246d0: Download complete [2023-03-15T16:13:25.565Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T16:13:25.565Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:13:25.823Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:13:25.823Z] 33b1e0a273af: Download complete [2023-03-15T16:13:25.823Z] 5d3b04190fa2: Download complete [2023-03-15T16:13:25.823Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:13:25.823Z] ec43610c2a17: Download complete [2023-03-15T16:13:25.823Z] 5eb5b503b376: Download complete [2023-03-15T16:13:26.392Z] 2f39f015ded8: Download complete [2023-03-15T16:13:26.956Z] 5eb5b503b376: Pull complete [2023-03-15T16:13:26.956Z] 5c69ac0246d0: Pull complete [2023-03-15T16:13:27.521Z] ec43610c2a17: Pull complete [2023-03-15T16:13:27.521Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:13:27.778Z] 33b1e0a273af: Pull complete [2023-03-15T16:13:27.778Z] 5d3b04190fa2: Pull complete [2023-03-15T16:13:31.951Z] 2f39f015ded8: Pull complete [2023-03-15T16:13:31.951Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:13:31.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:31.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:13:32.166Z] prd-ubuntu20.04-docker-8c-8g-855 does not seem to be running inside a container [2023-03-15T16:13:32.203Z] $ 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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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-lftools-log-publisher:latest cat [2023-03-15T16:13:35.565Z] $ docker top 7932aa8edef1338c2c850a16b963d5e85642513780edf177b99873c04f279706 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:13:36.000Z] ---> job-cost.sh [2023-03-15T16:13:36.000Z] lf-activate-venv: SKIPPING [2023-03-15T16:13:36.000Z] INFO: No Stack... [2023-03-15T16:13:36.258Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:13:36.515Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:13:36.827Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-268/archives/cost.csv [2023-03-15T16:13:36.827Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:13:36.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] [2023-03-15T16:13:36.891Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] did not exist. Created. [2023-03-15T16:13:36.891Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:13:37.292Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:13:37.366Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:13:37.403Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:13:37.504Z] $ docker stop --time=1 7932aa8edef1338c2c850a16b963d5e85642513780edf177b99873c04f279706 [2023-03-15T16:13:38.641Z] $ docker rm -f --volumes 7932aa8edef1338c2c850a16b963d5e85642513780edf177b99873c04f279706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:17:55.878Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-935 in /w/workspace/gexfoundry_device-rest-go_PR-268 [Pipeline] { [Pipeline] ws [2023-03-15T16:17:55.943Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T16:17:56.032Z] The recommended git tool is: git [2023-03-15T16:18:09.358Z] using credential edgex-jenkins-ssh [2023-03-15T16:18:09.400Z] Cloning the remote Git repository [2023-03-15T16:18:09.492Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:18:09.689Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-15T16:18:10.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:18:10.037Z] > git --version # timeout=10 [2023-03-15T16:18:10.083Z] > git --version # 'git version 2.25.1' [2023-03-15T16:18:10.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:18:10.380Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:18:12.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-15T16:18:12.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:18:14.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-15T16:18:14.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:18:14.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:18:14.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T16:18:15.319Z] Merging remotes/origin/main commit ae54ce6f1033167052867af1427946ef32cb9188 into PR head commit e0fabda8af675933305fd9e419603ed10b7693eb [2023-03-15T16:18:15.889Z] Merge succeeded, producing e0fabda8af675933305fd9e419603ed10b7693eb [2023-03-15T16:18:15.889Z] Checking out Revision e0fabda8af675933305fd9e419603ed10b7693eb (PR-268) [2023-03-15T16:18:16.681Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-15T16:18:16.760Z] > git --version # timeout=10 [2023-03-15T16:18:16.773Z] > git --version # 'git version 2.25.1' [2023-03-15T16:18:16.791Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:18:15.365Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:18:15.509Z] > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [2023-03-15T16:18:15.666Z] > git remote # timeout=10 [2023-03-15T16:18:15.713Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T16:18:15.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:18:15.771Z] > git merge ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 [2023-03-15T16:18:15.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T16:18:15.907Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:18:15.962Z] > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:18:18.131Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:18:18.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:18:18.131Z] Dload Upload Total Spent Left Speed [2023-03-15T16:18:18.131Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-03-15T16:18:18.839Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:18:19.210Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:18:19.210Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:18:19.210Z] { [2023-03-15T16:18:19.210Z] "registry-mirrors": [ [2023-03-15T16:18:19.210Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:18:19.210Z] ], [2023-03-15T16:18:19.210Z] "bip": "10.250.0.254/24", [2023-03-15T16:18:19.210Z] "hosts": [ [2023-03-15T16:18:19.210Z] "tcp://0.0.0.0:5555", [2023-03-15T16:18:19.210Z] "unix:///var/run/docker.sock" [2023-03-15T16:18:19.210Z] ], [2023-03-15T16:18:19.210Z] "mtu": 1458, [2023-03-15T16:18:19.210Z] "selinux-enabled": true, [2023-03-15T16:18:19.210Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:18:19.210Z] } [Pipeline] sh [2023-03-15T16:18:19.595Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:18:20.004Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:18:38.433Z] provisioning config files... [2023-03-15T16:18:38.475Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8239991469924601050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:18:38.909Z] ---> docker-login.sh [2023-03-15T16:18:38.909Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:18:39.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:39.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:39.515Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:39.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:39.515Z] [2023-03-15T16:18:39.515Z] Login Succeeded [2023-03-15T16:18:39.515Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:18:40.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:40.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:40.112Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:40.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:40.112Z] [2023-03-15T16:18:40.112Z] Login Succeeded [2023-03-15T16:18:40.112Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:18:40.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:40.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:40.671Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:40.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:40.671Z] [2023-03-15T16:18:40.671Z] Login Succeeded [2023-03-15T16:18:40.671Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:18:40.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:40.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:40.948Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:40.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:40.948Z] [2023-03-15T16:18:40.948Z] Login Succeeded [2023-03-15T16:18:40.948Z] docker.io [2023-03-15T16:18:41.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:41.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:41.817Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:41.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:41.817Z] [2023-03-15T16:18:41.817Z] Login Succeeded [2023-03-15T16:18:41.817Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:18:41.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:18:42.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:18:42.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:18:42.431Z] ========================================================= [2023-03-15T16:18:42.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:18:42.431Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:18:43.083Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:18:43.083Z] Sending build context to Docker daemon 139.3kB [2023-03-15T16:18:43.693Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:18:43.693Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:18:43.693Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:18:43.693Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:18:43.693Z] 55522c791124: Pulling fs layer [2023-03-15T16:18:43.693Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:18:43.693Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:18:43.693Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:18:43.693Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:18:43.693Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:18:43.693Z] 169dfbe0d373: Waiting [2023-03-15T16:18:43.693Z] e1ff8fa3b103: Waiting [2023-03-15T16:18:43.693Z] 5abe8eddf0d5: Waiting [2023-03-15T16:18:43.693Z] 52ebb69f0ebf: Waiting [2023-03-15T16:18:43.693Z] 55522c791124: Verifying Checksum [2023-03-15T16:18:43.693Z] 55522c791124: Download complete [2023-03-15T16:18:43.693Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:18:43.693Z] 169dfbe0d373: Download complete [2023-03-15T16:18:43.971Z] e1ff8fa3b103: Download complete [2023-03-15T16:18:43.971Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:18:44.956Z] af6eaf76a39c: Pull complete [2023-03-15T16:18:45.254Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:18:45.254Z] 5abe8eddf0d5: Download complete [2023-03-15T16:18:45.875Z] 55522c791124: Pull complete [2023-03-15T16:18:46.878Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:18:46.878Z] 52ebb69f0ebf: Download complete [2023-03-15T16:18:47.155Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:18:47.155Z] ce5c4a1c91eb: Download complete [2023-03-15T16:18:59.578Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:18:59.578Z] 169dfbe0d373: Pull complete [2023-03-15T16:18:59.851Z] e1ff8fa3b103: Pull complete [2023-03-15T16:19:08.161Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:19:10.778Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:19:10.778Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:19:10.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:19:10.778Z] ---> 6cb57ee374ae [2023-03-15T16:19:10.778Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:19:11.777Z] ---> Running in 2d7f8fe74da6 [2023-03-15T16:19:12.379Z] Removing intermediate container 2d7f8fe74da6 [2023-03-15T16:19:12.379Z] ---> a10d50c0c3b3 [2023-03-15T16:19:12.379Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:19:12.379Z] ---> Running in e6db3d46065e [2023-03-15T16:19:12.649Z] Removing intermediate container e6db3d46065e [2023-03-15T16:19:12.649Z] ---> fe59eb8c5904 [2023-03-15T16:19:12.649Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:19:12.920Z] ---> Running in 110e34d0fb4b [2023-03-15T16:19:13.191Z] Removing intermediate container 110e34d0fb4b [2023-03-15T16:19:13.191Z] ---> 233c2f3b6af1 [2023-03-15T16:19:13.191Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:19:13.191Z] ---> Running in 9b163f12a682 [2023-03-15T16:19:13.465Z] Removing intermediate container 9b163f12a682 [2023-03-15T16:19:13.465Z] ---> 512bf7213115 [2023-03-15T16:19:13.465Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:19:13.746Z] ---> Running in f20f04c2d151 [2023-03-15T16:19:15.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:18.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:19.546Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:19:19.820Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:19:19.820Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:19:19.820Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:19:19.820Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:19:19.820Z] OK: 268 MiB in 57 packages [2023-03-15T16:19:21.257Z] Removing intermediate container f20f04c2d151 [2023-03-15T16:19:21.257Z] ---> 1212c8789c34 [2023-03-15T16:19:21.257Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T16:19:21.257Z] ---> Running in f53e1c3d24f6 [2023-03-15T16:19:21.773Z] Removing intermediate container f53e1c3d24f6 [2023-03-15T16:19:21.773Z] ---> d289281b95b9 [2023-03-15T16:19:21.773Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:19:22.093Z] ---> e2d7b856e1cc [2023-03-15T16:19:22.093Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:19:22.093Z] ---> Running in 53e8523f0e9a [2023-03-15T16:20:30.275Z] Removing intermediate container 53e8523f0e9a [2023-03-15T16:20:30.275Z] ---> 9b25a6a626a0 [2023-03-15T16:20:30.275Z] Step 11/12 : COPY . . [2023-03-15T16:20:32.260Z] ---> 1ce8d9944c53 [2023-03-15T16:20:32.260Z] Step 12/12 : RUN $MAKE [2023-03-15T16:20:32.260Z] ---> Running in 6470a566bb4b [2023-03-15T16:20:33.262Z] noop [2023-03-15T16:20:33.864Z] Removing intermediate container 6470a566bb4b [2023-03-15T16:20:33.864Z] ---> 347dd4172481 [2023-03-15T16:20:33.864Z] Successfully built 347dd4172481 [2023-03-15T16:20:33.864Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:34.365Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:20:34.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:20:34.713Z] prd-ubuntu20.04-docker-arm64-4c-16g-935 does not seem to be running inside a container [2023-03-15T16:20:34.808Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-15T16:20:36.240Z] $ docker top bcb6b2436de1f2146af324d9496e343e4071f671559fea60d4aa70a8240eb763 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:20:37.190Z] + go version [2023-03-15T16:20:37.190Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:20:37.232Z] $ docker stop --time=1 bcb6b2436de1f2146af324d9496e343e4071f671559fea60d4aa70a8240eb763 [2023-03-15T16:20:38.960Z] $ docker rm -f --volumes bcb6b2436de1f2146af324d9496e343e4071f671559fea60d4aa70a8240eb763 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:39.853Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:20:39.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:20:40.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-935 does not seem to be running inside a container [2023-03-15T16:20:40.237Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-15T16:20:41.653Z] $ docker top 78d85fe3e00057fb0daf61c4e7ffa12c792f0e0961e1c7d8bae742f708959ed7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:20:42.595Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:20:43.320Z] + make test [2023-03-15T16:20:43.320Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:21:22.240Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:23:44.059Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:23:44.059Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.1% of statements [2023-03-15T16:23:44.059Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:23:44.059Z] go vet ./... [2023-03-15T16:24:16.336Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:24:16.336Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:24:16.336Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:24:16.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:24:16.412Z] $ docker stop --time=1 78d85fe3e00057fb0daf61c4e7ffa12c792f0e0961e1c7d8bae742f708959ed7 [2023-03-15T16:24:18.399Z] $ docker rm -f --volumes 78d85fe3e00057fb0daf61c4e7ffa12c792f0e0961e1c7d8bae742f708959ed7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:24:19.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:24:19.811Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:24:20.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:24:20.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:24:21.328Z] + ls -al . [2023-03-15T16:24:21.328Z] total 180 [2023-03-15T16:24:21.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:20 . [2023-03-15T16:24:21.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 .. [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:18 .dockerignore [2023-03-15T16:24:21.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:18 .git [2023-03-15T16:24:21.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 .github [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:18 .gitignore [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:18 .golangci.yml [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:18 Attribution.txt [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:18 CHANGELOG.md [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:18 Dockerfile [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:18 GOVERNANCE.md [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:18 Jenkinsfile [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:18 LICENSE [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:18 Makefile [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:18 OWNERS.md [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:18 README.md [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:11 VERSION [2023-03-15T16:24:21.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:18 bin [2023-03-15T16:24:21.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 cmd [2023-03-15T16:24:21.328Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:23 coverage.out [2023-03-15T16:24:21.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:18 driver [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:18 go.mod [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:18 go.sum [2023-03-15T16:24:21.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 snap [2023-03-15T16:24:21.328Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:21.754Z] + 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=e0fabda8af675933305fd9e419603ed10b7693eb --label arch=arm64 --label version=0.0.0 . [2023-03-15T16:24:21.754Z] Sending build context to Docker daemon 154.1kB [2023-03-15T16:24:22.023Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:24:22.023Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:24:22.023Z] ---> 347dd4172481 [2023-03-15T16:24:22.023Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:24:22.294Z] ---> Running in cd0da19d4dac [2023-03-15T16:24:22.565Z] Removing intermediate container cd0da19d4dac [2023-03-15T16:24:22.565Z] ---> 42d786629816 [2023-03-15T16:24:22.565Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:24:22.565Z] ---> Running in 463ac1cb0cbb [2023-03-15T16:24:23.169Z] Removing intermediate container 463ac1cb0cbb [2023-03-15T16:24:23.169Z] ---> 20819b339033 [2023-03-15T16:24:23.169Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:24:23.169Z] ---> Running in c28e4ef91330 [2023-03-15T16:24:23.441Z] Removing intermediate container c28e4ef91330 [2023-03-15T16:24:23.441Z] ---> b495c9f26f30 [2023-03-15T16:24:23.441Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:24:23.713Z] ---> Running in 71660a39469e [2023-03-15T16:24:23.985Z] Removing intermediate container 71660a39469e [2023-03-15T16:24:23.985Z] ---> 32f3fc590503 [2023-03-15T16:24:23.985Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:24:23.985Z] ---> Running in fa8ef3f9cb2a [2023-03-15T16:24:25.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:24:25.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:24:26.966Z] OK: 268 MiB in 57 packages [2023-03-15T16:24:27.935Z] Removing intermediate container fa8ef3f9cb2a [2023-03-15T16:24:27.935Z] ---> 7766d07d015b [2023-03-15T16:24:27.935Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:24:27.935Z] ---> Running in e98acb0d065d [2023-03-15T16:24:28.528Z] Removing intermediate container e98acb0d065d [2023-03-15T16:24:28.528Z] ---> bdbf0a9f01a4 [2023-03-15T16:24:28.528Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:24:29.120Z] ---> 9cf784d1dbdb [2023-03-15T16:24:29.120Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:24:29.120Z] ---> Running in 3496c05df540 [2023-03-15T16:24:32.473Z] Removing intermediate container 3496c05df540 [2023-03-15T16:24:32.473Z] ---> fa4f93481cf3 [2023-03-15T16:24:32.473Z] Step 11/25 : COPY . . [2023-03-15T16:24:32.746Z] ---> ea7e3ca6f302 [2023-03-15T16:24:32.746Z] Step 12/25 : RUN $MAKE [2023-03-15T16:24:32.746Z] ---> Running in 89e912aafc64 [2023-03-15T16:24:33.714Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-15T16:27:12.118Z] Removing intermediate container 89e912aafc64 [2023-03-15T16:27:12.118Z] ---> 52a63f759f11 [2023-03-15T16:27:12.118Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:27:12.118Z] 3.17: Pulling from library/alpine [2023-03-15T16:27:12.118Z] af6eaf76a39c: Already exists [2023-03-15T16:27:12.118Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:27:12.118Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:27:12.118Z] ---> d74e625d9115 [2023-03-15T16:27:12.118Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:27:12.118Z] ---> Running in 89ee23fa951c [2023-03-15T16:27:12.118Z] Removing intermediate container 89ee23fa951c [2023-03-15T16:27:12.118Z] ---> e0f41c145c35 [2023-03-15T16:27:12.118Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:27:12.118Z] ---> Running in a47827900881 [2023-03-15T16:27:12.118Z] Removing intermediate container a47827900881 [2023-03-15T16:27:12.118Z] ---> 30d08b8eb828 [2023-03-15T16:27:12.118Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:27:12.118Z] ---> Running in 60b21c73c921 [2023-03-15T16:27:12.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:27:12.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:27:13.096Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:27:13.096Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:27:13.096Z] OK: 8 MiB in 16 packages [2023-03-15T16:27:14.118Z] Removing intermediate container 60b21c73c921 [2023-03-15T16:27:14.118Z] ---> 1811bc7f78f7 [2023-03-15T16:27:14.118Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:27:15.577Z] ---> c8c121d7f910 [2023-03-15T16:27:15.577Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:27:16.165Z] ---> f513547c110b [2023-03-15T16:27:16.165Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:27:16.754Z] ---> 34824caf6652 [2023-03-15T16:27:16.754Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:27:17.024Z] ---> Running in 16e8418f6747 [2023-03-15T16:27:17.292Z] Removing intermediate container 16e8418f6747 [2023-03-15T16:27:17.293Z] ---> ee20ff8598a2 [2023-03-15T16:27:17.293Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:27:17.565Z] ---> Running in 6bf92f580c99 [2023-03-15T16:27:17.833Z] Removing intermediate container 6bf92f580c99 [2023-03-15T16:27:17.833Z] ---> f7ea27816d10 [2023-03-15T16:27:17.833Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:27:17.833Z] ---> Running in 134d6cbf28f8 [2023-03-15T16:27:18.102Z] Removing intermediate container 134d6cbf28f8 [2023-03-15T16:27:18.102Z] ---> d81bec9f8557 [2023-03-15T16:27:18.102Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T16:27:18.374Z] ---> Running in 39bd12e8f03d [2023-03-15T16:27:18.643Z] Removing intermediate container 39bd12e8f03d [2023-03-15T16:27:18.643Z] ---> df2c91a54b2f [2023-03-15T16:27:18.643Z] Step 24/25 : LABEL git_sha=e0fabda8af675933305fd9e419603ed10b7693eb [2023-03-15T16:27:18.643Z] ---> Running in fbe268a5eed4 [2023-03-15T16:27:18.914Z] Removing intermediate container fbe268a5eed4 [2023-03-15T16:27:18.915Z] ---> 5f5212e1d377 [2023-03-15T16:27:18.915Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T16:27:19.186Z] ---> Running in 24ae88c08188 [2023-03-15T16:27:19.457Z] Removing intermediate container 24ae88c08188 [2023-03-15T16:27:19.457Z] ---> bf063c4f33d3 [2023-03-15T16:27:19.457Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:27:19.457Z] Successfully built bf063c4f33d3 [2023-03-15T16:27:19.457Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:20.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:20.257Z] [2023-03-15T16:27:20.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:20.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:20.943Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:27:20.943Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:27:20.943Z] 04944245beec: Pulling fs layer [2023-03-15T16:27:20.943Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:27:20.943Z] 765212b225bb: Pulling fs layer [2023-03-15T16:27:20.943Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:27:20.943Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:27:20.943Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:27:20.943Z] 765212b225bb: Waiting [2023-03-15T16:27:20.943Z] f23df028b6ca: Waiting [2023-03-15T16:27:20.943Z] d65c8cfc05b1: Waiting [2023-03-15T16:27:20.943Z] 2437ff75d9bd: Waiting [2023-03-15T16:27:20.943Z] 04944245beec: Verifying Checksum [2023-03-15T16:27:20.943Z] 04944245beec: Download complete [2023-03-15T16:27:20.943Z] 765212b225bb: Verifying Checksum [2023-03-15T16:27:20.943Z] 765212b225bb: Download complete [2023-03-15T16:27:20.943Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:27:20.943Z] f23df028b6ca: Download complete [2023-03-15T16:27:21.220Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:27:21.220Z] d65c8cfc05b1: Download complete [2023-03-15T16:27:21.220Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:27:21.220Z] 699f458cf7ca: Download complete [2023-03-15T16:27:21.490Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:27:21.490Z] 8998bd30e6a1: Download complete [2023-03-15T16:27:24.096Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:27:24.096Z] 2437ff75d9bd: Download complete [2023-03-15T16:27:25.525Z] 8998bd30e6a1: Pull complete [2023-03-15T16:27:26.115Z] 04944245beec: Pull complete [2023-03-15T16:27:27.544Z] 699f458cf7ca: Pull complete [2023-03-15T16:27:27.817Z] 765212b225bb: Pull complete [2023-03-15T16:27:28.788Z] f23df028b6ca: Pull complete [2023-03-15T16:27:28.788Z] d65c8cfc05b1: Pull complete [2023-03-15T16:27:43.818Z] 2437ff75d9bd: Pull complete [2023-03-15T16:27:43.818Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:27:43.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:43.818Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:44.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-935 does not seem to be running inside a container [2023-03-15T16:27:44.258Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T16:27:47.699Z] $ docker top 9681f3c2176ca7a93977f36f4fa1ced2dba2a01e71c9d8b26a8c7e7d697f0fa6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:48.655Z] ---> job-cost.sh [2023-03-15T16:27:48.655Z] lf-activate-venv: SKIPPING [2023-03-15T16:27:48.655Z] INFO: No Stack... [2023-03-15T16:27:49.248Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:27:50.216Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:27:50.886Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv+ [2023-03-15T16:27:50.886Z] cut -d, -f6 [Pipeline] lock [2023-03-15T16:27:50.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] [2023-03-15T16:27:51.001Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] did not exist. Created. [2023-03-15T16:27:51.001Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:27:51.754Z] /w/workspace/device-rest-go/1@tmp/durable-16111dda/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:27:52.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:27:52.505Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:27:52.582Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:27:52.596Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-268-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:27:52.680Z] $ docker stop --time=1 9681f3c2176ca7a93977f36f4fa1ced2dba2a01e71c9d8b26a8c7e7d697f0fa6 [2023-03-15T16:27:54.357Z] $ docker rm -f --volumes 9681f3c2176ca7a93977f36f4fa1ced2dba2a01e71c9d8b26a8c7e7d697f0fa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-15T16:27:55.384Z] provisioning config files... [2023-03-15T16:27:55.400Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config12576093314492003237tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:27:55.724Z] + set +x [2023-03-15T16:27:55.724Z] + curl -s https://codecov.io/bash [2023-03-15T16:27:55.724Z] + bash -s -- [2023-03-15T16:27:55.724Z] [2023-03-15T16:27:55.724Z] _____ _ [2023-03-15T16:27:55.724Z] / ____| | | [2023-03-15T16:27:55.724Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:27:55.724Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:27:55.724Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:27:55.724Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:27:55.724Z] Bash-1.0.6 [2023-03-15T16:27:55.724Z] [2023-03-15T16:27:55.724Z] [2023-03-15T16:27:55.724Z] ==> git version 2.25.1 found [2023-03-15T16:27:55.724Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-15T16:27:55.724Z] Release-Date: 2020-01-08 [2023-03-15T16:27:55.724Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T16:27:55.725Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:27:55.725Z] ==> Jenkins CI detected. [2023-03-15T16:27:55.725Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-268 [2023-03-15T16:27:55.725Z] project root: . [2023-03-15T16:27:55.725Z] --> token set from env [2023-03-15T16:27:55.725Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:27:55.725Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:27:55.725Z] ==> Python coveragepy not found [2023-03-15T16:27:55.725Z] ==> Searching for coverage reports in: [2023-03-15T16:27:55.725Z] + . [2023-03-15T16:27:55.725Z] -> Found 1 reports [2023-03-15T16:27:55.725Z] ==> Detecting git/mercurial file structure [2023-03-15T16:27:55.725Z] ==> Reading reports [2023-03-15T16:27:55.725Z] + ./coverage.out bytes=14200 [2023-03-15T16:27:55.725Z] ==> Appending adjustments [2023-03-15T16:27:55.725Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:27:55.981Z] + Found adjustments [2023-03-15T16:27:55.981Z] ==> Gzipping contents [2023-03-15T16:27:55.981Z] 4.0K /tmp/codecov.58RtQa.gz [2023-03-15T16:27:55.981Z] ==> Uploading reports [2023-03-15T16:27:55.981Z] url: https://codecov.io [2023-03-15T16:27:55.982Z] query: branch=PR-268&commit=e0fabda8af675933305fd9e419603ed10b7693eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-268%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-03-15T16:27:55.982Z] -> Pinging Codecov [2023-03-15T16:27:55.982Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-268&commit=e0fabda8af675933305fd9e419603ed10b7693eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-268%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-03-15T16:27:55.982Z] -> Uploading to [2023-03-15T16:27:55.982Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/e0fabda8af675933305fd9e419603ed10b7693eb/2ede3f42-941d-499f-a47c-a80f188b0bd4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c354e0c809c25008905573deafb038a42ab3fcb1bfee2c186917cd941b9f31cd [2023-03-15T16:27:55.982Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:27:55.982Z] Dload Upload Total Spent Left Speed [2023-03-15T16:27:56.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10907 --:--:-- --:--:-- --:--:-- 10907 [2023-03-15T16:27:56.239Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e0fabda8af675933305fd9e419603ed10b7693eb [Pipeline] } [2023-03-15T16:27:56.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-15T16:27:57.890Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-268/archives ] [2023-03-15T16:27:57.890Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-268/archives [2023-03-15T16:27:57.890Z] total 16 [2023-03-15T16:27:57.890Z] drwxr-xr-x 3 root root 4096 Mar 15 16:13 . [2023-03-15T16:27:57.890Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:13 .. [2023-03-15T16:27:57.890Z] drwxr-xr-x 2 root root 4096 Mar 15 16:13 cost [2023-03-15T16:27:57.890Z] -rw-r--r-- 1 root root 86 Mar 15 16:13 cost.csv [2023-03-15T16:27:57.890Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-268/archives [2023-03-15T16:27:57.890Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-268/archives [2023-03-15T16:27:57.890Z] total 16 [2023-03-15T16:27:57.890Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:13 . [2023-03-15T16:27:57.890Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:13 .. [2023-03-15T16:27:57.890Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:13 cost [2023-03-15T16:27:57.890Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:58.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:59.114Z] ---> package-listing.sh [2023-03-15T16:27:59.114Z] ++ facter osfamily [2023-03-15T16:27:59.114Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:27:59.114Z] + OS_FAMILY=debian [2023-03-15T16:27:59.114Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-268 [2023-03-15T16:27:59.114Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:27:59.114Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:27:59.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:27:59.114Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:27:59.114Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-268 ']' [2023-03-15T16:27:59.114Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:27:59.114Z] + case "${OS_FAMILY}" in [2023-03-15T16:27:59.114Z] + grep '^ii' [2023-03-15T16:27:59.114Z] + dpkg -l [2023-03-15T16:27:59.374Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:27:59.374Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:27:59.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:27:59.374Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-268 ']' [2023-03-15T16:27:59.374Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-268/archives/ [2023-03-15T16:27:59.374Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-268/archives/ [Pipeline] echo [2023-03-15T16:27:59.409Z] 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-268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T16:27:59.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:00.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:28:00.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:00.272Z] prd-ubuntu20.04-docker-8c-8g-855 does not seem to be running inside a container [2023-03-15T16:28:00.309Z] $ 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-268/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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:28:00.492Z] $ docker top 3c7bf8d6fabdcdf14fae73aff17bc4e44e1f8b4e4ff2af264fa551b3e75e68e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:28:00.877Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:28:01.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:28:01.497Z] + ls /var/log/sa-host [2023-03-15T16:28:01.497Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:28:01.618Z] provisioning config files... [2023-03-15T16:28:01.627Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config9656214215807528946tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:28:01.670Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:01.983Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:28:02.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:02.396Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:28:02.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:02.725Z] ---> sudo-logs.sh [2023-03-15T16:28:02.726Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:28:02.806Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:03.111Z] ---> job-cost.sh [2023-03-15T16:28:03.111Z] lf-activate-venv: SKIPPING [2023-03-15T16:28:03.111Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:28:03.111Z] INFO: Retrieving Stack Cost... [2023-03-15T16:28:03.368Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:28:03.935Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:28:03.970Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:04.290Z] ---> logs-deploy.sh [2023-03-15T16:28:04.291Z] lf-activate-venv: SKIPPING [2023-03-15T16:28:04.291Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-268/1 [2023-03-15T16:28:04.291Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:28:05.224Z] Archives upload complete. [2023-03-15T16:28:05.224Z] INFO: archiving logs to Nexus