Pull request #380 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26546ac3f39642afc324b3869bbbb559f7914101+9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 (4f3c5597dcbf8f017501e1b0f3bb94171d9c59d0) 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-ssh14352230066322944375.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh16111149594964391264.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-380/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-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10930966765716823489.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-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2791216046818001278.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh3087636388057724842.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-380/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-380/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1499706903873596326.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1094 in /w/workspace/gexfoundry_device-rest-go_PR-380 [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-380 # 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 Merging remotes/origin/main commit 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 into PR head commit 26546ac3f39642afc324b3869bbbb559f7914101 Merge succeeded, producing 26546ac3f39642afc324b3869bbbb559f7914101 Checking out Revision 26546ac3f39642afc324b3869bbbb559f7914101 (PR-380) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26546ac3f39642afc324b3869bbbb559f7914101 # 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 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26546ac3f39642afc324b3869bbbb559f7914101 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-16T20:03:29.774Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-16T20:03:29.984Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-16T20:03:30.105Z] ========================================================= [2024-02-16T20:03:30.105Z] EdgeX Global Pipelines Version Info [2024-02-16T20:03:30.105Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:03:30.852Z] ------------------- [2024-02-16T20:03:30.853Z] stable info: [2024-02-16T20:03:30.853Z] ------------------- [2024-02-16T20:03:30.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-16T20:03:30.853Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-16T20:03:30.853Z] Message: update stable to v1.0.258 [2024-02-16T20:03:31.422Z] ------------------- [2024-02-16T20:03:31.422Z] experimental info: [2024-02-16T20:03:31.422Z] ------------------- [2024-02-16T20:03:31.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-16T20:03:31.422Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-16T20:03:31.422Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-16T20:03:31.629Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-02-16T20:03:31.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-02-16T20:03:31.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-16T20:03:31.792Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-16T20:03:31.846Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-16T20:03:31.896Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-16T20:03:31.943Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-16T20:03:31.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-16T20:03:32.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-16T20:03:32.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-16T20:03:32.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-16T20:03:32.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-02-16T20:03:32.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-16T20:03:32.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-16T20:03:32.400Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-16T20:03:32.477Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-16T20:03:32.544Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T20:03:32.621Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T20:03:32.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-16T20:03:32.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-16T20:03:32.834Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-16T20:03:32.992Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-16T20:03:33.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-16T20:03:33.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-16T20:03:33.193Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-16T20:03:33.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-16T20:03:33.334Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-16T20:03:33.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo [2024-02-16T20:03:33.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo [2024-02-16T20:03:33.560Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo [2024-02-16T20:03:33.629Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26546ac3f39642afc324b3869bbbb559f7914101 [Pipeline] echo [2024-02-16T20:03:33.695Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26546ac [Pipeline] echo [2024-02-16T20:03:33.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T20:03:33.951Z] provisioning config files... [2024-02-16T20:03:33.968Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-380@tmp/config13581235148653927970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:03:34.370Z] ---> ****-login.sh [2024-02-16T20:03:34.370Z] nexus3.edgexfoundry.org:10001 [2024-02-16T20:03:34.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:34.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:34.631Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:34.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:34.631Z] [2024-02-16T20:03:34.631Z] Login Succeeded [2024-02-16T20:03:34.631Z] nexus3.edgexfoundry.org:10002 [2024-02-16T20:03:34.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:34.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:34.892Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:34.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:34.892Z] [2024-02-16T20:03:34.892Z] Login Succeeded [2024-02-16T20:03:34.892Z] nexus3.edgexfoundry.org:10003 [2024-02-16T20:03:34.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:34.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:34.892Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:34.893Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:34.893Z] [2024-02-16T20:03:34.893Z] Login Succeeded [2024-02-16T20:03:34.893Z] nexus3.edgexfoundry.org:10004 [2024-02-16T20:03:34.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:35.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:35.155Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:35.155Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:35.155Z] [2024-02-16T20:03:35.155Z] Login Succeeded [2024-02-16T20:03:35.155Z] ****.io [2024-02-16T20:03:35.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:35.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:35.418Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:35.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:35.418Z] [2024-02-16T20:03:35.418Z] Login Succeeded [2024-02-16T20:03:35.418Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T20:03:35.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-16T20:03:36.247Z] + git rev-list -1 --merges 26546ac3f39642afc324b3869bbbb559f7914101~1..26546ac3f39642afc324b3869bbbb559f7914101 [Pipeline] echo [2024-02-16T20:03:36.295Z] -----------> git rev-list -1 --merges 26546ac3f39642afc324b3869bbbb559f7914101~1..26546ac3f39642afc324b3869bbbb559f7914101 26546ac3f39642afc324b3869bbbb559f7914101 [false] [Pipeline] sh [2024-02-16T20:03:36.623Z] + git log --format=format:%s -1 26546ac3f39642afc324b3869bbbb559f7914101 [Pipeline] echo [2024-02-16T20:03:36.659Z] ========================================================= [2024-02-16T20:03:36.660Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-16T20:03:36.660Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T20:03:37.155Z] + git log --format=format:%s -1 26546ac3f39642afc324b3869bbbb559f7914101 [Pipeline] echo [2024-02-16T20:03:37.193Z] [semverPrep] GIT_COMMIT: 26546ac3f39642afc324b3869bbbb559f7914101, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-02-16T20:03:37.252Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-16T20:03:37.683Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-16T20:03:37.683Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-16T20:03:37.683Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-16T20:03:37.683Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-16T20:03:37.683Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-16T20:03:37.683Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-16T20:03:37.683Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:03:38.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T20:03:38.213Z] [2024-02-16T20:03:38.213Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:03:38.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T20:03:38.631Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-16T20:03:38.631Z] b85a868b505f: Pulling fs layer [2024-02-16T20:03:38.631Z] e2be974225ed: Pulling fs layer [2024-02-16T20:03:38.631Z] 339a4e72a1f5: Pulling fs layer [2024-02-16T20:03:38.631Z] 988bab9f4d93: Pulling fs layer [2024-02-16T20:03:38.631Z] 1469e6f7b9e6: Pulling fs layer [2024-02-16T20:03:38.631Z] eaf3925da568: Pulling fs layer [2024-02-16T20:03:38.631Z] bab4dde63d76: Pulling fs layer [2024-02-16T20:03:38.631Z] bde34c3a00c8: Pulling fs layer [2024-02-16T20:03:38.631Z] b352a97aabf1: Pulling fs layer [2024-02-16T20:03:38.631Z] 4872d77fe225: Pulling fs layer [2024-02-16T20:03:38.631Z] 5851b861e8e6: Pulling fs layer [2024-02-16T20:03:38.631Z] bab4dde63d76: Waiting [2024-02-16T20:03:38.631Z] bde34c3a00c8: Waiting [2024-02-16T20:03:38.631Z] b352a97aabf1: Waiting [2024-02-16T20:03:38.631Z] 4872d77fe225: Waiting [2024-02-16T20:03:38.631Z] 5851b861e8e6: Waiting [2024-02-16T20:03:38.631Z] 988bab9f4d93: Waiting [2024-02-16T20:03:38.631Z] 1469e6f7b9e6: Waiting [2024-02-16T20:03:38.631Z] eaf3925da568: Waiting [2024-02-16T20:03:38.631Z] e2be974225ed: Verifying Checksum [2024-02-16T20:03:38.631Z] e2be974225ed: Download complete [2024-02-16T20:03:38.631Z] 988bab9f4d93: Verifying Checksum [2024-02-16T20:03:38.631Z] 988bab9f4d93: Download complete [2024-02-16T20:03:38.631Z] 1469e6f7b9e6: Verifying Checksum [2024-02-16T20:03:38.631Z] 1469e6f7b9e6: Download complete [2024-02-16T20:03:38.891Z] eaf3925da568: Verifying Checksum [2024-02-16T20:03:38.891Z] eaf3925da568: Download complete [2024-02-16T20:03:38.891Z] 339a4e72a1f5: Verifying Checksum [2024-02-16T20:03:38.891Z] 339a4e72a1f5: Download complete [2024-02-16T20:03:38.891Z] bde34c3a00c8: Verifying Checksum [2024-02-16T20:03:38.891Z] bde34c3a00c8: Download complete [2024-02-16T20:03:38.891Z] b352a97aabf1: Verifying Checksum [2024-02-16T20:03:38.891Z] b352a97aabf1: Download complete [2024-02-16T20:03:38.891Z] 4872d77fe225: Download complete [2024-02-16T20:03:38.891Z] 5851b861e8e6: Verifying Checksum [2024-02-16T20:03:38.891Z] 5851b861e8e6: Download complete [2024-02-16T20:03:38.891Z] b85a868b505f: Verifying Checksum [2024-02-16T20:03:38.891Z] b85a868b505f: Download complete [2024-02-16T20:03:39.150Z] bab4dde63d76: Verifying Checksum [2024-02-16T20:03:39.150Z] bab4dde63d76: Download complete [2024-02-16T20:03:40.088Z] b85a868b505f: Pull complete [2024-02-16T20:03:40.349Z] e2be974225ed: Pull complete [2024-02-16T20:03:40.921Z] 339a4e72a1f5: Pull complete [2024-02-16T20:03:40.921Z] 988bab9f4d93: Pull complete [2024-02-16T20:03:41.185Z] 1469e6f7b9e6: Pull complete [2024-02-16T20:03:41.185Z] eaf3925da568: Pull complete [2024-02-16T20:03:43.089Z] bab4dde63d76: Pull complete [2024-02-16T20:03:43.089Z] bde34c3a00c8: Pull complete [2024-02-16T20:03:43.089Z] b352a97aabf1: Pull complete [2024-02-16T20:03:43.089Z] 4872d77fe225: Pull complete [2024-02-16T20:03:43.348Z] 5851b861e8e6: Pull complete [2024-02-16T20:03:43.348Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-16T20:03:43.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T20:03:43.348Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:03:43.680Z] prd-ubuntu20.04-docker-8c-8g-1094 does not seem to be running inside a container [2024-02-16T20:03:43.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-380 -v /w/workspace/gexfoundry_device-rest-go_PR-380:/w/workspace/gexfoundry_device-rest-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-380@tmp:/w/workspace/gexfoundry_device-rest-go_PR-380@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 [2024-02-16T20:03:46.377Z] $ docker top 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e -eo pid,comm [2024-02-16T20:03:46.441Z] 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). [2024-02-16T20:03:46.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-16T20:03:46.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-16T20:03:46.637Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-16T20:03:46.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-16T20:03:46.746Z] $ docker exec 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e ssh-agent [2024-02-16T20:03:46.869Z] SSH_AUTH_SOCK=/tmp/ssh-sNapSgtjHJTp/agent.32 [2024-02-16T20:03:46.869Z] SSH_AGENT_PID=38 [2024-02-16T20:03:46.876Z] Running ssh-add (command line suppressed) [2024-02-16T20:03:46.955Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-380@tmp/private_key_4010681638338501811.key (/w/workspace/gexfoundry_device-rest-go_PR-380@tmp/private_key_4010681638338501811.key) [2024-02-16T20:03:46.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-16T20:03:47.334Z] + git tag --points-at HEAD [Pipeline] } [2024-02-16T20:03:47.348Z] $ docker exec --env ******** --env ******** 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e ssh-agent -k [2024-02-16T20:03:47.455Z] unset SSH_AUTH_SOCK; [2024-02-16T20:03:47.456Z] unset SSH_AGENT_PID; [2024-02-16T20:03:47.456Z] echo Agent pid 38 killed; [2024-02-16T20:03:47.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-16T20:03:47.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-16T20:03:47.618Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-16T20:03:47.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-16T20:03:47.711Z] $ docker exec 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e ssh-agent [2024-02-16T20:03:47.821Z] SSH_AUTH_SOCK=/tmp/ssh-H9u3bCCybDqz/agent.71 [2024-02-16T20:03:47.821Z] SSH_AGENT_PID=77 [2024-02-16T20:03:47.825Z] Running ssh-add (command line suppressed) [2024-02-16T20:03:47.936Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-380@tmp/private_key_8713158999451535323.key (/w/workspace/gexfoundry_device-rest-go_PR-380@tmp/private_key_8713158999451535323.key) [2024-02-16T20:03:47.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-16T20:03:48.309Z] + git semver init [2024-02-16T20:03:48.570Z] 2024-02-16 20:03:48,468 [run_init] DEBUG init version:0.0.0 force:False [2024-02-16T20:03:48.570Z] 2024-02-16 20:03:48,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-380/.semver [2024-02-16T20:03:48.570Z] 2024-02-16 20:03:48,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-380/.semver [2024-02-16T20:03:48.570Z] 2024-02-16 20:03:48,470 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-380/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-380, universal_newlines=False, shell=None, istream=None) [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,819 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-380/.git/info/exclude [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,819 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-380/.semver/PR-380 with force:False [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,819 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-380/.semver/PR-380 [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,823 [execute] INFO git cat-file --batch-check [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,830 [execute] INFO git cat-file --batch [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) [2024-02-16T20:03:49.950Z] 2024-02-16 20:03:49,834 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-380/.semver/PR-380 [2024-02-16T20:03:49.950Z] 0.0.0 [Pipeline] } [2024-02-16T20:03:49.966Z] $ docker exec --env ******** --env ******** 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e ssh-agent -k [2024-02-16T20:03:50.053Z] unset SSH_AUTH_SOCK; [2024-02-16T20:03:50.054Z] unset SSH_AGENT_PID; [2024-02-16T20:03:50.054Z] echo Agent pid 77 killed; [2024-02-16T20:03:50.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-16T20:03:50.592Z] + git semver [Pipeline] } [2024-02-16T20:03:50.870Z] $ docker stop --time=1 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e [2024-02-16T20:03:52.183Z] $ docker rm -f --volumes 6f0aa847dbcb1d0114ae7d4d02c0b3329a00a3689fa4ec8f4ef7649c76999e6e [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T20:03:52.623Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-16T20:03:52.914Z] Stashed 1 file(s) [Pipeline] echo [2024-02-16T20:03:52.935Z] [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 [2024-02-16T20:03:53.812Z] provisioning config files... [2024-02-16T20:03:53.822Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-380@tmp/config1306240748833309628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:03:54.211Z] ---> ****-login.sh [2024-02-16T20:03:54.211Z] nexus3.edgexfoundry.org:10001 [2024-02-16T20:03:54.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:54.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:54.211Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:54.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:54.211Z] [2024-02-16T20:03:54.211Z] Login Succeeded [2024-02-16T20:03:54.211Z] nexus3.edgexfoundry.org:10002 [2024-02-16T20:03:54.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:54.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:54.211Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:54.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:54.211Z] [2024-02-16T20:03:54.211Z] Login Succeeded [2024-02-16T20:03:54.211Z] nexus3.edgexfoundry.org:10003 [2024-02-16T20:03:54.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:54.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:54.471Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:54.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:54.471Z] [2024-02-16T20:03:54.471Z] Login Succeeded [2024-02-16T20:03:54.471Z] nexus3.edgexfoundry.org:10004 [2024-02-16T20:03:54.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:54.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:54.471Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:54.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:54.471Z] [2024-02-16T20:03:54.471Z] Login Succeeded [2024-02-16T20:03:54.471Z] ****.io [2024-02-16T20:03:54.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:03:54.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:03:54.732Z] Configure a credential helper to remove this warning. See [2024-02-16T20:03:54.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:03:54.732Z] [2024-02-16T20:03:54.732Z] Login Succeeded [2024-02-16T20:03:54.732Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T20:03:54.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-16T20:03:55.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T20:03:55.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T20:03:55.204Z] ========================================================= [2024-02-16T20:03:55.204Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-16T20:03:55.204Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:03:55.778Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-16T20:03:55.778Z] Sending build context to Docker daemon 16.32MB [2024-02-16T20:03:55.778Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T20:03:55.778Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-16T20:03:55.778Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-16T20:03:55.778Z] 7264a8db6415: Pulling fs layer [2024-02-16T20:03:55.778Z] c4d48a809fc2: Pulling fs layer [2024-02-16T20:03:55.778Z] 4f1c88b9dad5: Pulling fs layer [2024-02-16T20:03:55.778Z] ad3a456e5733: Pulling fs layer [2024-02-16T20:03:55.778Z] 69c7f0334f64: Pulling fs layer [2024-02-16T20:03:55.778Z] 1f1c1a5573a3: Pulling fs layer [2024-02-16T20:03:55.778Z] ce7588e14bc9: Pulling fs layer [2024-02-16T20:03:55.778Z] b5e4710f87ac: Pulling fs layer [2024-02-16T20:03:55.778Z] ad3a456e5733: Waiting [2024-02-16T20:03:55.778Z] 69c7f0334f64: Waiting [2024-02-16T20:03:55.778Z] 1f1c1a5573a3: Waiting [2024-02-16T20:03:55.778Z] ce7588e14bc9: Waiting [2024-02-16T20:03:55.778Z] b5e4710f87ac: Waiting [2024-02-16T20:03:55.778Z] c4d48a809fc2: Verifying Checksum [2024-02-16T20:03:55.778Z] c4d48a809fc2: Download complete [2024-02-16T20:03:55.779Z] ad3a456e5733: Download complete [2024-02-16T20:03:56.039Z] 69c7f0334f64: Verifying Checksum [2024-02-16T20:03:56.039Z] 69c7f0334f64: Download complete [2024-02-16T20:03:56.039Z] 7264a8db6415: Verifying Checksum [2024-02-16T20:03:56.039Z] 7264a8db6415: Download complete [2024-02-16T20:03:56.039Z] 1f1c1a5573a3: Verifying Checksum [2024-02-16T20:03:56.039Z] 1f1c1a5573a3: Download complete [2024-02-16T20:03:56.039Z] 7264a8db6415: Pull complete [2024-02-16T20:03:56.303Z] b5e4710f87ac: Verifying Checksum [2024-02-16T20:03:56.303Z] b5e4710f87ac: Download complete [2024-02-16T20:03:56.303Z] c4d48a809fc2: Pull complete [2024-02-16T20:03:56.562Z] 4f1c88b9dad5: Verifying Checksum [2024-02-16T20:03:56.562Z] 4f1c88b9dad5: Download complete [2024-02-16T20:03:56.820Z] ce7588e14bc9: Download complete [2024-02-16T20:04:00.117Z] 4f1c88b9dad5: Pull complete [2024-02-16T20:04:00.117Z] ad3a456e5733: Pull complete [2024-02-16T20:04:00.117Z] 69c7f0334f64: Pull complete [2024-02-16T20:04:00.117Z] 1f1c1a5573a3: Pull complete [2024-02-16T20:04:02.648Z] ce7588e14bc9: Pull complete [2024-02-16T20:04:02.911Z] b5e4710f87ac: Pull complete [2024-02-16T20:04:02.911Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-16T20:04:02.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-16T20:04:02.911Z] ---> 88b5674ff536 [2024-02-16T20:04:02.911Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-02-16T20:04:06.204Z] ---> Running in dd097c3d05b7 [2024-02-16T20:04:06.204Z] Removing intermediate container dd097c3d05b7 [2024-02-16T20:04:06.204Z] ---> 639af96b4128 [2024-02-16T20:04:06.204Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T20:04:06.466Z] ---> Running in e458087f1118 [2024-02-16T20:04:06.466Z] Removing intermediate container e458087f1118 [2024-02-16T20:04:06.466Z] ---> 45c68cfc05b4 [2024-02-16T20:04:06.466Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T20:04:06.466Z] ---> Running in cdd029b668f0 [2024-02-16T20:04:06.466Z] Removing intermediate container cdd029b668f0 [2024-02-16T20:04:06.466Z] ---> e4465115b0e7 [2024-02-16T20:04:06.466Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T20:04:06.466Z] ---> Running in e718762f9e9f [2024-02-16T20:04:06.726Z] Removing intermediate container e718762f9e9f [2024-02-16T20:04:06.726Z] ---> 85a86b58de1a [2024-02-16T20:04:06.726Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T20:04:06.726Z] ---> Running in 8851969ec118 [2024-02-16T20:04:06.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T20:04:07.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T20:04:07.504Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-16T20:04:07.504Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-16T20:04:07.504Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-16T20:04:07.504Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-16T20:04:07.504Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T20:04:07.505Z] OK: 268 MiB in 56 packages [2024-02-16T20:04:08.075Z] Removing intermediate container 8851969ec118 [2024-02-16T20:04:08.075Z] ---> cdb0eed89dbb [2024-02-16T20:04:08.075Z] Step 8/12 : WORKDIR /device-rest-go [2024-02-16T20:04:08.075Z] ---> Running in a77fb2c7ad9b [2024-02-16T20:04:08.075Z] Removing intermediate container a77fb2c7ad9b [2024-02-16T20:04:08.075Z] ---> 156ece7ea542 [2024-02-16T20:04:08.075Z] Step 9/12 : COPY go.mod vendor* ./ [2024-02-16T20:04:08.336Z] ---> 9fb56d1b095b [2024-02-16T20:04:08.336Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T20:04:08.336Z] ---> Running in a0d3083d538c [2024-02-16T20:04:08.559Z] Still waiting to schedule task [2024-02-16T20:04:08.559Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-16T20:04:34.931Z] Removing intermediate container a0d3083d538c [2024-02-16T20:04:34.932Z] ---> 352567eb3d8e [2024-02-16T20:04:34.932Z] Step 11/12 : COPY . . [2024-02-16T20:04:34.932Z] ---> 0feb06d006c8 [2024-02-16T20:04:34.932Z] Step 12/12 : RUN $MAKE [2024-02-16T20:04:34.932Z] ---> Running in dde2bc589304 [2024-02-16T20:04:34.932Z] noop [2024-02-16T20:04:34.932Z] Removing intermediate container dde2bc589304 [2024-02-16T20:04:34.932Z] ---> 610fa376b436 [2024-02-16T20:04:34.932Z] Successfully built 610fa376b436 [2024-02-16T20:04:34.932Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:04:35.467Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-16T20:04:35.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:04:35.678Z] prd-ubuntu20.04-docker-8c-8g-1094 does not seem to be running inside a container [2024-02-16T20:04:35.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-380 -v /w/workspace/gexfoundry_device-rest-go_PR-380:/w/workspace/gexfoundry_device-rest-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-380@tmp:/w/workspace/gexfoundry_device-rest-go_PR-380@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 [2024-02-16T20:04:36.038Z] $ docker top abb163e4585b870105c2df14e8a655b379167155e5b492bde1bedc2c7074437b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T20:04:36.535Z] + go version [2024-02-16T20:04:36.535Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-16T20:04:36.569Z] $ docker stop --time=1 abb163e4585b870105c2df14e8a655b379167155e5b492bde1bedc2c7074437b [2024-02-16T20:04:37.876Z] $ docker rm -f --volumes abb163e4585b870105c2df14e8a655b379167155e5b492bde1bedc2c7074437b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:04:38.797Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-16T20:04:38.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:04:38.995Z] prd-ubuntu20.04-docker-8c-8g-1094 does not seem to be running inside a container [2024-02-16T20:04:39.023Z] $ 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-380 -v /w/workspace/gexfoundry_device-rest-go_PR-380:/w/workspace/gexfoundry_device-rest-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-380@tmp:/w/workspace/gexfoundry_device-rest-go_PR-380@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 [2024-02-16T20:04:39.344Z] $ docker top 642f74e8605677e7346c1b3f18cd89066871c89a0cd7d9ef534f88a4731e7dd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T20:04:39.784Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-380 [Pipeline] fileExists [Pipeline] sh [2024-02-16T20:04:40.176Z] + make test [2024-02-16T20:04:40.176Z] go test ./... -coverprofile=coverage.out ./... [2024-02-16T20:04:41.559Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-02-16T20:04:51.528Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-02-16T20:04:51.528Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 33.2% of statements [2024-02-16T20:04:58.093Z] go vet ./... [2024-02-16T20:05:02.293Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-16T20:05:02.293Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-16T20:05:02.293Z] ./bin/test-attribution-txt.sh [2024-02-16T20:05:02.293Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-16T20:05:02.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-16T20:05:02.400Z] $ docker stop --time=1 642f74e8605677e7346c1b3f18cd89066871c89a0cd7d9ef534f88a4731e7dd0 [2024-02-16T20:05:05.559Z] $ docker rm -f --volumes 642f74e8605677e7346c1b3f18cd89066871c89a0cd7d9ef534f88a4731e7dd0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T20:05:06.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-16T20:05:06.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-16T20:05:07.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-16T20:05:07.383Z] + ls -al . [2024-02-16T20:05:07.383Z] total 180 [2024-02-16T20:05:07.383Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 20:04 . [2024-02-16T20:05:07.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 20:03 .. [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 16 20:03 .dockerignore [2024-02-16T20:05:07.383Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 20:04 .git [2024-02-16T20:05:07.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:03 .github [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 264 Feb 16 20:03 .gitignore [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 20:03 .golangci.yml [2024-02-16T20:05:07.383Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 20:03 .semver [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 10300 Feb 16 20:03 Attribution.txt [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 17685 Feb 16 20:03 CHANGELOG.md [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 1687 Feb 16 20:03 Dockerfile [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 20:03 GOVERNANCE.md [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 16 20:03 Jenkinsfile [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 20:03 LICENSE [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 2016 Feb 16 20:03 Makefile [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 16 20:03 OWNERS.md [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 3989 Feb 16 20:03 README.md [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 20:03 VERSION [2024-02-16T20:05:07.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:03 bin [2024-02-16T20:05:07.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:03 cmd [2024-02-16T20:05:07.383Z] -rw-r--r-- 1 jenkins jenkins 14499 Feb 16 20:04 coverage.out [2024-02-16T20:05:07.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:03 driver [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 3935 Feb 16 20:03 go.mod [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 34601 Feb 16 20:03 go.sum [2024-02-16T20:05:07.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:03 openapi [2024-02-16T20:05:07.383Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 16 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:05:07.864Z] + 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=26546ac3f39642afc324b3869bbbb559f7914101 --label arch=amd64 --label version=0.0.0 . [2024-02-16T20:05:07.864Z] Sending build context to Docker daemon 16.34MB [2024-02-16T20:05:07.864Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T20:05:07.864Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-16T20:05:07.864Z] ---> 610fa376b436 [2024-02-16T20:05:07.864Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-02-16T20:05:08.125Z] ---> Running in 125ae0bb1a2d [2024-02-16T20:05:08.125Z] Removing intermediate container 125ae0bb1a2d [2024-02-16T20:05:08.125Z] ---> a0035ad1c866 [2024-02-16T20:05:08.125Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T20:05:08.125Z] ---> Running in 01d35bed7963 [2024-02-16T20:05:08.387Z] Removing intermediate container 01d35bed7963 [2024-02-16T20:05:08.387Z] ---> 0f1435ab9ad1 [2024-02-16T20:05:08.387Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T20:05:08.387Z] ---> Running in c0de2c0e7302 [2024-02-16T20:05:08.387Z] Removing intermediate container c0de2c0e7302 [2024-02-16T20:05:08.387Z] ---> 967ddcc14968 [2024-02-16T20:05:08.387Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T20:05:08.387Z] ---> Running in 3220045d5729 [2024-02-16T20:05:08.387Z] Removing intermediate container 3220045d5729 [2024-02-16T20:05:08.387Z] ---> 5daf58d0f00c [2024-02-16T20:05:08.387Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T20:05:08.387Z] ---> Running in 63f8233b61a5 [2024-02-16T20:05:08.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T20:05:08.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T20:05:08.956Z] OK: 268 MiB in 56 packages [2024-02-16T20:05:09.527Z] Removing intermediate container 63f8233b61a5 [2024-02-16T20:05:09.527Z] ---> 0c59c93327b9 [2024-02-16T20:05:09.527Z] Step 8/26 : WORKDIR /device-rest-go [2024-02-16T20:05:09.527Z] ---> Running in 5d87f854541d [2024-02-16T20:05:09.527Z] Removing intermediate container 5d87f854541d [2024-02-16T20:05:09.527Z] ---> 0314c36bbf3b [2024-02-16T20:05:09.527Z] Step 9/26 : COPY go.mod vendor* ./ [2024-02-16T20:05:09.787Z] ---> 040c54bb01de [2024-02-16T20:05:09.787Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T20:05:09.787Z] ---> Running in bf402cdc371d [2024-02-16T20:05:10.355Z] Removing intermediate container bf402cdc371d [2024-02-16T20:05:10.355Z] ---> 47897c52f4ee [2024-02-16T20:05:10.355Z] Step 11/26 : COPY . . [2024-02-16T20:05:10.981Z] ---> a56abb4c12d3 [2024-02-16T20:05:10.981Z] Step 12/26 : RUN $MAKE [2024-02-16T20:05:10.981Z] ---> Running in 2139efb3db0d [2024-02-16T20:05:11.240Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.8" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-02-16T20:05:29.661Z] Removing intermediate container 2139efb3db0d [2024-02-16T20:05:29.661Z] ---> e9ab6af52035 [2024-02-16T20:05:29.661Z] Step 13/26 : FROM alpine:3.18 [2024-02-16T20:05:29.921Z] 3.18: Pulling from library/alpine [2024-02-16T20:05:29.921Z] 619be1103602: Pulling fs layer [2024-02-16T20:05:30.187Z] 619be1103602: Download complete [2024-02-16T20:05:30.462Z] 619be1103602: Pull complete [2024-02-16T20:05:30.462Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-16T20:05:30.462Z] Status: Downloaded newer image for alpine:3.18 [2024-02-16T20:05:30.462Z] ---> d3782b16ccc9 [2024-02-16T20:05:30.462Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-16T20:05:30.752Z] ---> Running in e558f737b27a [2024-02-16T20:05:30.752Z] Removing intermediate container e558f737b27a [2024-02-16T20:05:30.752Z] ---> 5977e5341845 [2024-02-16T20:05:30.752Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-02-16T20:05:30.752Z] ---> Running in ec7f41d543fa [2024-02-16T20:05:30.752Z] Removing intermediate container ec7f41d543fa [2024-02-16T20:05:30.752Z] ---> f34b3cdbbb38 [2024-02-16T20:05:30.752Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-02-16T20:05:30.752Z] ---> Running in 20f226bb69d8 [2024-02-16T20:05:31.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T20:05:31.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T20:05:31.550Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-16T20:05:31.550Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T20:05:31.550Z] OK: 7 MiB in 16 packages [2024-02-16T20:05:32.118Z] Removing intermediate container 20f226bb69d8 [2024-02-16T20:05:32.118Z] ---> 85149d2e1c99 [2024-02-16T20:05:32.118Z] Step 17/26 : RUN apk --no-cache upgrade [2024-02-16T20:05:32.118Z] ---> Running in 8a11e32f7704 [2024-02-16T20:05:32.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T20:05:32.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T20:05:32.635Z] OK: 7 MiB in 16 packages [2024-02-16T20:05:32.893Z] Removing intermediate container 8a11e32f7704 [2024-02-16T20:05:32.893Z] ---> c38588a5c894 [2024-02-16T20:05:32.893Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-02-16T20:05:33.506Z] ---> edff28c9f85a [2024-02-16T20:05:33.506Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-02-16T20:05:33.766Z] ---> a54d15b3ecc7 [2024-02-16T20:05:33.766Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-02-16T20:05:33.766Z] ---> bfc1138d0ebd [2024-02-16T20:05:33.766Z] Step 21/26 : EXPOSE 59986 [2024-02-16T20:05:33.766Z] ---> Running in 9905a5157ce5 [2024-02-16T20:05:34.024Z] Removing intermediate container 9905a5157ce5 [2024-02-16T20:05:34.024Z] ---> 5641e23291f9 [2024-02-16T20:05:34.024Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-02-16T20:05:34.024Z] ---> Running in e883b0133c35 [2024-02-16T20:05:34.024Z] Removing intermediate container e883b0133c35 [2024-02-16T20:05:34.024Z] ---> 5e85a8bef39f [2024-02-16T20:05:34.024Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-02-16T20:05:34.024Z] ---> Running in c126c7a6ed80 [2024-02-16T20:05:34.024Z] Removing intermediate container c126c7a6ed80 [2024-02-16T20:05:34.024Z] ---> 11d2987a990d [2024-02-16T20:05:34.024Z] Step 24/26 : LABEL arch=amd64 [2024-02-16T20:05:34.024Z] ---> Running in f970de1bd21c [2024-02-16T20:05:34.284Z] Removing intermediate container f970de1bd21c [2024-02-16T20:05:34.284Z] ---> a78f0344c239 [2024-02-16T20:05:34.284Z] Step 25/26 : LABEL git_sha=26546ac3f39642afc324b3869bbbb559f7914101 [2024-02-16T20:05:34.284Z] ---> Running in af7e69511a3d [2024-02-16T20:05:34.284Z] Removing intermediate container af7e69511a3d [2024-02-16T20:05:34.284Z] ---> d2bccd7f6d9f [2024-02-16T20:05:34.284Z] Step 26/26 : LABEL version=0.0.0 [2024-02-16T20:05:34.284Z] ---> Running in dcd10dbad9ee [2024-02-16T20:05:34.284Z] Removing intermediate container dcd10dbad9ee [2024-02-16T20:05:34.284Z] ---> 00db21d3409d [2024-02-16T20:05:34.284Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-16T20:05:34.543Z] Successfully built 00db21d3409d [2024-02-16T20:05:34.543Z] 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 [2024-02-16T20:05:35.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T20:05:35.767Z] [2024-02-16T20:05:35.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:05:36.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T20:05:36.186Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-16T20:05:36.186Z] 5eb5b503b376: Pulling fs layer [2024-02-16T20:05:36.186Z] 5c69ac0246d0: Pulling fs layer [2024-02-16T20:05:36.186Z] ec43610c2a17: Pulling fs layer [2024-02-16T20:05:36.186Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-16T20:05:36.186Z] 33b1e0a273af: Pulling fs layer [2024-02-16T20:05:36.186Z] 5d3b04190fa2: Pulling fs layer [2024-02-16T20:05:36.186Z] 2f39f015ded8: Pulling fs layer [2024-02-16T20:05:36.186Z] 2f39f015ded8: Waiting [2024-02-16T20:05:36.186Z] 5d3b04190fa2: Waiting [2024-02-16T20:05:36.186Z] 3a2ae6a8a46f: Waiting [2024-02-16T20:05:36.186Z] 5c69ac0246d0: Download complete [2024-02-16T20:05:36.186Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-16T20:05:36.186Z] 3a2ae6a8a46f: Download complete [2024-02-16T20:05:36.186Z] 33b1e0a273af: Verifying Checksum [2024-02-16T20:05:36.186Z] 33b1e0a273af: Download complete [2024-02-16T20:05:36.186Z] 5d3b04190fa2: Verifying Checksum [2024-02-16T20:05:36.186Z] 5d3b04190fa2: Download complete [2024-02-16T20:05:36.186Z] ec43610c2a17: Verifying Checksum [2024-02-16T20:05:36.186Z] ec43610c2a17: Download complete [2024-02-16T20:05:36.445Z] 5eb5b503b376: Verifying Checksum [2024-02-16T20:05:36.445Z] 5eb5b503b376: Download complete [2024-02-16T20:05:37.379Z] 2f39f015ded8: Verifying Checksum [2024-02-16T20:05:37.379Z] 2f39f015ded8: Download complete [2024-02-16T20:05:37.638Z] 5eb5b503b376: Pull complete [2024-02-16T20:05:37.896Z] 5c69ac0246d0: Pull complete [2024-02-16T20:05:38.154Z] ec43610c2a17: Pull complete [2024-02-16T20:05:38.413Z] 3a2ae6a8a46f: Pull complete [2024-02-16T20:05:38.671Z] 33b1e0a273af: Pull complete [2024-02-16T20:05:38.671Z] 5d3b04190fa2: Pull complete [2024-02-16T20:05:42.862Z] 2f39f015ded8: Pull complete [2024-02-16T20:05:42.862Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-16T20:05:42.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T20:05:42.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:05:43.227Z] prd-ubuntu20.04-docker-8c-8g-1094 does not seem to be running inside a container [2024-02-16T20:05:43.256Z] $ 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-380 -v /w/workspace/gexfoundry_device-rest-go_PR-380:/w/workspace/gexfoundry_device-rest-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-380@tmp:/w/workspace/gexfoundry_device-rest-go_PR-380@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 [2024-02-16T20:05:46.589Z] $ docker top d5886cc05a632f6c67a120fa6555bfa5133fdb647e043f1c50929b0d3f85841b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:05:47.115Z] ---> job-cost.sh [2024-02-16T20:05:47.115Z] lf-activate-venv: SKIPPING [2024-02-16T20:05:47.115Z] INFO: No Stack... [2024-02-16T20:05:47.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-16T20:05:47.635Z] INFO: Archiving Costs [Pipeline] sh [2024-02-16T20:05:47.950Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-380/archives/cost.csv [2024-02-16T20:05:47.951Z] + cut -d, -f6 [Pipeline] lock [2024-02-16T20:05:47.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] [2024-02-16T20:05:48.003Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] did not exist. Created. [2024-02-16T20:05:48.008Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-16T20:05:48.469Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-16T20:05:48.532Z] Stashed 1 file(s) [Pipeline] } [2024-02-16T20:05:48.595Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-16T20:05:48.746Z] $ docker stop --time=1 d5886cc05a632f6c67a120fa6555bfa5133fdb647e043f1c50929b0d3f85841b [2024-02-16T20:05:49.895Z] $ docker rm -f --volumes d5886cc05a632f6c67a120fa6555bfa5133fdb647e043f1c50929b0d3f85841b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-16T20:05:55.026Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1096 in /w/workspace/gexfoundry_device-rest-go_PR-380 [Pipeline] { [Pipeline] ws [2024-02-16T20:05:55.125Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-02-16T20:05:55.247Z] The recommended git tool is: git [2024-02-16T20:06:01.911Z] using credential edgex-jenkins-ssh [2024-02-16T20:06:01.937Z] Cloning the remote Git repository [2024-02-16T20:06:01.980Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-02-16T20:06:02.067Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-02-16T20:06:02.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-02-16T20:06:02.216Z] > git --version # timeout=10 [2024-02-16T20:06:02.243Z] > git --version # 'git version 2.25.1' [2024-02-16T20:06:02.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T20:06:02.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-16T20:06:05.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-02-16T20:06:05.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-16T20:06:06.620Z] Merging remotes/origin/main commit 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 into PR head commit 26546ac3f39642afc324b3869bbbb559f7914101 [2024-02-16T20:06:06.888Z] Merge succeeded, producing 26546ac3f39642afc324b3869bbbb559f7914101 [2024-02-16T20:06:06.889Z] Checking out Revision 26546ac3f39642afc324b3869bbbb559f7914101 (PR-380) [2024-02-16T20:06:05.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-02-16T20:06:06.010Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-02-16T20:06:06.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T20:06:06.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-02-16T20:06:06.632Z] > git config core.sparsecheckout # timeout=10 [2024-02-16T20:06:06.698Z] > git checkout -f 26546ac3f39642afc324b3869bbbb559f7914101 # timeout=10 [2024-02-16T20:06:06.778Z] > git remote # timeout=10 [2024-02-16T20:06:06.799Z] > git config --get remote.origin.url # timeout=10 [2024-02-16T20:06:06.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T20:06:06.842Z] > git merge 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 [2024-02-16T20:06:06.865Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-16T20:06:06.891Z] > git config core.sparsecheckout # timeout=10 [2024-02-16T20:06:06.905Z] > git checkout -f 26546ac3f39642afc324b3869bbbb559f7914101 # timeout=10 [2024-02-16T20:06:07.380Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-02-16T20:06:07.419Z] > git --version # timeout=10 [2024-02-16T20:06:07.430Z] > git --version # 'git version 2.25.1' [2024-02-16T20:06:07.445Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T20:06:08.838Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-16T20:06:08.838Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-16T20:06:08.838Z] Dload Upload Total Spent Left Speed [2024-02-16T20:06:08.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 55055 0 --:--:-- --:--:-- --:--:-- 55055 [Pipeline] sh [2024-02-16T20:06:09.189Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-16T20:06:09.546Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2024-02-16T20:06:09.546Z] [2024-02-16T20:06:09.546Z] { [2024-02-16T20:06:09.546Z] "registry-mirrors": [ [2024-02-16T20:06:09.546Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-16T20:06:09.546Z] ], [2024-02-16T20:06:09.546Z] "bip": "10.250.0.254/24", [2024-02-16T20:06:09.546Z] "hosts": [ [2024-02-16T20:06:09.546Z] "tcp://0.0.0.0:5555", [2024-02-16T20:06:09.546Z] "unix:///var/run/docker.sock" [2024-02-16T20:06:09.546Z] ], [2024-02-16T20:06:09.546Z] "mtu": 1458, [2024-02-16T20:06:09.546Z] "selinux-enabled": true, [2024-02-16T20:06:09.546Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-16T20:06:09.546Z] } [Pipeline] sh [2024-02-16T20:06:09.893Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-16T20:06:10.248Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T20:06:32.470Z] provisioning config files... [2024-02-16T20:06:32.496Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config14407449871665281132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:06:33.008Z] ---> ****-login.sh [2024-02-16T20:06:33.008Z] nexus3.edgexfoundry.org:10001 [2024-02-16T20:06:33.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:06:33.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:06:33.547Z] Configure a credential helper to remove this warning. See [2024-02-16T20:06:33.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:06:33.547Z] [2024-02-16T20:06:33.547Z] Login Succeeded [2024-02-16T20:06:33.547Z] nexus3.edgexfoundry.org:10002 [2024-02-16T20:06:33.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:06:33.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:06:33.818Z] Configure a credential helper to remove this warning. See [2024-02-16T20:06:33.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:06:33.818Z] [2024-02-16T20:06:33.818Z] Login Succeeded [2024-02-16T20:06:33.818Z] nexus3.edgexfoundry.org:10003 [2024-02-16T20:06:34.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:06:34.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:06:34.361Z] Configure a credential helper to remove this warning. See [2024-02-16T20:06:34.361Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:06:34.361Z] [2024-02-16T20:06:34.361Z] Login Succeeded [2024-02-16T20:06:34.361Z] nexus3.edgexfoundry.org:10004 [2024-02-16T20:06:34.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:06:34.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:06:34.634Z] Configure a credential helper to remove this warning. See [2024-02-16T20:06:34.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:06:34.634Z] [2024-02-16T20:06:34.634Z] Login Succeeded [2024-02-16T20:06:34.634Z] ****.io [2024-02-16T20:06:34.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T20:06:35.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T20:06:35.169Z] Configure a credential helper to remove this warning. See [2024-02-16T20:06:35.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T20:06:35.169Z] [2024-02-16T20:06:35.169Z] Login Succeeded [2024-02-16T20:06:35.169Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T20:06:35.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-16T20:06:35.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T20:06:35.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T20:06:35.821Z] ========================================================= [2024-02-16T20:06:35.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-16T20:06:35.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:06:36.472Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-16T20:06:36.472Z] Sending build context to Docker daemon 127.5kB [2024-02-16T20:06:36.736Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T20:06:36.736Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-16T20:06:36.736Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-16T20:06:36.736Z] 9fda8d8052c6: Pulling fs layer [2024-02-16T20:06:36.736Z] 5d54e960e981: Pulling fs layer [2024-02-16T20:06:36.736Z] c4a7e357bf2a: Pulling fs layer [2024-02-16T20:06:36.736Z] f0e02332f6b5: Pulling fs layer [2024-02-16T20:06:36.736Z] 872ee5b61b7b: Pulling fs layer [2024-02-16T20:06:36.736Z] 0c6a40ed1a82: Pulling fs layer [2024-02-16T20:06:36.736Z] 94ae7d8d031c: Pulling fs layer [2024-02-16T20:06:36.736Z] f0e02332f6b5: Waiting [2024-02-16T20:06:36.736Z] 872ee5b61b7b: Waiting [2024-02-16T20:06:36.736Z] 0c6a40ed1a82: Waiting [2024-02-16T20:06:36.736Z] 94ae7d8d031c: Waiting [2024-02-16T20:06:37.008Z] 5d54e960e981: Verifying Checksum [2024-02-16T20:06:37.008Z] 5d54e960e981: Download complete [2024-02-16T20:06:37.008Z] f0e02332f6b5: Verifying Checksum [2024-02-16T20:06:37.008Z] f0e02332f6b5: Download complete [2024-02-16T20:06:37.008Z] 872ee5b61b7b: Verifying Checksum [2024-02-16T20:06:37.008Z] 872ee5b61b7b: Download complete [2024-02-16T20:06:37.008Z] 9fda8d8052c6: Verifying Checksum [2024-02-16T20:06:37.008Z] 9fda8d8052c6: Download complete [2024-02-16T20:06:37.702Z] 94ae7d8d031c: Verifying Checksum [2024-02-16T20:06:37.702Z] 94ae7d8d031c: Download complete [2024-02-16T20:06:38.585Z] 9fda8d8052c6: Pull complete [2024-02-16T20:06:39.735Z] 5d54e960e981: Pull complete [2024-02-16T20:06:39.735Z] c4a7e357bf2a: Verifying Checksum [2024-02-16T20:06:39.735Z] c4a7e357bf2a: Download complete [2024-02-16T20:06:41.160Z] 0c6a40ed1a82: Download complete [2024-02-16T20:06:54.413Z] c4a7e357bf2a: Pull complete [2024-02-16T20:06:54.413Z] f0e02332f6b5: Pull complete [2024-02-16T20:06:54.413Z] 872ee5b61b7b: Pull complete [2024-02-16T20:07:02.651Z] 0c6a40ed1a82: Pull complete [2024-02-16T20:07:03.619Z] 94ae7d8d031c: Pull complete [2024-02-16T20:07:03.619Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-16T20:07:03.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-16T20:07:03.899Z] ---> 86de565de09d [2024-02-16T20:07:03.899Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-02-16T20:07:05.860Z] ---> Running in 10de36b50cb3 [2024-02-16T20:07:05.860Z] Removing intermediate container 10de36b50cb3 [2024-02-16T20:07:05.860Z] ---> 0d8cea979aad [2024-02-16T20:07:05.860Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T20:07:05.860Z] ---> Running in 17abe0177656 [2024-02-16T20:07:06.128Z] Removing intermediate container 17abe0177656 [2024-02-16T20:07:06.128Z] ---> 25c59eb0624b [2024-02-16T20:07:06.128Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T20:07:06.397Z] ---> Running in 04c4f940d30e [2024-02-16T20:07:06.667Z] Removing intermediate container 04c4f940d30e [2024-02-16T20:07:06.667Z] ---> 2a9026757b26 [2024-02-16T20:07:06.667Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T20:07:06.667Z] ---> Running in 6ec5e3b71c22 [2024-02-16T20:07:06.935Z] Removing intermediate container 6ec5e3b71c22 [2024-02-16T20:07:06.935Z] ---> c9698fd7d9df [2024-02-16T20:07:06.935Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T20:07:07.202Z] ---> Running in 62a145d62afe [2024-02-16T20:07:08.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T20:07:08.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T20:07:09.717Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-16T20:07:09.717Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-16T20:07:09.717Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-16T20:07:09.717Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-16T20:07:09.717Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T20:07:09.989Z] OK: 271 MiB in 56 packages [2024-02-16T20:07:15.341Z] Removing intermediate container 62a145d62afe [2024-02-16T20:07:15.341Z] ---> 79af97f7d77c [2024-02-16T20:07:15.341Z] Step 8/12 : WORKDIR /device-rest-go [2024-02-16T20:07:15.341Z] ---> Running in 62b676009b3b [2024-02-16T20:07:15.617Z] Removing intermediate container 62b676009b3b [2024-02-16T20:07:15.617Z] ---> 5a239551624e [2024-02-16T20:07:15.617Z] Step 9/12 : COPY go.mod vendor* ./ [2024-02-16T20:07:16.201Z] ---> 9a3a19cbd7fb [2024-02-16T20:07:16.201Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T20:07:16.201Z] ---> Running in 55e801c5324e [2024-02-16T20:08:12.594Z] Removing intermediate container 55e801c5324e [2024-02-16T20:08:12.594Z] ---> a6506f83f0a8 [2024-02-16T20:08:12.594Z] Step 11/12 : COPY . . [2024-02-16T20:08:12.864Z] ---> 7dec8e8d1fa6 [2024-02-16T20:08:12.864Z] Step 12/12 : RUN $MAKE [2024-02-16T20:08:12.864Z] ---> Running in 1af5719df7d4 [2024-02-16T20:08:13.832Z] noop [2024-02-16T20:08:14.425Z] Removing intermediate container 1af5719df7d4 [2024-02-16T20:08:14.425Z] ---> fe7a234b9160 [2024-02-16T20:08:14.425Z] Successfully built fe7a234b9160 [2024-02-16T20:08:14.425Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:08:15.054Z] + docker inspect -f . ci-base-image-arm64 [2024-02-16T20:08:15.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:08:15.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-1096 does not seem to be running inside a container [2024-02-16T20:08:15.465Z] $ 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 [2024-02-16T20:08:16.618Z] $ docker top ca366468ce4fa99deddcaec57016ebba4bb9f121559937e970641702f12f1768 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T20:08:17.672Z] + go version [2024-02-16T20:08:17.672Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-16T20:08:17.699Z] $ docker stop --time=1 ca366468ce4fa99deddcaec57016ebba4bb9f121559937e970641702f12f1768 [2024-02-16T20:08:19.322Z] $ docker rm -f --volumes ca366468ce4fa99deddcaec57016ebba4bb9f121559937e970641702f12f1768 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:08:20.554Z] + docker inspect -f . ci-base-image-arm64 [2024-02-16T20:08:20.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:08:20.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-1096 does not seem to be running inside a container [2024-02-16T20:08:20.943Z] $ 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 [2024-02-16T20:08:26.405Z] $ docker top 934f0ff75c1a5272ba0c122ae8450ec15994c887eff4d779e62356ed0d037522 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T20:08:27.441Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-02-16T20:08:27.867Z] + make test [2024-02-16T20:08:27.867Z] go test ./... -coverprofile=coverage.out ./... [2024-02-16T20:08:31.211Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-02-16T20:10:07.837Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-02-16T20:10:07.837Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2024-02-16T20:10:07.837Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-16T20:10:07.837Z] go vet ./... [2024-02-16T20:10:22.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-16T20:10:22.817Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-16T20:10:22.817Z] ./bin/test-attribution-txt.sh [2024-02-16T20:10:22.817Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-16T20:10:22.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-16T20:10:22.934Z] $ docker stop --time=1 934f0ff75c1a5272ba0c122ae8450ec15994c887eff4d779e62356ed0d037522 [2024-02-16T20:10:25.887Z] $ docker rm -f --volumes 934f0ff75c1a5272ba0c122ae8450ec15994c887eff4d779e62356ed0d037522 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T20:10:27.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-16T20:10:27.343Z] Warning: overwriting stash ‘coverage-report’ [2024-02-16T20:10:27.859Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T20:10:28.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-16T20:10:29.069Z] + ls -al . [2024-02-16T20:10:29.069Z] total 176 [2024-02-16T20:10:29.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 20:08 . [2024-02-16T20:10:29.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 20:06 .. [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 16 20:06 .dockerignore [2024-02-16T20:10:29.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 20:06 .git [2024-02-16T20:10:29.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:06 .github [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 264 Feb 16 20:06 .gitignore [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 20:06 .golangci.yml [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 10300 Feb 16 20:06 Attribution.txt [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 17685 Feb 16 20:06 CHANGELOG.md [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 1687 Feb 16 20:06 Dockerfile [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 20:06 GOVERNANCE.md [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 16 20:06 Jenkinsfile [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 20:06 LICENSE [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 2016 Feb 16 20:06 Makefile [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 16 20:06 OWNERS.md [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 3989 Feb 16 20:06 README.md [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 20:03 VERSION [2024-02-16T20:10:29.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:06 bin [2024-02-16T20:10:29.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:06 cmd [2024-02-16T20:10:29.069Z] -rw-r--r-- 1 jenkins jenkins 14499 Feb 16 20:09 coverage.out [2024-02-16T20:10:29.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:06 driver [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 3935 Feb 16 20:06 go.mod [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 34601 Feb 16 20:06 go.sum [2024-02-16T20:10:29.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:06 openapi [2024-02-16T20:10:29.069Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 16 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:10:29.611Z] + 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=26546ac3f39642afc324b3869bbbb559f7914101 --label arch=arm64 --label version=0.0.0 . [2024-02-16T20:10:29.611Z] Sending build context to Docker daemon 142.8kB [2024-02-16T20:10:30.202Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T20:10:30.202Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-16T20:10:30.202Z] ---> fe7a234b9160 [2024-02-16T20:10:30.202Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-02-16T20:10:30.202Z] ---> Running in abeff65875ee [2024-02-16T20:10:30.784Z] Removing intermediate container abeff65875ee [2024-02-16T20:10:30.784Z] ---> 6cba4c14df6f [2024-02-16T20:10:30.784Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T20:10:30.784Z] ---> Running in 42757636e780 [2024-02-16T20:10:31.366Z] Removing intermediate container 42757636e780 [2024-02-16T20:10:31.366Z] ---> 50dace03e253 [2024-02-16T20:10:31.366Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T20:10:31.366Z] ---> Running in 27739534bf25 [2024-02-16T20:10:31.948Z] Removing intermediate container 27739534bf25 [2024-02-16T20:10:31.948Z] ---> 3fa01a4ec800 [2024-02-16T20:10:31.948Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T20:10:31.948Z] ---> Running in faa9a71f0fa0 [2024-02-16T20:10:32.216Z] Removing intermediate container faa9a71f0fa0 [2024-02-16T20:10:32.216Z] ---> d59562811244 [2024-02-16T20:10:32.216Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T20:10:32.482Z] ---> Running in ea90cafbaeed [2024-02-16T20:10:33.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T20:10:34.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T20:10:35.444Z] OK: 271 MiB in 56 packages [2024-02-16T20:10:40.787Z] Removing intermediate container ea90cafbaeed [2024-02-16T20:10:40.787Z] ---> cfde4fe0ad82 [2024-02-16T20:10:40.787Z] Step 8/26 : WORKDIR /device-rest-go [2024-02-16T20:10:40.787Z] ---> Running in 214c12ed13eb [2024-02-16T20:10:40.787Z] Removing intermediate container 214c12ed13eb [2024-02-16T20:10:40.787Z] ---> c3ddc12f29b2 [2024-02-16T20:10:40.787Z] Step 9/26 : COPY go.mod vendor* ./ [2024-02-16T20:10:41.378Z] ---> 2c3dd01e19b6 [2024-02-16T20:10:41.378Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T20:10:41.378Z] ---> Running in 6b1aba6d6540 [2024-02-16T20:10:43.335Z] Removing intermediate container 6b1aba6d6540 [2024-02-16T20:10:43.335Z] ---> 187d93060a5a [2024-02-16T20:10:43.335Z] Step 11/26 : COPY . . [2024-02-16T20:10:43.918Z] ---> b510c9a86129 [2024-02-16T20:10:43.918Z] Step 12/26 : RUN $MAKE [2024-02-16T20:10:44.192Z] ---> Running in fae078f4c8cc [2024-02-16T20:10:45.172Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.8" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-02-16T20:12:36.834Z] Removing intermediate container fae078f4c8cc [2024-02-16T20:12:36.834Z] ---> 86ea523d1989 [2024-02-16T20:12:36.834Z] Step 13/26 : FROM alpine:3.18 [2024-02-16T20:12:36.834Z] 3.18: Pulling from library/alpine [2024-02-16T20:12:36.834Z] c6b39de5b339: Pulling fs layer [2024-02-16T20:12:37.102Z] c6b39de5b339: Download complete [2024-02-16T20:12:37.688Z] c6b39de5b339: Pull complete [2024-02-16T20:12:37.688Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-16T20:12:37.688Z] Status: Downloaded newer image for alpine:3.18 [2024-02-16T20:12:37.688Z] ---> 33abbf032149 [2024-02-16T20:12:37.688Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-16T20:12:37.960Z] ---> Running in 453238f244cb [2024-02-16T20:12:38.300Z] Removing intermediate container 453238f244cb [2024-02-16T20:12:38.300Z] ---> 4c9f1b42dd07 [2024-02-16T20:12:38.300Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-02-16T20:12:38.300Z] ---> Running in 007ff5d4b2eb [2024-02-16T20:12:38.595Z] Removing intermediate container 007ff5d4b2eb [2024-02-16T20:12:38.595Z] ---> a3d58eaa7f75 [2024-02-16T20:12:38.595Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-02-16T20:12:38.595Z] ---> Running in ac4fbc5fce7b [2024-02-16T20:12:39.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T20:12:40.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T20:12:41.158Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-16T20:12:41.158Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T20:12:41.158Z] OK: 8 MiB in 16 packages [2024-02-16T20:12:42.135Z] Removing intermediate container ac4fbc5fce7b [2024-02-16T20:12:42.135Z] ---> 8971e52be4e7 [2024-02-16T20:12:42.135Z] Step 17/26 : RUN apk --no-cache upgrade [2024-02-16T20:12:42.135Z] ---> Running in f99e37bd0fe7 [2024-02-16T20:12:43.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T20:12:43.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T20:12:44.312Z] OK: 8 MiB in 16 packages [2024-02-16T20:12:45.269Z] Removing intermediate container f99e37bd0fe7 [2024-02-16T20:12:45.269Z] ---> 16f64aed984a [2024-02-16T20:12:45.269Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-02-16T20:12:46.670Z] ---> 6f966fdcf0be [2024-02-16T20:12:46.670Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-02-16T20:12:46.935Z] ---> 61daf4e2eb58 [2024-02-16T20:12:46.935Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-02-16T20:12:52.259Z] ---> 105381b1fd87 [2024-02-16T20:12:52.259Z] Step 21/26 : EXPOSE 59986 [2024-02-16T20:12:52.259Z] ---> Running in 25144bb4305b [2024-02-16T20:12:52.259Z] Removing intermediate container 25144bb4305b [2024-02-16T20:12:52.259Z] ---> 3968f1a5a6a9 [2024-02-16T20:12:52.259Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-02-16T20:12:52.259Z] ---> Running in 2b4d8238ec90 [2024-02-16T20:12:52.525Z] Removing intermediate container 2b4d8238ec90 [2024-02-16T20:12:52.525Z] ---> 4fc9852160da [2024-02-16T20:12:52.525Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-02-16T20:12:52.525Z] ---> Running in 2e530449dc10 [2024-02-16T20:12:52.802Z] Removing intermediate container 2e530449dc10 [2024-02-16T20:12:52.802Z] ---> 6564259f5b54 [2024-02-16T20:12:52.802Z] Step 24/26 : LABEL arch=arm64 [2024-02-16T20:12:52.802Z] ---> Running in 023cd6f82332 [2024-02-16T20:12:53.068Z] Removing intermediate container 023cd6f82332 [2024-02-16T20:12:53.068Z] ---> ff68ed649b8c [2024-02-16T20:12:53.068Z] Step 25/26 : LABEL git_sha=26546ac3f39642afc324b3869bbbb559f7914101 [2024-02-16T20:12:53.335Z] ---> Running in ff11409f45da [2024-02-16T20:12:53.601Z] Removing intermediate container ff11409f45da [2024-02-16T20:12:53.601Z] ---> 6956362555d1 [2024-02-16T20:12:53.601Z] Step 26/26 : LABEL version=0.0.0 [2024-02-16T20:12:53.601Z] ---> Running in 4272dcebadce [2024-02-16T20:12:53.867Z] Removing intermediate container 4272dcebadce [2024-02-16T20:12:53.867Z] ---> 6dd01db5747c [2024-02-16T20:12:53.867Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-16T20:12:53.867Z] Successfully built 6dd01db5747c [2024-02-16T20:12:53.867Z] 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 [2024-02-16T20:12:55.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T20:12:55.132Z] [2024-02-16T20:12:55.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:12:55.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T20:12:55.585Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-16T20:12:55.585Z] 8998bd30e6a1: Pulling fs layer [2024-02-16T20:12:55.585Z] 04944245beec: Pulling fs layer [2024-02-16T20:12:55.585Z] 699f458cf7ca: Pulling fs layer [2024-02-16T20:12:55.585Z] 765212b225bb: Pulling fs layer [2024-02-16T20:12:55.585Z] f23df028b6ca: Pulling fs layer [2024-02-16T20:12:55.585Z] d65c8cfc05b1: Pulling fs layer [2024-02-16T20:12:55.585Z] 2437ff75d9bd: Pulling fs layer [2024-02-16T20:12:55.585Z] f23df028b6ca: Waiting [2024-02-16T20:12:55.585Z] d65c8cfc05b1: Waiting [2024-02-16T20:12:55.585Z] 2437ff75d9bd: Waiting [2024-02-16T20:12:55.585Z] 765212b225bb: Waiting [2024-02-16T20:12:55.852Z] 04944245beec: Verifying Checksum [2024-02-16T20:12:55.852Z] 04944245beec: Download complete [2024-02-16T20:12:55.852Z] 765212b225bb: Verifying Checksum [2024-02-16T20:12:55.852Z] 765212b225bb: Download complete [2024-02-16T20:12:55.852Z] f23df028b6ca: Download complete [2024-02-16T20:12:55.852Z] d65c8cfc05b1: Verifying Checksum [2024-02-16T20:12:55.852Z] d65c8cfc05b1: Download complete [2024-02-16T20:12:56.119Z] 699f458cf7ca: Verifying Checksum [2024-02-16T20:12:56.119Z] 699f458cf7ca: Download complete [2024-02-16T20:12:56.386Z] 8998bd30e6a1: Verifying Checksum [2024-02-16T20:12:56.386Z] 8998bd30e6a1: Download complete [2024-02-16T20:12:58.974Z] 2437ff75d9bd: Verifying Checksum [2024-02-16T20:12:58.974Z] 2437ff75d9bd: Download complete [2024-02-16T20:13:00.928Z] 8998bd30e6a1: Pull complete [2024-02-16T20:13:01.192Z] 04944245beec: Pull complete [2024-02-16T20:13:03.157Z] 699f458cf7ca: Pull complete [2024-02-16T20:13:03.157Z] 765212b225bb: Pull complete [2024-02-16T20:13:07.441Z] f23df028b6ca: Pull complete [2024-02-16T20:13:07.441Z] d65c8cfc05b1: Pull complete [2024-02-16T20:13:25.666Z] 2437ff75d9bd: Pull complete [2024-02-16T20:13:25.666Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-16T20:13:25.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T20:13:25.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:13:26.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-1096 does not seem to be running inside a container [2024-02-16T20:13:26.208Z] $ 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 [2024-02-16T20:13:28.769Z] $ docker top a233d9ee223e761df1712223c55374cfd22c4149bfee7622184300707481f80c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:29.456Z] ---> job-cost.sh [2024-02-16T20:13:29.720Z] lf-activate-venv: SKIPPING [2024-02-16T20:13:29.720Z] INFO: No Stack... [2024-02-16T20:13:29.985Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-16T20:13:30.934Z] INFO: Archiving Costs [Pipeline] sh [2024-02-16T20:13:31.275Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-02-16T20:13:31.275Z] + cut -d, -f6 [Pipeline] lock [2024-02-16T20:13:31.600Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] [2024-02-16T20:13:31.606Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] did not exist. Created. [2024-02-16T20:13:31.611Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-16T20:13:32.423Z] /w/workspace/device-rest-go/1@tmp/durable-7c25d8c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-16T20:13:32.770Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-16T20:13:32.812Z] Warning: overwriting stash ‘stack-cost’ [2024-02-16T20:13:32.860Z] Stashed 1 file(s) [Pipeline] } [2024-02-16T20:13:32.901Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-16T20:13:33.068Z] $ docker stop --time=1 a233d9ee223e761df1712223c55374cfd22c4149bfee7622184300707481f80c [2024-02-16T20:13:36.594Z] $ docker rm -f --volumes a233d9ee223e761df1712223c55374cfd22c4149bfee7622184300707481f80c [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 [2024-02-16T20:13:38.669Z] provisioning config files... [2024-02-16T20:13:38.684Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-380@tmp/config5658928789689439314tmp [Pipeline] { [Pipeline] sh [2024-02-16T20:13:39.114Z] + set +x [2024-02-16T20:13:39.114Z] + bash -s -- [2024-02-16T20:13:39.114Z] + curl -s https://codecov.io/bash [2024-02-16T20:13:39.374Z] [2024-02-16T20:13:39.374Z] _____ _ [2024-02-16T20:13:39.374Z] / ____| | | [2024-02-16T20:13:39.374Z] | | ___ __| | ___ ___ _____ __ [2024-02-16T20:13:39.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-16T20:13:39.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-16T20:13:39.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-16T20:13:39.374Z] Bash-1.0.6 [2024-02-16T20:13:39.374Z] [2024-02-16T20:13:39.374Z] [2024-02-16T20:13:39.374Z] ==> git version 2.25.1 found [2024-02-16T20:13:39.374Z] ==> 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 [2024-02-16T20:13:39.374Z] Release-Date: 2020-01-08 [2024-02-16T20:13:39.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-02-16T20:13:39.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-16T20:13:39.374Z] ==> Jenkins CI detected. [2024-02-16T20:13:39.374Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-380 [2024-02-16T20:13:39.374Z] project root: . [2024-02-16T20:13:39.374Z] --> token set from env [2024-02-16T20:13:39.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-16T20:13:39.374Z] ==> Running gcov in . (disable via -X gcov) [2024-02-16T20:13:39.374Z] ==> Python coveragepy not found [2024-02-16T20:13:39.374Z] ==> Searching for coverage reports in: [2024-02-16T20:13:39.374Z] + . [2024-02-16T20:13:39.374Z] -> Found 1 reports [2024-02-16T20:13:39.374Z] ==> Detecting git/mercurial file structure [2024-02-16T20:13:39.374Z] ==> Reading reports [2024-02-16T20:13:39.374Z] + ./coverage.out bytes=14499 [2024-02-16T20:13:39.374Z] ==> Appending adjustments [2024-02-16T20:13:39.374Z] https://docs.codecov.io/docs/fixing-reports [2024-02-16T20:13:39.374Z] + Found adjustments [2024-02-16T20:13:39.374Z] ==> Gzipping contents [2024-02-16T20:13:39.374Z] 4.0K /tmp/codecov.vO3QRE.gz [2024-02-16T20:13:39.374Z] ==> Uploading reports [2024-02-16T20:13:39.374Z] url: https://codecov.io [2024-02-16T20:13:39.374Z] query: branch=PR-380&commit=26546ac3f39642afc324b3869bbbb559f7914101&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=380&job=&cmd_args= [2024-02-16T20:13:39.374Z] -> Pinging Codecov [2024-02-16T20:13:39.374Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-380&commit=26546ac3f39642afc324b3869bbbb559f7914101&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=380&job=&cmd_args= [2024-02-16T20:13:39.633Z] -> Uploading to [2024-02-16T20:13:39.633Z] https://storage.googleapis.com/codecov/v4/raw/2024-02-16/4E5D53B4F1F92C436F7061BF334D961C/26546ac3f39642afc324b3869bbbb559f7914101/fac102c4-5eee-4c29-a2eb-44219ba25a28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240216T201339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2da006ac429ea6a90a9e9de71aa997ed9070d94dac2cd4c23204ed7bcf603d7 [2024-02-16T20:13:39.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-16T20:13:39.633Z] Dload Upload Total Spent Left Speed [2024-02-16T20:13:39.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8758 --:--:-- --:--:-- --:--:-- 8725 [2024-02-16T20:13:39.892Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/26546ac3f39642afc324b3869bbbb559f7914101 [Pipeline] } [2024-02-16T20:13:39.921Z] 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 [2024-02-16T20:13:43.370Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-380/archives ] [2024-02-16T20:13:43.370Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-380/archives [2024-02-16T20:13:43.370Z] total 16 [2024-02-16T20:13:43.370Z] drwxr-xr-x 3 root root 4096 Feb 16 20:05 . [2024-02-16T20:13:43.370Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 20:05 .. [2024-02-16T20:13:43.370Z] drwxr-xr-x 2 root root 4096 Feb 16 20:05 cost [2024-02-16T20:13:43.370Z] -rw-r--r-- 1 root root 86 Feb 16 20:05 cost.csv [2024-02-16T20:13:43.370Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-380/archives [2024-02-16T20:13:43.370Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-380/archives [2024-02-16T20:13:43.370Z] total 16 [2024-02-16T20:13:43.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 20:05 . [2024-02-16T20:13:43.370Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 20:05 .. [2024-02-16T20:13:43.370Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 20:05 cost [2024-02-16T20:13:43.370Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 16 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:43.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:44.597Z] ---> package-listing.sh [2024-02-16T20:13:44.597Z] ++ facter osfamily [2024-02-16T20:13:44.597Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-16T20:13:44.856Z] + OS_FAMILY=debian [2024-02-16T20:13:44.856Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-380 [2024-02-16T20:13:44.856Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-16T20:13:44.856Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-16T20:13:44.856Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-16T20:13:44.856Z] + PACKAGES=/tmp/packages_start.txt [2024-02-16T20:13:44.856Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-380 ']' [2024-02-16T20:13:44.856Z] + PACKAGES=/tmp/packages_end.txt [2024-02-16T20:13:44.856Z] + case "${OS_FAMILY}" in [2024-02-16T20:13:44.856Z] + grep '^ii' [2024-02-16T20:13:44.856Z] + dpkg -l [2024-02-16T20:13:44.856Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-16T20:13:44.856Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-16T20:13:44.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-16T20:13:44.856Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-380 ']' [2024-02-16T20:13:44.856Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-380/archives/ [2024-02-16T20:13:44.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-380/archives/ [Pipeline] echo [2024-02-16T20:13:44.894Z] 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-16T20:13:45.191Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T20:13:45.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T20:13:45.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T20:13:45.873Z] prd-ubuntu20.04-docker-8c-8g-1094 does not seem to be running inside a container [2024-02-16T20:13:45.909Z] $ 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-380/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-380 -v /w/workspace/gexfoundry_device-rest-go_PR-380:/w/workspace/gexfoundry_device-rest-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-380@tmp:/w/workspace/gexfoundry_device-rest-go_PR-380@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 [2024-02-16T20:13:46.132Z] $ docker top 8fefb83b48b4d5d5a9cd52cb20c75d392cb66c85ce6efce312f8e974151b8bde -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T20:13:46.617Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-16T20:13:46.929Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-16T20:13:47.240Z] + ls /var/log/sa-host [2024-02-16T20:13:47.241Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T20:13:47.520Z] provisioning config files... [2024-02-16T20:13:47.530Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-380@tmp/config6347268075191740360tmp [Pipeline] { [Pipeline] echo [2024-02-16T20:13:47.686Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:47.999Z] ---> create-netrc.sh [Pipeline] } [2024-02-16T20:13:48.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:48.543Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-16T20:13:48.583Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:48.898Z] ---> sudo-logs.sh [2024-02-16T20:13:48.898Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-16T20:13:49.040Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:49.359Z] ---> job-cost.sh [2024-02-16T20:13:49.359Z] lf-activate-venv: SKIPPING [2024-02-16T20:13:49.359Z] DEBUG: total: 0.2199999988079071 [2024-02-16T20:13:49.359Z] INFO: Retrieving Stack Cost... [2024-02-16T20:13:49.619Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-16T20:13:50.187Z] INFO: Archiving Costs [Pipeline] echo [2024-02-16T20:13:50.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T20:13:50.546Z] ---> logs-deploy.sh [2024-02-16T20:13:50.546Z] lf-activate-venv: SKIPPING [2024-02-16T20:13:50.546Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-380/1 [2024-02-16T20:13:50.546Z] INFO: archiving workspace using pattern(s): [2024-02-16T20:13:53.080Z] Archives upload complete. [2024-02-16T20:13:53.080Z] INFO: archiving logs to Nexus